|
|
@ -12,7 +12,7 @@ |
|
|
<text>待取货</text> |
|
|
<text>待取货</text> |
|
|
<text class="tab-count" v-if="deliveryStatusCounts.daiqu > 0">{{deliveryStatusCounts.daiqu}}</text> |
|
|
<text class="tab-count" v-if="deliveryStatusCounts.daiqu > 0">{{deliveryStatusCounts.daiqu}}</text> |
|
|
</view> |
|
|
</view> |
|
|
<img v-if="tab1Checked == 'daiqu'" |
|
|
<image v-if="tab1Checked == 'daiqu'" |
|
|
src="https://jewel-shop.oss-cn-beijing.aliyuncs.com/4bb5fc7725cb4a7a84d1d3a15f05b39c.png" |
|
|
src="https://jewel-shop.oss-cn-beijing.aliyuncs.com/4bb5fc7725cb4a7a84d1d3a15f05b39c.png" |
|
|
alt="" |
|
|
alt="" |
|
|
style="width: 120rpx;height: 12rpx;position: absolute;bottom: 4rpx;left: 30rpx;" /> |
|
|
style="width: 120rpx;height: 12rpx;position: absolute;bottom: 4rpx;left: 30rpx;" /> |
|
|
@ -23,7 +23,7 @@ |
|
|
<text>待送达</text> |
|
|
<text>待送达</text> |
|
|
<text class="tab-count" v-if="deliveryStatusCounts.daisong > 0">{{deliveryStatusCounts.daisong}}</text> |
|
|
<text class="tab-count" v-if="deliveryStatusCounts.daisong > 0">{{deliveryStatusCounts.daisong}}</text> |
|
|
</view> |
|
|
</view> |
|
|
<img v-if="tab1Checked == 'daisong'" |
|
|
<image v-if="tab1Checked == 'daisong'" |
|
|
src="https://jewel-shop.oss-cn-beijing.aliyuncs.com/4bb5fc7725cb4a7a84d1d3a15f05b39c.png" |
|
|
src="https://jewel-shop.oss-cn-beijing.aliyuncs.com/4bb5fc7725cb4a7a84d1d3a15f05b39c.png" |
|
|
alt="" |
|
|
alt="" |
|
|
style="width: 80rpx;height: 14rpx;position: absolute;bottom: 4rpx;left: 32rpx;" /> |
|
|
style="width: 80rpx;height: 14rpx;position: absolute;bottom: 4rpx;left: 32rpx;" /> |
|
|
@ -99,6 +99,7 @@ |
|
|
<view class="delivery-empty-desc">设置接单路线,用户下单时即可直接指派给你</view> |
|
|
<view class="delivery-empty-desc">设置接单路线,用户下单时即可直接指派给你</view> |
|
|
<view class="delivery-empty-btn" @tap="goRuleSetting">去设置接单范围</view> |
|
|
<view class="delivery-empty-btn" @tap="goRuleSetting">去设置接单范围</view> |
|
|
</view> |
|
|
</view> |
|
|
|
|
|
|
|
|
<view class="box1" v-for="(item,index) in pageData" :key="index"> |
|
|
<view class="box1" v-for="(item,index) in pageData" :key="index"> |
|
|
<view class="maotou" v-if="item.deliveryType == 1"> |
|
|
<view class="maotou" v-if="item.deliveryType == 1"> |
|
|
<text>{{item.numberCode.length>14 ?'多订单':item.numberCode | delPlus}}</text> |
|
|
<text>{{item.numberCode.length>14 ?'多订单':item.numberCode | delPlus}}</text> |
|
|
@ -161,7 +162,7 @@ |
|
|
<view style="display: flex;border-radius: 20rpx;margin-top: 32rpx;border: 1px solid rgba(166, 255, 234, 0.78);padding: 10px;"> |
|
|
<view style="display: flex;border-radius: 20rpx;margin-top: 32rpx;border: 1px solid rgba(166, 255, 234, 0.78);padding: 10px;"> |
|
|
<view class="goods-content" @tap="productDetail(item)"> |
|
|
<view class="goods-content" @tap="productDetail(item)"> |
|
|
<view class="goods-name" style="font-size: 24rpx;line-height: 50rpx;display: flex;"> |
|
|
<view class="goods-name" style="font-size: 24rpx;line-height: 50rpx;display: flex;"> |
|
|
<img src="https://jewel-shop.oss-cn-beijing.aliyuncs.com/1f77398a73454a6595c12a3c18731599.png" |
|
|
<image src="https://jewel-shop.oss-cn-beijing.aliyuncs.com/1f77398a73454a6595c12a3c18731599.png" |
|
|
alt="" style="width: 50rpx;height: 50rpx;" /> |
|
|
alt="" style="width: 50rpx;height: 50rpx;" /> |
|
|
<view style="flex: 1;"> |
|
|
<view style="flex: 1;"> |
|
|
<view class=""> |
|
|
<view class=""> |
|
|
@ -174,7 +175,7 @@ |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
<view class="right"> |
|
|
<view class="right"> |
|
|
<img @tap.stop="makeCall(item.shopPhone)" |
|
|
<image @tap.stop="makeCall(item.shopPhone)" |
|
|
src="https://jewel-shop.oss-cn-beijing.aliyuncs.com/869a7af6a1c24bf3a0d523c4a18b55c6.png" |
|
|
src="https://jewel-shop.oss-cn-beijing.aliyuncs.com/869a7af6a1c24bf3a0d523c4a18b55c6.png" |
|
|
alt="" style="width: 60rpx;height: 60rpx;" /> |
|
|
alt="" style="width: 60rpx;height: 60rpx;" /> |
|
|
</view> |
|
|
</view> |
|
|
@ -186,7 +187,7 @@ |
|
|
</view> |
|
|
</view> |
|
|
<view class="goods-name" |
|
|
<view class="goods-name" |
|
|
style="font-size: 24rpx;line-height: 50rpx;display: flex;margin-top: 14rpx;"> |
|
|
style="font-size: 24rpx;line-height: 50rpx;display: flex;margin-top: 14rpx;"> |
|
|
<img src="https://jewel-shop.oss-cn-beijing.aliyuncs.com/d0764fb4138747769538cf1cafa3b017.png" |
|
|
<image src="https://jewel-shop.oss-cn-beijing.aliyuncs.com/d0764fb4138747769538cf1cafa3b017.png" |
|
|
alt="" style="width: 50rpx;height: 50rpx;" /> |
|
|
alt="" style="width: 50rpx;height: 50rpx;" /> |
|
|
<view style="flex: 1;"> |
|
|
<view style="flex: 1;"> |
|
|
<view class=""> |
|
|
<view class=""> |
|
|
@ -197,7 +198,7 @@ |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
<view class="right"> |
|
|
<view class="right"> |
|
|
<img @tap.stop="makeCall(item.receiverPhone)" |
|
|
<image @tap.stop="makeCall(item.receiverPhone)" |
|
|
src="https://jewel-shop.oss-cn-beijing.aliyuncs.com/869a7af6a1c24bf3a0d523c4a18b55c6.png" |
|
|
src="https://jewel-shop.oss-cn-beijing.aliyuncs.com/869a7af6a1c24bf3a0d523c4a18b55c6.png" |
|
|
alt="" style="width: 60rpx;height: 60rpx;" /> |
|
|
alt="" style="width: 60rpx;height: 60rpx;" /> |
|
|
</view> |
|
|
</view> |
|
|
@ -410,7 +411,7 @@ |
|
|
<view class="product-popup-list" v-if="productData != null && productData.length > 0"> |
|
|
<view class="product-popup-list" v-if="productData != null && productData.length > 0"> |
|
|
<view class="product-popup-card" v-for="(item1,index1) in productData" :key="index1"> |
|
|
<view class="product-popup-card" v-for="(item1,index1) in productData" :key="index1"> |
|
|
<view class="product-popup-img"> |
|
|
<view class="product-popup-img"> |
|
|
<img :src="item1.productPicture" alt=""> |
|
|
<image :src="item1.productPicture" alt=""> |
|
|
</view> |
|
|
</view> |
|
|
<view class="product-popup-info"> |
|
|
<view class="product-popup-info"> |
|
|
<view class="product-popup-name"> |
|
|
<view class="product-popup-name"> |
|
|
@ -435,7 +436,7 @@ |
|
|
<!-- 未注册兼职弹窗 --> |
|
|
<!-- 未注册兼职弹窗 --> |
|
|
<uni-popup ref="jianzhiPopup" background-color="rgba(2, 171, 255, 1)" borderRadius="40px 40px 40px 40px"> |
|
|
<uni-popup ref="jianzhiPopup" background-color="rgba(2, 171, 255, 1)" borderRadius="40px 40px 40px 40px"> |
|
|
<view class="jianzhi-content" @tap="createPartTimeWorker"> |
|
|
<view class="jianzhi-content" @tap="createPartTimeWorker"> |
|
|
<img src="https://jewel-shop.oss-cn-beijing.aliyuncs.com/faf25c687bc1417282ebac719fd1bfba.png" alt="" |
|
|
<image src="https://jewel-shop.oss-cn-beijing.aliyuncs.com/faf25c687bc1417282ebac719fd1bfba.png" alt="" |
|
|
style="width: 100%;height: 100%;"> |
|
|
style="width: 100%;height: 100%;"> |
|
|
<view class="jianzhi-close" @tap.stop="$refs.jianzhiPopup.close()"> |
|
|
<view class="jianzhi-close" @tap.stop="$refs.jianzhiPopup.close()"> |
|
|
<uni-icons type="close" size="40" color="#fff"></uni-icons> |
|
|
<uni-icons type="close" size="40" color="#fff"></uni-icons> |
|
|
@ -697,7 +698,7 @@ |
|
|
const redirectKey = 'login_redirect_' + Date.now() |
|
|
const redirectKey = 'login_redirect_' + Date.now() |
|
|
uni.setStorageSync(redirectKey, target) |
|
|
uni.setStorageSync(redirectKey, target) |
|
|
uni.navigateTo({ |
|
|
uni.navigateTo({ |
|
|
url: '/package2/login/login?redirect=' + redirectKey, |
|
|
url: '/pages/login/login?redirect=' + redirectKey, |
|
|
complete: () => { |
|
|
complete: () => { |
|
|
setTimeout(() => { |
|
|
setTimeout(() => { |
|
|
this.loginRedirecting = false |
|
|
this.loginRedirecting = false |
|
|
@ -708,7 +709,6 @@ |
|
|
}, |
|
|
}, |
|
|
init() { |
|
|
init() { |
|
|
if (!this.ensureLogin()) return |
|
|
if (!this.ensureLogin()) return |
|
|
this.menuButtonInfo = uni.getMenuButtonBoundingClientRect() |
|
|
|
|
|
let worker = uni.getStorageSync('worker') |
|
|
let worker = uni.getStorageSync('worker') |
|
|
if (worker == '' || worker == undefined || worker == null) { |
|
|
if (worker == '' || worker == undefined || worker == null) { |
|
|
uni.showToast({ |
|
|
uni.showToast({ |
|
|
@ -738,13 +738,13 @@ |
|
|
}, |
|
|
}, |
|
|
goDeliveryRanking() { |
|
|
goDeliveryRanking() { |
|
|
uni.navigateTo({ |
|
|
uni.navigateTo({ |
|
|
url: '/package2/shop/ranking' |
|
|
url: '/pages/worker/ranking' |
|
|
}) |
|
|
}) |
|
|
}, |
|
|
}, |
|
|
goPartTimeRegister() { |
|
|
goPartTimeRegister() { |
|
|
if (uni.getStorageSync('worker')) { |
|
|
if (uni.getStorageSync('worker')) { |
|
|
uni.navigateTo({ |
|
|
uni.navigateTo({ |
|
|
url: '/package2/myCenter/partTimeJobRegister' |
|
|
url: '/pages/worker/partTimeJobRegister' |
|
|
}) |
|
|
}) |
|
|
return |
|
|
return |
|
|
} |
|
|
} |
|
|
@ -756,7 +756,7 @@ |
|
|
if (worker) { |
|
|
if (worker) { |
|
|
this.$refs.jianzhiPopup.close() |
|
|
this.$refs.jianzhiPopup.close() |
|
|
uni.navigateTo({ |
|
|
uni.navigateTo({ |
|
|
url: '/package2/myCenter/partTimeJobRegister' |
|
|
url: '/pages/worker/partTimeJobRegister' |
|
|
}) |
|
|
}) |
|
|
return |
|
|
return |
|
|
} |
|
|
} |
|
|
@ -772,7 +772,7 @@ |
|
|
} |
|
|
} |
|
|
this.$refs.jianzhiPopup.close() |
|
|
this.$refs.jianzhiPopup.close() |
|
|
uni.navigateTo({ |
|
|
uni.navigateTo({ |
|
|
url: '/package2/myCenter/partTimeJobRegister' |
|
|
url: '/pages/worker/partTimeJobRegister' |
|
|
}) |
|
|
}) |
|
|
} else { |
|
|
} else { |
|
|
uni.showToast({ |
|
|
uni.showToast({ |
|
|
@ -903,7 +903,7 @@ |
|
|
if (!this.ensureLogin()) return |
|
|
if (!this.ensureLogin()) return |
|
|
let that = this |
|
|
let that = this |
|
|
that.isLoadingPage = true; |
|
|
that.isLoadingPage = true; |
|
|
this.NB.sendRequest("/mall/delivery/pagebyworker", this.searchForm, false, 'POST', 'application/x-www-form-urlencoded').then((res) => { |
|
|
this.NB.sendRequest("/mall/delivery/pagebyworker", this.searchForm, false, 'POST', 'application/json').then((res) => { |
|
|
that.isLoadingPage = false; |
|
|
that.isLoadingPage = false; |
|
|
that.loadStatus = 'nomore'; |
|
|
that.loadStatus = 'nomore'; |
|
|
if (res.code == 200) { |
|
|
if (res.code == 200) { |
|
|
@ -1695,7 +1695,7 @@ |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
.box1 { |
|
|
.box1 { |
|
|
width: 100%; |
|
|
width: 95%; |
|
|
margin: 20rpx auto 20rpx; |
|
|
margin: 20rpx auto 20rpx; |
|
|
background: #fff; |
|
|
background: #fff; |
|
|
border-radius: 20rpx; |
|
|
border-radius: 20rpx; |
|
|
@ -2361,7 +2361,7 @@ |
|
|
border-radius: 22rpx; |
|
|
border-radius: 22rpx; |
|
|
background: #f0f5f3; |
|
|
background: #f0f5f3; |
|
|
|
|
|
|
|
|
img { |
|
|
image { |
|
|
width: 100%; |
|
|
width: 100%; |
|
|
height: 100%; |
|
|
height: 100%; |
|
|
background-size: 100%; |
|
|
background-size: 100%; |
|
|
|