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
a3fce102
Commit
a3fce102
authored
Oct 19, 2020
by
吴冠
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
官网更改
parent
75b016a5
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
84 additions
and
32 deletions
+84
-32
user.png
assets/css/user.png
+0
-0
homeinput.vue
components/homeinput.vue
+2
-3
index.vue
pages/index.vue
+8
-7
index.vue
pages/index/index.vue
+74
-22
No files found.
assets/css/user.png
0 → 100644
View file @
a3fce102
1.1 KB
components/homeinput.vue
View file @
a3fce102
...
...
@@ -77,8 +77,7 @@ import Cookies from "js-cookie"
.images
>
img
{
width
:
40px
;
height
:
38px
;
/* margin-left:20px */
margin-right
:
40px
margin-right
:
40%
;
}
.head-input
{
...
...
@@ -96,7 +95,7 @@ import Cookies from "js-cookie"
}
.head-input-title
{
margin-top
:
-5px
;
margin-left
:
-
61
0px
;
margin-left
:
-
59
0px
;
/* font-size:.28rem;
color:rgba(0,0,0,1);
font-weight: bold; */
...
...
pages/index.vue
View file @
a3fce102
...
...
@@ -5,7 +5,7 @@
<Nav></Nav>
<nuxt></nuxt>
<Footer></Footer>
<div
class=
"imagesList"
>
<!--
<div
class=
"imagesList"
>
<img
src=
"../assets/images/phone.png"
alt=
"电话"
>
<img
src=
"../assets/images/QQ.png"
alt=
"QQ"
>
<img
src=
"../assets/images/email.png"
alt=
"邮箱"
>
...
...
@@ -13,7 +13,7 @@
<div>
<img
src=
"../assets/images/qrcode.png"
alt=
"二维码"
class=
"qrcode"
v-if=
"isshowqrcode"
>
</div>
</div>
</div>
-->
</div>
</
template
>
<
script
>
...
...
@@ -25,36 +25,37 @@ export default {
name
:
"homePage"
,
data
()
{
return
{
isshowqrcode
:
false
/* isshowqrcode:false */
};
},
components
:
{
Head
,
Nav
,
Footer
,
Homeinput
},
methods
:{
/*
methods:{
enter(){
this.isshowqrcode = true
},
leave(){
this.isshowqrcode = false
}
}
}
*/
};
</
script
>
<
style
scoped
>
.home
{
width
:
99
%
;
width
:
100
%
;
min-width
:
810px
;
height
:
100%
;
min-height
:
600px
;
}
.imagesList
{
position
:
fixed
;
/* flex-direction: column; */
flex-direction
:
column
;
width
:
30px
;
right
:
10px
;
top
:
35%
;
...
...
pages/index/index.vue
View file @
a3fce102
...
...
@@ -2,7 +2,7 @@
<div
class=
"homepage"
>
<div
class=
"content flex"
>
<div
class=
"banner"
>
<el-carousel
trigger=
"click"
height=
"5.41rem"
>
<el-carousel
trigger=
"click"
height=
"5.41rem"
width=
"10rem"
class=
"car"
>
<el-carousel-item
v-for=
"(item,index) in picArr"
:key=
"index"
>
<img
:src=
"item.picUrl"
alt=
""
class=
"src-img"
>
</el-carousel-item>
...
...
@@ -10,25 +10,28 @@
</div>
<div
class=
"login"
@
mouseover=
"changeOver"
>
<div
class=
"author"
>
<img
src=
"~/assets/css/
7
.png"
>
<img
src=
"~/assets/css/
user
.png"
>
</div>
<div
class=
"login-title"
>
{{
userName
}}
</div>
<div
class=
"login-button"
@
click=
"loginuser"
v-show=
"showDefault"
>
用户登录
</div>
<div
class=
"login-button"
@
click=
"Merchant"
v-show=
"showDefault"
>
商家入驻
</div>
<!--
<div
class=
"login-button"
@
click=
"checkout"
v-show=
"!showDefault"
>
退出
</div>
-->
<div
class=
"login-button t10"
@
click=
"loginuser"
v-show=
"showDefault"
>
用户登录
</div>
<div
class=
"login-button t11"
@
click=
"Merchant"
v-show=
"showDefault"
style=
"color:white"
>
商家入驻
</div>
<div
class=
"login-button"
v-show=
"!showDefault"
@
click=
"pushH"
>
管理后台
</div>
<div
class=
"flex"
>
<span>
还没有账号?
</span>
<span
class=
"font"
@
click=
"reg"
>
我要注册
</span>
</div>
</div>
</div>
<div
class=
"content message"
>
<div
class=
"content
List
message"
>
<div
v-for=
"(item,index) in messageList"
:key=
"index"
class=
"message-item"
>
<div
class=
"t3
"
style=
"margin-bottom: 0.2rem;
"
>
{{
item
.
head
}}
</div>
<div
class=
"flex-between"
>
<img
:src=
"item.src"
alt=
""
>
<div
>
{{
item
.
title
}}
</div>
<div
class=
"t3
t12
"
>
{{
item
.
head
}}
</div>
<div
>
<img
style=
"border-top:2px solid #0486FE"
:src=
"item.src"
alt=
""
>
<div
style=
"margin-top:30px"
>
{{
''
+
item
.
title
}}
</div>
</div>
</div>
</div>
<div
class=
"content flex-between"
>
<div
class=
"content
List
flex-between"
>
<div
class=
"dynamic-item"
>
<div
class=
"flex-between"
>
<div
class=
"t3 "
@
click=
"latformDynamics"
>
平台动态
</div>
...
...
@@ -118,6 +121,10 @@ import Cookies from "js-cookie"
}
},
methods
:{
//注册
reg
(){
this
.
$router
.
push
(
"/login/examine"
)
},
//新闻
linkTo
(
cateId
){
Cookies
.
set
(
"detailsType"
,
1
)
...
...
@@ -278,8 +285,8 @@ import Cookies from "js-cookie"
cursor
:
pointer
;
}
.banner
{
width
:
9.16rem
;
height
:
5.41rem
;
width
:
100%
;
height
:
421px
;
}
.el-carousel__item
h3
{
...
...
@@ -299,17 +306,22 @@ import Cookies from "js-cookie"
}
.login
{
width
:
2
.84rem
;
height
:
5.41rem
;
width
:
2
60px
;
height
:
328px
;
border
:
.01rem
solid
rgba
(
220
,
220
,
220
,
1
);
display
:
flex
;
flex-direction
:
column
;
align-items
:
center
;
position
:
absolute
;
left
:
70%
;
top
:
30%
;
background
:
#FFFFFF
;
z-index
:
9999
}
.login
>
.login-button
{
width
:
1.05rem
;
height
:
.36rem
;
width
:
191px
;
height
:
34px
;
line-height
:
.36rem
;
text-align
:
center
;
background
:
rgba
(
255
,
255
,
255
,
1
);
...
...
@@ -353,15 +365,14 @@ import Cookies from "js-cookie"
}
.message-item
>
div
>
img
{
width
:
8.80rem
;
height
:
5.40rem
;
width
:
/* 8.80rem; */
1200px
;
height
:
/* 5.40rem; */
520px
}
.message-item
>
div
>
div
{
width
:
2.84rem
;
height
:
5.40rem
;
width
:
1200px
;
height
:
76px
;
border
:
1px
solid
rgba
(
220
,
220
,
220
,
1
);
padding
:
.3rem
.3rem
0
.3rem
}
.dynamic-item
{
...
...
@@ -425,4 +436,45 @@ import Cookies from "js-cookie"
width
:
68px
;
height
:
16px
}
.homepage
{
width
:
100%
;
}
.content
{
width
:
100%
;
}
.font
{
color
:
#0B89FE
;
cursor
:
pointer
}
.login
.t10
{
width
:
191px
;
height
:
34px
;
background
:
#0B89FE
;
border-radius
:
3px
;
border
:
1px
solid
#0486FE
;
color
:
white
}
.login
.t11
{
width
:
191px
;
height
:
34px
;
background
:
#0B89FE
;
;
border-radius
:
3px
;
opacity
:
0.3
;
color
:
#0B89FE
}
.contentList
{
width
:
1200px
;
margin
:
0
auto
}
.t12
{
padding-top
:
50px
;
margin-bottom
:
20px
;
width
:
111px
;
height
:
24px
;
font-size
:
18px
;
font-family
:
MicrosoftYaHei
;
color
:
#0486FE
;
line-height
:
24px
;
}
</
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