|
|
|
@ -211,78 +211,85 @@ |
|
|
|
style="transform: scale(0.7);text-align: right;" /> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view style="height: 50rpx;line-height: 50rpx;font-weight: 700;display: flex;"> |
|
|
|
外卖规则 |
|
|
|
<view @tap="allCheck('waimai')" v-if="zhipaiCheck" style="color: #1E90FF;flex:1;text-align: right;padding-right: 20rpx;"> |
|
|
|
全选 |
|
|
|
<scroll-view scroll-y="true" style="max-height: 660rpx;"> |
|
|
|
<view style="height: 50rpx;line-height: 50rpx;font-weight: 700;display: flex;"> |
|
|
|
外卖规则 |
|
|
|
<view @tap="allCheck('waimai')" v-if="zhipaiCheck" style="color: #1E90FF;flex:1;text-align: right;padding-right: 20rpx;"> |
|
|
|
全选 |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="guize1" v-for="(item, index) in waimaRuleList" :key="index" |
|
|
|
style="flex-direction: column; padding-bottom: 20rpx; border-bottom: 1px solid #ddd;position: relative;"> |
|
|
|
|
|
|
|
<view v-if="!zhipaiCheck" style="position: absolute;top: 0;left: 0;width: 100%;height: 100%;background: rgba(255, 255, 255, 0.5);"></view> |
|
|
|
<view style="display: flex; width: 100%;" @tap="checkVoucher(index,'waimai')"> |
|
|
|
<view class="guize1-qusong"> |
|
|
|
<view class="qusong1"> |
|
|
|
取 |
|
|
|
</view> |
|
|
|
<view class="qusong2"> |
|
|
|
{{item.getAreaName}} |
|
|
|
<view class="guize1" v-for="(item, index) in waimaRuleList" :key="index" |
|
|
|
style="flex-direction: column; padding-bottom: 20rpx; border-bottom: 1px solid #ddd;position: relative;"> |
|
|
|
|
|
|
|
<view v-if="!zhipaiCheck" style="position: absolute;top: 0;left: 0;width: 100%;height: 100%;background: rgba(255, 255, 255, 0.5);"></view> |
|
|
|
<view style="display: flex; width: 100%;" @tap="checkVoucher(index,'waimai')"> |
|
|
|
<view class="guize1-qusong"> |
|
|
|
<view class="qusong1"> |
|
|
|
取 |
|
|
|
</view> |
|
|
|
<view class="qusong2"> |
|
|
|
{{item.getAreaName}} |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="guize1-qusong"> |
|
|
|
<view class="qusong1"> |
|
|
|
送 |
|
|
|
<view class="guize1-qusong"> |
|
|
|
<view class="qusong1"> |
|
|
|
送 |
|
|
|
</view> |
|
|
|
<view class="qusong2" style="background: rgba(209, 206, 255, 1);"> |
|
|
|
{{item.putAreaName}} |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="qusong2" style="background: rgba(209, 206, 255, 1);"> |
|
|
|
{{item.putAreaName}} |
|
|
|
<view class="radio-check" v-if="item.isChecked"> |
|
|
|
<uni-icons type="checkmarkempty" size="12"></uni-icons> |
|
|
|
</view> |
|
|
|
<view class="radio-no-check" v-else></view> |
|
|
|
<!-- <uni-icons type="closeempty" size="20" @click="selectRule(item)" color="#ff0000" |
|
|
|
style="margin-left:5px;"></uni-icons> --> |
|
|
|
</view> |
|
|
|
<view class="radio-check" v-if="item.isChecked"> |
|
|
|
<uni-icons type="checkmarkempty" size="12"></uni-icons> |
|
|
|
</view> |
|
|
|
<view class="radio-no-check" v-else></view> |
|
|
|
<!-- <uni-icons type="closeempty" size="20" @click="selectRule(item)" color="#ff0000" |
|
|
|
style="margin-left:5px;"></uni-icons> --> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view style="height: 50rpx;line-height: 50rpx;font-weight: 700;display: flex;"> |
|
|
|
跑腿规则 |
|
|
|
<view @tap="allCheck('paotui')" v-if="zhipaiCheck" style="color: #1E90FF;flex:1;text-align: right;padding-right: 20rpx;"> |
|
|
|
全选 |
|
|
|
<view style="height: 50rpx;line-height: 50rpx;font-weight: 700;display: flex;"> |
|
|
|
跑腿规则 |
|
|
|
<view @tap="allCheck('paotui')" v-if="zhipaiCheck" style="color: #1E90FF;flex:1;text-align: right;padding-right: 20rpx;"> |
|
|
|
全选 |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="guize1" v-for="(item, index) in paotuiRuleList" :key="index" |
|
|
|
style="flex-direction: column; padding-bottom: 20rpx; border-bottom: 1px solid #ddd;position: relative;"> |
|
|
|
|
|
|
|
<view v-if="!zhipaiCheck" style="position: absolute;top: 0;left: 0;width: 100%;height: 100%;background: rgba(255, 255, 255, 0.5);"></view> |
|
|
|
<view style="display: flex; width: 100%;" @tap="checkVoucher(index,'paotui')"> |
|
|
|
<view class="guize1-qusong"> |
|
|
|
<view class="qusong1"> |
|
|
|
取 |
|
|
|
</view> |
|
|
|
<view class="qusong2"> |
|
|
|
{{item.getAreaName}} |
|
|
|
<view class="guize1" v-for="(item, index) in paotuiRuleList" :key="index" |
|
|
|
style="flex-direction: column; padding-bottom: 20rpx; border-bottom: 1px solid #ddd;position: relative;"> |
|
|
|
|
|
|
|
<view v-if="!zhipaiCheck" style="position: absolute;top: 0;left: 0;width: 100%;height: 100%;background: rgba(255, 255, 255, 0.5);"></view> |
|
|
|
<view style="display: flex; width: 100%;" @tap="checkVoucher(index,'paotui')"> |
|
|
|
<view class="guize1-qusong"> |
|
|
|
<view class="qusong1"> |
|
|
|
取 |
|
|
|
</view> |
|
|
|
<view class="qusong2"> |
|
|
|
{{item.getAreaName}} |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="guize1-qusong"> |
|
|
|
<view class="qusong1"> |
|
|
|
送 |
|
|
|
<view class="guize1-qusong"> |
|
|
|
<view class="qusong1"> |
|
|
|
送 |
|
|
|
</view> |
|
|
|
<view class="qusong2" style="background: rgba(209, 206, 255, 1);"> |
|
|
|
{{item.putAreaName}} |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="qusong2" style="background: rgba(209, 206, 255, 1);"> |
|
|
|
{{item.putAreaName}} |
|
|
|
<view class="radio-check" v-if="item.isChecked"> |
|
|
|
<uni-icons type="checkmarkempty" size="12"></uni-icons> |
|
|
|
</view> |
|
|
|
<view class="radio-no-check" v-else></view> |
|
|
|
<!-- <uni-icons type="closeempty" size="20" @click="selectRule(item)" color="#ff0000" |
|
|
|
style="margin-left:5px;"></uni-icons> --> |
|
|
|
</view> |
|
|
|
<view class="radio-check" v-if="item.isChecked"> |
|
|
|
<uni-icons type="checkmarkempty" size="12"></uni-icons> |
|
|
|
</view> |
|
|
|
<view class="radio-no-check" v-else></view> |
|
|
|
<!-- <uni-icons type="closeempty" size="20" @click="selectRule(item)" color="#ff0000" |
|
|
|
style="margin-left:5px;"></uni-icons> --> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="btn" @tap="selectRule"> |
|
|
|
确认修改 |
|
|
|
</scroll-view> |
|
|
|
<view style="display: flex;position: absolute;bottom: 0;width: 93%;"> |
|
|
|
<view class="btn" @tap="selectRule"> |
|
|
|
确认规则 |
|
|
|
</view> |
|
|
|
<view class="btn" @tap="buchong"> |
|
|
|
补充规则 |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</uni-popup> |
|
|
|
@ -509,6 +516,13 @@ |
|
|
|
this.productData = item.goodsList; |
|
|
|
this.$refs.productPopup.open() |
|
|
|
}, |
|
|
|
buchong(){ |
|
|
|
this.$refs.carPopup.close() |
|
|
|
uni.navigateTo({ |
|
|
|
url:'/package1/myCenter/partTimeJobRegister' |
|
|
|
}) |
|
|
|
|
|
|
|
}, |
|
|
|
selectRule(item) { |
|
|
|
//TODO 这里应该改成 复选,选中的遍历再放进来 |
|
|
|
// let rule = { |
|
|
|
@ -907,11 +921,12 @@ |
|
|
|
|
|
|
|
.guize-list { |
|
|
|
width: 600rpx; |
|
|
|
padding: 20rpx; |
|
|
|
overflow: scroll; |
|
|
|
padding: 20rpx 20rpx 0; |
|
|
|
background: #fff; |
|
|
|
border-radius: 20rpx; |
|
|
|
max-height: 1000rpx; |
|
|
|
max-height: 1000rpx; |
|
|
|
min-height: 640rpx; |
|
|
|
position: relative; |
|
|
|
} |
|
|
|
|
|
|
|
.zhipai-box { |
|
|
|
@ -995,7 +1010,8 @@ |
|
|
|
border-radius: 100rpx; |
|
|
|
line-height: 100rpx; |
|
|
|
text-align: center; |
|
|
|
margin: 40rpx auto; |
|
|
|
margin: 20rpx 20rpx; |
|
|
|
flex: 1; |
|
|
|
} |
|
|
|
.code-box{ |
|
|
|
display: inline-block; |
|
|
|
|