添加注释,删除无用代码

master
mabo 2021-05-13 18:09:36 +08:00
parent 967e673647
commit a2752a731d
122 changed files with 868 additions and 1185 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 46 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 127 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

View File

@ -47,14 +47,14 @@ export default {
} }
}; };
return { return {
savePassLoading: false, savePassLoading: false, //
editPasswordForm: { editPasswordForm: { //
oldPassword: "", oldPassword: "",
newPassword: "", newPassword: "",
rePassword: "", rePassword: "",
}, },
strength: "", strength: "", //
passwordValidate: { passwordValidate: { //
oldPassword: [ oldPassword: [
{ {
required: true, required: true,

View File

@ -49,7 +49,7 @@
}, },
data() { data() {
return { return {
distributionStatusList, distributionStatusList, //
openSearch: true, // openSearch: true, //
loading: true, // loading: true, //
searchForm: { // searchForm: { //

View File

@ -52,7 +52,6 @@
startDate: "", // startDate: "", //
endDate: "" // endDate: "" //
}, },
selectDate: null,
form: { // form: { //
memberName: "", memberName: "",
}, },
@ -144,16 +143,6 @@
this.searchForm.pageSize = 10; this.searchForm.pageSize = 10;
this.getDataList(); this.getDataList();
}, },
handleReset() {
this.$refs.searchForm.resetFields();
this.searchForm.pageNumber = 1;
this.searchForm.pageSize = 10;
this.selectDate = null;
this.searchForm.startDate = "";
this.searchForm.endDate = "";
//
this.getDataList();
},
changeSort(e) { changeSort(e) {
this.searchForm.sort = e.key; this.searchForm.sort = e.key;
this.searchForm.order = e.order; this.searchForm.order = e.order;

View File

@ -70,11 +70,10 @@ export default {
data() { data() {
return { return {
cashStatusList, // cashStatusList, //
openSearch: true, //
loading: true, // loading: true, //
modalVisible: false, // modalVisible: false, //
modalTitle: "", // modalTitle: "", //
result: -1, result: -1, //
searchForm: { // searchForm: { //
pageNumber: 1, // pageNumber: 1, //
pageSize: 10, // pageSize: 10, //
@ -87,7 +86,7 @@ export default {
memberName: "", memberName: "",
price: "", price: "",
}, },
auditForm: { auditForm: { //
result: -1 result: -1
}, },
submitLoading: false, // submitLoading: false, //

View File

@ -64,10 +64,10 @@
components: {}, components: {},
data() { data() {
return { return {
timeRange: [], timeRange: [], //
orderStatusList, orderStatusList, //
shopList: [], // shopList: [], //
distributionId: this.$route.query.id, distributionId: this.$route.query.id, // id
openSearch: true, // openSearch: true, //
openTip: true, // openTip: true, //
loading: true, // loading: true, //

View File

@ -24,7 +24,6 @@
data() { data() {
return { return {
loading: true, // loading: true, //
selectDate: null,
form: { // form: { //
isOpen: "" isOpen: ""
}, },

View File

@ -71,14 +71,10 @@ export default {
components: {}, components: {},
data() { data() {
return { return {
openSearch: true, //
loading: true, // loading: true, //
modalType: 0, // modalType: 0, //
modalVisible: false, // modalVisible: false, //
modalTitle: "", // modalTitle: "", //
drop: false,
dropDownContent: "展开",
dropDownIcon: "ios-arrow-down",
searchForm: { searchForm: {
// //
pageNumber: 1, // pageNumber: 1, //
@ -87,7 +83,6 @@ export default {
order: "desc", // order: "desc", //
name: "", name: "",
}, },
selectDate: null,
form: { form: {
// //
name: "", name: "",

View File

@ -97,18 +97,18 @@ export default {
}, },
data() { data() {
return { return {
storeName: "", storeName: "", //
memberName: "", memberName: "", //
shopFlag: false, shopFlag: false, //
selectName: "选择", selectName: "选择", // modal
modalFlag: false, modalFlag: false, // modal
priceData: "", priceData: "", //
orderStatus: "NUM", orderStatus: "NUM", // tab
shopList: {}, //
memberList: {}, //
shopList: {}, typeList: [ //
memberList: {},
typeList: [
{ {
value: "YEAR", value: "YEAR",
label: "年", label: "年",
@ -118,9 +118,9 @@ export default {
label: "月", label: "月",
}, },
], ],
total: 0, total: 0, //
year:"", year:"", //
params: { params: { //
type: "PRICE", type: "PRICE",
timeType: "YEAR", timeType: "YEAR",
@ -130,7 +130,7 @@ export default {
shopId: "", shopId: "",
memberId: "", memberId: "",
}, },
columns: [ columns: [ //
{ {
title: "商品一级分类", title: "商品一级分类",
key: "categoryName", key: "categoryName",
@ -144,7 +144,7 @@ export default {
key: "price", key: "price",
}, },
], ],
data: [], data: [], //
}; };
}, },
watch: { watch: {

View File

@ -127,9 +127,9 @@ export default {
modalType: 0, // modalType: 0, //
modalVisible: false, // modalVisible: false, //
modalTitle: "", // modalTitle: "", //
drop: false, drop: false, //
dropDownContent: "展开", dropDownContent: "展开", //
dropDownIcon: "ios-arrow-down", dropDownIcon: "ios-arrow-down", //
searchForm: { searchForm: {
// //
pageNumber: 1, // pageNumber: 1, //
@ -137,7 +137,7 @@ export default {
sort: "create_time", // sort: "create_time", //
order: "desc", // order: "desc", //
}, },
underForm: { underForm: { //
reason: "", reason: "",
}, },
form: { form: {

View File

@ -99,10 +99,10 @@
sort: "create_time", // sort: "create_time", //
order: "desc", // order: "desc", //
}, },
underForm: { underForm: { //
reason: "", reason: "",
}, },
goodsAuditForm: { goodsAuditForm: { //
is_auth: 1, is_auth: 1,
}, },
form: { form: {

View File

@ -17,9 +17,6 @@
<FormItem label="商品卖点" prop="sellingPoint"> <FormItem label="商品卖点" prop="sellingPoint">
{{ goods.sellingPoint }} {{ goods.sellingPoint }}
</FormItem> </FormItem>
<!-- <FormItem label="商品品牌" prop="brandId">-->
<!-- {{ goods.brandId }}-->
<!-- </FormItem>-->
</div> </div>
<h4>商品交易信息</h4> <h4>商品交易信息</h4>
<div class="form-item-view"> <div class="form-item-view">
@ -139,10 +136,10 @@ export default {
name: "goodsDetail", name: "goodsDetail",
data() { data() {
return { return {
goods: '', goods: '', //
previewGoodsPicture: '', previewGoodsPicture: '', //
goodsPictureVisible: false, goodsPictureVisible: false, //
skuColumn: [ skuColumn: [ //
{ {
title: '规格', title: '规格',
key: 'specs' key: 'specs'
@ -168,7 +165,7 @@ export default {
slot: "showImage", slot: "showImage",
} }
], ],
skuData: [] skuData: [] // sku
} }
}, },
mounted() { mounted() {

View File

@ -144,18 +144,17 @@ export default {
}, },
data() { data() {
return { return {
categoryList: [], categoryList: [], //
sortCateList: [], // sortCateList: [], //
sortCate: "", // sortCate: "", //
currView: "index", loading: false, //
loading: false, selectCount: 0, //
selectCount: 0,
brands: [], // brands: [], //
specifications: [], // specifications: [], //
categoryId: "", categoryId: "", // id
category_brands: [], // category_brands: [], //
category_specs: [], // category_specs: [], //
expandLevel: 1, expandLevel: 1, //
modalType: 0, // modalType: 0, //
modalVisible: false, // modalVisible: false, //
modalBrandVisible: false, // modalBrandVisible: false, //

View File

@ -84,17 +84,15 @@ export default {
}, },
data() { data() {
return { return {
storeName: "", storeName: "", //
memberName: "", memberName: "", //
shopFlag: false, shopFlag: false, //
selectName: "选择", selectName: "选择", // modal
modalFlag: false, modalFlag: false, // modal
priceData: "", priceData: "", //
orderStatus: "PRICE", orderStatus: "PRICE", // tab
shopList: {}, //
shopList: {}, memberList: {}, //
memberList: {},
typeList: [ typeList: [
{ {
value: "YEAR", value: "YEAR",
@ -105,9 +103,9 @@ export default {
label: "月", label: "月",
}, },
], ],
total: 0, total: 0, //
year: "", year: "", //
params: { params: { //
type: "PRICE", type: "PRICE",
timeType: "YEAR", timeType: "YEAR",
pageNumber: 1, pageNumber: 1,
@ -116,7 +114,7 @@ export default {
shopId: "", shopId: "",
memberId: "", memberId: "",
}, },
columns: [ columns: [ //
{ {
title: "售后号", title: "售后号",
key: "refundSn", key: "refundSn",
@ -150,7 +148,7 @@ export default {
}, },
}, },
], ],
data: [], data: [] //
}; };
}, },
watch: { watch: {

View File

@ -68,7 +68,7 @@
<div style="margin-left: 40px"> <div style="margin-left: 40px">
<img style="width: 100px;height: 110px;margin-left: 2px" <img style="width: 100px;height: 110px;margin-left: 2px"
v-for="(img,index) in infoData.image.split(',')" v-if="infoData.image.length !=0" :src="img" v-for="(img,index) in infoData.image.split(',')" v-if="infoData.image.length !=0" :src="img"
alt=""/> alt="" />
</div> </div>
</div> </div>
</List> </List>
@ -101,15 +101,10 @@ export default {
components: {}, components: {},
data() { data() {
return { return {
pageShow: true, infoData: "", //
infoData: "", infoFlag: false, //
infoFlag: false, infoTitle: "", // modal
infoTitle: "",
openSearch: true, //
loading: true, // loading: true, //
drop: false,
dropDownIcon: "ios-arrow-down",
searchForm: { searchForm: {
// //
pageNumber: 1, // pageNumber: 1, //
@ -119,7 +114,6 @@ export default {
startDate: "", // startDate: "", //
endDate: "", // endDate: "", //
}, },
selectDate: null,
form: { form: {
// //
memberName: "", memberName: "",

View File

@ -214,7 +214,7 @@ export default {
}, },
data() { data() {
return { return {
tophotShopsColumns: [ tophotShopsColumns: [ //
{ {
type: "index", type: "index",
width: 100, width: 100,
@ -276,11 +276,10 @@ export default {
topHotGoodsData: [], // topHotGoodsData: [], //
topHotShopsData: [], // topHotShopsData: [], //
awaitTodoData: "", // awaitTodoData: "", //
homeData: "", homeData: "", //
username: "", pvChart: "", //
pvChart: "", orderChart: "", //
orderChart: "", params: { //
params: {
searchType: "LAST_SEVEN", searchType: "LAST_SEVEN",
}, },
// //
@ -470,10 +469,6 @@ export default {
// //
init() { init() {
if (Cookies.get("userInfo")) {
let userInfo = JSON.parse(Cookies.get("userInfo"));
this.username = userInfo.username;
}
this.toHotGoods(); this.toHotGoods();
this.topHotShops(); this.topHotShops();
this.awaitTodo(); this.awaitTodo();

View File

@ -42,11 +42,10 @@ export default {
name: "show", name: "show",
data() { data() {
return { return {
loading: false, loading: false, //
go: "", go: "", //
url: "", url: "", //
html: "", height: "525px" // iframe
height: "525px"
}; };
}, },
computed: { computed: {
@ -66,7 +65,6 @@ export default {
} }
}, },
handleGo() { handleGo() {
let url = this.url;
this.go = this.url; this.go = this.url;
}, },
handleOpen() { handleOpen() {

View File

@ -26,28 +26,21 @@ export default {
props: ["closeShop"], props: ["closeShop"],
data() { data() {
return { return {
month: "", month: "", //
year: "",
selectedWay: { //
defuaultWay: {
title: "最近7天", title: "最近7天",
selected: true, selected: true,
searchType: "LAST_SEVEN", searchType: "LAST_SEVEN",
}, },
storeId: "", // id
selectedWay: { dates: [], //
title: "最近7天", params: { //
selected: true,
searchType: "LAST_SEVEN",
},
storeId: "",
dates: [],
params: {
pageNumber: 1, pageNumber: 1,
pageSize: 10, pageSize: 10,
storeName: "", storeName: "",
}, },
dateList: [ dateList: [ //
{ {
title: "今天", title: "今天",
selected: false, selected: false,
@ -70,8 +63,8 @@ export default {
}, },
], ],
shopTotal: "", shopTotal: "", //
shopsData: [], shopsData: [], //
}; };
}, },
mounted() { mounted() {

View File

@ -11,43 +11,11 @@ import { getAllCity } from "@/api/index";
export default { export default {
data() { data() {
return { return {
switched: false, switched: false, //
asyncLoading: false, spinShow: false, //
num: 10, data: [], //
modalFlag: false, selectedWay: [], //
spinShow: false, callBackData: "", //
timerNum: 10,
data: [],
id: 0,
selectedWay: [],
addValidate: {
parentName: "无父级",
},
ruleValidate: {
adCode: [
{
required: true,
message: "区域编码不能为空",
trigger: "blur",
},
],
center: [
{
required: true,
message: "经纬度不能为空",
trigger: "blur",
},
],
name: [
{
required: true,
message: "名称不能为空",
trigger: "blur",
},
],
},
callBackData: "",
}; };
}, },
mounted() { mounted() {

View File

@ -15,10 +15,10 @@ import * as API_Setup from "@/api/index.js";
export default { export default {
data() { data() {
return { return {
data: [], data: [], //
selected: [], selected: [], //
id: 0, id: 0, // id
changeOnSelect: false, changeOnSelect: false, //
}; };
}, },
mounted() { mounted() {

View File

@ -44,12 +44,11 @@ export default {
return { return {
type: "multiple", // single multiple type: "multiple", // single multiple
skuList: [], skuList: [], // sku
model1: "",
selectedWay: [], // selectedWay: [], //
total: "", total: "", //
goodsParams: { goodsParams: { //
pageNumber: 1, pageNumber: 1,
pageSize: 18, pageSize: 18,
order: "desc", order: "desc",
@ -59,10 +58,10 @@ export default {
marketEnable: "UPPER", marketEnable: "UPPER",
isAuth: "PASS", isAuth: "PASS",
}, },
category: [], category: [], //
goodsData: [], goodsData: [], //
empty: false, empty: false, //
loading: false, loading: false, //
}; };
}, },
props: ["clearFlag"], props: ["clearFlag"],

View File

@ -22,10 +22,10 @@ export default {
}, },
data() { data() {
return { return {
goodsFlag: false, goodsFlag: false, //
goodsData: "", // goodsData: "", //
linkData: "", // linkData: "", //
flag: false, flag: false, // modal
}; };
}, },
props: ["types"], props: ["types"],

View File

@ -23,11 +23,11 @@ export default {
}, },
data() { data() {
return { return {
templateWay, templateWay, //
changed: "", changed: "", //
selected: 0, selected: 0, //
selectedLink: "", // selectedLink: "", //
wap wap // tab
}; };
}, },
watch: { watch: {

View File

@ -38,22 +38,20 @@ import {
getPromotionGoods, getPromotionGoods,
} from "@/api/promotion"; } from "@/api/promotion";
//
// import shopListDialog from "@/views/seller/shop/";
export default { export default {
data() { data() {
return { return {
totals: "", totals: "", //
loading: true, //true loading: true, //true
promotionList: "", promotionList: "", //
selectedIndex: 0, // selectedIndex: 0, //
promotions: "", //key promotions: "", //key
index: 999, index: 999, //
params: { params: { //
pageNumber: 1, pageNumber: 1,
pageSize: 10, pageSize: 10,
}, },
pintuanColumns: [ pintuanColumns: [ //
{ {
title: "活动标题", title: "活动标题",
key: "title", key: "title",
@ -199,7 +197,7 @@ export default {
}, },
], ],
activeColumns: [], activeColumns: [], //
columns: [ columns: [
{ {
@ -253,7 +251,7 @@ export default {
promotionData: "", // promotionData: "", //
showPromotionList: [], // showPromotionList: [], //
typeOption: { typeOption: { //
FULL_DISCOUNT: { FULL_DISCOUNT: {
title: "满减", title: "满减",
methodsed: () => { methodsed: () => {

View File

@ -28,7 +28,7 @@
export default { export default {
data() { data() {
return { return {
linkList: [ linkList: [ //
{ {
title: "首页", title: "首页",
icon: "md-home", icon: "md-home",
@ -82,8 +82,8 @@ export default {
___type: "link", ___type: "link",
url: '' url: ''
}, },
linkVisible: false, linkVisible: false, //
selectedIndex: 9999999, selectedIndex: 9999999, // index
}; };
}, },
methods: { methods: {

View File

@ -36,14 +36,14 @@ import { getShopListData } from "@/api/shops.js";
export default { export default {
data() { data() {
return { return {
loading: false, loading: false, //
total: "", total: "", //
params: { params: { //
pageNumber: 1, pageNumber: 1,
pageSize: 10, pageSize: 10,
storeName: "", storeName: "",
}, },
shopsData: [], shopsData: [], //
selected: 9999999999, //index selected: 9999999999, //index
}; };
}, },

View File

@ -30,32 +30,32 @@ export const modelData = [
options:{ options:{
list:[ list:[
{ {
img:"https://demo.dscmall.cn/storage/data/gallery_album/116/original_img/116_P_1573790294398.png", img:require('@/assets/nav/decorate1.png'),
url:'', url:'',
size:'1200*自定义' size:'1200*自定义'
}, },
{ {
img:'https://x.dscmall.cn/storage/data/gallery_album/61/original_img/1515953434094179058.png', img:require('@/assets/nav/1.jpg'),
url:'', url:'',
size:'230*190' size:'230*190'
}, },
{ {
img:'https://x.dscmall.cn/storage/data/gallery_album/61/original_img/1515953434094179058.png', img:require('@/assets/nav/1.jpg'),
url:'', url:'',
size:'230*190' size:'230*190'
}, },
{ {
img:'https://x.dscmall.cn/storage/data/gallery_album/61/original_img/1515953434094179058.png', img:require('@/assets/nav/1.jpg'),
url:'', url:'',
size:'230*190' size:'230*190'
}, },
{ {
img:'https://x.dscmall.cn/storage/data/gallery_album/61/original_img/1515953434094179058.png', img:require('@/assets/nav/1.jpg'),
url:'', url:'',
size:'230*190' size:'230*190'
}, },
{ {
img:'https://x.dscmall.cn/storage/data/gallery_album/61/original_img/1515953434094179058.png', img:require('@/assets/nav/1.jpg'),
url:'', url:'',
size:'230*190' size:'230*190'
} }
@ -135,46 +135,11 @@ export const modelData = [
name:'折扣广告', name:'折扣广告',
icon:'md-image', icon:'md-image',
options:{ options:{
bgImg:{img:'https://x.dscmall.cn/storage/data/gallery_album/61/original_img/1516301201726549362.png',url:'',size:"1300*586"}, bgImg:{img:require('@/assets/nav/decorate.png'),url:'',size:"1300*586"},
classification:[{img:'https://x.dscmall.cn/storage/data/gallery_album/61/original_img/1515953445396793087.jpg',url:'', size:'190*210'}, {img:'https://x.dscmall.cn/storage/data/gallery_album/61/original_img/1515953445396793087.jpg',url:'', size:'190*210'},{img:'https://x.dscmall.cn/storage/data/gallery_album/61/original_img/1515953445396793087.jpg',url:'', size:'190*210'},{img:'https://x.dscmall.cn/storage/data/gallery_album/61/original_img/1515953445396793087.jpg',url:'', size:'190*210'},{img:'https://x.dscmall.cn/storage/data/gallery_album/61/original_img/1515953445396793087.jpg',url:'', size:'190*210'},{img:'https://x.dscmall.cn/storage/data/gallery_album/61/original_img/1515953445396793087.jpg',url:'', size:'190*210'},{img:'https://x.dscmall.cn/storage/data/gallery_album/61/original_img/1515953445396793087.jpg',url:'', size:'190*210'},{img:'https://x.dscmall.cn/storage/data/gallery_album/61/original_img/1515953445396793087.jpg',url:'', size:'190*210'},{img:'https://x.dscmall.cn/storage/data/gallery_album/61/original_img/1515953445396793087.jpg',url:'', size:'190*210'},{img:'https://x.dscmall.cn/storage/data/gallery_album/61/original_img/1515953445396793087.jpg',url:'', size:'190*210'},], classification:[{img:require('@/assets/nav/decorate2.jpeg'),url:'', size:'190*210'}, {img:require('@/assets/nav/decorate2.jpeg'),url:'', size:'190*210'},{img:require('@/assets/nav/decorate2.jpeg'),url:'', size:'190*210'},{img:require('@/assets/nav/decorate2.jpeg'),url:'', size:'190*210'},{img:require('@/assets/nav/decorate2.jpeg'),url:'', size:'190*210'},{img:require('@/assets/nav/decorate2.jpeg'),url:'', size:'190*210'},{img:require('@/assets/nav/decorate2.jpeg'),url:'', size:'190*210'},{img:require('@/assets/nav/decorate2.jpeg'),url:'', size:'190*210'},{img:require('@/assets/nav/decorate2.jpeg'),url:'', size:'190*210'},{img:require('@/assets/nav/decorate2.jpeg'),url:'', size:'190*210'},],
brandList:[{img:'https://x.dscmall.cn/storage/data/gallery_album/61/original_img/1515953455883586458.jpg',url:'', size:'240*105'},{img:'https://x.dscmall.cn/storage/data/gallery_album/61/original_img/1515953455883586458.jpg',url:'', size:'240*105'},{img:'https://x.dscmall.cn/storage/data/gallery_album/61/original_img/1515953455883586458.jpg',url:'', size:'240*105'},{img:'https://x.dscmall.cn/storage/data/gallery_album/61/original_img/1515953455883586458.jpg',url:'', size:'240*105'},] brandList:[{img:require('@/assets/nav/decorate11.jpeg'),url:'', size:'240*105'},{img:require('@/assets/nav/decorate11.jpeg'),url:'', size:'240*105'},{img:require('@/assets/nav/decorate11.jpeg'),url:'', size:'240*105'},{img:require('@/assets/nav/decorate11.jpeg'),url:'', size:'240*105'},]
}, },
}, },
// {
// type:'brand',
// name:'首页品牌',
// icon:'md-image',
// options:{
// brandViewList:[
// {
// nameCn:'品牌闪购',
// nameEn:'BRAND SALE',
// img:'https://x.dscmall.cn/storage/data/gallery_album/61/original_img/1515953433212156689.jpg',
// url:''
// },
// {
// nameCn:'品牌活动',
// nameEn:'BRAND ACTIVITY',
// img:'https://x.dscmall.cn/storage/data/gallery_album/61/original_img/1515953434269088434.jpg',
// url:''
// },
// {
// nameCn:'超级品牌日',
// nameEn:'SUPER BRAND',
// img:'https://x.dscmall.cn/storage/data/gallery_album/61/original_img/1515953434500632403.jpg',
// url:''
// }
// ],
// signList:[
// {img:'https://x.dscmall.cn/storage/data/brandlogo/1490074056964147533.jpg',follow:0,url:''},
// {img:'https://x.dscmall.cn/storage/data/brandlogo/1490074056964147533.jpg',follow:0,url:''},
// {img:'https://x.dscmall.cn/storage/data/brandlogo/1490074056964147533.jpg',follow:0,url:''},
// {img:'https://x.dscmall.cn/storage/data/brandlogo/1490074056964147533.jpg',follow:0,url:''},
// {img:'https://x.dscmall.cn/storage/data/brandlogo/1490074056964147533.jpg',follow:0,url:''},
// {img:'https://x.dscmall.cn/storage/data/brandlogo/1490074056964147533.jpg',follow:0,url:''},{img:'https://x.dscmall.cn/storage/data/brandlogo/1490074056964147533.jpg',follow:0,url:''},{img:'https://x.dscmall.cn/storage/data/brandlogo/1490074056964147533.jpg',follow:0,url:''},{img:'https://x.dscmall.cn/storage/data/brandlogo/1490074056964147533.jpg',follow:0,url:''},{img:'https://x.dscmall.cn/storage/data/brandlogo/1490074056964147533.jpg',follow:0,url:''},{img:'https://x.dscmall.cn/storage/data/brandlogo/1490074056964147533.jpg',follow:0,url:''},{img:'https://x.dscmall.cn/storage/data/brandlogo/1490074056964147533.jpg',follow:0,url:''},{img:'https://x.dscmall.cn/storage/data/brandlogo/1490074056964147533.jpg',follow:0,url:''},{img:'https://x.dscmall.cn/storage/data/brandlogo/1490074056964147533.jpg',follow:0,url:''},{img:'https://x.dscmall.cn/storage/data/brandlogo/1490074056964147533.jpg',follow:0,url:''},{img:'https://x.dscmall.cn/storage/data/brandlogo/1490074056964147533.jpg',follow:0,url:''},{img:'https://x.dscmall.cn/storage/data/brandlogo/1490074056964147533.jpg',follow:0,url:''},{img:'https://x.dscmall.cn/storage/data/brandlogo/1490074056964147533.jpg',follow:0,url:''},{img:'https://x.dscmall.cn/storage/data/brandlogo/1490074056964147533.jpg',follow:0,url:''},{img:'https://x.dscmall.cn/storage/data/brandlogo/1490074056964147533.jpg',follow:0,url:''},{img:'https://x.dscmall.cn/storage/data/brandlogo/1490074056964147533.jpg',follow:0,url:''},{img:'https://x.dscmall.cn/storage/data/brandlogo/1490074056964147533.jpg',follow:0,url:''},{img:'https://x.dscmall.cn/storage/data/brandlogo/1490074056964147533.jpg',follow:0,url:''},{img:'https://x.dscmall.cn/storage/data/brandlogo/1490074056964147533.jpg',follow:0,url:''},{img:'https://x.dscmall.cn/storage/data/brandlogo/1490074056964147533.jpg',follow:0,url:''},{img:'https://x.dscmall.cn/storage/data/brandlogo/1490074056964147533.jpg',follow:0,url:''},{img:'https://x.dscmall.cn/storage/data/brandlogo/1490074056964147533.jpg',follow:0,url:''},{img:'https://x.dscmall.cn/storage/data/brandlogo/1490074056964147533.jpg',follow:0,url:''},{img:'https://x.dscmall.cn/storage/data/brandlogo/1490074056964147533.jpg',follow:0,url:''}
// ],
// },
// },
{ {
type:'recommend', type:'recommend',
name:'好货推荐', name:'好货推荐',
@ -186,13 +151,13 @@ export const modelData = [
bgColor:'#449dae', bgColor:'#449dae',
url:'', url:'',
list: [ list: [
{ img: 'https://x.dscmall.cn/storage/data/gallery_album/61/original_img/1515953437520193959.jpg', name: '阿迪达斯三叶草', describe: '也许是每一款经典系列都应该有一个独特的故事吧', url:'',size:'160*160' }, { img: require('@/assets/nav/decorate3.jpeg'), name: '阿迪达斯三叶草', describe: '也许是每一款经典系列都应该有一个独特的故事吧', url:'',size:'160*160' },
{ img: 'https://x.dscmall.cn/storage/data/gallery_album/61/original_img/1515953437766680336.jpg', name: '360行车记录', describe: '夜行 监控 电子狗 蓝牙', url:'' ,size:'80*80'}, { img: require('@/assets/nav/decorate4.jpeg'), name: '360行车记录', describe: '夜行 监控 电子狗 蓝牙', url:'' ,size:'80*80'},
{ img: 'https://x.dscmall.cn/storage/data/gallery_album/61/original_img/1515953437766680336.jpg', name: '360行车记录', describe: '夜行 监控 电子狗 蓝牙', url:'' ,size:'80*80'}, { img: require('@/assets/nav/decorate4.jpeg'), name: '360行车记录', describe: '夜行 监控 电子狗 蓝牙', url:'' ,size:'80*80'},
{ img: 'https://x.dscmall.cn/storage/data/gallery_album/61/original_img/1515953437766680336.jpg', name: '360行车记录', describe: '夜行 监控 电子狗 蓝牙', url:'' ,size:'80*80'}, { img: require('@/assets/nav/decorate4.jpeg'), name: '360行车记录', describe: '夜行 监控 电子狗 蓝牙', url:'' ,size:'80*80'},
{ img: 'https://x.dscmall.cn/storage/data/gallery_album/61/original_img/1515953437766680336.jpg', name: '360行车记录', describe: '夜行 监控 电子狗 蓝牙', url:'' ,size:'80*80'}, { img: require('@/assets/nav/decorate4.jpeg'), name: '360行车记录', describe: '夜行 监控 电子狗 蓝牙', url:'' ,size:'80*80'},
{ img: 'https://x.dscmall.cn/storage/data/gallery_album/61/original_img/1515953437766680336.jpg', name: '360行车记录', describe: '夜行 监控 电子狗 蓝牙', url:'' ,size:'80*80'}, { img: require('@/assets/nav/decorate4.jpeg'), name: '360行车记录', describe: '夜行 监控 电子狗 蓝牙', url:'' ,size:'80*80'},
{ img: 'https://x.dscmall.cn/storage/data/gallery_album/61/original_img/1515953437766680336.jpg', name: '360行车记录', describe: '夜行 监控 电子狗 蓝牙', url:'' ,size:'80*80'}, { img: require('@/assets/nav/decorate4.jpeg'), name: '360行车记录', describe: '夜行 监控 电子狗 蓝牙', url:'' ,size:'80*80'},
] ]
}, },
contentRight:{ contentRight:{
@ -201,10 +166,10 @@ export const modelData = [
bgColor:'#a25684', bgColor:'#a25684',
url:'', url:'',
list: [ list: [
{ img: 'https://x.dscmall.cn/storage/data/gallery_album/61/original_img/1516316460079621387.jpg', name: '好心情喝出来', describe: '遇见懂你的饮品', url:'',size:'80*80' }, { img: require('@/assets/nav/decorate5.jpeg'), name: '好心情喝出来', describe: '遇见懂你的饮品', url:'',size:'100*100' },
{ img: 'https://x.dscmall.cn/storage/data/gallery_album/61/original_img/1516316460079621387.jpg', name: '好心情喝出来', describe: '遇见懂你的饮品', url:'',size:'80*80' }, { img: require('@/assets/nav/decorate5.jpeg'), name: '好心情喝出来', describe: '遇见懂你的饮品', url:'',size:'100*100' },
{ img: 'https://x.dscmall.cn/storage/data/gallery_album/61/original_img/1516316460079621387.jpg', name: '好心情喝出来', describe: '遇见懂你的饮品', url:'',size:'80*80' }, { img: require('@/assets/nav/decorate5.jpeg'), name: '好心情喝出来', describe: '遇见懂你的饮品', url:'',size:'100*100' },
{ img: 'https://x.dscmall.cn/storage/data/gallery_album/61/original_img/1516316460079621387.jpg', name: '好心情喝出来', describe: '遇见懂你的饮品', url:'',size:'80*80' }, { img: require('@/assets/nav/decorate5.jpeg'), name: '好心情喝出来', describe: '遇见懂你的饮品', url:'',size:'100*100' },
] ]
} }
}, },
@ -220,11 +185,11 @@ export const modelData = [
bgColor:'#c43d7e', bgColor:'#c43d7e',
url:'', url:'',
list:[ list:[
{name:'新年心愿单', describe:'满269减50,满999减100',img:'https://x.dscmall.cn/storage/data/gallery_album/61/original_img/1515953440019595029.jpg', url:'',size:"160*160"}, {name:'新年心愿单', describe:'满269减50,满999减100',img:require('@/assets/nav/decorate6.jpeg'), url:'',size:"160*160"},
{name:'Ms.Maggie 冬季时尚', describe:'满269减50',img:'https://x.dscmall.cn/storage/data/gallery_album/61/original_img/1515953440019595029.jpg', url:'',size:"90*90"}, {name:'Ms.Maggie 冬季时尚', describe:'满269减50',img:require('@/assets/nav/decorate6.jpeg'), url:'',size:"90*90"},
{name:'Ms.Maggie 冬季时尚', describe:'满269减50',img:'https://x.dscmall.cn/storage/data/gallery_album/61/original_img/1515953440019595029.jpg', url:'',size:"90*90"}, {name:'Ms.Maggie 冬季时尚', describe:'满269减50',img:require('@/assets/nav/decorate6.jpeg'), url:'',size:"90*90"},
{name:'Ms.Maggie 冬季时尚', describe:'满269减50',img:'https://x.dscmall.cn/storage/data/gallery_album/61/original_img/1515953440019595029.jpg', url:'',size:"90*90"}, {name:'Ms.Maggie 冬季时尚', describe:'满269减50',img:require('@/assets/nav/decorate6.jpeg'), url:'',size:"90*90"},
{name:'阿迪达斯 领跑时尚', describe:'满269减50',img:'https://x.dscmall.cn/storage/data/gallery_album/61/original_img/1515953440019595029.jpg', url:'',size:"90*90"}, {name:'阿迪达斯 领跑时尚', describe:'满269减50',img:require('@/assets/nav/decorate6.jpeg'), url:'',size:"90*90"},
], ],
}, },
middle:{ middle:{
@ -233,12 +198,12 @@ export const modelData = [
bgColor:'#e66a07', bgColor:'#e66a07',
url:'', url:'',
list:[ list:[
{name:'阿迪达斯 领跑时尚', describe:'满269减50',img:'https://x.dscmall.cn/storage/data/gallery_album/61/original_img/1515953440019595029.jpg', url:'',size:"90*90"}, {name:'阿迪达斯 领跑时尚', describe:'满269减50',img:require('@/assets/nav/decorate6.jpeg'), url:'',size:"90*90"},
{name:'阿迪达斯 领跑时尚', describe:'满269减50',img:'https://x.dscmall.cn/storage/data/gallery_album/61/original_img/1515953440019595029.jpg', url:'',size:"90*90"}, {name:'阿迪达斯 领跑时尚', describe:'满269减50',img:require('@/assets/nav/decorate6.jpeg'), url:'',size:"90*90"},
{name:'阿迪达斯 领跑时尚', describe:'满269减50',img:'https://x.dscmall.cn/storage/data/gallery_album/61/original_img/1515953440019595029.jpg', url:'',size:"90*90"}, {name:'阿迪达斯 领跑时尚', describe:'满269减50',img:require('@/assets/nav/decorate6.jpeg'), url:'',size:"90*90"},
{name:'阿迪达斯 领跑时尚', describe:'满269减50',img:'https://x.dscmall.cn/storage/data/gallery_album/61/original_img/1515953440019595029.jpg', url:'',size:"90*90"}, {name:'阿迪达斯 领跑时尚', describe:'满269减50',img:require('@/assets/nav/decorate6.jpeg'), url:'',size:"90*90"},
{name:'阿迪达斯 领跑时尚', describe:'满269减50',img:'https://x.dscmall.cn/storage/data/gallery_album/61/original_img/1515953440019595029.jpg', url:'',size:"90*90"}, {name:'阿迪达斯 领跑时尚', describe:'满269减50',img:require('@/assets/nav/decorate6.jpeg'), url:'',size:"90*90"},
{name:'阿迪达斯 领跑时尚', describe:'满269减50',img:'https://x.dscmall.cn/storage/data/gallery_album/61/original_img/1515953440019595029.jpg', url:'',size:"90*90"}, {name:'阿迪达斯 领跑时尚', describe:'满269减50',img:require('@/assets/nav/decorate6.jpeg'), url:'',size:"90*90"},
] ]
}, },
right:{ right:{
@ -247,12 +212,12 @@ export const modelData = [
bgColor:'#b62323', bgColor:'#b62323',
url:'', url:'',
list:[ list:[
{name:'小米红米3s手机壳保护套红米3高配版指纹男女款潮版磨砂硬壳防摔 收藏截图 送大礼包', price:14.9, img:'https://x.dscmall.cn/storage/images/201703/thumb_img/0_thumb_G_1490165200470.jpg', url:''}, {name:'小米红米3s手机壳保护套红米3高配版指纹男女款潮版磨砂硬壳防摔 收藏截图 送大礼包', price:14.9, img:require('@/assets/nav/decorate7.jpeg'), url:''},
{name:'小米红米3s手机壳保护套红米3高配版指纹男女款潮版磨砂硬壳防摔 收藏截图 送大礼包', price:14.9, img:'https://x.dscmall.cn/storage/images/201703/thumb_img/0_thumb_G_1490165200470.jpg', url:''}, {name:'小米红米3s手机壳保护套红米3高配版指纹男女款潮版磨砂硬壳防摔 收藏截图 送大礼包', price:14.9, img:require('@/assets/nav/decorate7.jpeg'), url:''},
{name:'小米红米3s手机壳保护套红米3高配版指纹男女款潮版磨砂硬壳防摔 收藏截图 送大礼包', price:14.9, img:'https://x.dscmall.cn/storage/images/201703/thumb_img/0_thumb_G_1490165200470.jpg', url:''}, {name:'小米红米3s手机壳保护套红米3高配版指纹男女款潮版磨砂硬壳防摔 收藏截图 送大礼包', price:14.9, img:require('@/assets/nav/decorate7.jpeg'), url:''},
{name:'小米红米3s手机壳保护套红米3高配版指纹男女款潮版磨砂硬壳防摔 收藏截图 送大礼包', price:14.9, img:'https://x.dscmall.cn/storage/images/201703/thumb_img/0_thumb_G_1490165200470.jpg', url:''}, {name:'小米红米3s手机壳保护套红米3高配版指纹男女款潮版磨砂硬壳防摔 收藏截图 送大礼包', price:14.9, img:require('@/assets/nav/decorate7.jpeg'), url:''},
{name:'小米红米3s手机壳保护套红米3高配版指纹男女款潮版磨砂硬壳防摔 收藏截图 送大礼包', price:14.9, img:'https://x.dscmall.cn/storage/images/201703/thumb_img/0_thumb_G_1490165200470.jpg', url:''}, {name:'小米红米3s手机壳保护套红米3高配版指纹男女款潮版磨砂硬壳防摔 收藏截图 送大礼包', price:14.9, img:require('@/assets/nav/decorate7.jpeg'), url:''},
{name:'小米红米3s手机壳保护套红米3高配版指纹男女款潮版磨砂硬壳防摔 收藏截图 送大礼包', price:14.9, img:'https://x.dscmall.cn/storage/images/201703/thumb_img/0_thumb_G_1490165200470.jpg', url:''}, {name:'小米红米3s手机壳保护套红米3高配版指纹男女款潮版磨砂硬壳防摔 收藏截图 送大礼包', price:14.9, img:require('@/assets/nav/decorate7.jpeg'), url:''},
] ]
} }
}, },
@ -263,12 +228,12 @@ export const modelData = [
icon:'md-image', icon:'md-image',
options:{ options:{
list:[ list:[
{name:'LILI生鲜', describe:"年货带回家 满199减60", img:'https://x.dscmall.cn/storage/data/gallery_album/61/original_img/1515953435885264617.png', url:'',fromColor:'#e89621',toColor:"#f5c568",size:'170*170'}, {name:'LILI生鲜', describe:"年货带回家 满199减60", img:require('@/assets/nav/decorate8.png'), url:'',fromColor:'#e89621',toColor:"#f5c568",size:'170*170'},
{name:'LILI众筹', describe:"备孕有孕检测仪", img:'https://x.dscmall.cn/storage/data/gallery_album/61/original_img/1515953436530337827.png', url:'', fromColor:"#325bb4", toColor:'#4c9afe',size:'170*170'}, {name:'LILI众筹', describe:"备孕有孕检测仪", img:require('@/assets/nav/decorate9.png'), url:'', fromColor:"#325bb4", toColor:'#4c9afe',size:'170*170'},
{name:'LILI生鲜', describe:"年货带回家 满199减60", img:'https://x.dscmall.cn/storage/data/gallery_album/61/original_img/1515953435885264617.png', url:'', fromColor:"#1c9daf", toColor:'#40cda7',size:'170*170'}, {name:'LILI生鲜', describe:"年货带回家 满199减60", img:require('@/assets/nav/decorate8.png'), url:'', fromColor:"#1c9daf", toColor:'#40cda7',size:'170*170'},
{name:'LILI众筹', describe:"备孕有孕检测仪", img:'https://x.dscmall.cn/storage/data/gallery_album/61/original_img/1515953436530337827.png', url:'', fromColor:"#d13837", toColor:'#df6d4f',size:'170*170'}, {name:'LILI众筹', describe:"备孕有孕检测仪", img:require('@/assets/nav/decorate9.png'), url:'', fromColor:"#d13837", toColor:'#df6d4f',size:'170*170'},
{name:'LILI生鲜', describe:"年货带回家 满199减60", img:'https://x.dscmall.cn/storage/data/gallery_album/61/original_img/1515953435885264617.png', url:'', fromColor:"#ca4283", toColor:'#eb75cf',size:'170*170'}, {name:'LILI生鲜', describe:"年货带回家 满199减60", img:require('@/assets/nav/decorate8.png'), url:'', fromColor:"#ca4283", toColor:'#eb75cf',size:'170*170'},
{name:'LILI众筹', describe:"备孕有孕检测仪", img:'https://x.dscmall.cn/storage/data/gallery_album/61/original_img/1515953436530337827.png', url:'', fromColor:"#5d40c1", toColor:'#8c5fdb',size:'170*170'}, {name:'LILI众筹', describe:"备孕有孕检测仪", img:require('@/assets/nav/decorate9.png'), url:'', fromColor:"#5d40c1", toColor:'#8c5fdb',size:'170*170'},
], ],
}, },
}, },
@ -288,46 +253,46 @@ export const modelData = [
icon:'md-image', icon:'md-image',
options:{ options:{
list:[ list:[
[{ img:'https://demo.dscmall.cn/storage/images/201703/thumb_img/0_thumb_G_1489096810833.jpg', name:'Apple/苹果 13 英寸MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', price:6666, url:'' }, [{ img:require('@/assets/nav/decorate10.jpeg'), name:'Apple/苹果 13 英寸MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', price:6666, url:'' },
{ img:'https://demo.dscmall.cn/storage/images/201703/thumb_img/0_thumb_G_1489096810833.jpg', name:'Apple/苹果 13 英寸MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', price:6666, url:'' }, { img:require('@/assets/nav/decorate10.jpeg'), name:'Apple/苹果 13 英寸MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', price:6666, url:'' },
{ img:'https://demo.dscmall.cn/storage/images/201703/thumb_img/0_thumb_G_1489096810833.jpg', name:'Apple/苹果 13 英寸MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', price:6666, url:'' }, { img:require('@/assets/nav/decorate10.jpeg'), name:'Apple/苹果 13 英寸MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', price:6666, url:'' },
{ img:'https://demo.dscmall.cn/storage/images/201703/thumb_img/0_thumb_G_1489096810833.jpg', name:'Apple/苹果 13 英寸MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', price:6666, url:'' }, { img:require('@/assets/nav/decorate10.jpeg'), name:'Apple/苹果 13 英寸MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', price:6666, url:'' },
{ img:'https://demo.dscmall.cn/storage/images/201703/thumb_img/0_thumb_G_1489096810833.jpg', name:'Apple/苹果 13 英寸MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', price:6666, url:'' }, { img:require('@/assets/nav/decorate10.jpeg'), name:'Apple/苹果 13 英寸MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', price:6666, url:'' },
{ img:'https://demo.dscmall.cn/storage/images/201703/thumb_img/0_thumb_G_1489096810833.jpg', name:'Apple/苹果 13 英寸MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', price:6666, url:'' }, { img:require('@/assets/nav/decorate10.jpeg'), name:'Apple/苹果 13 英寸MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', price:6666, url:'' },
{ img:'https://demo.dscmall.cn/storage/images/201703/thumb_img/0_thumb_G_1489096810833.jpg', name:'Apple/苹果 13 英寸MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', price:6666, url:'' }, { img:require('@/assets/nav/decorate10.jpeg'), name:'Apple/苹果 13 英寸MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', price:6666, url:'' },
{ img:'https://demo.dscmall.cn/storage/images/201703/thumb_img/0_thumb_G_1489096810833.jpg', name:'Apple/苹果 13 英寸MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', price:6666, url:'' }, { img:require('@/assets/nav/decorate10.jpeg'), name:'Apple/苹果 13 英寸MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', price:6666, url:'' },
{ img:'https://demo.dscmall.cn/storage/images/201703/thumb_img/0_thumb_G_1489096810833.jpg', name:'Apple/苹果 13 英寸MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', price:6666, url:'' }, { img:require('@/assets/nav/decorate10.jpeg'), name:'Apple/苹果 13 英寸MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', price:6666, url:'' },
{ img:'https://demo.dscmall.cn/storage/images/201703/thumb_img/0_thumb_G_1489096810833.jpg', name:'Apple/苹果 13 英寸MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', price:6666, url:'' },], { img:require('@/assets/nav/decorate10.jpeg'), name:'Apple/苹果 13 英寸MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', price:6666, url:'' },],
[{ img:'https://demo.dscmall.cn/storage/images/201703/thumb_img/0_thumb_G_1489096810833.jpg', name:'Apple/苹果 13 英寸MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', price:6666, url:'' }, [{ img:require('@/assets/nav/decorate10.jpeg'), name:'Apple/苹果 13 英寸MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', price:6666, url:'' },
{ img:'https://demo.dscmall.cn/storage/images/201703/thumb_img/0_thumb_G_1489096810833.jpg', name:'Apple/苹果 13 英寸MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', price:6666, url:'' }, { img:require('@/assets/nav/decorate10.jpeg'), name:'Apple/苹果 13 英寸MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', price:6666, url:'' },
{ img:'https://demo.dscmall.cn/storage/images/201703/thumb_img/0_thumb_G_1489096810833.jpg', name:'Apple/苹果 13 英寸MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', price:6666, url:'' }, { img:require('@/assets/nav/decorate10.jpeg'), name:'Apple/苹果 13 英寸MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', price:6666, url:'' },
{ img:'https://demo.dscmall.cn/storage/images/201703/thumb_img/0_thumb_G_1489096810833.jpg', name:'Apple/苹果 13 英寸MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', price:6666, url:'' }, { img:require('@/assets/nav/decorate10.jpeg'), name:'Apple/苹果 13 英寸MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', price:6666, url:'' },
{ img:'https://demo.dscmall.cn/storage/images/201703/thumb_img/0_thumb_G_1489096810833.jpg', name:'Apple/苹果 13 英寸MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', price:6666, url:'' }, { img:require('@/assets/nav/decorate10.jpeg'), name:'Apple/苹果 13 英寸MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', price:6666, url:'' },
{ img:'https://demo.dscmall.cn/storage/images/201703/thumb_img/0_thumb_G_1489096810833.jpg', name:'Apple/苹果 13 英寸MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', price:6666, url:'' }, { img:require('@/assets/nav/decorate10.jpeg'), name:'Apple/苹果 13 英寸MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', price:6666, url:'' },
{ img:'https://demo.dscmall.cn/storage/images/201703/thumb_img/0_thumb_G_1489096810833.jpg', name:'Apple/苹果 13 英寸MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', price:6666, url:'' }, { img:require('@/assets/nav/decorate10.jpeg'), name:'Apple/苹果 13 英寸MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', price:6666, url:'' },
{ img:'https://demo.dscmall.cn/storage/images/201703/thumb_img/0_thumb_G_1489096810833.jpg', name:'Apple/苹果 13 英寸MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', price:6666, url:'' }, { img:require('@/assets/nav/decorate10.jpeg'), name:'Apple/苹果 13 英寸MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', price:6666, url:'' },
{ img:'https://demo.dscmall.cn/storage/images/201703/thumb_img/0_thumb_G_1489096810833.jpg', name:'Apple/苹果 13 英寸MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', price:6666, url:'' }, { img:require('@/assets/nav/decorate10.jpeg'), name:'Apple/苹果 13 英寸MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', price:6666, url:'' },
{ img:'https://demo.dscmall.cn/storage/images/201703/thumb_img/0_thumb_G_1489096810833.jpg', name:'Apple/苹果 13 英寸MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', price:6666, url:'' },], { img:require('@/assets/nav/decorate10.jpeg'), name:'Apple/苹果 13 英寸MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', price:6666, url:'' },],
[{ img:'https://demo.dscmall.cn/storage/images/201703/thumb_img/0_thumb_G_1489096810833.jpg', name:'Apple/苹果 13 英寸MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', price:6666, url:'' }, [{ img:require('@/assets/nav/decorate10.jpeg'), name:'Apple/苹果 13 英寸MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', price:6666, url:'' },
{ img:'https://demo.dscmall.cn/storage/images/201703/thumb_img/0_thumb_G_1489096810833.jpg', name:'Apple/苹果 13 英寸MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', price:6666, url:'' }, { img:require('@/assets/nav/decorate10.jpeg'), name:'Apple/苹果 13 英寸MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', price:6666, url:'' },
{ img:'https://demo.dscmall.cn/storage/images/201703/thumb_img/0_thumb_G_1489096810833.jpg', name:'Apple/苹果 13 英寸MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', price:6666, url:'' }, { img:require('@/assets/nav/decorate10.jpeg'), name:'Apple/苹果 13 英寸MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', price:6666, url:'' },
{ img:'https://demo.dscmall.cn/storage/images/201703/thumb_img/0_thumb_G_1489096810833.jpg', name:'Apple/苹果 13 英寸MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', price:6666, url:'' }, { img:require('@/assets/nav/decorate10.jpeg'), name:'Apple/苹果 13 英寸MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', price:6666, url:'' },
{ img:'https://demo.dscmall.cn/storage/images/201703/thumb_img/0_thumb_G_1489096810833.jpg', name:'Apple/苹果 13 英寸MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', price:6666, url:'' }, { img:require('@/assets/nav/decorate10.jpeg'), name:'Apple/苹果 13 英寸MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', price:6666, url:'' },
{ img:'https://demo.dscmall.cn/storage/images/201703/thumb_img/0_thumb_G_1489096810833.jpg', name:'Apple/苹果 13 英寸MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', price:6666, url:'' }, { img:require('@/assets/nav/decorate10.jpeg'), name:'Apple/苹果 13 英寸MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', price:6666, url:'' },
{ img:'https://demo.dscmall.cn/storage/images/201703/thumb_img/0_thumb_G_1489096810833.jpg', name:'Apple/苹果 13 英寸MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', price:6666, url:'' }, { img:require('@/assets/nav/decorate10.jpeg'), name:'Apple/苹果 13 英寸MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', price:6666, url:'' },
{ img:'https://demo.dscmall.cn/storage/images/201703/thumb_img/0_thumb_G_1489096810833.jpg', name:'Apple/苹果 13 英寸MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', price:6666, url:'' }, { img:require('@/assets/nav/decorate10.jpeg'), name:'Apple/苹果 13 英寸MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', price:6666, url:'' },
{ img:'https://demo.dscmall.cn/storage/images/201703/thumb_img/0_thumb_G_1489096810833.jpg', name:'Apple/苹果 13 英寸MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', price:6666, url:'' }, { img:require('@/assets/nav/decorate10.jpeg'), name:'Apple/苹果 13 英寸MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', price:6666, url:'' },
{ img:'https://demo.dscmall.cn/storage/images/201703/thumb_img/0_thumb_G_1489096810833.jpg', name:'Apple/苹果 13 英寸MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', price:6666, url:'' },], { img:require('@/assets/nav/decorate10.jpeg'), name:'Apple/苹果 13 英寸MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', price:6666, url:'' },],
[{ img:'https://demo.dscmall.cn/storage/images/201703/thumb_img/0_thumb_G_1489096810833.jpg', name:'Apple/苹果 13 英寸MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', price:6666, url:'' }, [{ img:require('@/assets/nav/decorate10.jpeg'), name:'Apple/苹果 13 英寸MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', price:6666, url:'' },
{ img:'https://demo.dscmall.cn/storage/images/201703/thumb_img/0_thumb_G_1489096810833.jpg', name:'Apple/苹果 13 英寸MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', price:6666, url:'' }, { img:require('@/assets/nav/decorate10.jpeg'), name:'Apple/苹果 13 英寸MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', price:6666, url:'' },
{ img:'https://demo.dscmall.cn/storage/images/201703/thumb_img/0_thumb_G_1489096810833.jpg', name:'Apple/苹果 13 英寸MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', price:6666, url:'' }, { img:require('@/assets/nav/decorate10.jpeg'), name:'Apple/苹果 13 英寸MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', price:6666, url:'' },
{ img:'https://demo.dscmall.cn/storage/images/201703/thumb_img/0_thumb_G_1489096810833.jpg', name:'Apple/苹果 13 英寸MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', price:6666, url:'' }, { img:require('@/assets/nav/decorate10.jpeg'), name:'Apple/苹果 13 英寸MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', price:6666, url:'' },
{ img:'https://demo.dscmall.cn/storage/images/201703/thumb_img/0_thumb_G_1489096810833.jpg', name:'Apple/苹果 13 英寸MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', price:6666, url:'' }, { img:require('@/assets/nav/decorate10.jpeg'), name:'Apple/苹果 13 英寸MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', price:6666, url:'' },
{ img:'https://demo.dscmall.cn/storage/images/201703/thumb_img/0_thumb_G_1489096810833.jpg', name:'Apple/苹果 13 英寸MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', price:6666, url:'' }, { img:require('@/assets/nav/decorate10.jpeg'), name:'Apple/苹果 13 英寸MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', price:6666, url:'' },
{ img:'https://demo.dscmall.cn/storage/images/201703/thumb_img/0_thumb_G_1489096810833.jpg', name:'Apple/苹果 13 英寸MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', price:6666, url:'' }, { img:require('@/assets/nav/decorate10.jpeg'), name:'Apple/苹果 13 英寸MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', price:6666, url:'' },
{ img:'https://demo.dscmall.cn/storage/images/201703/thumb_img/0_thumb_G_1489096810833.jpg', name:'Apple/苹果 13 英寸MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', price:6666, url:'' }, { img:require('@/assets/nav/decorate10.jpeg'), name:'Apple/苹果 13 英寸MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', price:6666, url:'' },
{ img:'https://demo.dscmall.cn/storage/images/201703/thumb_img/0_thumb_G_1489096810833.jpg', name:'Apple/苹果 13 英寸MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', price:6666, url:'' }, { img:require('@/assets/nav/decorate10.jpeg'), name:'Apple/苹果 13 英寸MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', price:6666, url:'' },
{ img:'https://demo.dscmall.cn/storage/images/201703/thumb_img/0_thumb_G_1489096810833.jpg', name:'Apple/苹果 13 英寸MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', price:6666, url:'' },], { img:require('@/assets/nav/decorate10.jpeg'), name:'Apple/苹果 13 英寸MacBook Pro Multi-Touch Bar 和 Touch ID 2.9GHz 处理器 512GB 存储容量', price:6666, url:'' },],
], ],
navList:[ navList:[

View File

@ -158,7 +158,7 @@ export default {
promotionTags: [ "买2免1", "领200神券", "199减100", "母婴5折抢", "充100送20"], // promotionTags: [ "买2免1", "领200神券", "199减100", "母婴5折抢", "充100送20"], //
topAdvert:{ // 广 topAdvert:{ // 广
type:'topAdvert', type:'topAdvert',
img:'https://x.dscmall.cn/storage/data/gallery_album/108/original_img/108_P_1539564967582.jpg', img:'',
url:'', url:'',
bgColor:'#de000d', bgColor:'#de000d',
size:'1200*80' size:'1200*80'

View File

@ -184,9 +184,9 @@ export default {
}, },
data () { data () {
return { return {
showModal:false, showModal:false, // modal
selected:{}, selected:{}, //
picModelFlag: false picModelFlag: false //
} }
}, },
mounted () { mounted () {

View File

@ -128,9 +128,9 @@ export default {
}, },
data() { data() {
return { return {
showModal: false, showModal: false, // modal
selected: null, selected: null, //
picModelFlag: false, picModelFlag: false, // modal
}; };
}, },

View File

@ -66,18 +66,18 @@
import ossManage from "@/views/sys/oss-manage/ossManage"; import ossManage from "@/views/sys/oss-manage/ossManage";
export default { export default {
props:{ props:{
data:{ data: {
type: Object, type: Object,
default: null default: null
} }
}, },
components:{ossManage}, components: {ossManage},
data() { data() {
return { return {
options: this.data.options, options: this.data.options, //
showModal: false, showModal: false, // modal
selected: {}, selected: {}, //
picModelFlag: false picModelFlag: false //
} }
}, },
methods:{ methods:{

View File

@ -102,7 +102,7 @@
</Modal> </Modal>
<!-- 装修标题 --> <!-- 装修标题 -->
<Modal <Modal
v-model="showModalTitle" v-model="showModal1"
title="装修" title="装修"
draggable draggable
width="800" width="800"
@ -152,11 +152,11 @@ export default {
}, },
data() { data() {
return { return {
options:this.data.options, options:this.data.options, //
showModal:false, showModal:false, // modal
showModalTitle:false, showModal1:false, // modal
selected: {}, selected: {}, //
picModelFlag: false picModelFlag: false // modal
} }
}, },
methods:{ methods:{
@ -164,7 +164,7 @@ export default {
this.selected = item; this.selected = item;
console.warn(item); console.warn(item);
if(type){ if(type){
this.showModalTitle = true this.showModal1 = true
} else { } else {
this.showModal = true this.showModal = true
} }

View File

@ -77,11 +77,11 @@ export default {
}, },
data() { data() {
return { return {
currentIndex:0, currentIndex:0, // index
conData:this.data, conData:this.data, //
selected:{}, selected:{}, //
showModal:false, showModal:false, // modal
showContent:true, showContent:true, //
} }
}, },
watch:{ watch:{

View File

@ -1,345 +1,414 @@
<template> <template>
<div class="recommend"> <div class="recommend">
<div class="recommend-left"> <div class="recommend-left">
<div class="head-recommend setup-content" :style="{background:msgLeft.bgColor}"> <div
<span>{{ msgLeft.title }}</span> class="head-recommend setup-content"
<span>{{ msgLeft.secondTitle }}&gt;</span> :style="{ background: msgLeft.bgColor }"
<div class="setup-box"> >
<div> <span>{{ msgLeft.title }}</span>
<Button size="small" @click.stop="handleSelectModel(msgLeft,true)">编辑</Button> <span>{{ msgLeft.secondTitle }}&gt;</span>
</div> <div class="setup-box">
</div> <div>
</div> <Button size="small" @click.stop="handleSelectModel(msgLeft, true)"
<div class="content-left"> >编辑</Button
<div class="setup-content">
<img :src="msgLeft.list[0].img" width="160" height="160" alt="">
<div class="margin-left">{{ msgLeft.list[0].name }}</div>
<div class="margin-left">{{ msgLeft.list[0].describe }}</div>
<Button size="small" :style="{background:msgLeft.bgColor}" class="fz_12 view-btn">点击查看</Button>
<div class="setup-box">
<div>
<Button size="small" @click.stop="handleSelectModel(msgLeft.list[0])">编辑</Button>
</div>
</div>
</div>
<div>
<template v-for="(item, index) in msgLeft.list" >
<div v-if="index!=0" :key="index" class="setup-content">
<img :src="item.img" width="80" height="80" alt="">
<div>
<div>{{ item.name }}</div>
<div>{{ item.describe }}</div>
</div>
<div class="setup-box">
<div>
<Button size="small" @click.stop="handleSelectModel(item)">编辑</Button>
</div>
</div>
</div>
</template>
</div>
</div>
</div>
<div class="recommend-right">
<div class="head-recommend setup-content" :style="{background:msgRight.bgColor}">
<span>{{ msgRight.title }}</span>
<span>{{ msgRight.secondTitle }}&gt;</span>
<div class="setup-box">
<div>
<Button size="small" @click.stop="handleSelectModel(msgRight,true)">编辑</Button>
</div>
</div>
</div>
<div class="content-right">
<div v-for="(item, index) in msgRight.list" :key="index" class="setup-content">
<div class="right-item">
<div>
<span :style="{background:msgRight.bgColor}">{{item.name}}</span>
<span>{{item.describe}}</span>
</div>
<div class="right-img">
<img :src="item.img" alt="">
</div>
</div>
<div class="setup-box">
<div>
<Button size="small" @click.stop="handleSelectModel(item)">编辑</Button>
</div>
</div>
</div>
</div>
</div>
<Modal
v-model="showModal"
title="装修"
draggable
width="800"
:z-index="100"
mask-closable="false"
:on-ok="sureDecorate"
:on-cancel="cancelDecorate"
> >
<div class="modal-top-advert"> </div>
<div> </div>
<img class="show-image" width="160" height="160" v-if="selected.size && selected.size.indexOf('160*160')>=0" :src="selected.img" alt /> </div>
<img class="show-image" width="80" height="80" v-if="selected.size && selected.size.indexOf('80*80')>=0" :src="selected.img" alt /> <div class="content-left">
</div> <div class="setup-content">
<div> <img :src="msgLeft.list[0].img" width="160" height="160" alt="" />
<span>图片主标题</span><Input v-model="selected.name" /> <div class="margin-left">{{ msgLeft.list[0].name }}</div>
</div> <div class="margin-left">{{ msgLeft.list[0].describe }}</div>
<div> <Button
<span>图片描述</span><Input v-model="selected.describe" /> size="small"
</div> :style="{ background: msgLeft.bgColor }"
<div class="tips"> class="fz_12 view-btn"
建议尺寸<span>{{ selected.size }}</span> >点击查看</Button
</div> >
<div> <div class="setup-box">
图片链接<span>{{ selected.url }}</span> <Button size="small" class="ml_10" type="primary" @click="handleSelectLink"></Button> <div>
</div> <Button
<div> size="small"
<Button size="small" type="primary" @click="handleSelectImg"></Button>&nbsp; @click.stop="handleSelectModel(msgLeft.list[0])"
<Button size="small" type="primary" @click="handleSelectGoods"></Button> >编辑</Button
</div> >
</div> </div>
</Modal> </div>
<Modal </div>
v-model="showModalTitle" <div>
title="装修" <template v-for="(item, index) in msgLeft.list">
draggable <div v-if="index != 0" :key="index" class="setup-content">
width="800" <img :src="item.img" width="80" height="80" alt="" />
:z-index="100" <div>
mask-closable="false" <div>{{ item.name }}</div>
:on-ok="sureDecorate" <div>{{ item.describe }}</div>
:on-cancel="cancelDecorate" </div>
> <div class="setup-box">
<div class="modal-top-advert">
<div> <div>
<span>主标题</span><Input v-model="selected.title" /> <Button size="small" @click.stop="handleSelectModel(item)"
</div> >编辑</Button
<div> >
<span>副标题</span><Input v-model="selected.secondTitle" />
</div>
<div>
<span>副标题链接{{selected.url}}</span><Button size="small" class="ml_10" type="primary" @click="handleSelectLink"></Button>
</div>
<div>
<span>背景色</span><Input v-model="selected.bgColor" /> <ColorPicker v-if="selected.bgColor" v-model="selected.bgColor" />
</div> </div>
</div>
</div> </div>
</Modal> </template>
<!-- 选择商品链接 --> </div>
<liliDialog </div>
ref="liliDialog"
@selectedLink="selectedLink"
@selectedGoodsData="selectedGoodsData"
></liliDialog>
<!-- 选择图片 -->
<Modal width="1200px" v-model="picModelFlag" footer-hide>
<ossManage @callback="callbackSelected" ref="ossManage" />
</Modal>
</div> </div>
<div class="recommend-right">
<div
class="head-recommend setup-content"
:style="{ background: msgRight.bgColor }"
>
<span>{{ msgRight.title }}</span>
<span>{{ msgRight.secondTitle }}&gt;</span>
<div class="setup-box">
<div>
<Button size="small" @click.stop="handleSelectModel(msgRight, true)"
>编辑</Button
>
</div>
</div>
</div>
<div class="content-right">
<div
v-for="(item, index) in msgRight.list"
:key="index"
class="setup-content"
>
<div
class="right-item"
:style="{ border: index === 2 || index === 3 ? 'none' : '' }"
>
<div>
<span :style="{ background: msgRight.bgColor }">{{
item.name
}}</span>
<span>{{ item.describe }}</span>
</div>
<div class="right-img">
<img :src="item.img" alt="" />
</div>
</div>
<div class="setup-box">
<div>
<Button size="small" @click.stop="handleSelectModel(item)"
>编辑</Button
>
</div>
</div>
</div>
</div>
</div>
<Modal
v-model="showModal"
title="装修"
draggable
width="800"
:z-index="100"
mask-closable="false"
:on-ok="sureDecorate"
:on-cancel="cancelDecorate"
>
<div class="modal-top-advert">
<div>
<img
class="show-image"
width="160"
height="160"
v-if="selected.size && selected.size.indexOf('160*160') >= 0"
:src="selected.img"
alt
/>
<img
class="show-image"
width="80"
height="80"
v-if="selected.size && selected.size.indexOf('80*80') >= 0"
:src="selected.img"
alt
/>
<img
class="show-image"
width="100"
height="100"
v-if="selected.size && selected.size.indexOf('100*100') >= 0"
:src="selected.img"
alt
/>
</div>
<div><span>图片主标题</span><Input v-model="selected.name" /></div>
<div><span>图片描述</span><Input v-model="selected.describe" /></div>
<div class="tips">
建议尺寸<span>{{ selected.size }}</span>
</div>
<div>
图片链接<span>{{ selected.url }}</span>
<Button
size="small"
class="ml_10"
type="primary"
@click="handleSelectLink"
>选择链接</Button
>
</div>
<div>
<Button size="small" type="primary" @click="handleSelectImg"
>选择图片</Button
>&nbsp;
<Button size="small" type="primary" @click="handleSelectGoods"
>选择商品</Button
>
</div>
</div>
</Modal>
<Modal
v-model="showModal1"
title="装修"
draggable
width="800"
:z-index="100"
mask-closable="false"
:on-ok="sureDecorate"
:on-cancel="cancelDecorate"
>
<div class="modal-top-advert">
<div><span>主标题</span><Input v-model="selected.title" /></div>
<div><span>副标题</span><Input v-model="selected.secondTitle" /></div>
<div>
<span>副标题链接{{ selected.url }}</span
><Button
size="small"
class="ml_10"
type="primary"
@click="handleSelectLink"
>选择链接</Button
>
</div>
<div>
<span>背景色</span><Input v-model="selected.bgColor" />
<ColorPicker v-if="selected.bgColor" v-model="selected.bgColor" />
</div>
</div>
</Modal>
<!-- 选择商品链接 -->
<liliDialog
ref="liliDialog"
@selectedLink="selectedLink"
@selectedGoodsData="selectedGoodsData"
></liliDialog>
<!-- 选择图片 -->
<Modal width="1200px" v-model="picModelFlag" footer-hide>
<ossManage @callback="callbackSelected" ref="ossManage" />
</Modal>
</div>
</template> </template>
<script> <script>
import ossManage from "@/views/sys/oss-manage/ossManage"; import ossManage from "@/views/sys/oss-manage/ossManage";
export default { export default {
props:{ props: {
data:{ data: {
type:Object, type: Object,
default:{} default: {},
}
}, },
components:{ },
ossManage components: {
ossManage,
},
data() {
return {
msgLeft: this.data.options.contentLeft, //
msgRight: this.data.options.contentRight, //
showModal: false, // modal
showModal1: false, // modal
selected: {}, //
picModelFlag: false, //
};
},
methods: {
handleSelectModel(item, type) {
this.selected = item;
if (type) {
this.showModal1 = true;
} else {
this.showModal = true;
}
}, },
data() { handleSelectLink(item, index) {
return { //
msgLeft:this.data.options.contentLeft, this.$refs.liliDialog.open("link");
msgRight:this.data.options.contentRight,
showModal:false,
showModalTitle:false,
selected:{},
picModelFlag: false
}
}, },
methods:{ handleSelectGoods(item) {
handleSelectModel (item,type) { //
this.selected = item; this.$refs.liliDialog.open("goods");
if(type){ },
this.showModalTitle = true selectedLink(val) {
} else { this.selected.url = this.$options.filters.formatLinkType(val);
this.showModal = true },
} selectedGoodsData(val) {
console.log(val);
}, let goods = val[0];
handleSelectLink(item,index) { // this.selected.img = goods.thumbnail;
this.$refs.liliDialog.open('link') this.selected.price = goods.price;
}, this.selected.name = goods.goodsName;
handleSelectGoods(item) { // this.selected.url = `/goodsDetail?skuId=${goods.id}&goodsId=${goods.goodsId}`;
this.$refs.liliDialog.open('goods') },
}, handleSelectImg() {
selectedLink(val) { //
this.selected.url = this.$options.filters.formatLinkType(val); this.$refs.ossManage.selectImage = true;
}, this.picModelFlag = true;
selectedGoodsData(val){ },
console.log(val) callbackSelected(val) {
let goods = val[0] this.picModelFlag = false;
this.selected.img = goods.thumbnail this.selected.img = val.url;
this.selected.price = goods.price },
this.selected.name = goods.goodsName },
this.selected.url = `/goodsDetail?skuId=${goods.id}&goodsId=${goods.goodsId}` };
},
handleSelectImg(){ //
this.$refs.ossManage.selectImage = true;
this.picModelFlag = true;
},
callbackSelected (val) {
this.picModelFlag = false;
this.selected.img = val.url;
}
}
}
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
@import './setup-box.scss'; @import "./setup-box.scss";
.recommend{ .recommend {
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
.recommend-left{ .recommend-left {
width: 595px; width: 595px;
.content-left{ .content-left {
display: flex; display: flex;
padding-top: 10px; padding-top: 10px;
font-size: 12px; font-size: 12px;
>div:nth-child(1){ > div:nth-child(1) {
width: 189px; width: 189px;
border-right: 1px solid #eee; border-right: 1px solid #eee;
height: 360px;
img{
margin: 40px 0 0 15px;
}
.margin-left{
margin-left: 15px;
width: 145px;
}
div:nth-of-type(1){
font-weight: bold;
border-top: 1px solid #eee;
padding-top: 10px;
padding-bottom: 10px;
}
div:nth-of-type(2){
color: #999;
}
.view-btn{
margin-left: 15px;
margin-top: 10px;
color: #fff;
}
}
>div:nth-child(2){
width: 405px;
display: flex;
flex-wrap: wrap;
>div{
display: flex;
align-items: center;
width: 200px;
height: 120px;
img{margin: 0 10px;}
>div:nth-child(2){
// margin: 0 10px;
:nth-child(2){
color: #449dae;
}
}
}
}
}
}
.recommend-right{
width: 595px;
height: 360px; height: 360px;
.head-recommend{ img {
background: #a25684; margin: 40px 0 0 15px;
} }
.content-right{ .margin-left {
display: flex; margin-left: 15px;
flex-wrap: wrap; width: 145px;
align-items: center;
justify-content: center;
padding-top: 10px;
>div{
width: 50%;
text-align: center;
height: 180px;
padding-top: 10px;
.right-item {
display: flex;
margin-top: 30px;
height: 180px;
padding: 0 10px;
font-size: 12px;
>div:nth-child(1) {
width: 130px;
margin-top: 30px;
span:nth-child(1){
color: #fff;
border-radius: 10px;
padding: 0 5px;
background-color: #a25684;
display: block;
width: 120px;
overflow: hidden;
white-space: nowrap;
margin: 0 10px 10px 0;
}
span:nth-child(2) {
font-size: 12px;
color: #666;
display: block;
}
}
.right-img {
width: 100;
height: 100px;
text-align: center;
margin: 0 auto;
img{
max-height: 100px;
max-width: 100px;
}
}
}
}
>div:nth-child(n+1){
border-right: 1px solid #eee;
}
} }
} div:nth-of-type(1) {
font-weight: bold;
.head-recommend{ border-top: 1px solid #eee;
padding-top: 10px;
padding-bottom: 10px;
}
div:nth-of-type(2) {
color: #999;
}
.view-btn {
margin-left: 15px;
margin-top: 10px;
color: #fff;
}
}
> div:nth-child(2) {
width: 405px;
display: flex; display: flex;
align-items: center; flex-wrap: wrap;
justify-content: space-between; > div {
height: 50px; display: flex;
padding: 0 10px; align-items: center;
background: #449dae; width: 200px;
color: #fff; height: 120px;
span:nth-child(1){ img {
font-size: 20px; margin: 0 10px;
} }
span:nth-child(2){ > div:nth-child(2) {
font-size: 12px; // margin: 0 10px;
:nth-child(2) {
color: #449dae;
}
}
} }
}
} }
}
.recommend-right {
width: 595px;
height: 360px;
.head-recommend {
background: #a25684;
}
.content-right {
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: center;
padding-top: 10px;
> div {
width: 50%;
text-align: center;
height: 180px;
padding-top: 10px;
.right-item {
border-bottom: 1px solid #eee;
display: flex;
margin-top: 30px;
margin-left: 5px;
margin-right: 5px;
height: 150px;
padding: 0 10px;
font-size: 12px;
> div:nth-child(1) {
width: 130px;
margin-top: 30px;
span:nth-child(1) {
color: #fff;
border-radius: 10px;
padding: 0 5px;
background-color: #a25684;
display: block;
width: 120px;
overflow: hidden;
white-space: nowrap;
margin: 0 10px 10px 0;
}
span:nth-child(2) {
font-size: 12px;
color: #666;
display: block;
}
}
.right-img {
width: 100;
height: 100px;
text-align: center;
margin: 0 auto;
img {
max-height: 100px;
max-width: 100px;
}
}
}
}
> div:nth-child(n + 1) {
border-right: 1px solid #eee;
}
}
}
.head-recommend {
display: flex;
align-items: center;
justify-content: space-between;
height: 50px;
padding: 0 10px;
background: #449dae;
color: #fff;
span:nth-child(1) {
font-size: 20px;
}
span:nth-child(2) {
font-size: 12px;
}
}
} }
.modal-top-advert { .modal-top-advert {
align-items: start; align-items: start;
padding: 0 30px; padding: 0 30px;
} }
</style> </style>

View File

@ -42,17 +42,16 @@ export default {
}, },
data() { data() {
return { return {
options:this.data.options, options:this.data.options, //
actStatus:0, // 0 1 2 actStatus:0, // 0 1 2
actName:'限时秒杀', actName:'限时秒杀',
currHour:'00', // currHour:'00', //
diffSeconds:0, diffSeconds:0, //
days:'00', hours: '00', //
hours: '00', minutes: '00', //
minutes: '00', seconds: '00', //
seconds: '00', interval:undefined, //
interval:undefined, swiperOptions:{ //
swiperOptions:{
slidesPerView: 5, slidesPerView: 5,
autoplay:true, autoplay:true,
loop:true loop:true

View File

@ -83,8 +83,8 @@ import { btnWay } from "./btn.js";
export default { export default {
data() { data() {
return { return {
btnWay, btnWay, //
type: "full", type: "full", //
//广 //广
advertising: [ advertising: [
@ -95,7 +95,7 @@ export default {
}, },
], ],
linkType: "", linkType: "", //
}; };
}, },
methods: {}, methods: {},

View File

@ -80,8 +80,8 @@ import { btnWay } from "./btn.js";
export default { export default {
data() { data() {
return { return {
btnWay, btnWay, //
type: "full", type: "full", //
//广 //广
advertising: [ advertising: [
{ {
@ -90,7 +90,7 @@ export default {
size: "612*836", size: "612*836",
}, },
], ],
linkType: "", linkType: "", //
}; };
}, },
methods: {}, methods: {},

View File

@ -79,7 +79,7 @@ import { btnWay } from "./btn.js";
export default { export default {
data() { data() {
return { return {
btnWay, btnWay, //
}; };
}, },
methods: {}, methods: {},

View File

@ -150,15 +150,15 @@ export default {
}, },
data() { data() {
return { return {
ways, ways, //
picModelFlag: false, // picModelFlag: false, //
linkType: "goods", // dialog linkType: "goods", // dialog
styleFlag: false, //广 styleFlag: false, //广
selectedLinkIndex: "", // selectedLinkIndex: "", //
modelData, modelData, //
selectedGoods: "", selectedGoods: "", //
selectedLinks: "", selectedLinks: "", //
modelList: "", modelList: "", //
}; };
}, },
watch: { watch: {

View File

@ -85,14 +85,14 @@ export default {
}, },
data() { data() {
return { return {
templates, templates, //
modelData, modelData, //
qrcode: "", qrcode: "", //
selected: 0, selected: 0, //
contentData: { contentData: { //
list: [], list: [],
}, },
decorateData: "", decorateData: "", //
}; };
}, },
watch: { watch: {

View File

@ -15,8 +15,8 @@ export default {
}, },
data() { data() {
return { return {
layout, layout, //
name: "index", name: "index", //
}; };
}, },
mounted() { mounted() {

View File

@ -58,10 +58,10 @@ import QRCode from "qrcodejs2";
export default { export default {
data() { data() {
return { return {
progress: true, progress: true, //
num: 20, num: 20, //
saveDialog: false, saveDialog: false, //
way: [ way: [ // tab
{ {
title: "首页", title: "首页",
name: "index", name: "index",
@ -83,8 +83,8 @@ export default {
selected: false, selected: false,
}, },
], ],
qrcode: "", qrcode: "", //
submitWay: { submitWay: { //
pageShow: this.$route.query.type || false, pageShow: this.$route.query.type || false,
name: this.$route.query.name || "模板名称", name: this.$route.query.name || "模板名称",
pageClientType: "H5", pageClientType: "H5",

View File

@ -45,7 +45,7 @@
export default { export default {
data() { data() {
return { return {
selected: { selected: { //
index: 0, index: 0,
val: "精选", val: "精选",
}, },

View File

@ -41,15 +41,12 @@
</template> </template>
<script> <script>
import * as API_Other from "@/api/other.js"; import * as API_Other from "@/api/other.js";
// import region from '@/views/lili-components/multiple-region'
// import marketing from '@/views/lili-dialog/template/marketing'
// import Region from '@/views/lili-components/multiple-region'
export default { export default {
// components: {region}, // components: {region},
data() { data() {
return { return {
selectedIndex: 0, selectedIndex: 0, //
columns: [ columns: [ //
{ {
title: "页面名称", title: "页面名称",
key: "name", key: "name",
@ -63,8 +60,8 @@ export default {
}, },
], ],
loading: false, loading: false, //
pageTypes: [ pageTypes: [ //
{ {
type: "INDEX", type: "INDEX",
title: "首页", title: "首页",
@ -74,7 +71,7 @@ export default {
title: "专题", title: "专题",
}, },
], ],
params: { params: { //
pageNumber: 1, pageNumber: 1,
pageSize: 10, pageSize: 10,
sort: "", sort: "",
@ -82,8 +79,8 @@ export default {
pageType: "INDEX", pageType: "INDEX",
pageClientType: "H5", pageClientType: "H5",
}, },
total: "", total: "", //
list: [], list: [], //
}; };
}, },
watch: { watch: {

View File

@ -88,7 +88,6 @@
import { import {
getLogisticsPage, getLogisticsPage,
updateLogistics, updateLogistics,
getLogisticsDetail,
addLogistics, addLogistics,
delLogistics, delLogistics,
} from "@/api/logistics"; } from "@/api/logistics";
@ -104,9 +103,6 @@
modalType: 0, // modalType: 0, //
modalVisible: false, // modalVisible: false, //
modalTitle: "", // modalTitle: "", //
drop: false,
dropDownContent: "展开",
dropDownIcon: "ios-arrow-down",
searchForm: { searchForm: {
// //
pageNumber: 1, // pageNumber: 1, //
@ -115,7 +111,6 @@
order: "desc", // order: "desc", //
name: "", name: "",
}, },
selectDate: null,
form: { form: {
// //
name: "", name: "",

View File

@ -40,8 +40,8 @@ export default {
name: "messageTip", name: "messageTip",
data() { data() {
return { return {
value: 0, value: 0, //
empty: false, empty: false, //
}; };
}, },
props: { props: {

View File

@ -1,44 +0,0 @@
<template>
<Menu
ref="sideMenu"
:active-name="$route.name"
:open-names="singleOpenName"
theme="light"
width="110px"
@on-select="changeMenu"
>
<template v-for="item in menuList">
<MenuItem :name="item.name" :key="item.name">
{{item.title}}
</MenuItem>
</template>
</Menu>
</template>
<script>
export default {
name: "sidebarMenu",
data() {
return {
singleOpenName: []
};
},
props: {
menuList: {
type:Array,
default:[]
},
openNames: {
type: Array
}
},
methods: {
},
};
</script>
<style lang="scss" scoped>
@import "../styles/menu.scss";
</style>

View File

@ -1,73 +0,0 @@
<template>
<div>
<template v-for="(item, index) in menuList">
<div style="text-align: center;" :key="index">
<Dropdown
transfer
v-if="item.children.length !== 1"
placement="right-start"
:key="index"
@on-click="changeMenu"
>
<Button style="width: 70px;height: 42px;margin-left: -5px;padding:10px 0;" type="text">
<Icon :size="20" :color="iconColor" :type="item.icon"></Icon>
</Button>
<DropdownMenu style="width: 200px;" slot="list">
<template v-for="(child, i) in item.children">
<DropdownItem :name="child.name" :key="i">
<Icon :type="child.icon"></Icon>
<span style="padding-left:10px;">{{ itemTitle(child) }}</span>
</DropdownItem>
</template>
</DropdownMenu>
</Dropdown>
<Dropdown transfer v-else placement="right-start" :key="index" @on-click="changeMenu">
<Button
@click="changeMenu(item.children[0].name)"
style="width: 70px;height: 42px;margin-left: -5px;padding:10px 0;"
type="text"
>
<Icon :size="20" :color="iconColor" :type="item.children[0].icon || item.icon"></Icon>
</Button>
<DropdownMenu style="width: 200px;" slot="list">
<DropdownItem :name="item.children[0].name" :key="'d' + index">
<Icon :type="item.children[0].icon || item.icon"></Icon>
<span style="padding-left:10px;">{{ itemTitle(item.children[0]) }}</span>
</DropdownItem>
</DropdownMenu>
</Dropdown>
</div>
</template>
</div>
</template>
<script>
export default {
name: "sidebarMenuShrink",
props: {
menuList: {
type: Array
},
iconColor: {
type: String,
default: "white"
},
menuTheme: {
type: String,
default: "dark"
}
},
methods: {
changeMenu(active) {
this.$emit("on-change", active);
},
itemTitle(item) {
if (typeof item.title == "object") {
return this.$t(item.title.i18n);
} else {
return item.title;
}
}
}
};
</script>

View File

@ -31,10 +31,6 @@
import util from "@/libs/util.js"; import util from "@/libs/util.js";
export default { export default {
name: "shrinkableMenu", name: "shrinkableMenu",
data () {
return {
}
},
computed: { computed: {
menuList() { menuList() {
return this.$store.state.app.menuList; return this.$store.state.app.menuList;

View File

@ -47,17 +47,17 @@ export default {
name: "tagsPageOpened", name: "tagsPageOpened",
data() { data() {
return { return {
currentPageName: this.$route.name, currentPageName: this.$route.name, //
tagBodyLeft: 0, tagBodyLeft: 0, //
visible: false, visible: false, //
contextMenuLeft: 0, contextMenuLeft: 0, //
contextMenuTop: 0, contextMenuTop: 0, //
menuList: { actionList: {
others: '关闭其他', others: '关闭其他',
clearAll: '关闭所有' clearAll: '关闭所有'
}, },
refsTag: [], refsTag: [], //
tagsCount: 1 tagsCount: 1 //
}; };
}, },
props: { props: {

View File

@ -85,7 +85,6 @@
data() { data() {
return { return {
loading: true, // loading: true, //
drop: false,
searchForm: { searchForm: {
// //
pageNumber: 1, // pageNumber: 1, //
@ -96,9 +95,7 @@
endDate: "", // endDate: "", //
memberName:"" memberName:""
}, },
selectDate: null, selectDate: null, //
//
formValidate: {},
submitLoading: false, // submitLoading: false, //
selectList: [], // selectList: [], //
selectCount: 0, // selectCount: 0, //

View File

@ -36,7 +36,6 @@ export default {
data() { data() {
return { return {
loading: true, // loading: true, //
drop: false,
searchForm: { searchForm: {
// //
pageNumber: 1, // pageNumber: 1, //
@ -47,7 +46,7 @@ export default {
endDate: "", // endDate: "", //
memberName: "", memberName: "",
}, },
selectDate: null, selectDate: null, //
// //
formValidate: {}, formValidate: {},
selectList: [], // selectList: [], //

View File

@ -176,10 +176,9 @@
openSearch: true, // openSearch: true, //
openTip: true, // openTip: true, //
loading: true, // loading: true, //
drop: false,
audit: '', // audit: '', //
roleModalVisible: false, roleModalVisible: false, //
queryModalVisible: false, queryModalVisible: false, //
searchForm: { searchForm: {
// //
pageNumber: 1, // pageNumber: 1, //
@ -191,13 +190,11 @@
memberName: "", memberName: "",
applyStatus: "" applyStatus: ""
}, },
selectDate: null, selectDate: null, //
//
formValidate: {},
submitLoading: false, // submitLoading: false, //
selectList: [], // selectList: [], //
selectCount: 0, // selectCount: 0, //
showList: {}, showList: {}, //
columns: [ columns: [
{ {
title: "申请编号", title: "申请编号",

View File

@ -136,18 +136,18 @@ export default {
data() { data() {
return { return {
selectedMember: false, // selectedMember: false, //
descTitle: "", descTitle: "", // modal
descFlag: false, // descFlag: false, //
openSearch: true, // openSearch: true, //
loading: true, // loading: true, //
addFlag: false, addFlag: false, // modal
updateRegion: false, updateRegion: false, //
addMemberForm: { addMemberForm: { //
mobile: "", mobile: "",
username: "", username: "",
password: "", password: "",
}, },
searchForm: { searchForm: { //
pageNumber: 1, pageNumber: 1,
pageSize: 10, pageSize: 10,
order: "desc", order: "desc",
@ -155,10 +155,9 @@ export default {
mobile: "", mobile: "",
disabled: "OPEN", disabled: "OPEN",
}, },
picModelFlag: false, picModelFlag: false, //
// formValidate: {}, //
formValidate: {}, addRule: { //
addRule: {
mobile: [ mobile: [
{ required: true, message: "请输入手机号码" }, { required: true, message: "请输入手机号码" },
{ {

View File

@ -394,7 +394,7 @@
isDefault: false isDefault: false
},//form },//form
selectDate: null, selectDate: null, //
submitLoading: false, // submitLoading: false, //
addressFormValidate: { addressFormValidate: {
name: [{required: true, message: "收货人姓名不能为空"}], name: [{required: true, message: "收货人姓名不能为空"}],

View File

@ -168,12 +168,12 @@
data() { data() {
return { return {
selectedMember: false, // selectedMember: false, //
descTitle: "", descTitle: "", // modal
descFlag: false, // descFlag: false, //
openSearch: true, // openSearch: true, //
loading: true, // loading: true, //
updateRegion: false, updateRegion: false, //
searchForm: { searchForm: { //
pageNumber: 1, pageNumber: 1,
pageSize: 10, pageSize: 10,
order: "desc", order: "desc",
@ -181,9 +181,8 @@
mobile: "", mobile: "",
disabled: "CLOSE" disabled: "CLOSE"
}, },
picModelFlag: false, picModelFlag: false, //
// formValidate: {}, //
formValidate: {},
ruleValidate: {}, // ruleValidate: {}, //
submitLoading: false, // submitLoading: false, //
selectList: [], // selectList: [], //

View File

@ -78,12 +78,11 @@ export default {
}, },
data() { data() {
return { return {
type: 0, type: 0, //
loading: false, // loading: false, //
selectUsers: [], selectUsers: [], //
userModalVisible: false,
modalTitle: "", // modalTitle: "", //
form: { form: { //
// //
title: "", title: "",
content: "", content: "",
@ -99,8 +98,8 @@ export default {
content: [{ required: true, message: "内容不能为空", trigger: "blur" }] content: [{ required: true, message: "内容不能为空", trigger: "blur" }]
}, },
submitLoading: false, // submitLoading: false, //
dictMessageType: this.$store.state.dict.messageType, dictMessageType: this.$store.state.dict.messageType, //
backRoute: "" backRoute: "" //
}; };
}, },
methods: { methods: {

View File

@ -286,45 +286,44 @@
title: "message-manage", title: "message-manage",
data() { data() {
return { return {
messageTemplate:'',// messageTemplate:'',//
messageTemplateId:'', messageTemplateId:'', // id
templateName:'', templateName:'', //
smsModal: false,// smsModal: false,//
smsFormData:{ smsFormData:{ //
smsState:'', smsState:'',
smsContent:'', smsContent:'',
smsCode: '' smsCode: ''
}, },
smsFormValidate:{ smsFormValidate:{ //
smsCode: [{ required: true, message: '请输入短信编码'}], smsCode: [{ required: true, message: '请输入短信编码'}],
smsContent: [{ required: true, message: '请输入短信内容'}], smsContent: [{ required: true, message: '请输入短信内容'}],
}, },
noticeModal: false,// noticeModal: false, //
noticeFormData:{ noticeFormData:{ //
noticeContent:'' noticeContent:''
}, },
noticeFormValidate:{ noticeFormValidate:{ //
noticeContent: [{ required: true, message: '请输入站内信内容'}], noticeContent: [{ required: true, message: '请输入站内信内容'}],
}, },
wechatModal:false,// wechatModal:false,//
wechatFormData:{ wechatFormData:{ //
remark:'', remark:'',
first:'', first:'',
enable:'', enable:'',
}, },
wechatFormValidate:{ wechatFormValidate:{ //
remark: [{ required: true, message: '请输入站内信内容'}], remark: [{ required: true, message: '请输入站内信内容'}],
first: [{ required: true, message: '请输入头部文字信息'}], first: [{ required: true, message: '请输入头部文字信息'}],
}, },
tab: "MEMBER", tab: "MEMBER", // tabName
openTip: true, openTip: true, //
loading: true, // loading: true, //
userLoading: true,
selectCount: 0, // selectCount: 0, //
selectList: [], // selectList: [], //
drop: false, drop: false, //
dropDownContent: "展开", dropDownContent: "展开", // drop
dropDownIcon: "ios-arrow-down", dropDownIcon: "ios-arrow-down", // drop
searchForm: { searchForm: {
// data // data
type: "MEMBER", type: "MEMBER",

View File

@ -116,13 +116,13 @@ export default {
title: "message-manage", title: "message-manage",
data() { data() {
return { return {
openSearch: true, openSearch: true, //
openTip: true, openTip: true, //
loading: true, // loading: true, //
userLoading: true, userLoading: true,
selectCount: 0, // selectCount: 0, //
selectList: [], // selectList: [], //
drop: false, drop: false, //
dropDownContent: "展开", dropDownContent: "展开",
dropDownIcon: "ios-arrow-down", dropDownIcon: "ios-arrow-down",
searchForm: { searchForm: {

View File

@ -77,10 +77,10 @@ export default {
name: "message_send_detail", name: "message_send_detail",
data() { data() {
return { return {
openSearch: true, openSearch: true, //
openTip: true, openTip: true, //
loading: true, // loading: true, //
messageId: "", messageId: "", // id
sortColumn: "createTime", // sortColumn: "createTime", //
sortType: "desc", // sortType: "desc", //
status: "", // status: "", //

View File

@ -125,24 +125,18 @@ export default {
data() { data() {
return { return {
wechatModal: false,// wechatModal: false,// modal
wechatFormData: {}, wechatFormData: {}, //
wechatMPModal: false,// wechatMPModal: false,//
wechatMPFormData: {}, wechatMPFormData: {}, //
tab: "WECHAT", tab: "WECHAT", // tab
searchForm: { searchForm: { //
type: "WECHAT" type: "WECHAT"
}, },
openTip: true,
loading: true, // loading: true, //
name: '', id: '', // id
id: '',
userLoading: true,
selectCount: 0, // selectCount: 0, //
selectList: [], // selectList: [], //
drop: false,
dropDownContent: "展开",
dropDownIcon: "ios-arrow-down",
// //
weChatSearchForm: { weChatSearchForm: {
// data // data

View File

@ -62,10 +62,9 @@ export default {
}, },
data() { data() {
return { return {
type: 0, type: 0, // 0 1
loading: false, // loading: false, //
selectUsers: [], selectUsers: [], //
userModalVisible: false,
modalTitle: "", // modalTitle: "", //
form: { form: {
// //
@ -80,8 +79,7 @@ export default {
content: [{ required: true, message: "内容不能为空", trigger: "blur" }] content: [{ required: true, message: "内容不能为空", trigger: "blur" }]
}, },
submitLoading: false, // submitLoading: false, //
dictMessageType: this.$store.state.dict.messageType, backRoute: "" // back
backRoute: ""
}; };
}, },
methods: { methods: {

View File

@ -68,9 +68,9 @@
modalType: 0, // modalType: 0, //
modalVisible: false, // modalVisible: false, //
modalTitle: "", // modalTitle: "", //
drop: false, drop: false, //
dropDownContent: "展开", dropDownContent: "展开", // drop
dropDownIcon: "ios-arrow-down", dropDownIcon: "ios-arrow-down", // drop
searchForm: { // searchForm: { //
pageNumber: 1, // pageNumber: 1, //
pageSize: 10, // pageSize: 10, //

View File

@ -72,37 +72,10 @@
return { return {
descFlag: false, // descFlag: false, //
loading: true, // loading: true, //
addFlag: false, searchForm: { //
updateRegion: false,
addMemberForm:{
mobile: "",
username: "",
password: "",
},
searchForm: {
pageNumber: 1, pageNumber: 1,
pageSize: 10, pageSize: 10,
}, },
picModelFlag: false,
//
formValidate: {},
addRule:{
mobile: [
{ required: true, message: '请输入手机号码' },
{
pattern: RegExp.mobile,
message: '请输入正确的手机号'
}
],
username: [
{ required: true, message: '请输入会员名称' },
],
password: [
{ required: true, message: '请输入密码' },
],
},
ruleValidate: {}, //
submitLoading: false, //
selectList: [], // selectList: [], //
selectCount: 0, // selectCount: 0, //
columns: [ columns: [

View File

@ -254,8 +254,8 @@ export default {
); );
}; };
return { return {
loading: true, loading: true, //
params: { params: { //
userId: JSON.parse(Cookies.get("userInfo")).id, userId: JSON.parse(Cookies.get("userInfo")).id,
status: 0, status: 0,
pageNumber: 1, // pageNumber: 1, //
@ -263,26 +263,25 @@ export default {
sort: "createTime", // sort: "createTime", //
order: "desc" // order: "desc" //
}, },
total: 0, total: 0, //
totalUnread: 0, totalUnread: 0, //
totalRead: 0, totalRead: 0, //
totalRemove: 0, totalRemove: 0, //
currentMesList: [], currentMesList: [], //
unreadMesList: [], unreadMesList: [], //
hasreadMesList: [], hasreadMesList: [], //
recyclebinList: [], recyclebinList: [], //
currentMessageType: "unread", currentMessageType: "unread", //
showMesTitleList: true, showMesTitleList: true, //
unreadCount: 0, unreadCount: 0, //
hasreadCount: 0, hasreadCount: 0, //
recyclebinCount: 0, recyclebinCount: 0, //
noDataText: "暂无未读消息", noDataText: "暂无未读消息", //
mes: { mes: { //
title: "", title: "",
time: "", time: "",
content: "" content: ""
}, },
dictMessageType: this.$store.state.dict.messageType,
mesTitleColumns: [ mesTitleColumns: [
{ {
type: "index", type: "index",

View File

@ -58,9 +58,9 @@ export default {
}, },
data() { data() {
return { return {
buttonText: this.text, buttonText: this.text, //
count: Number(this.countTime), count: Number(this.countTime), //
clicked: false clicked: false //
}; };
}, },
methods: { methods: {

View File

@ -22,8 +22,8 @@ export default {
}, },
data() { data() {
return { return {
selectDep: [], selectDep: [], //
department: [] department: [] //
}; };
}, },
methods: { methods: {

View File

@ -54,12 +54,12 @@ export default {
}, },
data() { data() {
return { return {
depLoading: false, depLoading: false, //
departmentTitle: "", departmentTitle: "", // modal
searchKey: "", searchKey: "", //
dataDep: [], dataDep: [], //
selectDep: [], selectDep: [], //
departmentId: [] departmentId: [] // id
}; };
}, },
methods: { methods: {

View File

@ -74,7 +74,7 @@ export default {
}, },
data() { data() {
return { return {
editor: null, editor: null, //
data: this.value, // data: this.value, //
dataEdit: "", // dataEdit: "", //
showHTMLModal: false, // html showHTMLModal: false, // html

View File

@ -80,10 +80,10 @@ export default {
}, },
data() { data() {
return { return {
iconModalVisible: false, iconModalVisible: false, // modal
currentValue: this.value, currentValue: this.value, //
iconData: [], iconData: [], // icon
key: "", key: "", //
tip: "输入英文关键词搜索,比如 success" tip: "输入英文关键词搜索,比如 success"
}; };
}, },

View File

@ -84,18 +84,18 @@
}, },
data() { data() {
return { return {
height: 500, height: 500, //
userLoading: true, userLoading: true, //
userModalVisible: false, userModalVisible: false, // modal
selectUsers: [], selectUsers: [], //
searchUserForm: { searchUserForm: { //
username: "", username: "",
pageNumber: 1, // pageNumber: 1, //
pageSize: 10, // pageSize: 10, //
sort: "createTime", // sort: "createTime", //
order: "desc" // order: "desc" //
}, },
userColumns: [ userColumns: [ //
{ {
type: "index", type: "index",
width: 60, width: 60,
@ -214,8 +214,8 @@
} }
} }
], ],
userData: [], userData: [], //
totalUser: 0 totalUser: 0 //
}; };
}, },
methods: { methods: {

View File

@ -138,10 +138,10 @@ export default {
}, },
data() { data() {
return { return {
accessToken: {}, accessToken: {}, // token
uploadFileUrl: uploadFile, uploadFileUrl: uploadFile, //
editor: null, editor: null, //
options: { options: { //
theme: "snow", theme: "snow",
modules: { modules: {
toolbar: "#toolbar" toolbar: "#toolbar"

View File

@ -53,12 +53,12 @@ export default {
}, },
data() { data() {
return { return {
currentValue: this.value, currentValue: this.value, //
tipStyle: "password-tip-none", tipStyle: "password-tip-none", //
strengthValue: 0, strengthValue: 0, //
progressStatus: "normal", progressStatus: "normal", //
strength: "无", strength: "无", //
grade: 0 grade: 0 //
}; };
}, },
methods: { methods: {

View File

@ -105,15 +105,15 @@
showLoading: true, showLoading: true,
// //
showDrawer: false, showDrawer: false,
selectObj: [], selectObj: [], //
searchForm: { searchForm: { //
goodsName: "", goodsName: "",
pageNumber: 1, // pageNumber: 1, //
pageSize: 10, // pageSize: 10, //
sort: "createTime", // sort: "createTime", //
order: "desc" // order: "desc" //
}, },
tableColumns: [ tableColumns: [ //
{ {
type: "index", type: "index",
width: 60, width: 60,
@ -230,8 +230,8 @@
} }
} }
], ],
tableData: [], tableData: [], //
tableTotal: 0 tableTotal: 0 //
}; };
}, },
methods: { methods: {

View File

@ -83,11 +83,11 @@ export default {
}, },
data() { data() {
return { return {
accessToken: {}, accessToken: {}, // token
currentValue: this.value, currentValue: this.value, //
loading: false, loading: false, //
viewImage: false, viewImage: false, // modal
uploadFileUrl: uploadFile uploadFileUrl: uploadFile //
}; };
}, },
methods: { methods: {

View File

@ -82,11 +82,11 @@ export default {
}, },
data() { data() {
return { return {
accessToken: {}, accessToken: {}, // token
uploadFileUrl: uploadFile, uploadFileUrl: uploadFile, //
uploadList: [], uploadList: [], //
viewImage: false, viewImage: false, // modal
imgUrl: "" imgUrl: "" //
}; };
}, },
methods: { methods: {

View File

@ -231,8 +231,8 @@ export default {
} }
} }
], ],
userData: [], userData: [], //
totalUser: 0 totalUser: 0 //
}; };
}, },
methods: { methods: {

View File

@ -31,7 +31,7 @@ export default {
name:'map', name:'map',
data() { data() {
return { return {
showMap:false, showMap:false, // modal
mapSearch:'', // mapSearch:'', //
map:null, // map:null, //
autoComplete:null, // autoComplete:null, //
@ -39,7 +39,7 @@ data() {
positionPicker:null, // positionPicker:null, //
tips:[], // tips:[], //
addrContent:{}, // addrContent:{}, //
loading:false, loading:false, //
}; };
}, },
watch:{ watch:{

View File

@ -147,7 +147,7 @@
sn: "", sn: "",
}, },
selectDate: null, selectDate: null, //
form: { form: {
// //
sn: "", sn: "",
@ -156,9 +156,6 @@
endTime: "", endTime: "",
billPrice: "", billPrice: "",
}, },
//
formValidate: {},
submitLoading: false, //
selectList: [], // selectList: [], //
selectCount: 0, // selectCount: 0, //
columns: [ columns: [

View File

@ -394,7 +394,7 @@ export default {
}, },
data() { data() {
return { return {
sn: "", sn: "", //
logisticsModal: false, // logisticsModal: false, //
logisticsInfo: {}, // logisticsInfo: {}, //
form: { form: {
@ -410,7 +410,7 @@ export default {
], ],
}, },
modalVisible: false, // modalVisible: false, //
afterSaleInfo: {}, afterSaleInfo: {}, //
afterSaleImage: [], // afterSaleImage: [], //
appealImages: [], // appealImages: [], //
submitLoading: false, // submitLoading: false, //

View File

@ -137,8 +137,8 @@
modalTitle: "", // modalTitle: "", //
loading: true, // loading: true, //
content: "",// content: "",//
drop: false, drop: false, //
dropDownIcon: "ios-arrow-down", dropDownIcon: "ios-arrow-down", // drop
searchForm: { searchForm: {
// //
pageNumber: 1, // pageNumber: 1, //
@ -146,8 +146,7 @@
sort: "createTime", // sort: "createTime", //
order: "desc", // order: "desc", //
}, },
selectDate: null, form: {}, //
form: {},
submitLoading: false, // submitLoading: false, //
selectList: [], // selectList: [], //
selectCount: 0, // selectCount: 0, //

View File

@ -235,8 +235,8 @@ export default {
}, },
data() { data() {
return { return {
id: 0, id: 0, // id
complaintInfo: "", complaintInfo: "", //
images: [], // images: [], //
appealImages: [], // appealImages: [], //
submitLoading: false, // submitLoading: false, //

View File

@ -45,8 +45,8 @@ export default {
data() { data() {
return { return {
loading: true, // loading: true, //
drop: false, drop: false, //
dropDownIcon: "ios-arrow-down", dropDownIcon: "ios-arrow-down", // drop
searchForm: { searchForm: {
// //
pageNumber: 1, // pageNumber: 1, //

View File

@ -45,8 +45,6 @@ export default {
data() { data() {
return { return {
loading: true, // loading: true, //
drop: false,
dropDownIcon: "ios-arrow-down",
searchForm: { searchForm: {
// //
pageNumber: 1, // pageNumber: 1, //
@ -128,16 +126,6 @@ export default {
}; };
}, },
methods: { methods: {
dropDown() {
if (this.drop) {
this.dropDownContent = "展开";
this.dropDownIcon = "ios-arrow-down";
} else {
this.dropDownContent = "收起";
this.dropDownIcon = "ios-arrow-up";
}
this.drop = !this.drop;
},
init() { init() {
this.getDataList(); this.getDataList();
}, },

View File

@ -92,8 +92,6 @@
data() { data() {
return { return {
loading: true, // loading: true, //
drop: false,
dropDownIcon: "ios-arrow-down",
searchForm: { searchForm: {
// //
pageNumber: 1, // pageNumber: 1, //
@ -107,7 +105,7 @@
buyerName: "", buyerName: "",
orderStatus: "" orderStatus: ""
}, },
selectDate: null, selectDate: null, //
form: { form: {
// //
sn: "", sn: "",
@ -237,16 +235,6 @@
}; };
}, },
methods: { methods: {
dropDown() {
if (this.drop) {
this.dropDownContent = "展开";
this.dropDownIcon = "ios-arrow-down";
} else {
this.dropDownContent = "收起";
this.dropDownIcon = "ios-arrow-up";
}
this.drop = !this.drop;
},
init() { init() {
this.getDataList(); this.getDataList();
}, },

View File

@ -378,7 +378,7 @@ export default {
submitLoading: false, // submitLoading: false, //
region: [], // region: [], //
regionId: [], //id regionId: [], //id
showRegion: false, showRegion: false, //
orderLogInfo: [], // orderLogInfo: [], //
orderLogModal: false, // orderLogModal: false, //
checkedLogistics: [], // checkedLogistics: [], //

View File

@ -50,8 +50,6 @@ export default {
data() { data() {
return { return {
loading: true, // loading: true, //
drop: false,
dropDownIcon: "ios-arrow-down",
searchForm: { searchForm: {
// //
pageNumber: 1, // pageNumber: 1, //
@ -192,16 +190,6 @@ export default {
}; };
}, },
methods: { methods: {
dropDown() {
if (this.drop) {
this.dropDownContent = "展开";
this.dropDownIcon = "ios-arrow-down";
} else {
this.dropDownContent = "收起";
this.dropDownIcon = "ios-arrow-up";
}
this.drop = !this.drop;
},
init() { init() {
this.getDataList(); this.getDataList();
}, },

View File

@ -105,8 +105,6 @@
data() { data() {
return { return {
loading: true, // loading: true, //
drop: false,
dropDownIcon: "ios-arrow-down",
searchForm: { searchForm: {
// //
pageNumber: 1, // pageNumber: 1, //
@ -115,8 +113,7 @@
order: "desc", // order: "desc", //
receiptStatus: "", // receiptStatus: "", //
}, },
shopsData: [], shopsData: [], //
selectDate: null,
form: { form: {
// //
sn: "", sn: "",

View File

@ -85,30 +85,22 @@
}, },
data() { data() {
return { return {
currView: "index", currView: "index", //
loading: false, loading: false, //
brands: [], // brands: [], //
Specifications: [], // Specifications: [], //
categoryId: "", expandLevel: 1, //
expandLevel: 1,
modalType: 0, // modalType: 0, //
modalVisible: false, // modalVisible: false, //
modalTitle: "", // modalTitle: "", //
showParent: false, // showParent: false, //
parentTitle: "", // parentTitle: "", //
modalBrandTitle: "",
modalSpecTitle: "",
formAdd: { // formAdd: { //
parentId: "", parentId: "",
name: "", name: "",
sort: 1, sort: 1,
level: 0, level: 0,
}, },
enabledParam: {
type: 0
},
brandForm: {},
specForm: {},
// //
formValidate: {}, formValidate: {},
columns: [ columns: [

Some files were not shown because too many files have changed in this diff Show More