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
25af1b25
Commit
25af1b25
authored
Oct 13, 2021
by
liuchenxi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update: 查看示例
parent
f7b30ffa
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
1 deletions
+15
-1
coupon-preview.png
src/assets/img/coupon-preview.png
+0
-0
form.js
src/views/card/form.js
+2
-1
form.vue
src/views/card/form.vue
+13
-0
No files found.
src/assets/img/coupon-preview.png
0 → 100644
View file @
25af1b25
30.3 KB
src/views/card/form.js
View file @
25af1b25
...
...
@@ -252,7 +252,8 @@ export default {
code
:
'015f1e5a-3b2f-42f5-b638-6a29c17e8f7e'
,
imgUrl
:
'https://pic01-10001430.image.myqcloud.com/015f1e5a-3b2f-42f5-b638-6a29c17e8f7e'
},
showWeimobDemoSelector
:
false
showWeimobDemoSelector
:
false
,
showTipImg
:
false
};
},
watch
:
{
...
...
src/views/card/form.vue
View file @
25af1b25
...
...
@@ -15,6 +15,10 @@
</el-form-item>
<el-form-item
label=
"展示适用渠道文案"
prop=
"channelTip"
>
<dm-input
v-model=
"form.channelTip"
class=
"w400"
placeholder=
"请输入小程序端展示的适用渠道文案"
:byteType=
"1"
:maxlength=
"18"
></dm-input>
<div
class=
"tip"
>
<el-button
type=
"text"
class=
"ml10"
@
mouseenter
.
native=
"showTipImg = true"
@
mouseleave
.
native=
"showTipImg = false"
>
查看示例
</el-button>
<img
v-show=
"showTipImg"
:src=
"require('@/assets/img/coupon-preview.png')"
alt=
""
/>
</div>
</el-form-item>
<el-form-item
prop=
"cardName"
label=
"卡券名称"
>
<dm-input
v-model=
"form.cardName"
class=
"w400"
placeholder=
"请输入卡券名称"
:disabled=
"isEdit || isInfo"
:byteType=
"1"
:maxlength=
"30"
></dm-input>
...
...
@@ -410,4 +414,13 @@ export default cardForm;
.
is
-
expand
{
transform
:
rotate
(
180
deg
);
}
.
tip
{
display
:
inline
-
block
;
position
:
relative
;
img
{
position
:
absolute
;
top
:
-
126
px
;
left
:
86
px
;
}
}
<
/style
>
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