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 cb79553d
authored
Jun 06, 2024
by
前端
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'v1.0.5' of
http://192.168.3.233:8090/glsx/gl_tape
into v1.0.5
2 parents
5addbe11
89e81ae9
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
319 additions
and
81 deletions
assets/css/sprite.scss
components/FinishStep.vue
components/ToolBox.vue
pages/boutique/components/Reception.vue
pages/boutique/detail.vue
pages/boutique/invitation.vue
assets/css/sprite.scss
View file @
cb79553
.sprite-icon
{
background-image
:
url(@/assets/images/sprite.png)
;
background-size
:
1085rpx
971rpx
;}
.icon-aito
{
width
:
320rpx
;
height
:
36rpx
;
background-position
:
0rpx
-749rpx
;}
.icon-arrow-right
{
width
:
32rpx
;
height
:
32rpx
;
background-position
:
-1052rpx
-65rpx
;}
.icon-back
{
width
:
128rpx
;
height
:
50rpx
;
background-position
:
-957rpx
0rpx
;}
.icon-change-account
{
width
:
32rpx
;
height
:
32rpx
;
background-position
:
-1052rpx
-112rpx
;}
.icon-customer-1
{
width
:
400rpx
;
height
:
400rpx
;
background-position
:
0rpx
0rpx
;}
.icon-customer-2
{
width
:
400rpx
;
height
:
400rpx
;
background-position
:
-415rpx
0rpx
;}
.icon-customer-detail
{
width
:
40rpx
;
height
:
40rpx
;
background-position
:
-1044rpx
-445rpx
;}
.icon-face-error-active
{
width
:
96rpx
;
height
:
96rpx
;
background-position
:
-830rpx
-635rpx
;}
.icon-face-error
{
width
:
96rpx
;
height
:
96rpx
;
background-position
:
0rpx
-800rpx
;}
.icon-face-success-active
{
width
:
96rpx
;
height
:
96rpx
;
background-position
:
-111rpx
-800rpx
;}
.icon-face-success
{
width
:
96rpx
;
height
:
96rpx
;
background-position
:
-222rpx
-800rpx
;}
.icon-feedback
{
width
:
32rpx
;
height
:
32rpx
;
background-position
:
-1052rpx
-160rpx
;}
.icon-first-nav
{
width
:
464rpx
;
height
:
176rpx
;
background-position
:
0rpx
-415rpx
;}
.icon-home-active
{
width
:
80rpx
;
height
:
80rpx
;
background-position
:
-957rpx
-65rpx
;}
.icon-home
{
width
:
80rpx
;
height
:
80rpx
;
background-position
:
-957rpx
-160rpx
;}
.icon-icon-addr
{
width
:
32rpx
;
height
:
32rpx
;
background-position
:
-1052rpx
-207rpx
;}
.icon-icon-avatar
{
width
:
112rpx
;
height
:
112rpx
;
background-position
:
-830rpx
0rpx
;}
.icon-icon-female
{
width
:
32rpx
;
height
:
32rpx
;
background-position
:
-1052rpx
-255rpx
;}
.icon-icon-handshake
{
width
:
72rpx
;
height
:
72rpx
;
background-position
:
-957rpx
-445rpx
;}
.icon-icon-male
{
width
:
32rpx
;
height
:
32rpx
;
background-position
:
-1052rpx
-302rpx
;}
.icon-icon-shop
{
width
:
32rpx
;
height
:
32rpx
;
background-position
:
-1052rpx
-350rpx
;}
.icon-icon-upload
{
width
:
128rpx
;
height
:
128rpx
;
background-position
:
-654rpx
-415rpx
;}
.icon-icon-weixin
{
width
:
32rpx
;
height
:
32rpx
;
background-position
:
-1052rpx
-397rpx
;}
.icon-kf-0
{
width
:
32rpx
;
height
:
32rpx
;
background-position
:
-1032rpx
-690rpx
;}
.icon-kf-1
{
width
:
32rpx
;
height
:
32rpx
;
background-position
:
-1032rpx
-765rpx
;}
.icon-kf-2
{
width
:
32rpx
;
height
:
32rpx
;
background-position
:
-957rpx
-840rpx
;}
.icon-kf-3
{
width
:
32rpx
;
height
:
32rpx
;
background-position
:
-1004rpx
-840rpx
;}
.icon-logo
{
width
:
160rpx
;
height
:
160rpx
;
background-position
:
-479rpx
-415rpx
;}
.icon-new-addr
{
width
:
32rpx
;
height
:
32rpx
;
background-position
:
-1051rpx
-840rpx
;}
.icon-new-avatar
{
width
:
96rpx
;
height
:
96rpx
;
background-position
:
-333rpx
-800rpx
;}
.icon-new-feedback
{
width
:
64rpx
;
height
:
64rpx
;
background-position
:
-957rpx
-532rpx
;}
.icon-new-home-active
{
width
:
112rpx
;
height
:
112rpx
;
background-position
:
-830rpx
-127rpx
;}
.icon-new-home
{
width
:
112rpx
;
height
:
112rpx
;
background-position
:
-830rpx
-254rpx
;}
.icon-new-record-active
{
width
:
112rpx
;
height
:
112rpx
;
background-position
:
-830rpx
-381rpx
;}
.icon-new-record
{
width
:
112rpx
;
height
:
112rpx
;
background-position
:
-830rpx
-508rpx
;}
.icon-new-setting
{
width
:
64rpx
;
height
:
64rpx
;
background-position
:
-957rpx
-611rpx
;}
.icon-pen-active
{
width
:
120rpx
;
height
:
120rpx
;
background-position
:
-495rpx
-606rpx
;}
.icon-pen
{
width
:
120rpx
;
height
:
120rpx
;
background-position
:
-630rpx
-606rpx
;}
.icon-qr-success
{
width
:
96rpx
;
height
:
96rpx
;
background-position
:
-444rpx
-800rpx
;}
.icon-qw
{
width
:
48rpx
;
height
:
48rpx
;
background-position
:
-1036rpx
-532rpx
;}
.icon-record-active
{
width
:
80rpx
;
height
:
80rpx
;
background-position
:
-957rpx
-255rpx
;}
.icon-record
{
width
:
80rpx
;
height
:
80rpx
;
background-position
:
-957rpx
-350rpx
;}
.icon-scan
{
width
:
32rpx
;
height
:
32rpx
;
background-position
:
-830rpx
-746rpx
;}
.icon-scene-0
{
width
:
96rpx
;
height
:
96rpx
;
background-position
:
-555rpx
-800rpx
;}
.icon-scene-1
{
width
:
96rpx
;
height
:
96rpx
;
background-position
:
-666rpx
-800rpx
;}
.icon-search
{
width
:
40rpx
;
height
:
40rpx
;
background-position
:
-1036rpx
-611rpx
;}
.icon-second-nav
{
width
:
480rpx
;
height
:
128rpx
;
background-position
:
0rpx
-606rpx
;}
.icon-settings
{
width
:
32rpx
;
height
:
32rpx
;
background-position
:
-877rpx
-746rpx
;}
.icon-store
{
width
:
96rpx
;
height
:
96rpx
;
background-position
:
-777rpx
-800rpx
;}
.icon-tool-file
{
width
:
60rpx
;
height
:
60rpx
;
background-position
:
-957rpx
-690rpx
;}
.icon-tool-finish
{
width
:
60rpx
;
height
:
60rpx
;
background-position
:
-957rpx
-765rpx
;}
.icon-tool-pay
{
width
:
60rpx
;
height
:
60rpx
;
background-position
:
0rpx
-911rpx
;}
\ No newline at end of file
\ No newline at end of file
.sprite-icon
{
background-image
:
url(@/assets/images/sprite.png)
;
background-size
:
1085rpx
971rpx
;
}
.icon-aito
{
width
:
320rpx
;
height
:
36rpx
;
background-position
:
0rpx
-749rpx
;
}
.icon-arrow-right
{
width
:
32rpx
;
height
:
32rpx
;
background-position
:
-1052rpx
-65rpx
;
}
.icon-back
{
width
:
128rpx
;
height
:
50rpx
;
background-position
:
-957rpx
0rpx
;
}
.icon-change-account
{
width
:
32rpx
;
height
:
32rpx
;
background-position
:
-1052rpx
-112rpx
;
}
.icon-customer-1
{
width
:
400rpx
;
height
:
400rpx
;
background-position
:
0rpx
0rpx
;
}
.icon-customer-2
{
width
:
400rpx
;
height
:
400rpx
;
background-position
:
-415rpx
0rpx
;
}
.icon-customer-detail
{
width
:
40rpx
;
height
:
40rpx
;
background-position
:
-1044rpx
-445rpx
;
}
.icon-face-error-active
{
width
:
96rpx
;
height
:
96rpx
;
background-position
:
-830rpx
-635rpx
;
}
.icon-face-error
{
width
:
96rpx
;
height
:
96rpx
;
background-position
:
0rpx
-800rpx
;
}
.icon-face-success-active
{
width
:
96rpx
;
height
:
96rpx
;
background-position
:
-111rpx
-800rpx
;
}
.icon-face-success
{
width
:
96rpx
;
height
:
96rpx
;
background-position
:
-222rpx
-800rpx
;
}
.icon-feedback
{
width
:
32rpx
;
height
:
32rpx
;
background-position
:
-1052rpx
-160rpx
;
}
.icon-first-nav
{
width
:
464rpx
;
height
:
176rpx
;
background-position
:
0rpx
-415rpx
;
}
.icon-home-active
{
width
:
80rpx
;
height
:
80rpx
;
background-position
:
-957rpx
-65rpx
;
}
.icon-home
{
width
:
80rpx
;
height
:
80rpx
;
background-position
:
-957rpx
-160rpx
;
}
.icon-icon-addr
{
width
:
32rpx
;
height
:
32rpx
;
background-position
:
-1052rpx
-207rpx
;
}
.icon-icon-avatar
{
width
:
112rpx
;
height
:
112rpx
;
background-position
:
-830rpx
0rpx
;
}
.icon-icon-female
{
width
:
32rpx
;
height
:
32rpx
;
background-position
:
-1052rpx
-255rpx
;
}
.icon-icon-handshake
{
width
:
72rpx
;
height
:
72rpx
;
background-position
:
-957rpx
-445rpx
;
}
.icon-icon-male
{
width
:
32rpx
;
height
:
32rpx
;
background-position
:
-1052rpx
-302rpx
;
}
.icon-icon-shop
{
width
:
32rpx
;
height
:
32rpx
;
background-position
:
-1052rpx
-350rpx
;
}
.icon-icon-upload
{
width
:
128rpx
;
height
:
128rpx
;
background-position
:
-654rpx
-415rpx
;
}
.icon-icon-weixin
{
width
:
32rpx
;
height
:
32rpx
;
background-position
:
-1052rpx
-397rpx
;
}
.icon-kf-0
{
width
:
32rpx
;
height
:
32rpx
;
background-position
:
-1032rpx
-690rpx
;
}
.icon-kf-1
{
width
:
32rpx
;
height
:
32rpx
;
background-position
:
-1032rpx
-765rpx
;
}
.icon-kf-2
{
width
:
32rpx
;
height
:
32rpx
;
background-position
:
-957rpx
-840rpx
;
}
.icon-kf-3
{
width
:
32rpx
;
height
:
32rpx
;
background-position
:
-1004rpx
-840rpx
;
}
.icon-logo
{
width
:
160rpx
;
height
:
160rpx
;
background-position
:
-479rpx
-415rpx
;
}
.icon-new-addr
{
width
:
32rpx
;
height
:
32rpx
;
background-position
:
-1051rpx
-840rpx
;
}
.icon-new-avatar
{
width
:
96rpx
;
height
:
96rpx
;
background-position
:
-333rpx
-800rpx
;
}
.icon-new-feedback
{
width
:
64rpx
;
height
:
64rpx
;
background-position
:
-957rpx
-532rpx
;
}
.icon-new-home-active
{
width
:
112rpx
;
height
:
112rpx
;
background-position
:
-830rpx
-127rpx
;
}
.icon-new-home
{
width
:
112rpx
;
height
:
112rpx
;
background-position
:
-830rpx
-254rpx
;
}
.icon-new-record-active
{
width
:
112rpx
;
height
:
112rpx
;
background-position
:
-830rpx
-381rpx
;
}
.icon-new-record
{
width
:
112rpx
;
height
:
112rpx
;
background-position
:
-830rpx
-508rpx
;
}
.icon-new-setting
{
width
:
64rpx
;
height
:
64rpx
;
background-position
:
-957rpx
-611rpx
;
}
.icon-pen-active
{
width
:
120rpx
;
height
:
120rpx
;
background-position
:
-495rpx
-606rpx
;
}
.icon-pen
{
width
:
120rpx
;
height
:
120rpx
;
background-position
:
-630rpx
-606rpx
;
}
.icon-qr-success
{
width
:
96rpx
;
height
:
96rpx
;
background-position
:
-444rpx
-800rpx
;
}
.icon-qw
{
width
:
48rpx
;
height
:
48rpx
;
background-position
:
-1036rpx
-532rpx
;
}
.icon-record-active
{
width
:
80rpx
;
height
:
80rpx
;
background-position
:
-957rpx
-255rpx
;
}
.icon-record
{
width
:
80rpx
;
height
:
80rpx
;
background-position
:
-957rpx
-350rpx
;
}
.icon-scan
{
width
:
32rpx
;
height
:
32rpx
;
background-position
:
-830rpx
-746rpx
;
}
.icon-scene-0
{
width
:
96rpx
;
height
:
96rpx
;
background-position
:
-555rpx
-800rpx
;
}
.icon-scene-1
{
width
:
96rpx
;
height
:
96rpx
;
background-position
:
-666rpx
-800rpx
;
}
.icon-search
{
width
:
40rpx
;
height
:
40rpx
;
background-position
:
-1036rpx
-611rpx
;
}
.icon-second-nav
{
width
:
480rpx
;
height
:
128rpx
;
background-position
:
0rpx
-606rpx
;
}
.icon-store
{
width
:
96rpx
;
height
:
96rpx
;
background-position
:
-777rpx
-800rpx
;
}
.icon-tool-file
{
width
:
60rpx
;
height
:
60rpx
;
background-position
:
-957rpx
-690rpx
;
}
.icon-tool-finish
{
width
:
60rpx
;
height
:
60rpx
;
background-position
:
-957rpx
-765rpx
;
}
.icon-tool-pay
{
width
:
60rpx
;
height
:
60rpx
;
background-position
:
0rpx
-911rpx
;
}
.icon-settings
{
width
:
32rpx
;
height
:
32rpx
;
background-position
:
-877rpx
-746rpx
;
}
components/FinishStep.vue
View file @
cb79553
...
@@ -279,7 +279,10 @@ export default {
...
@@ -279,7 +279,10 @@ export default {
if
(
this
.
check
())
{
if
(
this
.
check
())
{
const
{
sceneType
}
=
this
const
{
sceneType
}
=
this
if
(
sceneType
==
0
)
this
.
step
=
2
if
(
sceneType
==
0
)
this
.
step
=
2
else
this
.
success
(
receptionStatus
)
else
{
receptionStatus
=
1
this
.
success
(
receptionStatus
)
}
}
}
}
else
{
}
else
{
let
{
receptionStatus
}
=
this
let
{
receptionStatus
}
=
this
...
@@ -310,11 +313,9 @@ export default {
...
@@ -310,11 +313,9 @@ export default {
this
.
$store
.
dispatch
(
'getCustomerInfo'
).
then
((
customerInfo
)
=>
{
this
.
$store
.
dispatch
(
'getCustomerInfo'
).
then
((
customerInfo
)
=>
{
this
.
formData
=
customerInfo
this
.
formData
=
customerInfo
let
{
sceneType
,
customerType
}
=
this
,
let
{
sceneType
,
customerType
}
=
this
,
receptionStatus
=
-
1
,
step
=
Object
.
values
(
customerInfo
).
every
((
value
)
=>
!!
value
)
?
2
:
1
step
=
Object
.
values
(
customerInfo
).
every
((
value
)
=>
!!
value
)
?
2
:
1
this
.
errorTip
=
false
this
.
errorTip
=
false
if
(
sceneType
==
1
)
{
if
(
sceneType
==
1
)
{
receptionStatus
=
1
//精品默认1
step
=
1
step
=
1
this
.
formObject
=
formObject_boutique
this
.
formObject
=
formObject_boutique
if
(
customerType
==
0
&&
!
this
.
check
())
return
uni
.
showToast
({
if
(
customerType
==
0
&&
!
this
.
check
())
return
uni
.
showToast
({
...
@@ -327,7 +328,6 @@ export default {
...
@@ -327,7 +328,6 @@ export default {
step
=
1
step
=
1
}
}
this
.
step
=
step
this
.
step
=
step
this
.
receptionStatus
=
receptionStatus
this
.
$refs
.
formRef
.
open
()
this
.
$refs
.
formRef
.
open
()
})
})
},
},
...
@@ -423,6 +423,11 @@ export default {
...
@@ -423,6 +423,11 @@ export default {
}
}
.disabled
{
.disabled
{
background
:
#f4f4f4
;
background
:
#f4f4f4
;
.select
{
.arrow
{
display
:
none
;
}
}
}
}
}
}
}
}
...
...
components/ToolBox.vue
View file @
cb79553
...
@@ -94,7 +94,7 @@ export default {
...
@@ -94,7 +94,7 @@ export default {
right
:
40
rpx
;
right
:
40
rpx
;
top
:
calc
(
5%
+
140
rpx
);
top
:
calc
(
5%
+
140
rpx
);
z-index
:
998
;
z-index
:
998
;
width
:
12
0
rpx
;
width
:
12
8
rpx
;
.btn
{
.btn
{
width
:
100%
;
width
:
100%
;
height
:
120
rpx
;
height
:
120
rpx
;
...
@@ -126,15 +126,27 @@ export default {
...
@@ -126,15 +126,27 @@ export default {
}
}
.list
{
.list
{
width
:
100%
;
width
:
100%
;
height
:
0
;
border
:
2
rpx
solid
#ffffff
;
background
:
#ffffff
;
box-shadow
:
0
8
rpx
22
rpx
0
#0000001
a
;
box-shadow
:
0
8
rpx
22
rpx
0
#00000029
;
border-radius
:
16
rpx
;
border-radius
:
16
rpx
;
flex-direction
:
column
;
flex-direction
:
column
;
align-items
:
center
;
align-items
:
center
;
transition
:
all
0.05s
;
transition
:
all
0.05s
;
overflow
:
hidden
;
overflow
:
hidden
;
opacity
:
0
;
opacity
:
0
;
position
:
relative
;
background
:
rgba
(
255
,
255
,
255
,
0.6
);
&::after
{
position
:
absolute
;
content
:
""
;
background
:
inherit
;
top
:
0
;
left
:
0
;
right
:
0
;
bottom
:
0
;
filter
:
blur
(
8
rpx
);
z-index
:
-1
;
}
.title
{
.title
{
width
:
120
rpx
;
width
:
120
rpx
;
height
:
56
rpx
;
height
:
56
rpx
;
...
@@ -152,8 +164,9 @@ export default {
...
@@ -152,8 +164,9 @@ export default {
justify-content
:
center
;
justify-content
:
center
;
font-size
:
20
rpx
;
font-size
:
20
rpx
;
color
:
#666666
;
color
:
#666666
;
height
:
120
rpx
;
//
height
:
120
rpx
;
width
:
100%
;
width
:
100%
;
padding-top
:
16
rpx
;
.icon
{
.icon
{
width
:
60
rpx
;
width
:
60
rpx
;
height
:
60
rpx
;
height
:
60
rpx
;
...
@@ -166,8 +179,8 @@ export default {
...
@@ -166,8 +179,8 @@ export default {
}
}
.showList
{
.showList
{
display
:
flex
;
display
:
flex
;
height
:
896
rpx
;
opacity
:
1
;
opacity
:
1
;
padding-bottom
:
16
rpx
;
animation
:
scale-up-top-right
0.4s
;
animation
:
scale-up-top-right
0.4s
;
}
}
@keyframes
scale-up-top-right
{
@keyframes
scale-up-top-right
{
...
...
pages/boutique/components/Reception.vue
View file @
cb79553
...
@@ -2,14 +2,14 @@
...
@@ -2,14 +2,14 @@
<view
class=
"layout"
>
<view
class=
"layout"
>
<view
class=
"title"
>
<view
class=
"title"
>
<view
class=
"sprite-icon icon-aito"
></view>
<view
class=
"sprite-icon icon-aito"
></view>
<view
class=
"text"
>
{{
title
}}
</view>
<view
class=
"text"
>
问界·精品加装服务说明
</view>
</view>
</view>
<view
class=
"form-box"
>
<template
v-if=
"customerType == 1"
>
<view
<view
class=
"form
"
class=
"form-box
"
:key=
"watchStatus
"
:key=
"refreshKey
"
>
>
<template
v-if=
"customerType == 1"
>
<view
class=
"form"
>
<template
v-for=
"(i, index) in formObject"
>
<template
v-for=
"(i, index) in formObject"
>
<view
<view
:class=
"['form-item' ,
{active:focusIndex == index}]"
:class=
"['form-item' ,
{active:focusIndex == index}]"
...
@@ -172,7 +172,6 @@ export default {
...
@@ -172,7 +172,6 @@ export default {
props
:
{
props
:
{
views
:
Array
,
views
:
Array
,
customerType
:
Number
,
customerType
:
Number
,
title
:
String
,
show
:
Boolean
,
show
:
Boolean
,
madiaId
:
Number
madiaId
:
Number
},
},
...
@@ -248,7 +247,8 @@ export default {
...
@@ -248,7 +247,8 @@ export default {
QRURL
:
''
,
QRURL
:
''
,
showDetail
:
false
showDetail
:
false
},
},
couponErrorTips
:
''
couponErrorTips
:
''
,
refreshKey
:
Date
.
now
()
}
}
},
},
watch
:
{
watch
:
{
...
@@ -266,9 +266,8 @@ export default {
...
@@ -266,9 +266,8 @@ export default {
immediate
:
true
,
immediate
:
true
,
handler
(
newval
)
{
handler
(
newval
)
{
this
.
pageParams
=
this
.
$options
.
data
.
call
(
this
).
pageParams
this
.
pageParams
=
this
.
$options
.
data
.
call
(
this
).
pageParams
this
.
resetFocusIndex
()
this
.
closeAllPopup
()
this
.
customerInfo
=
{}
this
.
refreshKey
=
Date
.
now
()
this
.
$refs
.
qrbox
.
close
()
}
}
}
}
},
},
...
@@ -307,7 +306,7 @@ export default {
...
@@ -307,7 +306,7 @@ export default {
item2
=
arr
.
find
(
e
=>
e
.
couponType
==
18
)
item2
=
arr
.
find
(
e
=>
e
.
couponType
==
18
)
if
(
!
this
.
pageParams
.
couponId
)
{
if
(
!
this
.
pageParams
.
couponId
)
{
if
(
item
)
this
.
chooseCoupon
(
item
)
//默认填入类型为「太阳膜」类型
if
(
item
)
this
.
chooseCoupon
(
item
)
//默认填入类型为「太阳膜」类型
else
if
(
item2
)
this
.
chooseCoupon
(
item
)
//次选填入「精品」类型
else
if
(
item2
)
this
.
chooseCoupon
(
item
2
)
//次选填入「精品」类型
else
this
.
chooseCoupon
(
arr
[
0
])
// 无此两种类型情况默认带入任意类型礼券
else
this
.
chooseCoupon
(
arr
[
0
])
// 无此两种类型情况默认带入任意类型礼券
}
}
}
}
...
@@ -337,6 +336,7 @@ export default {
...
@@ -337,6 +336,7 @@ export default {
this
.
$refs
.
carBrandListVisible
.
close
()
this
.
$refs
.
carBrandListVisible
.
close
()
this
.
$refs
.
employeeBoxVisible
.
close
()
this
.
$refs
.
employeeBoxVisible
.
close
()
this
.
$refs
.
couponBoxVisible
.
close
()
this
.
$refs
.
couponBoxVisible
.
close
()
this
.
$refs
.
qrbox
.
close
()
this
.
resetFocusIndex
()
this
.
resetFocusIndex
()
this
.
closeQr
()
this
.
closeQr
()
},
},
...
@@ -420,6 +420,16 @@ export default {
...
@@ -420,6 +420,16 @@ export default {
if
(
res
&&
res
.
total
)
{
if
(
res
&&
res
.
total
)
{
this
.
pageParams
.
received
=
true
this
.
pageParams
.
received
=
true
this
.
closeQr
()
this
.
closeQr
()
this
.
$emit
(
'reception'
,
{
item
:
{
customerName
:
customerInfo
.
customerName
,
carSeriesName
:
customerInfo
.
carModel
,
customerPhone
:
customerInfo
.
phoneNumber
,
userId
:
customerInfo
.
salesUuid
,
employeeName
:
customerInfo
.
staffName
,
receiveCouponDate
:
Date
.
now
()
}
})
setTimeout
(()
=>
{
setTimeout
(()
=>
{
this
.
$refs
.
qrbox
.
close
()
this
.
$refs
.
qrbox
.
close
()
},
3
e3
)
},
3
e3
)
...
@@ -480,7 +490,7 @@ export default {
...
@@ -480,7 +490,7 @@ export default {
gap
:
0
28
rpx
;
gap
:
0
28
rpx
;
height
:
100%
;
height
:
100%
;
&-item
{
&-item
{
width
:
3
68
rpx
;
width
:
3
36
rpx
;
height
:
100%
;
height
:
100%
;
position
:
relative
;
position
:
relative
;
...
...
pages/boutique/detail.vue
View file @
cb79553
...
@@ -94,7 +94,7 @@ export default {
...
@@ -94,7 +94,7 @@ export default {
computed
:
{
computed
:
{
title
()
{
title
()
{
let
{
id
}
=
this
,
let
{
id
}
=
this
,
name
=
this
.
media
.
find
((
e
)
=>
e
.
id
==
id
)?.
short
Title
||
""
;
name
=
this
.
media
.
find
((
e
)
=>
e
.
id
==
id
)?.
detail
Title
||
""
;
return
name
;
return
name
;
},
},
watchStatus
()
{
watchStatus
()
{
...
@@ -144,7 +144,6 @@ export default {
...
@@ -144,7 +144,6 @@ export default {
},
},
/**回店客户 */
/**回店客户 */
reception
({
item
})
{
reception
({
item
})
{
console
.
log
(
JSON
.
parse
(
JSON
.
stringify
(
item
)))
this
.
$store
.
dispatch
(
'setCustomerInfo'
,
{
this
.
$store
.
dispatch
(
'setCustomerInfo'
,
{
customerName
:
item
.
customerName
,
customerName
:
item
.
customerName
,
carModel
:
item
.
carSeriesName
,
carModel
:
item
.
carSeriesName
,
...
@@ -212,6 +211,6 @@ export default {
...
@@ -212,6 +211,6 @@ export default {
}
}
}
}
.tool-box
{
.tool-box
{
top
:
5%
;
top
:
284
rpx
;
}
}
</
style
>
</
style
>
pages/boutique/invitation.vue
View file @
cb79553
...
@@ -90,12 +90,12 @@ export default {
...
@@ -90,12 +90,12 @@ export default {
customerNameOrPhone
:
''
,
customerNameOrPhone
:
''
,
isSearch
:
false
,
isSearch
:
false
,
list
:
[],
list
:
[],
inviteStatus
:
{
1
:
'待预约'
,
2
:
'已预约'
,
3
:
'取消预约'
,
4
:
'已施工'
,
5
:
'超时未到店'
,
6
:
'已撤销'
,
7
:
'已支付'
},
inviteStatus
:
{
1
:
'待预约'
,
2
:
'已预约'
,
3
:
'取消预约'
,
4
:
'已施工'
,
5
:
'超时未到店'
,
6
:
'已撤销'
,
7
:
'已支付'
},
itemObject
:
[
itemObject
:
[
{
label
:
'客户电话'
,
key
:
'customerPhone'
,
format
:
true
},
{
label
:
'客户电话'
,
key
:
'customerPhone'
,
format
:
true
},
{
label
:
'客户车型'
,
key
:
'carSeriesName'
},
{
label
:
'客户车型'
,
key
:
'carSeriesName'
},
{
label
:
'礼券名称'
,
key
:
'couponName'
},
{
label
:
'礼券名称'
,
key
:
'couponName'
},
{
label
:
'领券时间'
,
key
:
'receiveCouponDate'
,
format
:
true
},
{
label
:
'领券时间'
,
key
:
'receiveCouponDate'
,
format
:
true
},
{
label
:
'销售顾问'
,
key
:
'employeeName'
},
{
label
:
'销售顾问'
,
key
:
'employeeName'
},
],
],
chooseItem
:
{}
chooseItem
:
{}
...
...
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