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
ddeb3ba9
Commit
ddeb3ba9
authored
Feb 25, 2021
by
caoyanzhi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update: 短信打开小程序
parent
5f64975b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
6 deletions
+11
-6
addTemp.vue
src/views/message/addTemp.vue
+11
-6
No files found.
src/views/message/addTemp.vue
View file @
ddeb3ba9
...
...
@@ -104,9 +104,9 @@
<
template
v-if=
"transferLink.type != 2"
>
<el-input-number
v-model=
"transferLink.dayNum"
:min=
"getMin"
:max=
"getMax"
controls-position=
"right"
style=
"width: 90px"
></el-input-number>
<span
class=
"transfer-link-uint"
>
天
</span>
<span
class=
"transfer-link-tip"
>
{{
transferLink
.
type
==
0
?
`不能大于${getMax
}
天`
:
`大于${getMin - 1
}
天`
}}
<
/span
>
<span
class=
"transfer-link-tip"
>
{{
transferLink
.
type
==
0
?
`不能大于${getMax
}
天`
:
`大于${getMin - 1
}
天
且小于等于${getMax
}
天
`
}}
<
/span
>
<
/template
>
<
p
class
=
"transfer-link-tip"
>
长期有效链接(
>
31
天,包含永久有效链接)每个小程序只支持十万,建议商品详情
/
礼品详情等非永久页面生成短期有效链接(≤
31
天)。
<
/p
>
<
p
class
=
"transfer-link-tip"
>
长期有效链接(
>
31
天
且≤
365
天
,包含永久有效链接)每个小程序只支持十万,建议商品详情
/
礼品详情等非永久页面生成短期有效链接(≤
31
天)。
<
/p
>
<
/el-form-item
>
<
/el-form
>
<
template
slot
=
"footer"
>
...
...
@@ -194,7 +194,15 @@ export default {
return
this
.
transferLink
.
type
==
0
?
1
:
32
;
}
,
getMax
()
{
return
this
.
transferLink
.
type
==
0
?
31
:
Infinity
;
let
max
=
31
;
if
(
this
.
transferLink
.
type
==
0
)
{
max
=
31
;
}
else
if
(
this
.
transferLink
.
type
==
1
)
{
max
=
365
;
}
else
{
max
=
Infinity
;
}
return
max
;
}
}
,
created
()
{
...
...
@@ -279,9 +287,6 @@ export default {
this
.
loading
=
true
;
const
{
type
,
dayNum
}
=
this
.
transferLink
;
const
requestData
=
{
type
,
dayNum
,
pageLink
:
JSON
.
stringify
(
this
.
selectLink
.
linkData
)
}
;
if
(
type
==
2
)
{
delete
requestData
.
dayNum
;
}
getTransferLink
(
requestData
,
false
,
false
,
'post'
)
.
then
(
res
=>
{
this
.
insertLink
.
link
=
res
.
result
;
...
...
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