mirror of
http://git.coreshop.cn/jianweie/coreshoppro.git
synced 2026-06-15 16:47:51 +08:00
【新增】后台设计界面,导航租模块,链接类型里增加商品分类选择
This commit is contained in:
@@ -866,7 +866,7 @@ Vue.component('layout-config', {
|
||||
coreHelper.Post(getDesign, { id: id }, function (e) {
|
||||
if (e.code === 0) {
|
||||
//console.log(e);
|
||||
linkType = { "1": "URL链接", "2": "商品", "3": "文章", "4": "文章分类", "5": "智能表单" };
|
||||
linkType = { "1": "URL链接", "2": "商品", "6": "商品分类", "3": "文章", "4": "文章分类", "5": "智能表单" };
|
||||
that.pageCode = e.data.model.code;
|
||||
that.brandList = e.data.brandList;
|
||||
that.pageConfig = e.data.pageConfig;
|
||||
@@ -953,6 +953,9 @@ Vue.component('layout-config', {
|
||||
case 5:
|
||||
this.form_list()
|
||||
break;
|
||||
case 6:
|
||||
this.goodType_list()
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
@@ -991,6 +994,17 @@ Vue.component('layout-config', {
|
||||
}
|
||||
});
|
||||
},
|
||||
goodType_list: function () {
|
||||
//console.log("获取商品分类列表");
|
||||
layui.admin.popup({
|
||||
title: '商品分类列表',
|
||||
area: ['800px', '98%'],
|
||||
id: 'LAY-app-CoreCmsCommon-GetGoodTypes',
|
||||
success: function (layero, index) {
|
||||
layui.view(this.id).render('common/getGoodTypes', null).done(function () { });
|
||||
}
|
||||
});
|
||||
},
|
||||
|
||||
resetColor: function () {
|
||||
this.selectWg.value.backgroundColor = '#FFFFFF'
|
||||
|
||||
Reference in New Issue
Block a user