Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
U
user
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
hooloo
mp
user
Commits
57bed203
Commit
57bed203
authored
Jun 17, 2022
by
宋冰琦
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加首页视频背景
parent
be335291
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
40 additions
and
42 deletions
+40
-42
pages/menu/menu.vue
+36
-38
pages/mine/mine.vue
+4
-4
static/imgs/jiantoubai.png
+0
-0
static/imgs/jiantouhei.png
+0
-0
No files found.
pages/menu/menu.vue
View file @
57bed203
<
template
>
<view
class=
"menu-box"
>
<view
class=
"menu-banner"
>
<
image
src=
"../../static/imgs/banner.png"
></image
>
<view
class=
"shop-info"
:style=
"'top:1
20
rpx'"
>
<
video
autoplay
muted
loop
:controls=
"false"
:enable-progress-gesture=
"false"
objectFit=
'cover'
src=
"http://songclound.oss-cn-hongkong.aliyuncs.com/2022/06/17/b6448829fab53.mp4"
></video
>
<view
class=
"shop-info"
:style=
"'top:1
02
rpx'"
>
<view
class=
"shop-box"
>
<text
@
click=
"showArea"
class=
"shop-name"
>
{{
shopInfo
.
name
}}
</text>
<
u-icon
name=
"arrow-right"
class=
"arrow-right-select"
color=
"#FFFFFF"
></u-icon
>
<
image
class=
"arrow-right-select"
:src=
"'../../static/imgs/jiantoubai.png'"
/
>
</view>
<view
v-if=
"shopInfo.distance && shopInfo.distance!=-1"
class=
"distance"
>
距您
{{
shopInfo
.
distance
}}
</view>
</view>
...
...
@@ -283,20 +283,26 @@ export default {
color
:
#FFFFFF
;
.shop-box
{
min-width
:
300
rpx
;
font-size
:
28
rpx
;
font-size
:
32
rpx
;
font-weight
:
500
;
color
:
#FFFFFF
;
font-family
:
PingFangSC-Medium
,
PingFang
SC
;
display
:
flex
;
align-items
:
center
;
height
:
62
rpx
;
line-height
:
62
rpx
;
.shop-name
{
margin-right
:
12
rpx
;
flex
:
1
;
font-family
:
PingFangSC-Medium
,
PingFang
SC
;
font-size
:
32
rpx
;
color
:
#000000
;
}
.arrow-right-select
{
width
:
9
rpx
;
height
:
22
rpx
;
//
border
:
3
rpx
solid
#FFFFFF
}
}
...
...
@@ -306,7 +312,7 @@ export default {
font-family
:
PingFangSC-Regular
,
PingFang
SC
;
font-weight
:
400
;
color
:
#FFFFFF
;
line-height
:
50
rpx
;
line-height
:
42
rpx
;
}
}
}
...
...
@@ -315,31 +321,33 @@ export default {
height
:
376
rpx
;
position
:
relative
;
image
{
video
{
width
:
100%
;
height
:
376
rpx
;
height
:
363.83
rpx
;
}
.login-area
{
display
:
flex
;
width
:
68
4
rpx
;
height
:
10
0
rpx
;
padding
:
16
rpx
28
rpx
;
width
:
68
6
rpx
;
height
:
10
4
rpx
;
padding
:
16
rpx
32
rpx
16
rpx
34
rpx
;
background
:
#ffffff
;
position
:
absolute
;
z-index
:
1
;
bottom
:
-
10
rpx
;
left
:
3
4
rpx
;
bottom
:
-
5
rpx
;
left
:
3
2
rpx
;
box-sizing
:
border-box
;
box-shadow
:
0px
3px
2px
#f4f2f2
;
box-shadow
:
0px
4px
8px
0px
rgba
(
102
,
102
,
102
,
0.1
);
backdrop-filter
:
blur
(
0px
);
z-index
:
9
;
.avatar
{
display
:
flex
;
justify-items
:
center
;
align-items
:
center
;
width
:
7
0
rpx
;
height
:
7
0
rpx
;
width
:
7
2
rpx
;
height
:
7
2
rpx
;
margin-right
:
22
rpx
;
border-radius
:
4
rpx
;
image
{
...
...
@@ -353,38 +361,28 @@ export default {
flex
:
1
;
display
:
flex
;
align-items
:
center
;
height
:
70
rpx
;
justify-content
:
space-between
;
flex-wrap
:
nowrap
;
.user-name
{
height
:
28
rpx
;
font-size
:
25
rpx
;
font-family
:
ArialMT
;
font-weight
:
bolder
;
line-height
:
25
rpx
;
margin-top
:
2
rpx
;
height
:
34
rpx
!important
;
font-size
:
24
rpx
;
font-weight
:
normal
;
font-family
:
Arial-BoldMT
,
Arial
;
line-height
:
28
rpx
;
}
.dialog
{
display
:
fle
x
;
height
:
22
rpx
;
height
:
28
rp
x
;
line-height
:
28
rpx
;
font-size
:
20
rpx
;
font-family
:
PingFangSC-Regular
,
PingFang
SC
;
font-weight
:
400
;
margin-top
:
8
rpx
;
color
:
#666666
;
margin-top
:
4
rpx
;
.content
{
flex
:
1
;
letter-space
:
20
rpx
;
color
:
#666666
;
}
.arrow
{
width
:
10
rpx
;
height
:
12px
;
display
:
flex
;
font-size
:
20
rpx
;
justify-content
:
center
;
align-items
:
center
;
}
}
}
...
...
pages/mine/mine.vue
View file @
57bed203
...
...
@@ -2,10 +2,10 @@
<view
class=
"pages"
>
<view
class=
"menu-banner"
>
<view
class=
"log"
>
<
image
class=
"logImg"
src=
"/static/imgs/hooloo.png"
></image
>
<
view
class=
"logText"
>
未 来 咖 啡
</view
>
<
!--
<image
class=
"logImg"
src=
"/static/imgs/hooloo.png"
></image>
--
>
<
!--
<view
class=
"logText"
>
未 来 咖 啡
</view>
--
>
</view>
<
image
src=
"/static/imgs/banner.png"
></image
>
<
video
autoplay
muted
loop
:controls=
"false"
:enable-progress-gesture=
"false"
objectFit=
'cover'
src=
"http://songclound.oss-cn-hongkong.aliyuncs.com/2022/06/17/a2aaece8ad026.mp4"
></video
>
</view>
<view
v-if=
"userms"
class=
"mod11 flex-col"
>
<view
class=
"box16 flex-col"
></view>
...
...
@@ -159,7 +159,7 @@ button::after {
}
}
image
{
video
{
width
:
100%
;
height
:
376
rpx
;
}
...
...
static/imgs/jiantoubai.png
0 → 100644
View file @
57bed203
622 Bytes
static/imgs/jiantouhei.png
0 → 100644
View file @
57bed203
1.04 KB
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