Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
glsx
/
gl_tape
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
3
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit ec3df806
authored
Jun 07, 2024
by
李伟康
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
commit 修复BUG
1 parent
7ea4bc76
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
24 additions
and
1 deletions
components/FinishStep.vue
pages/boutique/components/QrBox.vue
components/FinishStep.vue
View file @
ec3df80
...
@@ -39,6 +39,7 @@
...
@@ -39,6 +39,7 @@
class=
"input"
class=
"input"
:placeholder=
"i.placeholder"
:placeholder=
"i.placeholder"
:disabled=
"customerType == 0"
:disabled=
"customerType == 0"
@
input=
"inputCustomer"
/>
/>
</
template
>
</
template
>
<
template
v-else
>
<
template
v-else
>
...
@@ -298,6 +299,9 @@ export default {
...
@@ -298,6 +299,9 @@ export default {
this
.
setReceptionStatus
(
receptionStatus
);
this
.
setReceptionStatus
(
receptionStatus
);
this
.
$emit
(
'submit'
,
receptionStatus
)
this
.
$emit
(
'submit'
,
receptionStatus
)
},
},
inputCustomer
()
{
this
.
$store
.
dispatch
(
'setCustomerInfo'
,
this
.
formData
)
},
handleSelect
(
item
,
popkey
)
{
handleSelect
(
item
,
popkey
)
{
this
.
$refs
[
popkey
].
close
();
this
.
$refs
[
popkey
].
close
();
if
(
popkey
==
"employeeBoxVisible"
)
{
if
(
popkey
==
"employeeBoxVisible"
)
{
...
...
pages/boutique/components/QrBox.vue
View file @
ec3df80
...
@@ -7,6 +7,10 @@
...
@@ -7,6 +7,10 @@
class=
"qrPopup"
class=
"qrPopup"
>
>
<view
class=
"box"
>
<view
class=
"box"
>
<template
v-if=
"count > 0"
>
<view
class=
"icon-close-box count"
>
{{
count
}}
</view>
</
template
>
<
template
v-else
>
<view
<view
class=
"icon-close-box flex"
class=
"icon-close-box flex"
@
click=
"close"
@
click=
"close"
...
@@ -18,6 +22,7 @@
...
@@ -18,6 +22,7 @@
color=
"#1A1A1A"
color=
"#1A1A1A"
></uni-icons>
></uni-icons>
</view>
</view>
</
template
>
<view
class=
"content flex"
>
<view
class=
"content flex"
>
<view
class=
"title flex"
>
<view
class=
"title flex"
>
<view
class=
"sprite-icon icon-scan"
></view>
<view
class=
"sprite-icon icon-scan"
></view>
...
@@ -52,6 +57,7 @@ export default {
...
@@ -52,6 +57,7 @@ export default {
},
},
data
()
{
data
()
{
return
{
return
{
count
:
4
}
}
},
},
mounted
()
{
mounted
()
{
...
@@ -59,11 +65,21 @@ export default {
...
@@ -59,11 +65,21 @@ export default {
methods
:
{
methods
:
{
open
()
{
open
()
{
this
.
$refs
.
qr
.
open
();
this
.
$refs
.
qr
.
open
();
this
.
count
=
3
this
.
countDown
()
},
},
close
()
{
close
()
{
this
.
$refs
.
qr
.
close
();
this
.
$refs
.
qr
.
close
();
this
.
$emit
(
'close'
)
this
.
$emit
(
'close'
)
},
},
countDown
(){
setTimeout
(()
=>
{
if
(
this
.
count
>
0
){
this
.
count
--
this
.
countDown
()
}
},
1000
)
}
}
}
}
}
</
script
>
</
script
>
...
@@ -84,6 +100,9 @@ export default {
...
@@ -84,6 +100,9 @@ export default {
top
:
0
;
top
:
0
;
right
:
0
;
right
:
0
;
}
}
.count
{
color
:
#999999
;
}
.content
{
.content
{
flex-direction
:
column
;
flex-direction
:
column
;
...
@@ -92,7 +111,7 @@ export default {
...
@@ -92,7 +111,7 @@ export default {
font-weight
:
500
;
font-weight
:
500
;
font-size
:
32
rpx
;
font-size
:
32
rpx
;
color
:
#333333
;
color
:
#333333
;
.sprite-icon{
.sprite-icon
{
margin-right
:
12
rpx
;
margin-right
:
12
rpx
;
}
}
}
}
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment