Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
dj-car-life-h5-ailipay
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit ec71a287
authored
Feb 25, 2022
by
李伟康
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
commit
1 parent
28df12e8
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
25 additions
and
13 deletions
src/assets/css/gift-detail.scss
src/views/coupon/goodsVerification.vue
src/views/coupon/verificationDetail.vue
src/views/coupon/verificationList.vue
src/views/gift/create.vue
src/views/gift/detail.vue
src/assets/css/gift-detail.scss
View file @
ec71a28
...
@@ -48,18 +48,18 @@
...
@@ -48,18 +48,18 @@
.detail
{
.detail
{
border-bottom
:
1px
solid
rgba
(
195
,
195
,
195
,
0
.3
);
border-bottom
:
1px
solid
rgba
(
195
,
195
,
195
,
0
.3
);
&
:last-of-type
{
&
:last-of-type
{
border-bottom
:
none
;
border-bottom
:
none
;
}
}
}
.detail-list
{
&
-item
{
border-bottom
:
1px
solid
rgba
(
195
,
195
,
195
,
0
.3
);
border-bottom
:
1px
solid
rgba
(
195
,
195
,
195
,
0
.3
);
font-size
:
12px
;
font-size
:
12px
;
color
:
#333333
;
color
:
#333333
;
padding
:
12px
5px
;
padding
:
12px
5px
;
position
:
relative
;
position
:
relative
;
&
:last-of-type
{
&
:last-of-type
{
border-bottom
:
none
;
border-bottom
:
none
;
}
}
...
@@ -88,7 +88,7 @@
...
@@ -88,7 +88,7 @@
}
}
}
}
.detail
-title
{
&
-title
{
margin
:
11px
0
0
5px
;
margin
:
11px
0
0
5px
;
height
:
28px
;
height
:
28px
;
background
:
rgba
(
57
,
117
,
198
,
0
.15
);
background
:
rgba
(
57
,
117
,
198
,
0
.15
);
...
@@ -98,11 +98,13 @@
...
@@ -98,11 +98,13 @@
padding
:
0
12px
;
padding
:
0
12px
;
display
:
inline-flex
;
display
:
inline-flex
;
}
}
.del
{
.del
{
position
:
absolute
;
position
:
absolute
;
top
:
12px
;
top
:
12px
;
right
:
2px
;
right
:
2px
;
}
}
.coupon-disabled
{
.coupon-disabled
{
color
:
#999999
;
color
:
#999999
;
...
@@ -116,6 +118,7 @@
...
@@ -116,6 +118,7 @@
}
}
}
}
}
}
}
.readonly-box
{
.readonly-box
{
padding
:
10px
16px
20px
;
padding
:
10px
16px
20px
;
...
@@ -245,6 +248,7 @@
...
@@ -245,6 +248,7 @@
display
:
flex
;
display
:
flex
;
justify-content
:
center
;
justify-content
:
center
;
align-items
:
center
;
align-items
:
center
;
&
:
:
after
{
&
:
:
after
{
content
:
''
;
content
:
''
;
display
:
block
;
display
:
block
;
...
@@ -256,12 +260,14 @@
...
@@ -256,12 +260,14 @@
animation
:
radioFrames
.2s
forwards
;
animation
:
radioFrames
.2s
forwards
;
}
}
}
}
@keyframes
radioFrames
{
@keyframes
radioFrames
{
0
%
{
0
%
{
width
:
1px
;
width
:
1px
;
height
:
1px
;
height
:
1px
;
}
}
100
%
{
100
%
{
width
:
6px
;
width
:
6px
;
height
:
6px
;
height
:
6px
;
}
}
...
...
src/views/coupon/goodsVerification.vue
View file @
ec71a28
...
@@ -119,7 +119,7 @@ export default {
...
@@ -119,7 +119,7 @@ export default {
]
]
}
}
},
},
moun
ted
()
{
activa
ted
()
{
let
{
verficationCode
}
=
this
.
getParams
()
let
{
verficationCode
}
=
this
.
getParams
()
this
.
showLoading
()
this
.
showLoading
()
shopmallApi
shopmallApi
...
@@ -133,6 +133,9 @@ export default {
...
@@ -133,6 +133,9 @@ export default {
console
.
log
(
res
)
console
.
log
(
res
)
})
})
},
},
mounted
()
{
},
methods
:
{
methods
:
{
submit
()
{
submit
()
{
let
{
verficationCode
}
=
this
.
getParams
()
let
{
verficationCode
}
=
this
.
getParams
()
...
...
src/views/coupon/verificationDetail.vue
View file @
ec71a28
...
@@ -112,7 +112,7 @@ const vipObj = [
...
@@ -112,7 +112,7 @@ const vipObj = [
},
},
{
{
label
:
'有效期'
,
label
:
'有效期'
,
KEY
:
'effectiveType'
,
KEY
:
'effectiveType'
,
format
(
item
)
{
format
(
item
)
{
let
{
effectiveType
}
=
item
let
{
effectiveType
}
=
item
let
str
=
''
let
str
=
''
...
@@ -140,7 +140,7 @@ export default {
...
@@ -140,7 +140,7 @@ export default {
},
},
{
{
label
:
'领取时间'
,
label
:
'领取时间'
,
key
:
'receiveTime'
,
key
:
'receiveTime'
,
format
(
item
)
{
format
(
item
)
{
return
item
.
receiveTime
?
new
Date
(
item
.
receiveTime
).
format
(
'yyyy年MM月dd日'
)
:
''
return
item
.
receiveTime
?
new
Date
(
item
.
receiveTime
).
format
(
'yyyy年MM月dd日'
)
:
''
}
}
...
@@ -151,7 +151,7 @@ export default {
...
@@ -151,7 +151,7 @@ export default {
flag
:
false
flag
:
false
}
}
},
},
moun
ted
()
{
activa
ted
()
{
let
{
verficationCode
}
=
this
.
getParams
()
let
{
verficationCode
}
=
this
.
getParams
()
this
.
showLoading
()
this
.
showLoading
()
couponApi
.
scan
({
verficationCode
}).
then
(
res
=>
{
couponApi
.
scan
({
verficationCode
}).
then
(
res
=>
{
...
@@ -162,6 +162,9 @@ export default {
...
@@ -162,6 +162,9 @@ export default {
this
.
flag
=
true
this
.
flag
=
true
})
})
},
},
mounted
()
{
},
methods
:
{
methods
:
{
submit
()
{
submit
()
{
let
{
detail
:
{
discountType
}
}
=
this
let
{
detail
:
{
discountType
}
}
=
this
...
...
src/views/coupon/verificationList.vue
View file @
ec71a28
...
@@ -421,7 +421,7 @@ export default {
...
@@ -421,7 +421,7 @@ export default {
this
.
getList
()
this
.
getList
()
},
},
scan
()
{
scan
()
{
// let resultStr = 't=2&c=
3483845737948516352
'
// let resultStr = 't=2&c=
7498728184171335680
'
wxConfig
.
scanQRCode
(
1
).
then
(({
resultStr
})
=>
{
wxConfig
.
scanQRCode
(
1
).
then
(({
resultStr
})
=>
{
let
name
=
'verificationDetail'
let
name
=
'verificationDetail'
let
[
t
,
c
]
=
resultStr
.
split
(
'&'
)
let
[
t
,
c
]
=
resultStr
.
split
(
'&'
)
...
...
src/views/gift/create.vue
View file @
ec71a28
...
@@ -47,7 +47,7 @@
...
@@ -47,7 +47,7 @@
<span
class=
"detail-title text-center"
>
{{
discountEnum
[
i
.
discountType
]
}}
</span>
<span
class=
"detail-title text-center"
>
{{
discountEnum
[
i
.
discountType
]
}}
</span>
<template
v-for=
"(e,ind) in i.list"
>
<template
v-for=
"(e,ind) in i.list"
>
<div
<div
:class=
"['detail-
list
',
{'coupon-disabled':e.status != 2
&&
obj.receivedFlag != 2}]"
:class=
"['detail-
item
',
{'coupon-disabled':e.status != 2
&&
obj.receivedFlag != 2}]"
:key="ind"
:key="ind"
>
>
<div
class=
"name flex"
>
<div
class=
"name flex"
>
...
...
src/views/gift/detail.vue
View file @
ec71a28
...
@@ -55,7 +55,7 @@
...
@@ -55,7 +55,7 @@
<span
class=
"detail-title text-center"
>
{{
discountEnum
[
i
.
discountType
]
}}
</span>
<span
class=
"detail-title text-center"
>
{{
discountEnum
[
i
.
discountType
]
}}
</span>
<template
v-for=
"(e,ind) in i.list"
>
<template
v-for=
"(e,ind) in i.list"
>
<div
<div
:class=
"['detail-
list
',
{'coupon-disabled':e.status != 2
&&
obj.receivedFlag != 2}]"
:class=
"['detail-
item
',
{'coupon-disabled':e.status != 2
&&
obj.receivedFlag != 2}]"
:key="ind"
:key="ind"
>
>
<div
class=
"name flex"
>
<div
class=
"name flex"
>
...
...
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