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
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
69 additions
and
57 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,70 +48,73 @@
.detail
{
border-bottom
:
1px
solid
rgba
(
195
,
195
,
195
,
0
.3
);
&
:last-of-type
{
border-bottom
:
none
;
}
}
&
-item
{
border-bottom
:
1px
solid
rgba
(
195
,
195
,
195
,
0
.3
);
font-size
:
12px
;
color
:
#333333
;
padding
:
12px
5px
;
position
:
relative
;
.detail-list
{
border-bottom
:
1px
solid
rgba
(
195
,
195
,
195
,
0
.3
);
font-size
:
12px
;
color
:
#333333
;
padding
:
12px
5px
;
position
:
relative
;
&
:last-of-type
{
border-bottom
:
none
;
}
&
:last-of-type
{
border-bottom
:
none
;
}
.name
{
font-size
:
14px
;
.name
{
font-size
:
14px
;
&
-tips
{
margin-left
:
8px
;
width
:
46px
;
height
:
16px
;
background
:
#CBCBCB
;
border-radius
:
4px
;
font-size
:
10px
;
color
:
#FFFFFF
;
}
}
&
-tips
{
margin-left
:
8px
;
width
:
46px
;
height
:
16px
;
background
:
#CBCBCB
;
border-radius
:
4px
;
font-size
:
10px
;
color
:
#FFFFFF
;
.num
{
color
:
#282829
;
}
}
.num
{
color
:
#282829
;
.price
{
color
:
#f1515c
;
margin-left
:
auto
;
}
}
.price
{
color
:
#f1515c
;
margin-left
:
auto
;
&
-title
{
margin
:
11px
0
0
5px
;
height
:
28px
;
background
:
rgba
(
57
,
117
,
198
,
0
.15
);
border-radius
:
14px
;
font-size
:
14px
;
color
:
#3975c6
;
padding
:
0
12px
;
display
:
inline-flex
;
}
}
.detail-title
{
margin
:
11px
0
0
5px
;
height
:
28px
;
background
:
rgba
(
57
,
117
,
198
,
0
.15
);
border-radius
:
14px
;
font-size
:
14px
;
color
:
#3975c6
;
padding
:
0
12px
;
display
:
inline-flex
;
}
.del
{
position
:
absolute
;
top
:
12px
;
right
:
2px
;
}
.coupon-disabled
{
color
:
#999999
;
.num
{
color
:
#999999
;
.del
{
position
:
absolute
;
top
:
12px
;
right
:
2px
;
}
.
price
{
.
coupon-disabled
{
color
:
#999999
;
.num
{
color
:
#999999
;
}
.price
{
color
:
#999999
;
}
}
}
}
...
...
@@ -245,6 +248,7 @@
display
:
flex
;
justify-content
:
center
;
align-items
:
center
;
&
:
:
after
{
content
:
''
;
display
:
block
;
...
...
@@ -256,12 +260,14 @@
animation
:
radioFrames
.2s
forwards
;
}
}
@keyframes
radioFrames
{
0
%
{
0
%
{
width
:
1px
;
height
:
1px
;
}
100
%
{
100
%
{
width
:
6px
;
height
:
6px
;
}
...
...
src/views/coupon/goodsVerification.vue
View file @
ec71a28
...
...
@@ -119,7 +119,7 @@ export default {
]
}
},
moun
ted
()
{
activa
ted
()
{
let
{
verficationCode
}
=
this
.
getParams
()
this
.
showLoading
()
shopmallApi
...
...
@@ -133,6 +133,9 @@ export default {
console
.
log
(
res
)
})
},
mounted
()
{
},
methods
:
{
submit
()
{
let
{
verficationCode
}
=
this
.
getParams
()
...
...
src/views/coupon/verificationDetail.vue
View file @
ec71a28
...
...
@@ -112,7 +112,7 @@ const vipObj = [
},
{
label
:
'有效期'
,
KEY
:
'effectiveType'
,
KEY
:
'effectiveType'
,
format
(
item
)
{
let
{
effectiveType
}
=
item
let
str
=
''
...
...
@@ -140,7 +140,7 @@ export default {
},
{
label
:
'领取时间'
,
key
:
'receiveTime'
,
key
:
'receiveTime'
,
format
(
item
)
{
return
item
.
receiveTime
?
new
Date
(
item
.
receiveTime
).
format
(
'yyyy年MM月dd日'
)
:
''
}
...
...
@@ -151,7 +151,7 @@ export default {
flag
:
false
}
},
moun
ted
()
{
activa
ted
()
{
let
{
verficationCode
}
=
this
.
getParams
()
this
.
showLoading
()
couponApi
.
scan
({
verficationCode
}).
then
(
res
=>
{
...
...
@@ -162,6 +162,9 @@ export default {
this
.
flag
=
true
})
},
mounted
()
{
},
methods
:
{
submit
()
{
let
{
detail
:
{
discountType
}
}
=
this
...
...
src/views/coupon/verificationList.vue
View file @
ec71a28
...
...
@@ -421,7 +421,7 @@ export default {
this
.
getList
()
},
scan
()
{
// let resultStr = 't=2&c=
3483845737948516352
'
// let resultStr = 't=2&c=
7498728184171335680
'
wxConfig
.
scanQRCode
(
1
).
then
(({
resultStr
})
=>
{
let
name
=
'verificationDetail'
let
[
t
,
c
]
=
resultStr
.
split
(
'&'
)
...
...
src/views/gift/create.vue
View file @
ec71a28
...
...
@@ -47,7 +47,7 @@
<span
class=
"detail-title text-center"
>
{{
discountEnum
[
i
.
discountType
]
}}
</span>
<template
v-for=
"(e,ind) in i.list"
>
<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"
>
<div
class=
"name flex"
>
...
...
src/views/gift/detail.vue
View file @
ec71a28
...
...
@@ -55,7 +55,7 @@
<span
class=
"detail-title text-center"
>
{{
discountEnum
[
i
.
discountType
]
}}
</span>
<template
v-for=
"(e,ind) in i.list"
>
<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"
>
<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