Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
marketing
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
marketing-web
marketing
Commits
0ef525ec
Commit
0ef525ec
authored
Jan 14, 2022
by
crushh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
udpate: ui
parent
e01a6297
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
1 deletions
+12
-1
send-preview.vue
src/views/card/partials/send-preview.vue
+12
-1
No files found.
src/views/card/partials/send-preview.vue
View file @
0ef525ec
...
...
@@ -31,6 +31,7 @@
</div>
<div
class=
"card-d"
>
<p
class=
"card-d-title ellipsis"
>
<!--
<span
:style=
"`background:$
{data.cardColor}`">
{{
data
.
cardType
|
dct
}}
</span>
-->
{{
data
.
cardName
}}
</p>
<p
class=
"card-d-time"
v-if=
"data.cardEffectiveMode == 0"
>
{{
time
}}
</p>
...
...
@@ -68,6 +69,12 @@
<
script
>
import
{
formatDateTimeByType
}
from
'@/utils/index'
;
const
_cardType
=
{
0
:
{
label
:
'抵金券'
,
value
:
0
},
1
:
{
label
:
'折扣券'
,
value
:
1
},
2
:
{
label
:
'兑换券'
,
value
:
2
}
// 3: { label: '其他券', value: 3 },
};
export
default
{
name
:
'SendPreview'
,
...
...
@@ -120,6 +127,11 @@ export default {
this
.
$emit
(
'update:visible'
,
false
);
}
},
filters
:
{
dct
(
val
)
{
return
_cardType
[
val
].
label
||
'--'
;
}
},
computed
:
{
time
()
{
const
time
=
this
.
data
.
dateTime
;
...
...
@@ -340,7 +352,6 @@ export default {
margin-bottom
:
11px
;
position
:
relative
;
margin-top
:
2px
;
padding-left
:
48px
;
span
{
position
:
absolute
;
left
:
-20px
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment