| | |
| | | <template> |
| | | <view class="box"> |
| | | <view class="cate"> |
| | | <view @click="changeRow(index)" :class="active === index ? 'cate-item active' : 'cate-item'" v-for="(item, index) in cate" :key="'cate_'+index"> |
| | | <view @click="changeRow(index)" :class="active === index ? 'cate-item active' : 'cate-item'" v-for="(item, index) in cate" :key="index"> |
| | | {{item.name}} |
| | | <view class="cate-item-xiab" v-if="active === index"></view> |
| | | </view> |
| | | </view> |
| | | <view class="list"> |
| | | <view class="list-item" v-for="(item, index) in dataList" :key="index"> |
| | | <view class="list-item" v-for="(item, index) in dataList" :key="index" @click="jumpOrderDetail(item.id)"> |
| | | <view class="a"> |
| | | <view class="a-left"> |
| | | <view class="a-left-tips">{{item.receiveType==1?'自提':'快递配送'}}</view> |
| | |
| | | <view class="phone-item" > |
| | | <view> |
| | | <image src="/static/icon/ic_call@2x.png" mode="widthFix" @click="contactPhoneDo()" ></image> |
| | | <text>{{linkItem.linkname}} </text> |
| | | <text style="margin-left: 10px;"> {{linkItem.linkphone}}</text> |
| | | <text>{{linkItem.linkname||''}} </text> |
| | | <text style="margin-left: 10px;"> {{linkItem.linkphone||''}}</text> |
| | | </view> |
| | | </view> |
| | | <view style="width: 100%; height: 30rpx;"></view> |
| | |
| | | } |
| | | this.loading=false |
| | | }, |
| | | jumpOrderDetail(id){ |
| | | uni.navigateTo({ |
| | | url: '/pagesA/pages/order-details/order-details?userType=1&id='+id |
| | | }) |
| | | }, |
| | | checkShopLogin(){ |
| | | var that =this |
| | | if( this.shopInfo ==null || this.shopInfo.id==null || this.shopToken==null || this.shopToken==''){ |
| | |
| | | padding: 0 6rpx; |
| | | height: 40rpx; |
| | | line-height: 40rpx; |
| | | // background: #00B775; |
| | | background: #00B775; |
| | | border-radius: 8rpx; |
| | | font-weight: 400; |