Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
W
web-site
Project
Project
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
张冬
web-site
Commits
73c9af26
Commit
73c9af26
authored
Sep 28, 2020
by
吴冠
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
admin
parent
0beec99c
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
32 additions
and
10 deletions
+32
-10
7.png
assets/css/7.png
+0
-0
iconfont.css
assets/css/iconfont.css
+21
-0
header.vue
components/header.vue
+1
-6
index.vue
pages/index/index.vue
+4
-2
user.vue
pages/login/user.vue
+6
-2
No files found.
assets/css/7.png
0 → 100644
View file @
73c9af26
5.6 KB
assets/css/iconfont.css
0 → 100644
View file @
73c9af26
@font-face
{
font-family
:
"iconfont"
;
src
:
url('iconfont.eot?t=1601305820420')
;
/* IE9 */
src
:
url('iconfont.eot?t=1601305820420#iefix')
format
(
'embedded-opentype'
),
/* IE6-IE8 */
url('data:application/x-font-woff2;charset=utf-8;base64,d09GMgABAAAAAALoAAsAAAAABpAAAAKZAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHEIGVgCCcAqBHIEtATYCJAMICwYABCAFhG0HMBvTBcguISebU0RCnHSuWR8t/7Fo2KcFQMchHv7b7/f7zB1Uk4g2syiayCSirU4iPUKV0iEUunb4UgL7v6YpsZDN8yVW7YAV+oP8A85l9PycGSszR2pTsxu6WWNrWpZgFujeYpduHhus3h/odRA9P2zAhRgYpiudC27cPSC6+y8Pvjj/uHf6W+ddIPMB5TL3oC7AeGtAe2MUWQnl3DC9fA1Bg/CYQLUuHZmtvZNzKMv4qkBcOJYG5YJLllm0UihvOJjFPVSmMt0hr4CS+378ZxQUSVmB5+2f75qw/h6IOMAfODMI5Cag42UoMAFk4rgxtCsnGCGnOpTXB46VHXz7RiOO+ueJcjyzFnRA1jOxFedRMxPIcHQa2Jl0Ebm2iaZvPj7k96fy/dY+X7acqG5tGtTipLbwjctS8Fbd5aO+gn08+mvxdlTzH6j8xAQjww993PTqkecnWiIvH7oFfwH2Pwi0VE5kaoaFzoFdFVgcKhe4hA7N1vjPils0BIKnBrWW+KNk8BW/q8iKQOWpzMEvYw9sySGXS9O1WcicTOccEjCrGr+4rdnvVFnb/RlCZYHNIKnQCYVKA6iMm4AyNRagXKVVqDZu/3iNFiwnchXG3AMIjV4hqfcChUbvqIz7gTLt/qFcY6BQ7TTYC2sMRVGVmDQhE/U7dIwoVFIrVZ99StaVr3Ge64iXxKnjxeHUTDm6TyHxElvSa2skolBxFOAeeI58P8KYI5cM6dki8ao/fd70pp4RBVC1iRGNICaku4MchkhImc6iWvn8KWK54tNwR9OA9hJhKWd8NNQzGIDaF4WDmh7lldQ1y4gQClJYJID2wDzi80VQ3DzPRQyix54QiK30RTs1VNTbXhL83S6oxuUphLFQ/uTO0QwAAAAA')
format
(
'woff2'
),
url('iconfont.woff?t=1601305820420')
format
(
'woff'
),
url('iconfont.ttf?t=1601305820420')
format
(
'truetype'
),
/* chrome, firefox, opera, Safari, Android, iOS 4.2+ */
url('iconfont.svg?t=1601305820420#iconfont')
format
(
'svg'
);
/* iOS 4.1- */
}
.iconfont
{
font-family
:
"iconfont"
!important
;
font-size
:
16px
;
font-style
:
normal
;
-webkit-font-smoothing
:
antialiased
;
-moz-osx-font-smoothing
:
grayscale
;
}
.icon-icon26
:before
{
content
:
"\e630"
;
}
components/header.vue
View file @
73c9af26
...
@@ -17,7 +17,6 @@
...
@@ -17,7 +17,6 @@
<div
class=
"flex-item t1 collection"
>
<div
class=
"flex-item t1 collection"
>
<div
@
click=
"addFavo"
class=
"t5"
>
收藏网站
</div>
<div
@
click=
"addFavo"
class=
"t5"
>
收藏网站
</div>
<img
@
click=
"addFavo"
src=
"~/assets/head/collection.png"
alt=
"收藏"
class=
"t5"
>
<img
@
click=
"addFavo"
src=
"~/assets/head/collection.png"
alt=
"收藏"
class=
"t5"
>
<div
@
click=
"admin"
class=
"t5"
>
管理员入口
</div>
</div>
</div>
</div>
</div>
</div>
</div>
...
@@ -48,9 +47,6 @@
...
@@ -48,9 +47,6 @@
addFavo
()
{
addFavo
()
{
this
.
$message
.
success
(
'同时按住ctrl+D收藏本站'
)
this
.
$message
.
success
(
'同时按住ctrl+D收藏本站'
)
},
},
admin
()
{
this
.
$router
.
push
(
"/login/admin"
)
},
jump
(){
jump
(){
let
token
=
window
.
sessionStorage
.
getItem
(
"token"
)
let
token
=
window
.
sessionStorage
.
getItem
(
"token"
)
if
(
token
){
if
(
token
){
...
@@ -70,11 +66,10 @@
...
@@ -70,11 +66,10 @@
<
style
scoped
>
<
style
scoped
>
.right-pos
{
.right-pos
{
position
:
absolute
;
position
:
absolute
;
left
:
98
0px
;
left
:
105
0px
;
cursor
:
pointer
;
cursor
:
pointer
;
font-size
:
10px
;
font-size
:
10px
;
}
}
.bg
{}
.header-line
{
.header-line
{
/* margin-top: .9rem; */
/* margin-top: .9rem; */
...
...
pages/index/index.vue
View file @
73c9af26
...
@@ -11,7 +11,9 @@
...
@@ -11,7 +11,9 @@
</el-carousel>
</el-carousel>
</div>
</div>
<div
class=
"login"
@
mouseover=
"changeOver"
>
<div
class=
"login"
@
mouseover=
"changeOver"
>
<div
class=
"author"
></div>
<div
class=
"author"
>
<img
src=
"~/assets/css/7.png"
>
</div>
<div
class=
"login-title"
>
{{
userName
}}
</div>
<div
class=
"login-title"
>
{{
userName
}}
</div>
<div
class=
"login-button"
@
click=
"loginuser"
v-show=
"showDefault"
>
用户登录
</div>
<div
class=
"login-button"
@
click=
"loginuser"
v-show=
"showDefault"
>
用户登录
</div>
<div
class=
"login-button"
@
click=
"Merchant"
>
商家入驻
</div>
<div
class=
"login-button"
@
click=
"Merchant"
>
商家入驻
</div>
...
@@ -247,7 +249,7 @@ import {getSecond,getListSite,getListSite1,getListSite2} from '@/common/list.js'
...
@@ -247,7 +249,7 @@ import {getSecond,getListSite,getListSite1,getListSite2} from '@/common/list.js'
cursor
:
pointer
;
cursor
:
pointer
;
}
}
.login
>
.author
{
.login
>
.author
>
img
{
margin-top
:
0.6rem
;
margin-top
:
0.6rem
;
width
:
.60rem
;
width
:
.60rem
;
height
:
.60rem
;
height
:
.60rem
;
...
...
pages/login/user.vue
View file @
73c9af26
...
@@ -3,8 +3,8 @@
...
@@ -3,8 +3,8 @@
<div
class=
"user-login"
>
<div
class=
"user-login"
>
<div
class=
"login-type flex"
>
<div
class=
"login-type flex"
>
<!--
<div
class=
"pos"
>
{{
message
}}
</div>
-->
<!--
<div
class=
"pos"
>
{{
message
}}
</div>
-->
<div
@
click=
"change"
:class=
'[type==0?"active":""]'
>
密码登录
</div>
<div
@
click=
"change"
:class=
'[type==0?"active":""]'
class=
"login_a"
>
密码登录
</div>
<div
@
click=
"change"
:class=
'[type==2?"active":""]'
>
手机验证码登录
</div>
<div
@
click=
"change"
:class=
'[type==2?"active":""]'
class=
"login_a"
>
手机验证码登录
</div>
</div>
</div>
<div
class=
"el-form"
>
<div
class=
"el-form"
>
<!-- 密码登录 -->
<!-- 密码登录 -->
...
@@ -258,6 +258,7 @@
...
@@ -258,6 +258,7 @@
.login-type
.active
{
.login-type
.active
{
border-bottom
:
2px
solid
rgba
(
4
,
134
,
254
,
1
);
border-bottom
:
2px
solid
rgba
(
4
,
134
,
254
,
1
);
color
:
rgba
(
4
,
134
,
254
,
1
);
color
:
rgba
(
4
,
134
,
254
,
1
);
}
}
.login-type
>
div
{
.login-type
>
div
{
height
:
0.77rem
;
height
:
0.77rem
;
...
@@ -279,4 +280,7 @@
...
@@ -279,4 +280,7 @@
/* .login-btn{
/* .login-btn{
cursor: pointer;
cursor: pointer;
} */
} */
.login_a
{
cursor
:
pointer
;
}
</
style
>
</
style
>
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