Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
ElectricitySheep
Project
Project
Details
Activity
Releases
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
黄媛媛
ElectricitySheep
Commits
a73e55c8
Commit
a73e55c8
authored
Aug 12, 2020
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增页面
parent
b5dab22e
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
177 additions
and
145 deletions
+177
-145
pintuanActive.vue
src/components/pintuan/pintuanActive.vue
+16
-15
goodsSpecifica.vue
src/components/pintuan/pintuanPlugin/goodsSpecifica.vue
+7
-6
groupPrice.vue
src/components/pintuan/pintuanPlugin/groupPrice.vue
+24
-30
groupStep.vue
src/components/pintuan/pintuanPlugin/groupStep.vue
+26
-15
pluginCenter.vue
src/components/sallCenter/pluginCenter.vue
+104
-79
No files found.
src/components/pintuan/pintuanActive.vue
View file @
a73e55c8
...
@@ -150,8 +150,8 @@
...
@@ -150,8 +150,8 @@
<i
class=
"elzk el-tooltip el-icon-info"
></i>
<i
class=
"elzk el-tooltip el-icon-info"
></i>
</el-tooltip>
</el-tooltip>
</
template
>
</
template
>
<goodsSpe
v-show=
"IsShowSpec"
@
getSpecList=
"getSpecList"
@
getSpecPriceList=
"getSpecPriceList"
:SpecList=
"
Specification
List"
<goodsSpe
v-show=
"IsShowSpec"
@
getSpecList=
"getSpecList"
@
getSpecPriceList=
"getSpecPriceList"
:SpecList=
"
TempSpec
List"
:SpecPriceList=
"
Specification
PriceList"
></goodsSpe>
:SpecPriceList=
"
TempSpec
PriceList"
></goodsSpe>
</el-form-item>
</el-form-item>
<el-form-item
label=
"商品货号"
>
<el-form-item
label=
"商品货号"
>
<el-input
v-model=
"addMsg.Goods_no"
size=
"small"
:disabled=
"true"
placeholder=
"请输入商品货号"
<el-input
v-model=
"addMsg.Goods_no"
size=
"small"
:disabled=
"true"
placeholder=
"请输入商品货号"
...
@@ -392,8 +392,8 @@
...
@@ -392,8 +392,8 @@
</el-card>
</el-card>
</el-tab-pane>
</el-tab-pane>
<el-tab-pane
label=
"阶梯团设置"
>
<el-tab-pane
label=
"阶梯团设置"
>
<
ladderGroup
:Goods=
"addMsg"
:GroupList=
"GroupList"
@
getGroup=
"getGroup"
:SpecList=
"Specification
List"
<
groupStep
:Goods=
"addMsg"
:GroupList=
"GroupList"
@
getGroup=
"getGroup"
:SpecList=
"TempSpec
List"
:
PriceList=
"SpecificationPriceList"
></ladderGrou
p>
:
GroupPriceList=
"TempGroupPriceList"
:SpecPriceList=
"TempSpecPriceList"
></groupSte
p>
</el-tab-pane>
</el-tab-pane>
<el-tab-pane
label=
"分销价设置"
>
<el-tab-pane
label=
"分销价设置"
>
<distributePrice
:shareGroup_list=
"shareGroup_list"
></distributePrice>
<distributePrice
:shareGroup_list=
"shareGroup_list"
></distributePrice>
...
@@ -472,7 +472,7 @@
...
@@ -472,7 +472,7 @@
import
ChooseImg
from
"@/components/global/ChooseImg.vue"
;
import
ChooseImg
from
"@/components/global/ChooseImg.vue"
;
import
goodsSpe
from
"@/components/pintuan/pintuanPlugin/goodsSpecifica.vue"
import
goodsSpe
from
"@/components/pintuan/pintuanPlugin/goodsSpecifica.vue"
import
choiceGood
from
"@/components/common/choiceGood.vue"
;
import
choiceGood
from
"@/components/common/choiceGood.vue"
;
import
ladderGroup
from
"@/components/pintuan/pintuanPlugin/ladderGrou
p.vue"
import
groupStep
from
"@/components/pintuan/pintuanPlugin/groupSte
p.vue"
import
distributePrice
from
"@/components/pintuan/pintuanPlugin/distributePrice.vue"
import
distributePrice
from
"@/components/pintuan/pintuanPlugin/distributePrice.vue"
import
memberPrice
from
"@/components/pintuan/pintuanPlugin/memberPrice.vue"
import
memberPrice
from
"@/components/pintuan/pintuanPlugin/memberPrice.vue"
...
@@ -481,7 +481,7 @@
...
@@ -481,7 +481,7 @@
ChooseImg
,
ChooseImg
,
goodsSpe
,
goodsSpe
,
choiceGood
,
choiceGood
,
ladderGrou
p
,
groupSte
p
,
distributePrice
,
distributePrice
,
memberPrice
memberPrice
},
},
...
@@ -529,8 +529,9 @@
...
@@ -529,8 +529,9 @@
},
},
IsShowSpec
:
false
,
//是否显示规格
IsShowSpec
:
false
,
//是否显示规格
GroupList
:
[],
//阶梯价格列表
GroupList
:
[],
//阶梯价格列表
SpecificationList
:
[],
//规格列表
TempSpecList
:
[],
//规格列表
SpecificationPriceList
:
[],
//规格价格列表
TempSpecPriceList
:
[],
//规格价格列表
TempGroupPriceList
:[],
//阶梯团价
serviceDig
:
false
,
serviceDig
:
false
,
serviceList
:
[],
//新增服务弹出数据
serviceList
:
[],
//新增服务弹出数据
...
@@ -605,12 +606,13 @@
...
@@ -605,12 +606,13 @@
if
(
Mydata
.
SpecificationList
&&
Mydata
.
SpecificationList
.
length
>
0
){
if
(
Mydata
.
SpecificationList
&&
Mydata
.
SpecificationList
.
length
>
0
){
this
.
addMsg
.
SpecificationList
=
Mydata
.
SpecificationList
;
//规格赋值
this
.
addMsg
.
SpecificationList
=
Mydata
.
SpecificationList
;
//规格赋值
this
.
Specification
List
=
Mydata
.
SpecificationList
;
this
.
TempSpec
List
=
Mydata
.
SpecificationList
;
}
}
if
(
this
.
addMsg
.
SpecificationPriceList
&&
this
.
addMsg
.
SpecificationPriceList
.
length
>
0
){
if
(
Mydata
.
SpecificationPriceList
&&
Mydata
.
SpecificationPriceList
.
length
>
0
){
this
.
addMsg
.
SpecificationPriceList
=
Mydata
.
SpecificationPriceList
;
//规格列表赋值
this
.
addMsg
.
SpecificationPriceList
=
Mydata
.
SpecificationPriceList
;
//规格列表赋值
this
.
SpecificationPriceList
=
Mydata
.
SpecificationPriceList
this
.
TempSpecPriceList
=
JSON
.
parse
(
JSON
.
stringify
(
Mydata
.
SpecificationPriceList
));
}
}
this
.
IsShowSpec
=
true
;
}
else
{
}
else
{
this
.
Error
(
res
.
data
.
message
);
this
.
Error
(
res
.
data
.
message
);
}
}
...
@@ -633,7 +635,7 @@
...
@@ -633,7 +635,7 @@
this
.
apipost
(
"/api/GroupBuy/SetGroupbuyActivity"
,
this
.
addMsg
,
res
=>
{
this
.
apipost
(
"/api/GroupBuy/SetGroupbuyActivity"
,
this
.
addMsg
,
res
=>
{
console
.
log
(
"res"
,
res
);
console
.
log
(
"res"
,
res
);
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
CommonJump
(
"
/
pintuanList"
,
{});
this
.
CommonJump
(
"pintuanList"
,
{});
this
.
Success
(
res
.
data
.
message
);
this
.
Success
(
res
.
data
.
message
);
}
else
{
}
else
{
this
.
Info
(
res
.
data
.
message
);
this
.
Info
(
res
.
data
.
message
);
...
@@ -645,7 +647,6 @@
...
@@ -645,7 +647,6 @@
this
.
isShowGoods
=
false
;
this
.
isShowGoods
=
false
;
this
.
IsShowSpec
=
false
;
this
.
IsShowSpec
=
false
;
var
chooseGoods
=
this
.
$refs
.
choiceGood
.
getChoicedGoods
();
var
chooseGoods
=
this
.
$refs
.
choiceGood
.
getChoicedGoods
();
console
.
log
(
"chooseGoods"
,
chooseGoods
);
if
(
chooseGoods
&&
chooseGoods
.
length
>
0
)
{
if
(
chooseGoods
&&
chooseGoods
.
length
>
0
)
{
this
.
addMsg
.
GoodId
=
chooseGoods
[
0
].
Id
;
this
.
addMsg
.
GoodId
=
chooseGoods
[
0
].
Id
;
this
.
addMsg
.
name
=
chooseGoods
[
0
].
Name
;
this
.
addMsg
.
name
=
chooseGoods
[
0
].
Name
;
...
@@ -667,14 +668,14 @@
...
@@ -667,14 +668,14 @@
}
}
})
})
}
}
this
.
SpecificationList
=
tempSpecArray
;
this
.
TempSpecList
=
JSON
.
parse
(
JSON
.
stringify
(
tempSpecArray
))
;
var
tempPriceArray
=
chooseGoods
[
0
].
SpecificationPriceList
;
var
tempPriceArray
=
chooseGoods
[
0
].
SpecificationPriceList
;
if
(
tempPriceArray
&&
tempPriceArray
.
length
>
0
)
{
if
(
tempPriceArray
&&
tempPriceArray
.
length
>
0
)
{
tempPriceArray
.
forEach
(
item
=>
{
tempPriceArray
.
forEach
(
item
=>
{
item
.
Id
=
0
;
item
.
Id
=
0
;
});
});
}
}
this
.
SpecificationPriceList
=
chooseGoods
[
0
].
SpecificationPriceList
;
this
.
TempSpecPriceList
=
JSON
.
parse
(
JSON
.
stringify
(
tempPriceArray
))
;
this
.
IsShowSpec
=
true
;
this
.
IsShowSpec
=
true
;
}
}
this
.
$refs
.
choiceGood
.
toggleSelection
();
this
.
$refs
.
choiceGood
.
toggleSelection
();
...
...
src/components/pintuan/pintuanPlugin/goodsSpecifica.vue
View file @
a73e55c8
...
@@ -267,7 +267,7 @@
...
@@ -267,7 +267,7 @@
data
()
{
data
()
{
return
{
return
{
SpecificationList
:
[],
//规格数组
SpecificationList
:
[],
//规格数组
SpecificationPriceList
:
[],
//规格+值 价格列表
SpecificationPriceList
:
[],
//规格+值 价格列表
ComTreeList
:
[],
ComTreeList
:
[],
memberList2
:
[],
memberList2
:
[],
skuList
:
[],
skuList
:
[],
...
@@ -300,16 +300,18 @@
...
@@ -300,16 +300,18 @@
this
.
SpecificationPriceList
=
JSON
.
parse
(
JSON
.
stringify
(
val
));
this
.
SpecificationPriceList
=
JSON
.
parse
(
JSON
.
stringify
(
val
));
},
},
},
},
'SpecificationList'
:{
'SpecificationList'
:
{
handler
:
function
(
val
,
oldval
)
{
handler
:
function
(
val
,
oldval
)
{
this
.
$emit
(
'getSpecList'
,
this
.
SpecificationList
);
this
.
$emit
(
'getSpecList'
,
this
.
SpecificationList
);
},
},
},
},
'SpecificationPriceList'
:{
'SpecificationPriceList'
:
{
handler
:
function
(
val
,
oldval
)
{
handler
:
function
(
val
,
oldval
)
{
this
.
$emit
(
'getSpecPriceList'
,
this
.
SpecificationPriceList
);
this
.
$emit
(
'getSpecPriceList'
,
this
.
SpecificationPriceList
);
},
},
}
}
},
created
()
{
},
},
methods
:
{
methods
:
{
...
@@ -325,7 +327,6 @@
...
@@ -325,7 +327,6 @@
};
};
this
.
SpecificationList
.
push
(
obj
);
this
.
SpecificationList
.
push
(
obj
);
},
},
// 修改规格值
// 修改规格值
ggzChange
()
{
ggzChange
()
{
this
.
$forceUpdate
();
this
.
$forceUpdate
();
...
...
src/components/pintuan/pintuanPlugin/
priceAndGroup
.vue
→
src/components/pintuan/pintuanPlugin/
groupPrice
.vue
View file @
a73e55c8
...
@@ -59,17 +59,17 @@
...
@@ -59,17 +59,17 @@
}
}
</
style
>
</
style
>
<!--阶梯团价格库存设置-->
<
template
>
<
template
>
<div
class=
"app-attr"
>
<div
class=
"app-attr"
>
<div
class=
"box"
>
<div
class=
"box"
>
<el-form
label-width=
"180px"
>
<el-form
label-width=
"180px"
>
<el-checkbox
v-model=
"attrBatch"
@
change=
"selectClick"
<el-checkbox
v-model=
"attrBatch"
@
change=
"selectClick"
style=
"position:absolute"
>
全选
style=
"position:absolute"
>
全选
</el-checkbox>
</el-checkbox>
<el-form-item
label=
"批量设置"
size=
"small"
style=
"margin-bottom:0;padding:18px 0;display:inline-block;"
>
<el-form-item
label=
"批量设置"
size=
"small"
style=
"margin-bottom:0;padding:18px 0;display:inline-block;"
>
<el-input
@
keyup
.
enter
.
native=
"batchAttr()"
size=
"small"
type=
"number"
v-model=
"batchNum"
>
<el-input
@
keyup
.
enter
.
native=
"batchAttr()"
size=
"small"
type=
"number"
v-model=
"batchNum"
>
<el-select
v-model=
"selectData"
slot=
"prepend"
>
<el-select
v-model=
"selectData"
slot=
"prepend"
>
<
!--
<el-option
label=
"不限"
:value=
"0"
></el-option>
--
>
<
el-option
label=
"不限"
:value=
"0"
></el-option
>
<el-option
v-for=
"(item, index) in cList"
:value=
"index"
:key=
"item.Id"
:label=
"item.namwe"
>
<el-option
v-for=
"(item, index) in cList"
:value=
"index"
:key=
"item.Id"
:label=
"item.namwe"
>
{{
item
.
name
}}
{{
item
.
name
}}
</el-option>
</el-option>
...
@@ -90,9 +90,8 @@
...
@@ -90,9 +90,8 @@
<td
style=
"width:55px;"
>
<td
style=
"width:55px;"
>
<el-checkbox></el-checkbox>
<el-checkbox></el-checkbox>
</td>
</td>
<
template
v-for=
"headerItem in attrGroups"
>
<td
v-for=
"(headerItem,headerIndex) in attrGroups"
:key=
"headerIndex"
>
{{headerItem.Name}}
</td>
<td>
{{
headerItem
.
Name
}}
</td>
</
template
>
<td>
<td>
<div
class=
"header-require"
>
拼团价
</div>
<div
class=
"header-require"
>
拼团价
</div>
</td>
</td>
...
@@ -102,21 +101,20 @@
...
@@ -102,21 +101,20 @@
</tr>
</tr>
</thead>
</thead>
<tbody>
<tbody>
<tr
v-for=
"
item in pinTuanPriceList
"
>
<tr
v-for=
"
(rootItem,rootIndex) in groupPriceList"
:key=
"rootIndex
"
>
<td>
<td>
<el-checkbox></el-checkbox>
<el-checkbox></el-checkbox>
</td>
</td>
<
template
v-for=
"(attrItem, attrIndex) in attrGroups"
>
<
template
v-for=
"(attrItem, attrIndex) in attrGroups"
>
<td
v-if=
"attrIndex == index2"
v-for=
"(item2, index2) in
item.AttrList"
:key=
"index2+'6'
"
>
<td
v-if=
"attrIndex == index2"
v-for=
"(item2, index2) in
rootItem.AttrList"
:key=
"index2
"
>
{{
i
tem
.
AttrList
[
index2
].
SVName
}}
{{
rootI
tem
.
AttrList
[
index2
].
SVName
}}
</td>
</td>
</
template
>
</
template
>
<td>
<td>
<el-input
type=
"number"
v-model=
"
item.Pint
uanPrice"
size=
"small"
style=
"padding:0 10px"
/>
<el-input
type=
"number"
v-model=
"
rootItem.PinT
uanPrice"
size=
"small"
style=
"padding:0 10px"
/>
</td>
</td>
<td>
<td>
<el-input
type=
"number"
v-model=
"
item.Pint
uanStock"
size=
"small"
style=
"padding:0 10px"
/>
<el-input
type=
"number"
v-model=
"
rootItem.PinT
uanStock"
size=
"small"
style=
"padding:0 10px"
/>
</td>
</td>
</tr>
</tr>
</tbody>
</tbody>
...
@@ -125,42 +123,38 @@
...
@@ -125,42 +123,38 @@
</template>
</template>
<
script
>
<
script
>
export
default
{
export
default
{
props
:
[
"
pinTuan
PriceList"
,
"attrGroups"
],
props
:
[
"
group
PriceList"
,
"attrGroups"
],
data
()
{
data
()
{
return
{
return
{
attrBatch
:
false
,
//是否全选
attrBatch
:
false
,
//是否全选
cList
:[{
cList
:
[{
Id
:
0
,
Id
:
0
,
name
:
'拼团价'
name
:
'拼团价'
},{
},
{
Id
:
1
,
Id
:
1
,
name
:
'拼团库存'
name
:
'拼团库存'
}],
}],
selectData
:
''
,
selectData
:
''
,
//批量设置价格
//批量设置价格
batchNum
:
''
batchNum
:
''
};
};
},
},
created
()
{
created
()
{
},
},
watch
:
{
},
methods
:
{
methods
:
{
//点击全选
//点击全选
selectClick
(){
selectClick
()
{
},
},
//点击批量设置确定
//点击批量设置确定
batchAttr
(){
batchAttr
()
{
// if(this.){
// }
}
}
},
},
mounted
()
{
mounted
()
{
console
.
log
(
this
.
attrGroups
,
'attrgrop'
);
},
},
computed
:
{
computed
:
{
...
...
src/components/pintuan/pintuanPlugin/
ladderGrou
p.vue
→
src/components/pintuan/pintuanPlugin/
groupSte
p.vue
View file @
a73e55c8
...
@@ -6,6 +6,7 @@
...
@@ -6,6 +6,7 @@
}
}
</
style
>
</
style
>
<!--阶梯团基础信息设置-->
<
template
>
<
template
>
<div>
<div>
<el-form>
<el-form>
...
@@ -68,32 +69,33 @@
...
@@ -68,32 +69,33 @@
</div>
</div>
<el-form-item>
<el-form-item>
<div>
价格与库存
</div>
<div>
价格与库存
</div>
<
priceAndGroup
:attrGroups=
"new_attr_groups"
:pinTuanPriceList=
"item.attr
"
>
<
groupPrice
:attrGroups=
"new_attr_groups"
:groupPriceList=
"item.StepPriceList
"
>
</
priceAndGroup
>
</
groupPrice
>
</el-form-item>
</el-form-item>
</el-card>
</el-card>
</el-form>
</el-form>
</div>
</div>
</template>
</template>
<
script
>
<
script
>
import
priceAndGroup
from
"@/components/pintuan/pintuanPlugin/priceAndGroup
.vue"
import
groupPrice
from
"@/components/pintuan/pintuanPlugin/groupPrice
.vue"
export
default
{
export
default
{
props
:
[
'SpecList'
,
"Group
List"
,
"
PriceList"
],
props
:
[
'SpecList'
,
"Group
PriceList"
,
"Spec
PriceList"
],
components
:
{
components
:
{
priceAndGroup
//拼团与库存组件
groupPrice
//拼团与库存组件
},
},
data
()
{
data
()
{
return
{
return
{
group_list
:
[],
group_list
:
[],
new_
PriceList
:
[],
new_
attr_groups
:
[],
new_
attr_groups
:
[]
new_
SpecPriceList
:
[],
};
};
},
},
watch
:
{
watch
:
{
'GroupList'
:
{
'GroupList'
:
{
handler
:
function
(
val
,
oldval
)
{
handler
:
function
(
val
,
oldval
)
{
this
.
group_list
=
JSON
.
parse
(
JSON
.
stringify
(
val
));
this
.
group_list
=
JSON
.
parse
(
JSON
.
stringify
(
val
));
console
.
log
(
"this.group_list"
,
this
.
group_list
);
},
},
},
},
'SpecList'
:
{
'SpecList'
:
{
...
@@ -101,15 +103,13 @@
...
@@ -101,15 +103,13 @@
this
.
new_attr_groups
=
JSON
.
parse
(
JSON
.
stringify
(
val
));
this
.
new_attr_groups
=
JSON
.
parse
(
JSON
.
stringify
(
val
));
},
},
},
},
'PriceList'
:
{
'
Spec
PriceList'
:
{
handler
:
function
(
val
,
oldval
)
{
handler
:
function
(
val
,
oldval
)
{
this
.
new_PriceList
=
JSON
.
parse
(
JSON
.
stringify
(
val
));
this
.
new_
Spec
PriceList
=
JSON
.
parse
(
JSON
.
stringify
(
val
));
},
},
},
},
},
},
created
()
{
created
()
{},
},
methods
:
{
methods
:
{
//表头提示样式
//表头提示样式
delegation
(
h
,
{
delegation
(
h
,
{
...
@@ -155,19 +155,30 @@
...
@@ -155,19 +155,30 @@
if
(
!
this
.
group_list
)
{
if
(
!
this
.
group_list
)
{
this
.
group_list
=
[];
this
.
group_list
=
[];
}
}
var
attr
=
[];
if
(
this
.
new_SpecPriceList
&&
this
.
new_SpecPriceList
.
length
>
0
)
{
this
.
new_SpecPriceList
.
forEach
(
item
=>
{
var
obj
=
{
AttrList
:
item
.
AttrList
,
PinTuanPrice
:
0
,
PinTuanStock
:
0
}
attr
.
push
(
obj
);
})
}
this
.
group_list
.
push
({
this
.
group_list
.
push
({
people_num
:
2
,
people_num
:
2
,
preferential_price
:
1
,
preferential_price
:
1
,
pintuan_time
:
1
,
pintuan_time
:
1
,
goods_id
:
0
,
goods_id
:
0
,
attr
:
JSON
.
parse
(
JSON
.
stringify
(
this
.
new_PriceList
))
StepPriceList
:
attr
});
});
this
.
$emit
(
'getGroup'
,
this
.
group_list
);
//params是传递的参数
this
.
$emit
(
'getGroup'
,
this
.
group_list
);
//params是传递的参数
},
},
//删除拼团
//删除拼团
destroyPintuan
(
index
)
{
destroyPintuan
(
index
)
{
this
.
group_list
.
splice
(
index
,
1
);
this
.
group_list
.
splice
(
index
,
1
);
this
.
$emit
(
'getGroup'
,
this
.
group_list
);
//params是传递的参数
this
.
$emit
(
'getGroup'
,
this
.
group_list
);
//params是传递的参数
}
}
},
},
mounted
()
{
mounted
()
{
...
...
src/components/sallCenter/pluginCenter.vue
View file @
a73e55c8
<
style
>
<
style
>
.pluginCenter
{
.pluginCenter
{
padding
:
20px
0
;
padding
:
20px
0
;
}
}
.plugin_ListTitle
{
.plugin_ListTitle
{
font-weight
:
400
;
font-weight
:
400
;
font-size
:
18px
;
font-size
:
18px
;
margin-bottom
:
24px
;
margin-bottom
:
24px
;
}
}
.plugin-list
{
margin
:
0
0
0
-20px
;
.plugin-list
{
}
margin
:
0
0
0
-20px
;
.plugin-item
{
}
.plugin-item
{
border
:
1px
solid
#ebebeb
;
border
:
1px
solid
#ebebeb
;
background
:
#fff
;
background
:
#fff
;
padding
:
20px
;
padding
:
20px
;
...
@@ -18,42 +21,50 @@
...
@@ -18,42 +21,50 @@
transition
:
250ms
;
transition
:
250ms
;
position
:
relative
;
position
:
relative
;
height
:
97px
;
height
:
97px
;
}
}
.plugin-item
.display-name
{
.plugin-item
.display-name
{
margin-bottom
:
10px
;
margin-bottom
:
10px
;
transition
:
250ms
;
transition
:
250ms
;
}
}
.plugin-item
:hover
{
.plugin-item
:hover
{
border-color
:
#bfddff
;
border-color
:
#bfddff
;
cursor
:
pointer
;
cursor
:
pointer
;
}
}
.plugin-item
:hover
.display-name
{
.plugin-item
:hover
.display-name
{
color
:
#409EFF
;
color
:
#409EFF
;
}
}
.plugin-icon-bg
{
.plugin-icon-bg
{
background
:
rgb
(
250
,
163
,
34
);
background
:
rgb
(
250
,
163
,
34
);
border-radius
:
10px
;
border-radius
:
10px
;
font-size
:
0
;
font-size
:
0
;
display
:
inline-block
;
display
:
inline-block
;
}
}
.plugin-icon
{
width
:
50px
;
.plugin-icon
{
height
:
50px
;
width
:
50px
;
}
height
:
50px
;
.plugin-name
{
}
.plugin-name
{
font-size
:
14px
;
font-size
:
14px
;
margin-bottom
:
4px
;
margin-bottom
:
4px
;
white-space
:
nowrap
;
white-space
:
nowrap
;
overflow
:
hidden
;
overflow
:
hidden
;
text-overflow
:
ellipsis
;
text-overflow
:
ellipsis
;
}
}
.plugin-desc
{
.plugin-desc
{
white-space
:
nowrap
;
white-space
:
nowrap
;
overflow
:
hidden
;
overflow
:
hidden
;
text-overflow
:
ellipsis
;
text-overflow
:
ellipsis
;
color
:
#999999
;
color
:
#999999
;
font-size
:
12px
;
font-size
:
12px
;
}
}
</
style
>
</
style
>
<
template
>
<
template
>
<div
class=
"pluginCenter"
>
<div
class=
"pluginCenter"
>
...
@@ -61,50 +72,64 @@
...
@@ -61,50 +72,64 @@
<h3
class=
"plugin_ListTitle"
>
已安装
</h3>
<h3
class=
"plugin_ListTitle"
>
已安装
</h3>
</div>
</div>
<div
class=
"plugin-list el-row"
>
<div
class=
"plugin-list el-row"
>
<div
class=
"el-col el-col-24 el-col-xs-24 el-col-sm-12 el-col-md-8 el-col-lg-6 el-col-xl-4"
@
click=
"goDiyCenter('Fsetting')"
>
<div
class=
"el-col el-col-24 el-col-xs-24 el-col-sm-12 el-col-md-8 el-col-lg-6 el-col-xl-4"
@
click=
"goDiyCenter('Fsetting')"
>
<div
flex=
"dir:left box:first"
class=
"plugin-item"
>
<div
flex=
"dir:left box:first"
class=
"plugin-item"
>
<div
style=
"padding-right: 12px;"
><img
src=
"../../assets/img/sallCenter/icon.png"
style=
"width: 50px; height: 50px; display: block;"
></div>
<div
style=
"padding-right: 12px;"
><img
src=
"../../assets/img/sallCenter/icon.png"
style=
"width: 50px; height: 50px; display: block;"
></div>
<div>
<div>
<div
class=
"display-name"
>
微信小程序
</div>
<div
class=
"display-name"
>
微信小程序
</div>
<div
flex=
"box:last"
><div
class=
"name"
>
wxapp
</div>
<div
flex=
"box:last"
>
<div
class=
"name"
>
wxapp
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div
class=
"el-col el-col-24 el-col-xs-24 el-col-sm-12 el-col-md-8 el-col-lg-6 el-col-xl-4"
@
click=
"goDiyCenter('Ftemplate')"
>
<div
class=
"el-col el-col-24 el-col-xs-24 el-col-sm-12 el-col-md-8 el-col-lg-6 el-col-xl-4"
@
click=
"goDiyCenter('Ftemplate')"
>
<div
flex=
"dir:left box:first"
class=
"plugin-item"
>
<div
flex=
"dir:left box:first"
class=
"plugin-item"
>
<div
style=
"padding-right: 12px;"
><img
src=
"../../assets/img/sallCenter/Diy.png"
style=
"width: 50px; height: 50px; display: block;"
></div>
<div
style=
"padding-right: 12px;"
><img
src=
"../../assets/img/sallCenter/Diy.png"
style=
"width: 50px; height: 50px; display: block;"
></div>
<div>
<div>
<div
class=
"display-name"
>
DIY装修
</div>
<div
class=
"display-name"
>
DIY装修
</div>
<div
flex=
"box:last"
><div
class=
"name"
>
diy
</div>
<div
flex=
"box:last"
>
<div
class=
"name"
>
diy
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div
class=
"el-col el-col-24 el-col-xs-24 el-col-sm-12 el-col-md-8 el-col-lg-6 el-col-xl-4"
@
click=
"goDiyCenter('authorize')"
>
<div
class=
"el-col el-col-24 el-col-xs-24 el-col-sm-12 el-col-md-8 el-col-lg-6 el-col-xl-4"
@
click=
"goDiyCenter('authorize')"
>
<div
flex=
"dir:left box:first"
class=
"plugin-item"
>
<div
flex=
"dir:left box:first"
class=
"plugin-item"
>
<div
style=
"padding-right: 12px;"
><img
src=
"../../assets/img/sallCenter/em.png"
style=
"width: 50px; height: 50px; display: block;"
></div>
<div
style=
"padding-right: 12px;"
><img
src=
"../../assets/img/sallCenter/em.png"
style=
"width: 50px; height: 50px; display: block;"
></div>
<div>
<div>
<div
class=
"display-name"
>
资产管理
</div>
<div
class=
"display-name"
>
资产管理
</div>
<div
flex=
"box:last"
><div
class=
"name"
>
authorize
</div>
<div
flex=
"box:last"
>
<div
class=
"name"
>
authorize
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div
flex=
"cross:center"
style=
"margin-top:20px;display:none"
>
<div
style=
"display:block"
>
<div
flex=
"cross:center"
style=
"margin-top:20px;"
>
<h3
class=
"plugin_ListTitle"
>
营销工具
</h3>
<h3
class=
"plugin_ListTitle"
>
营销工具
</h3>
</div>
</div>
<div
flex=
"dir:left"
class=
"plugin-list el-row"
style=
"display:none"
>
<div
flex=
"dir:left"
class=
"plugin-list el-row"
>
<div
class=
"el-col el-col-24 el-col-xs-24 el-col-sm-12 el-col-md-8 el-col-lg-6 el-col-xl-4"
@
click=
"goDiyCenter('pintuanMain')"
>
<div
class=
"el-col el-col-24 el-col-xs-24 el-col-sm-12 el-col-md-8 el-col-lg-6 el-col-xl-4"
@
click=
"goDiyCenter('pintuanMain')"
>
<div
flex=
"dir:left box:first"
class=
"plugin-item"
>
<div
flex=
"dir:left box:first"
class=
"plugin-item"
>
<div
style=
"padding-right: 12px;"
>
<div
style=
"padding-right: 12px;"
>
<div
class=
"plugin-icon-bg"
>
<div
class=
"plugin-icon-bg"
>
<img
src=
"../../assets/img/sallCenter/pintuan.png"
style=
"width: 50px; height: 50px; display: block;"
></div>
<img
src=
"../../assets/img/sallCenter/pintuan.png"
style=
"width: 50px; height: 50px; display: block;"
>
</div>
</div>
</div>
<div>
<div>
<div
class=
"plugin-name"
>
拼团
</div>
<div
class=
"plugin-name"
>
拼团
</div>
<div
flex=
"box:last"
><div
class=
"plugin-desc"
>
邀请朋友一起拼团购买
</div>
<div
flex=
"box:last"
>
<div
class=
"plugin-desc"
>
邀请朋友一起拼团购买
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
...
@@ -117,8 +142,8 @@
...
@@ -117,8 +142,8 @@
data
()
{
data
()
{
return
{
return
{
currentUser
:
{},
currentUser
:
{},
isChecked
:
1
,
isChecked
:
1
,
Height
:
0
Height
:
0
};
};
},
},
created
()
{
created
()
{
...
@@ -126,11 +151,11 @@
...
@@ -126,11 +151,11 @@
},
},
methods
:
{
methods
:
{
//跳转微信小程序
//跳转微信小程序
goDiyCenter
(
path
){
goDiyCenter
(
path
)
{
let
routeData
=
this
.
$router
.
resolve
({
let
routeData
=
this
.
$router
.
resolve
({
name
:
path
,
name
:
path
,
query
:
{
query
:
{
FIndex
:
1
FIndex
:
1
}
}
});
});
window
.
open
(
routeData
.
href
,
"_blank"
);
window
.
open
(
routeData
.
href
,
"_blank"
);
...
...
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