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
df14d135
Commit
df14d135
authored
Jul 07, 2022
by
宋冰琦
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复取单页面样式
parent
30009c0f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
28 additions
and
30 deletions
+28
-30
components/OrderQrCode/index.vue
+16
-19
orderSubPackage/pages/orderInfo/index.vue
+12
-11
No files found.
components/OrderQrCode/index.vue
View file @
df14d135
<
template
>
<div>
<u-popup
:show=
"show"
:round=
"10"
mode=
"bottom"
@
close=
"close"
zIndex=
"10078"
:customStyle=
"popupStyle"
>
<view
class=
"bigBox"
:style=
"
{'margin-top':'-20rpx'}" @touchstart
="start" @touchmove.stop.prevent="move" @touchend
="end" ref="op">
<u-popup
:show=
"show"
:round=
"10"
mode=
"bottom"
:safeAreaInsetBottom=
"false"
@
close=
"close"
zIndex=
"10078"
:customStyle=
"popupStyle"
>
<view
class=
"bigBox"
:style=
"
{'margin-top':'-20rpx'}" @touchstart
.stop.prevent="start" @touchmove.stop.prevent="move" @touchend.stop.prevent
="end" ref="op">
<scroll-view
class=
"scroll-view"
:scroll-y=
"true"
>
<div
class=
"order_flow"
>
<div
class=
"code"
>
取单码
{{
orderInfo
.
orderNum
}}
</div>
...
...
@@ -12,8 +12,8 @@
<div
class=
"qr_code"
v-else
>
<image
:src=
"'/static/imgs/erweimazhedang.png'"
class=
"qr"
></image>
</div>
<
view
class=
"status_text"
v-if=
"showMask"
>
——制作完成后才能扫哦——
</view
>
<div
class=
"flow_describe"
:style=
"
{'padding-top':(!showMask)?'48rpx':'80rpx'}"
>
<
!--
<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>
</div>
...
...
@@ -108,19 +108,14 @@ export default {
this
.
close
()
}
else
{
console
.
log
(
'滑动了:'
+
val
+
',回到顶部'
)
this
.
popupStyle
[
'animationDuration'
]
=
'2s'
;
this
.
popupStyle
.
transform
=
'translate(0rpx, 0rpx)'
this
.
popupStyle
.
transform
=
'translateY(0px)'
}
// this.popupStyle.top = val+'rpx'
// if(val
<-
300
){
// this.close()
// }
},
close
()
{
this
.
show
=
false
;
},
open
(
data
,
path
)
{
this
.
popupStyle
.
transform
=
'translate
(0rpx, 0r
px)'
this
.
popupStyle
.
transform
=
'translate
Y(0
px)'
this
.
show
=
true
;
this
.
orderInfo
=
data
;
// console.log("order:"+JSON.stringify(this.orderInfo));
...
...
@@ -198,7 +193,7 @@ export default {
background
:
#FFFFFF
;
margin
:
32
rpx
;
padding-top
:
54
rpx
;
padding-bottom
:
6
0
rpx
;
padding-bottom
:
6
2
rpx
;
.status_text
{
font-size
:
28
rpx
;
font-family
:
PingFangSC-Medium
,
PingFang
SC
;
...
...
@@ -215,22 +210,24 @@ export default {
}
.qr_code_readly
{
margin
:
20
rpx
auto
;
width
:
510
rpx
;
height
:
510
rpx
;
margin-top
:
38
rpx
;
margin-bottom
:
66
rpx
;
width
:
474.6
rpx
;
height
:
476
rpx
;
.qr
{
width
:
100%
;
height
:
100%
;
}
}
.qr_code
{
height
:
350
rpx
;
width
:
35
0
rpx
;
height
:
468
rpx
;
width
:
47
0
rpx
;
display
:
block
;
margin
:
7
2
rpx
auto
;
margin
:
4
2
rpx
auto
;
position
:
relative
;
padding-bottom
:
4
0
rpx
;
padding-bottom
:
7
0
rpx
;
margin-bottom
:
0
rpx
;
margin-left
:
1
70
rpx
;
margin-left
:
1
07
rpx
;
.status_text
{
font-size
:
28
rpx
;
...
...
orderSubPackage/pages/orderInfo/index.vue
View file @
df14d135
...
...
@@ -27,7 +27,7 @@
<div
v-if=
"qrShow&&!isBuild"
class=
"qr_code"
>
<image
mode=
"aspectFit"
:src=
"'/static/imgs/erweimazhedang.png'"
class=
"qr"
/>
</div>
<
view
class=
"scan_tips"
v-if=
"qrTextShow"
>
——制作完成后才能扫哦——
</view
>
<
!--
<view
class=
"scan_tips"
v-if=
"qrTextShow"
>
——制作完成后才能扫哦——
</view>
--
>
<canvas
v-if=
"qrShow"
class=
"canvas-code"
canvas-id=
"myQrcode"
style=
"background:#fff;width: 200px;height: 200px; display:block; left:-800rpx;position:absolute;"
/>
<div
v-if=
"qrShow"
class=
"flow_describe"
>
<view
class=
"title"
>
扫码流程
</view>
...
...
@@ -435,7 +435,7 @@ export default {
.order_flow
{
background
:
#FFFFFF
;
margin
:
32
rpx
;
padding-top
:
5
6
rpx
;
padding-top
:
5
5.01
rpx
;
.code
{
text-align
:
center
;
...
...
@@ -443,7 +443,6 @@ export default {
font-family
:
PingFangSC-Semibold
,
PingFang
SC
;
font-weight
:
600
;
color
:
#333333
;
padding-bottom
:
20
rpx
;
}
.status_text
{
...
...
@@ -455,14 +454,14 @@ export default {
}
.qr_code
{
height
:
351
rpx
;
width
:
355
rpx
;
height
:
474
rpx
;
width
:
470
rpx
;
display
:
block
;
margin-top
:
48
rpx
;
margin-top
:
36.99
rpx
;
position
:
relative
;
padding-bottom
:
40
rpx
;
margin-bottom
:
0
rpx
;
margin-left
:
1
70
rpx
;
margin-left
:
1
08
rpx
;
.qr
{
width
:
100%
;
...
...
@@ -480,8 +479,10 @@ export default {
}
.realQrcodeBox
{
margin
:
0
auto
;
width
:
510
rpx
;
height
:
510
rpx
;
width
:
474.6
rpx
;
margin-top
:
38
rpx
;
margin-bottom
:
37
rpx
;
height
:
476
rpx
;
image{
width
:
100%
;
height
:
100%
;
...
...
@@ -490,10 +491,10 @@ export default {
}
.flow_describe
{
padding-top
:
50
rpx
;
padding-top
:
29
rpx
;
padding-left
:
32
rpx
;
padding-right
:
32
rpx
;
padding-bottom
:
58
rpx
;
padding-bottom
:
60
rpx
;
.title
{
height
:
40
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