Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
O
offical_web
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zhangjie
offical_web
Commits
39875845
Commit
39875845
authored
Nov 21, 2022
by
qinjianhui
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 样式修改
parent
010a756e
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
40 additions
and
6 deletions
+40
-6
src/assets/css/index.css
+2
-0
src/components/head.vue
+36
-4
src/views/login.vue
+1
-1
src/views/register.vue
+1
-1
No files found.
src/assets/css/index.css
View file @
39875845
.container
{
max-width
:
1280px
;
margin
:
0
auto
;
display
:
flex
;
align-items
:
center
;
}
.link
{
...
...
src/components/head.vue
View file @
39875845
...
...
@@ -16,10 +16,14 @@
</ul>
</nav>
<div
class=
"right_btn"
>
<el-button
type=
"primary"
size=
"mini"
@
click=
"login"
>
登录
</el-button>
<el-button
type=
"primary"
size=
"mini"
@
click=
"register"
>
免费试用
</el-button>
<!--
<el-button
type=
"primary"
size=
"mini"
@
click=
"login"
>
登录
</el-button>
<el-button
size=
"mini"
@
click=
"register"
>
注册
</el-button>
-->
<div
class=
"user-operate"
>
<span
class=
"login-btn"
@
click=
"login"
>
登录
</span>
<span
class=
"reg-btn"
@
click=
"register"
>
注册
</span>
</div>
<el-button
type=
"primary"
>
免费试用
</el-button>
</div>
</div>
</header>
...
...
@@ -76,5 +80,33 @@ export default {
.right_btn
{
display
:
flex
;
align-items
:
center
;
margin-left
:
auto
;
}
.login-btn
{
position
:
relative
;
margin-right
:
20px
;
cursor
:
pointer
;
color
:
#fff
;
}
.reg-btn
{
cursor
:
pointer
;
color
:
#fff
;
}
.login-btn
::after
{
content
:
''
;
width
:
1px
;
height
:
15px
;
position
:
absolute
;
display
:
inline-block
;
margin-left
:
10px
;
top
:
4px
;
background-color
:
#fff
;
}
.user-operate
{
margin-right
:
10px
;
}
</
style
>
src/views/login.vue
View file @
39875845
...
...
@@ -45,7 +45,7 @@
登录
</button>
</div>
<div
style=
"margin-top: 20px; font-size: 14px"
>
<div
style=
"margin-top: 20px; font-size: 14px
; text-align: center;
"
>
还没有账号?
<router-link
class=
"link"
to=
"register"
>
马上注册
</router-link>
</div>
...
...
src/views/register.vue
View file @
39875845
...
...
@@ -19,7 +19,7 @@
<el-form-item
prop=
"code"
label=
""
>
<el-input
v-model=
"registerForm.code"
style=
"width: 180px"
style=
"width: 180px
; background: #fff
"
prefix-icon=
"el-icon-message"
placeholder=
"请输入验证码"
></el-input>
<el-button
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment