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
12a5ac2b
Commit
12a5ac2b
authored
Jun 30, 2022
by
宋冰琦
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改首页订单信息弹框下拉关闭
parent
55934b43
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
5 deletions
+18
-5
components/OrderQrCode/index.vue
+16
-3
components/menuAssembly/index.vue
+2
-2
No files found.
components/OrderQrCode/index.vue
View file @
12a5ac2b
<
template
>
<
template
>
<div>
<div>
<u-popup
:show=
"show"
:round=
"10"
mode=
"bottom"
@
close=
"close"
:safeAreaInsetBottom=
"false"
zIndex=
"10078"
>
<u-popup
:show=
"show"
:round=
"10"
mode=
"bottom"
@
close=
"close"
:safeAreaInsetBottom=
"false"
zIndex=
"10078"
>
<view
class=
"bigBox"
:style=
"
{'height':'94vh'}">
<view
class=
"bigBox"
:style=
"
{'height':'94vh'}"
@touchstart="start" @touchend="end" ref="op"
>
<div
class=
"order_flow"
>
<div
class=
"order_flow"
>
<div
class=
"code"
>
取单码
{{
orderInfo
.
orderNum
}}
</div>
<div
class=
"code"
>
取单码
{{
orderInfo
.
orderNum
}}
</div>
<!--
<image
mode=
"scaleToFill"
:src=
"qrCode"
class=
"qr_code"
></image>
-->
<!--
<image
mode=
"scaleToFill"
:src=
"qrCode"
class=
"qr_code"
></image>
-->
...
@@ -40,6 +40,9 @@ export default {
...
@@ -40,6 +40,9 @@ export default {
orderInfo
:
{},
orderInfo
:
{},
qrCode
:
''
,
qrCode
:
''
,
show
:
false
,
show
:
false
,
clientYStart
:
0
,
clientYEnd
:
0
,
bigBox
:{}
}
}
},
},
computed
:
{
computed
:
{
...
@@ -75,9 +78,19 @@ export default {
...
@@ -75,9 +78,19 @@ export default {
}
}
},
},
onLoad
()
{
onLoad
()
{
},
},
methods
:
{
methods
:
{
start
(
e
)
{
this
.
clientYStart
=
e
.
changedTouches
[
0
].
clientY
},
end
(
e
)
{
this
.
clientYEnd
=
e
.
changedTouches
[
0
].
clientY
;
const
val
=
parseInt
((
this
.
clientYStart
-
this
.
clientYEnd
))
if
(
val
<-
500
){
this
.
close
()
}
},
close
()
{
close
()
{
this
.
show
=
false
;
this
.
show
=
false
;
},
},
...
...
components/menuAssembly/index.vue
View file @
12a5ac2b
...
@@ -408,8 +408,8 @@ export default {
...
@@ -408,8 +408,8 @@ export default {
}
}
.box
:last-child
{
.box
:last-child
{
//
padding-bottom
:
590
rpx
;
padding-bottom
:
255
rpx
;
height
:
100%
;
//
height
:
100%
;
}
}
.nav-right-item
image
{
.nav-right-item
image
{
...
...
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