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
85ba8afd
Commit
85ba8afd
authored
Jan 09, 2019
by
member
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
链接小工具
parent
14d2d6e6
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
37 deletions
+12
-37
gift-list.vue
gift-list.vue
+8
-2
linktools.vue
linktools.vue
+2
-17
linktoolspage.vue
linktoolspage.vue
+2
-18
No files found.
gift-list.vue
View file @
85ba8afd
...
...
@@ -57,7 +57,7 @@ export default {
return
{
currentPage
:
1
,
activeIndex
:
-
1
,
pageSize
:
5
,
pageSize
:
6
,
total
:
0
,
giftVal
:
null
,
giftOptions
:
[],
...
...
@@ -96,6 +96,7 @@ export default {
},
handleChange
()
{
this
.
currentPage
=
1
;
this
.
getData
();
},
...
...
@@ -106,7 +107,11 @@ export default {
currentPage
:
this
.
currentPage
,
pageSize
:
this
.
pageSize
,
category
:
this
.
giftVal
,
giftName
:
this
.
giftName
giftName
:
this
.
giftName
,
changeType
:
-
1
,
releaseType
:
-
1
,
showStatus
:
-
1
,
porHot
:
-
1
};
this
.
axios
.
post
(
`
${
this
.
baseUrl
}
/api-integral-mall/page-gift`
,
qs
.
stringify
(
params
))
...
...
@@ -127,6 +132,7 @@ export default {
},
handleSearch
()
{
this
.
currentPage
=
1
;
this
.
getData
();
}
},
...
...
linktools.vue
View file @
85ba8afd
...
...
@@ -35,7 +35,7 @@ components: {linkId
<el-dialog
:class=
"activeName == 'first'? 'min-1026':'min-720'"
title=
"链接小工具"
:visible
.
sync=
"mylinkToolsVisible"
:
before-close=
"handleClo
se"
>
:
modal-append-to-body=
"fal
se"
>
<!-- 链接类型 -->
<div
class=
"links-types"
>
<label
class=
"types-title"
>
链接类型
</label>
...
...
@@ -122,7 +122,7 @@ components: {linkId
<label
class=
"h5link-title"
>
网址
</label>
<el-input
v-model=
"h5linkObj.url"
placeholder=
"请输入网址"
></el-input><a
class=
"h5link-help"
href=
"http://doc.demogic.com/doc/index.php?s=/41&page_id=441"
target=
"_blank"
>
【帮助文档】请联系公司技术人员查看文档配置标准链接
</a>
</div>
<div
class=
"h5link-row"
>
<div
class=
"h5link-row"
v-if=
"false"
>
<label
class=
"h5link-title h5link-dynamic-title"
>
动态参数(选填)
</label>
<div
class=
"h5-table"
>
<table
cellspacing=
"0"
cellpadding=
"0"
border=
"0"
class=
" el-table el-table__header"
>
...
...
@@ -1268,27 +1268,12 @@ export default {
// 商品分类 goodsCategorySelect
goodsCategorySelect
(
node
,
id
)
{
var
that
=
this
console
.
log
(
node
,
id
,
that
.
threeLevelValue
)
// 调用
// that.selectLinkItem()
},
// --------------------------------------------
// 关闭
handleClose
(
done
)
{
var
that
=
this
that
.
$confirm
(
'确认关闭?'
)
.
then
(
_
=>
{
done
();
that
.
mylinkToolsVisible
=
false
;
that
.
$emit
(
'linkSelect'
)
})
.
catch
(
_
=>
{
console
.
log
(
'取消关闭'
)
});
},
// 分页
linkSizeChange
(
val
)
{
var
that
=
this
...
...
linktoolspage.vue
View file @
85ba8afd
<
template
>
<!-- 链接小工具 -->
<div
class=
"link-tools-contain"
>
<el-dialog
:class=
"activeName == 'first'? 'min-1026':'min-720'"
title=
"链接小工具"
:visible
.
sync=
"mylinkToolsVisible"
:
before-close=
"handleClo
se"
>
:
modal-append-to-body=
"fal
se"
>
<!-- 链接类型 -->
<div
class=
"links-types"
>
<label
class=
"types-title"
>
链接类型
</label>
...
...
@@ -92,7 +91,7 @@
<label
class=
"h5link-title"
>
网址
</label>
<el-input
v-model=
"h5linkObj.url"
placeholder=
"请输入网址"
></el-input><a
class=
"h5link-help"
href=
"http://doc.demogic.com/doc/index.php?s=/41&page_id=441"
target=
"_blank"
>
【帮助文档】请联系公司技术人员查看文档配置标准链接
</a>
</div>
<div
class=
"h5link-row"
>
<div
class=
"h5link-row"
v-if=
"false"
>
<label
class=
"h5link-title h5link-dynamic-title"
>
动态参数(选填)
</label>
<div
class=
"h5-table"
>
<table
cellspacing=
"0"
cellpadding=
"0"
border=
"0"
class=
" el-table el-table__header"
>
...
...
@@ -1238,27 +1237,12 @@ export default {
// 商品分类 goodsCategorySelect
goodsCategorySelect
(
node
,
id
)
{
var
that
=
this
console
.
log
(
node
,
id
,
that
.
threeLevelValue
)
// 调用
// that.selectLinkItem()
},
// --------------------------------------------
// 关闭
handleClose
(
done
)
{
var
that
=
this
that
.
$confirm
(
'确认关闭?'
)
.
then
(
_
=>
{
done
();
that
.
mylinkToolsVisible
=
false
;
that
.
$emit
(
'linkSelect'
)
})
.
catch
(
_
=>
{
console
.
log
(
'取消关闭'
)
});
},
// 分页
linkSizeChange
(
val
)
{
var
that
=
this
...
...
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