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
bc760195
Commit
bc760195
authored
Jun 24, 2022
by
songbingqi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复首页二维码不展示问题 修改首页头图位置大小
parent
92e7a0d3
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
23 additions
and
9 deletions
+23
-9
components/OrderQrCode/index.vue
+5
-1
components/menuAssembly/index.vue
+4
-2
components/shopCar/shopCar.vue
+9
-2
components/tabBar/tabBar.vue
+1
-1
pages/menu/menu.vue
+4
-3
No files found.
components/OrderQrCode/index.vue
View file @
bc760195
...
...
@@ -11,7 +11,7 @@
<div
class=
"qr_code"
v-else
>
<image
mode=
"aspectFit"
:src=
"'/static/imgs/erweimazhedang.png'"
class=
"qr"
></image>
</div>
<view
class=
"status_text"
>
——制作完成后才能扫哦——
</view>
<view
class=
"status_text"
v-if=
"showMask"
>
——制作完成后才能扫哦——
</view>
<div
class=
"flow_describe"
>
<view
class=
"title"
>
扫码流程
</view>
<image
:mode=
"'aspectFit'"
class=
"flow_img"
:src=
"'/static/imgs/saomaliucheng.png'"
></image>
...
...
@@ -171,6 +171,10 @@ export default {
margin
:
20
rpx
auto
;
width
:
510
rpx
;
height
:
510
rpx
;
.qr
{
width
:
100%
;
height
:
100%
;
}
}
.qr_code
{
height
:
347
rpx
;
...
...
components/menuAssembly/index.vue
View file @
bc760195
...
...
@@ -73,7 +73,9 @@ export default {
},
buied
(
val
)
{
if
(
val
){
this
.
heightStyle
[
'--scroll-height'
]
=
(
this
.
taBarHeight
+
293
)
+
'rpx'
this
.
heightStyle
[
'--scroll-height'
]
=
(
this
.
taBarHeight
+
100
)
+
'rpx'
}
else
{
this
.
heightStyle
[
'--scroll-height'
]
=
(
this
.
taBarHeight
)
+
'rpx'
}
}
},
...
...
@@ -455,7 +457,7 @@ export default {
display
:
flex
;
align-items
:
center
;
padding
:
0
rpx
36
rpx
0
rpx
32
rpx
;
margin-bottom
:
5
0
rpx
;
margin-bottom
:
7
0
rpx
;
height
:
162
rpx
;
background
:
#fff
;
position
:
relative
;
...
...
components/shopCar/shopCar.vue
View file @
bc760195
...
...
@@ -74,6 +74,7 @@
</view>
</view>
<view
class=
"end-right goSubmmit"
@
click=
"saveReserve"
v-if=
"userms"
>
付款
</view>
<!--
<view
v-if=
"!userms"
class=
"end-right goSubmmit"
style=
"border-radius: 0;"
open-type=
"getPhoneNumber"
@
getphonenumber=
"saveReserve"
>
...
...
@@ -532,14 +533,20 @@ export default {
width
:
169
rpx
;
font-size
:
32
rpx
;
line-height
:
92
rpx
;
background-color
:
#00
6ECF
;
background-color
:
#00
50F6
;
text-align
:
right
;
color
:
#fff
;
font-family
:
PingFangSC-Medium
,
PingFang
SC
;
font-weight
:
500
;
}
.goSubmmit
{
background
:
url('../../static/imgs/fukuan.png')
center
center
no-repeat
;
//
background
:
url('../../static/imgs/fukuan.png')
center
center
no-repeat
;
text-align
:
center
;
font-size
:
28
rpx
;
font-family
:
PingFangSC-Medium
,
PingFang
SC
;
font-weight
:
500
;
color
:
#FFFFFF
;
line-height
:
92
rpx
;
width
:
200
rpx
;
height
:
100%
;
}
...
...
components/tabBar/tabBar.vue
View file @
bc760195
...
...
@@ -18,7 +18,7 @@
props
:[
'select'
],
mounted
(){
this
.
BottomSafeHeight
=
uni
.
getStorageSync
(
'BottomSafeHeight'
)
||
10
uni
.
setStorageSync
(
"taBarHeight"
,(
this
.
BottomSafeHeight
+
37
6
))
uni
.
setStorageSync
(
"taBarHeight"
,(
this
.
BottomSafeHeight
+
54
6
))
uni
.
setStorageSync
(
"shopCar"
,
this
.
BottomSafeHeight
==
10
?
120
:(
this
.
BottomSafeHeight
+
288
)
/
2
)
uni
.
setStorageSync
(
"orderBottom"
,(
this
.
BottomSafeHeight
+
150
))
this
.
selectedIndex
=
Number
(
this
.
select
)
...
...
pages/menu/menu.vue
View file @
bc760195
<
template
>
<view
class=
"menu-box"
>
<view
class=
"menu-banner"
>
<view
class=
"menu-banner"
:style=
"
{'height':buied?'360rpx':'440rpx'}"
>
<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:102rpx'"
>
<view
class=
"shop-box"
>
...
...
@@ -156,6 +156,7 @@ export default {
this
.
$refs
.
OrderQrCode
.
open
(
this
.
orderInfo
,
""
);
return
;
}
new
QRCode
(
'myQrcode2'
,
{
text
:
this
.
orderInfo
.
pickCode
,
width
:
141
,
//canvas 画布的宽
...
...
@@ -350,12 +351,12 @@ export default {
}
.menu-banner
{
height
:
376
rpx
;
height
:
440
rpx
;
position
:
relative
;
video
{
width
:
100%
;
height
:
363.83
rpx
;
height
:
401
rpx
;
}
...
...
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