易建军 1 dag geleden
bovenliggende
commit
8fb614b804
1 gewijzigde bestanden met toevoegingen van 39 en 38 verwijderingen
  1. 39 38
      mer_uniapp/pages/user/index.vue

+ 39 - 38
mer_uniapp/pages/user/index.vue

@@ -87,7 +87,7 @@
 							</view>
 						</view>
 						<view class="order-wrapper tui-skeleton-rect"
-							:class="userInfo.paidMemberPaidEntrance===1?'mt34rpx':''">
+							:class="userInfo.paidMemberPaidEntrance===1?'mt34rpx':''" v-if="orderMenu.length">
 							<view class="order-hd flex">
 								<view class="left">订单中心</view>
 								<view class="right flex" @click="menusTap('/pages/goods/order_list/index')">查看全部
@@ -259,43 +259,44 @@
 				isRefresher: false, //下拉刷新状态
 				urlDomain: this.$Cache.get("imgHost"),
 				showSkeleton: true, //骨架屏显示隐藏
-				orderMenu: [{
-						img: 'icon-daifukuan',
-						title: '待付款',
-						url: '/pages/goods/order_list/index?status=0',
-						num: 0
-					},
-					{
-						img: 'icon-daifahuo',
-						title: '待取餐',
-						url: '/pages/goods/order_list/index?status=1',
-						num: 0
-					},
-					{
-						img: 'icon-daihexiao',
-						title: '待核销',
-						url: '/pages/goods/order_list/index?status=3',
-						num: 0
-					},
-					{
-						img: 'icon-daishouhuo',
-						title: '配送中',
-						url: '/pages/goods/order_list/index?status=4',
-						num: 0
-					},
-					{
-						img: 'icon-daipingjia',
-						title: '待评价',
-						url: '/pages/goods/evaluation_list/index',
-						num: 0
-					},
-					{
-						img: 'icon-a-shouhoutuikuan',
-						title: '售后/退款',
-						url: '/pages/goods/user_return_list/index',
-						num: 0
-					},
-				],
+				orderMenu:[],
+				// orderMenu: [{
+				// 		img: 'icon-daifukuan',
+				// 		title: '待付款',
+				// 		url: '/pages/goods/order_list/index?status=0',
+				// 		num: 0
+				// 	},
+				// 	{
+				// 		img: 'icon-daifahuo',
+				// 		title: '待取餐',
+				// 		url: '/pages/goods/order_list/index?status=1',
+				// 		num: 0
+				// 	},
+				// 	{
+				// 		img: 'icon-daihexiao',
+				// 		title: '待核销',
+				// 		url: '/pages/goods/order_list/index?status=3',
+				// 		num: 0
+				// 	},
+				// 	{
+				// 		img: 'icon-daishouhuo',
+				// 		title: '配送中',
+				// 		url: '/pages/goods/order_list/index?status=4',
+				// 		num: 0
+				// 	},
+				// 	{
+				// 		img: 'icon-daipingjia',
+				// 		title: '待评价',
+				// 		url: '/pages/goods/evaluation_list/index',
+				// 		num: 0
+				// 	},
+				// 	{
+				// 		img: 'icon-a-shouhoutuikuan',
+				// 		title: '售后/退款',
+				// 		url: '/pages/goods/user_return_list/index',
+				// 		num: 0
+				// 	},
+				// ],
 				centerBanner: [],
 				userMenu: [],
 				autoplay: true,