Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
link-tools
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
vue-plugins
link-tools
Commits
3fbac29a
Commit
3fbac29a
authored
Dec 21, 2018
by
member
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
连接小工具
parent
9173fe90
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
11 deletions
+11
-11
card-list.vue
card-list.vue
+0
-0
linktools.vue
linktools.vue
+11
-11
linktoolspage.vue
linktoolspage.vue
+0
-0
No files found.
car
c
-list.vue
→
car
d
-list.vue
View file @
3fbac29a
File moved
linktools.vue
View file @
3fbac29a
...
@@ -662,13 +662,15 @@ export default {
...
@@ -662,13 +662,15 @@ export default {
handlePaddGift
(
list
)
{
handlePaddGift
(
list
)
{
// 拼接id
// 拼接id
this
.
giftFlag
=
true
;
this
.
giftFlag
=
true
;
this
.
giftName
=
list
.
proName
;
this
.
giftUrl
=
list
.
integralMallProId
;
this
.
giftUrl
=
list
.
integralMallProId
;
},
},
handlePassId
(
id
)
{
handlePassId
(
row
)
{
this
.
chooseFlag
=
true
;
this
.
chooseFlag
=
true
;
// 先保存下来
// 先保存下来
this
.
cardUrl
=
id
;
this
.
cardName
=
row
.
cardName
;
this
.
cardUrl
=
row
.
coupCardId
;
},
},
// --------------------------------------------------
// --------------------------------------------------
// 选择类型改变 (一级选择,保存选择类型)
// 选择类型改变 (一级选择,保存选择类型)
...
@@ -1511,7 +1513,7 @@ export default {
...
@@ -1511,7 +1513,7 @@ export default {
if
(
this
.
giftType
==
'coup'
)
{
if
(
this
.
giftType
==
'coup'
)
{
// 优惠券
// 优惠券
if
(
this
.
chooseFlag
)
{
if
(
this
.
chooseFlag
)
{
this
.
selectLinkObj
.
name
=
'
coup'
;
this
.
selectLinkObj
.
name
=
'
积分商城/'
+
this
.
cardName
;
this
.
selectLinkObj
.
id
=
this
.
cardUrl
;
this
.
selectLinkObj
.
id
=
this
.
cardUrl
;
this
.
selectLinkObj
.
url
+=
`/
${
this
.
cardUrl
}
`
;
this
.
selectLinkObj
.
url
+=
`/
${
this
.
cardUrl
}
`
;
this
.
transData
();
this
.
transData
();
...
@@ -1526,7 +1528,7 @@ export default {
...
@@ -1526,7 +1528,7 @@ export default {
}
else
if
(
this
.
giftType
==
'gift'
)
{
}
else
if
(
this
.
giftType
==
'gift'
)
{
// 礼品
// 礼品
if
(
this
.
giftFlag
)
{
if
(
this
.
giftFlag
)
{
this
.
selectLinkObj
.
name
=
'gift'
;
this
.
selectLinkObj
.
name
=
this
.
giftName
;
this
.
selectLinkObj
.
id
=
this
.
giftUrl
;
this
.
selectLinkObj
.
id
=
this
.
giftUrl
;
this
.
selectLinkObj
.
url
+=
`/
${
this
.
giftUrl
}
`
;
this
.
selectLinkObj
.
url
+=
`/
${
this
.
giftUrl
}
`
;
this
.
transData
();
this
.
transData
();
...
@@ -1559,7 +1561,6 @@ export default {
...
@@ -1559,7 +1561,6 @@ export default {
}
}
return
false
;
return
false
;
}
}
alert
(
JSON
.
stringify
(
this
.
selectLinkObj
));
if
(
!!
that
.
selectLinkObj
.
name
&&
!!
that
.
selectLinkObj
.
id
)
{
if
(
!!
that
.
selectLinkObj
.
name
&&
!!
that
.
selectLinkObj
.
id
)
{
// 触发父组件方法,传递参数
// 触发父组件方法,传递参数
that
.
transData
();
that
.
transData
();
...
@@ -1593,6 +1594,7 @@ export default {
...
@@ -1593,6 +1594,7 @@ export default {
// 重置所有组件
// 重置所有组件
resetAll
()
{
resetAll
()
{
var
that
=
this
var
that
=
this
this
.
cardLinksVisible
=
false
;
that
.
h5linkVisible
=
false
;
that
.
h5linkVisible
=
false
;
that
.
thirdlinkVisible
=
false
;
// 第三方小程序
that
.
thirdlinkVisible
=
false
;
// 第三方小程序
that
.
linksType
=
''
;
that
.
linksType
=
''
;
...
@@ -1912,13 +1914,10 @@ export default {
...
@@ -1912,13 +1914,10 @@ export default {
},
},
mounted
(){
mounted
(){
var
that
=
this
;
this
.
repProjectName
=
this
.
projectName
||
'gic-web'
;
that
.
repProjectName
=
that
.
projectName
||
'gic-web'
;
// 获取 showType
// 获取 showType
that
.
linkShowType
=
that
.
showType
||
0
;
this
.
linkShowType
=
this
.
showType
||
0
;
this
.
getLinksList
(
0
,
1
)
that
.
getLinksList
(
0
,
1
)
},
},
components
:
{
components
:
{
...
@@ -3091,3 +3090,4 @@ export default {
...
@@ -3091,3 +3090,4 @@ export default {
}
}
}
}
</
style
>
</
style
>
linktoolspage.vue
View file @
3fbac29a
This diff is collapsed.
Click to expand it.
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