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 50db7b42
authored
Nov 10, 2021
by
liwk
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
commit
1 parent
5888dab9
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
4 deletions
src/components/Poster.vue
src/mixins/discountTypeMixin.js
src/views/coupon/index.vue
src/components/Poster.vue
View file @
50db7b4
<
template
>
<
template
>
<van-overlay
<van-overlay
:show=
"show"
:show=
"show"
z-index=
"20
07
"
z-index=
"20
13
"
>
>
<div
<div
class=
"wrapper"
class=
"wrapper"
...
...
src/mixins/discountTypeMixin.js
View file @
50db7b4
...
@@ -9,7 +9,9 @@ const discountType = {
...
@@ -9,7 +9,9 @@ const discountType = {
}
}
export
default
{
export
default
{
data
()
{
data
()
{
return
{}
return
{
discountType
}
},
},
mounted
()
{
mounted
()
{
window
.
$discountType
=
discountType
window
.
$discountType
=
discountType
...
...
src/views/coupon/index.vue
View file @
50db7b4
...
@@ -19,7 +19,12 @@
...
@@ -19,7 +19,12 @@
class=
"item"
class=
"item"
>
>
<div
:class=
"['sprite-icon', 'text-center',tabIndex == 0?'icon-coupon':'icon-discount']"
>
<div
:class=
"['sprite-icon', 'text-center',tabIndex == 0?'icon-coupon':'icon-discount']"
>
{{
i
.
couponTypeName
||
'代金券'
}}
<template
v-if=
"tabIndex == 0"
>
{{
i
.
couponTypeName
}}
</
template
>
<
template
>
</
template
>
{{discountType[i.discountType]}}
</div>
</div>
<div
class=
"info"
>
<div
class=
"info"
>
<div
class=
"top"
>
<div
class=
"top"
>
...
@@ -129,7 +134,7 @@ export default {
...
@@ -129,7 +134,7 @@ export default {
font-weight
:
600
;
font-weight
:
600
;
color
:
#ffffff
;
color
:
#ffffff
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
padding
:
0
0.14rem
;
padding
:
0
14px
;
flex-shrink
:
0
;
flex-shrink
:
0
;
text-align
:
center
;
text-align
:
center
;
}
}
...
...
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