|
|
@ -56,7 +56,7 @@ |
|
|
公告:{{shopItem.remark}} |
|
|
公告:{{shopItem.remark}} |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
<view class="pintuan" style="padding: 0;margin-top:20rpx;display: flex;" v-if="orderListWait.length > 1" @tap="openOrderWait('')"> |
|
|
<view class="pintuan" style="padding: 0;margin-top:20rpx;display: flex;" v-if="orderListWait.length > 1" @tap="openOrderWait('')"> |
|
|
|
|
|
|
|
|
<swiper class="zaixian-swiper" vertical circular :autoplay="orderListWait.length > 1" |
|
|
<swiper class="zaixian-swiper" vertical circular :autoplay="orderListWait.length > 1" |
|
|
:interval="onlineWorkerInterval" :duration="onlineWorkerDuration"> |
|
|
:interval="onlineWorkerInterval" :duration="onlineWorkerDuration"> |
|
|
@ -90,10 +90,10 @@ |
|
|
</swiper> |
|
|
</swiper> |
|
|
</view> |
|
|
</view> |
|
|
<!-- 分类栏:移到goods-list外层,position:sticky才能生效 --> |
|
|
<!-- 分类栏:移到goods-list外层,position:sticky才能生效 --> |
|
|
<view style="display: flex;height: 72%;margin-top: 10px;"> |
|
|
<view class="container" style="display: flex;height: 72%;margin-top: 10px;"> |
|
|
<view id="menuList" style="border-right: 1px solid #eee;font-weight: 700;font-size: 14px;"> |
|
|
<view id="menuList" style="border-right: 1px solid #eee;font-weight: 700;font-size: 14px;"> |
|
|
<view class="menu1" @tap="checkTab(index)" v-for="(item,index) in menuList" :key="index" |
|
|
<view class="menu1" @tap="checkTab(index)" v-for="(item,index) in menuList" :key="index" |
|
|
:style="{'border-radius':item.checked?'10px':'','color':item.checked?'rgba(0, 35, 28, 1)':'#777','background':item.checked?'#fff':'','border-right':item.checked?'5px solid #48D1CC;':''}"> |
|
|
:style="{'border-radius':item.checked?'10px':'','color':item.checked?'rgba(0, 35, 28, 1)':'#777','background':item.checked?'#fff':''}"> |
|
|
<view style="width: 160rpx;">{{item.categoryName}}</view> |
|
|
<view style="width: 160rpx;">{{item.categoryName}}</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
@ -669,12 +669,12 @@ |
|
|
for (let i = 0; i < this.menuList.length; i++) { |
|
|
for (let i = 0; i < this.menuList.length; i++) { |
|
|
this.menuList[i].checked = (i === index); |
|
|
this.menuList[i].checked = (i === index); |
|
|
} |
|
|
} |
|
|
// 重置分页 |
|
|
// // 重置分页 |
|
|
this.searchForm.pageNum = 1; |
|
|
// this.searchForm.pageNum = 1; |
|
|
this.pageNum = 1; |
|
|
// this.pageNum = 1; |
|
|
this.total = 1; |
|
|
// this.total = 1; |
|
|
this.productItem = []; |
|
|
// this.productItem = []; |
|
|
this.getProduct(this.menuList[index].id); |
|
|
// this.getProduct(this.menuList[index].id); |
|
|
}, |
|
|
}, |
|
|
openOrderWait(item){ |
|
|
openOrderWait(item){ |
|
|
this.chooseWaitType = false |
|
|
this.chooseWaitType = false |
|
|
|