|
|
@@ -69,38 +69,52 @@
|
|
|
</text>
|
|
|
<text v-else style="color: #3385FF;width:100%;">到店取货,没有配送费</text>
|
|
|
</view>
|
|
|
- <view v-if="form.sendType == 2">
|
|
|
- <view v-if="form.openIntraCity == 0">
|
|
|
- <text style="color: #3385FF;width:100%;font-size:32upx;font-weight:bold;">运费自理或到付(请联系客服)</text>
|
|
|
- </view>
|
|
|
- <view v-if="form.openIntraCity == 2">
|
|
|
- <text style="color: red;width:100%;font-size:32upx;font-weight:bold;">跑腿配送暂不可用,请选其它方式</text>
|
|
|
- </view>
|
|
|
- <!-- 跑腿平台报价列表 -->
|
|
|
- <view v-if="form.openIntraCity == 1 && deliveryQuotes.length > 0" class="delivery-quotes-container">
|
|
|
- <view class="delivery-quotes-grid">
|
|
|
- <view
|
|
|
- v-for="(item, index) in deliveryQuotes"
|
|
|
- :key="index"
|
|
|
- class="delivery-quote-item"
|
|
|
- :class="{
|
|
|
- 'active': selectedDeliveryIndex === index,
|
|
|
- 'disabled': !item.isAble,
|
|
|
- 'fixed-width': deliveryQuotes.length <= 2
|
|
|
- }"
|
|
|
- @click="selectDelivery(item, index)"
|
|
|
- >
|
|
|
- <view class="platform-name">{{ item.displayName || item.name }}</view>
|
|
|
- <view class="platform-price">{{ item.priceText }}元</view>
|
|
|
- <view v-if="item.type" class="platform-type">{{ item.type }}</view>
|
|
|
+ </tui-list-cell>
|
|
|
+ <tui-list-cell class="line-cell" :hover="false" :arrow="true" v-if="form.sendType == 2 || form.sendType == 0" @click="modifyAddress">
|
|
|
+ <view class="tui-title">收花地址</view>
|
|
|
+ <view v-if="!$util.isEmpty(userInfo.lat) && !$util.isEmpty(userInfo.long)">
|
|
|
+ <view><text>{{userInfo.address}}</text></view>
|
|
|
+ <view v-if="userInfo.showAddress!=userInfo.fullAddress" style="color:#848181;"><text>{{userInfo.showAddress}}</text></view>
|
|
|
+ </view>
|
|
|
+ <view v-else>
|
|
|
+ <view><text style="color:#CCCCCC;">请填写地址</text></view>
|
|
|
+ </view>
|
|
|
+ </tui-list-cell>
|
|
|
+ <block v-if="form.sendType == 2">
|
|
|
+ <tui-list-cell class="line-cell" :hover="false" :arrow="false">
|
|
|
+ <view>
|
|
|
+ <view v-if="form.openIntraCity == 0">
|
|
|
+ <text style="color: #3385FF;width:100%;font-size:32upx;font-weight:bold;">运费自理或到付(请联系客服)</text>
|
|
|
+ </view>
|
|
|
+ <view v-if="form.openIntraCity == 2">
|
|
|
+ <text style="color: red;width:100%;font-size:32upx;font-weight:bold;">跑腿配送暂不可用,请选其它方式</text>
|
|
|
+ </view>
|
|
|
+ <!-- 跑腿平台报价列表 -->
|
|
|
+ <view v-if="form.openIntraCity == 1 && deliveryQuotes.length > 0" class="delivery-quotes-container">
|
|
|
+ <view class="delivery-quotes-grid">
|
|
|
+ <view
|
|
|
+ v-for="(item, index) in deliveryQuotes"
|
|
|
+ :key="index"
|
|
|
+ class="delivery-quote-item"
|
|
|
+ :class="{
|
|
|
+ 'active': selectedDeliveryIndex === index,
|
|
|
+ 'disabled': !item.isAble,
|
|
|
+ 'fixed-width': deliveryQuotes.length <= 2
|
|
|
+ }"
|
|
|
+ @click="selectDelivery(item, index)"
|
|
|
+ >
|
|
|
+ <view class="platform-name">{{ item.displayName || item.name }}</view>
|
|
|
+ <view class="platform-price">{{ item.priceText }}元</view>
|
|
|
+ <view v-if="item.type" class="platform-type">{{ item.type }}</view>
|
|
|
+ </view>
|
|
|
</view>
|
|
|
</view>
|
|
|
+ <view v-else-if="form.openIntraCity == 1 && deliveryQuotesLoading" style="text-align: center; padding: 20upx 0; color: #999;">
|
|
|
+ 正在获取报价...
|
|
|
+ </view>
|
|
|
</view>
|
|
|
- <view v-else-if="form.openIntraCity == 1 && deliveryQuotesLoading" style="text-align: center; padding: 20upx 0; color: #999;">
|
|
|
- 正在获取报价...
|
|
|
- </view>
|
|
|
- </view>
|
|
|
- </tui-list-cell>
|
|
|
+ </tui-list-cell>
|
|
|
+ </block>
|
|
|
<block v-if="form.openIntraCity == 1">
|
|
|
<tui-list-cell class="line-cell" :hover="false" v-if="displaySendCost == true && Number(showDistance)>0">
|
|
|
<view class="tui-title">距离</view>
|
|
|
@@ -118,16 +132,6 @@
|
|
|
</view>
|
|
|
</tui-list-cell>
|
|
|
</block>
|
|
|
- <tui-list-cell class="line-cell" :hover="false" :arrow="true" v-if="form.sendType == 2 || form.sendType == 0" @click="modifyAddress">
|
|
|
- <view class="tui-title">收花地址</view>
|
|
|
- <view v-if="!$util.isEmpty(userInfo.lat) && !$util.isEmpty(userInfo.long)">
|
|
|
- <view><text>{{userInfo.address}}</text></view>
|
|
|
- <view v-if="userInfo.showAddress!=userInfo.fullAddress" style="color:#848181;"><text>{{userInfo.showAddress}}</text></view>
|
|
|
- </view>
|
|
|
- <view v-else>
|
|
|
- <view><text style="color:#CCCCCC;">请填写地址</text></view>
|
|
|
- </view>
|
|
|
- </tui-list-cell>
|
|
|
|
|
|
<tui-list-cell class="line-cell" :hover="false" v-if="(form.sendType == 2 || form.sendType == 0)&& Number(form.packCost)>0">
|
|
|
<view class="tui-title">打包费</view>
|
|
|
@@ -1212,8 +1216,9 @@ export default {
|
|
|
|
|
|
.delivery-policy-link {
|
|
|
color: rgb(201, 52, 52);
|
|
|
- font-size: 28upx;
|
|
|
- margin-left: 26upx;
|
|
|
+ font-size: 32upx;
|
|
|
+ margin-left: 10upx;
|
|
|
+ font-weight:bold;
|
|
|
text-decoration: underline;
|
|
|
}
|
|
|
|