|
@@ -102,7 +102,7 @@
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
- <div class="order_wrap">
|
|
|
|
|
|
+ <div class="order_wrap cur_pointer" :class="{ select_ctive: shows == 9 }" @click="handleMessage('orderMenu')">
|
|
<div class="order_wrap_tit">
|
|
<div class="order_wrap_tit">
|
|
<span class="weight_600">订单中心</span>
|
|
<span class="weight_600">订单中心</span>
|
|
<div>
|
|
<div>
|
|
@@ -111,7 +111,11 @@
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="order_wrap_list">
|
|
<div class="order_wrap_list">
|
|
- <div class="order_list_item">
|
|
|
|
|
|
+ <div class="order_list_item" v-for="(item, index) in dataList[5]" :key="index">
|
|
|
|
+ <img :src="item.pic" alt="" />
|
|
|
|
+ <p>{{ item.name }}</p>
|
|
|
|
+ </div>
|
|
|
|
+ <!-- <div class="order_list_item">
|
|
<img src="@/assets/imgs/fukuan.png" alt="" />
|
|
<img src="@/assets/imgs/fukuan.png" alt="" />
|
|
<p>待付款</p>
|
|
<p>待付款</p>
|
|
</div>
|
|
</div>
|
|
@@ -130,7 +134,7 @@
|
|
<div class="order_list_item">
|
|
<div class="order_list_item">
|
|
<img src="@/assets/imgs/tuikuan.png" alt="" />
|
|
<img src="@/assets/imgs/tuikuan.png" alt="" />
|
|
<p>售后/退款</p>
|
|
<p>售后/退款</p>
|
|
- </div>
|
|
|
|
|
|
+ </div> -->
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div
|
|
<div
|
|
@@ -444,12 +448,21 @@ export default {
|
|
this.infoStatus = true;
|
|
this.infoStatus = true;
|
|
this.$message.warning('设置数据不能超过4条');
|
|
this.$message.warning('设置数据不能超过4条');
|
|
} else {
|
|
} else {
|
|
- const indexMenu = JSON.parse(JSON.stringify(this.menuList[0]));
|
|
|
|
- indexMenu.id = null;
|
|
|
|
- indexMenu.name = '';
|
|
|
|
- indexMenu.url = '';
|
|
|
|
- indexMenu.info = '';
|
|
|
|
- indexMenu.pic = '';
|
|
|
|
|
|
+ const indexMenu ={
|
|
|
|
+ id: null,
|
|
|
|
+ name: '',
|
|
|
|
+ url: '',
|
|
|
|
+ info: '',
|
|
|
|
+ pic: ''
|
|
|
|
+ };
|
|
|
|
+ // if(this.menuList.length>0){
|
|
|
|
+ // indexMenu=JSON.parse(JSON.stringify(this.menuList[0]));
|
|
|
|
+ // }
|
|
|
|
+ // indexMenu.id = null;
|
|
|
|
+ // indexMenu.name = '';
|
|
|
|
+ // indexMenu.url = '';
|
|
|
|
+ // indexMenu.info = '';
|
|
|
|
+ // indexMenu.pic = '';
|
|
this.menuList.push(indexMenu);
|
|
this.menuList.push(indexMenu);
|
|
}
|
|
}
|
|
},
|
|
},
|
|
@@ -482,7 +495,10 @@ export default {
|
|
let userBanner = res.userBanner.filter((item, index, arr) => {
|
|
let userBanner = res.userBanner.filter((item, index, arr) => {
|
|
return item.status == true;
|
|
return item.status == true;
|
|
});
|
|
});
|
|
- newArr.push(indexMenu, indexBanner, userMenu, indexNews, userBanner);
|
|
|
|
|
|
+ let orderMenu = res.orderMenu.filter((item, index, arr) => {
|
|
|
|
+ return item.status == true;
|
|
|
|
+ });
|
|
|
|
+ newArr.push(indexMenu, indexBanner, userMenu, indexNews, userBanner,orderMenu);
|
|
this.dataList = newArr;
|
|
this.dataList = newArr;
|
|
this.$set(this, 'newsInfo', indexNews[0] ? indexNews[0].title : '这是一个新闻标题');
|
|
this.$set(this, 'newsInfo', indexNews[0] ? indexNews[0].title : '这是一个新闻标题');
|
|
});
|
|
});
|
|
@@ -530,6 +546,11 @@ export default {
|
|
this.tip = false;
|
|
this.tip = false;
|
|
this.shows = 7;
|
|
this.shows = 7;
|
|
break;
|
|
break;
|
|
|
|
+ case 'orderMenu':
|
|
|
|
+ this.menuList = this.menuInfo.orderMenu;
|
|
|
|
+ this.shows = 9;
|
|
|
|
+ this.mockGoods = false;
|
|
|
|
+ break;
|
|
}
|
|
}
|
|
},
|
|
},
|
|
switchNav(index) {
|
|
switchNav(index) {
|
|
@@ -583,6 +604,9 @@ export default {
|
|
case 'bottomNavigation':
|
|
case 'bottomNavigation':
|
|
this.saveData('bottomNavigation', '/admin/platform/page/layout/bottom/navigation/save');
|
|
this.saveData('bottomNavigation', '/admin/platform/page/layout/bottom/navigation/save');
|
|
break;
|
|
break;
|
|
|
|
+ case 'orderMenu':
|
|
|
|
+ this.saveData('orderMenu', '/admin/platform/page/layout/order/menu/save');
|
|
|
|
+ break;
|
|
}
|
|
}
|
|
}),
|
|
}),
|
|
saveData(param, url) {
|
|
saveData(param, url) {
|