|
@@ -23,14 +23,16 @@
|
|
<view class="dir-left-nowrap cross-center" style="padding: 10rpx 0;line-height: 1.2;">
|
|
<view class="dir-left-nowrap cross-center" style="padding: 10rpx 0;line-height: 1.2;">
|
|
<!-- 商户名start -->
|
|
<!-- 商户名start -->
|
|
<view class="box-grow-0">
|
|
<view class="box-grow-0">
|
|
- <image src="https://shop.9026.com/web/statics/image/mall/static/icon/store-black.png" class="title-icon mr-12"></image>
|
|
|
|
|
|
+ <image
|
|
|
|
+ src="https://shop.9026.com/web/statics/image/mall/static/icon/store-black.png"
|
|
|
|
+ class="title-icon mr-12"></image>
|
|
</view>
|
|
</view>
|
|
<view class="box-grow-1 font-bold ellipsis-1">{{mch.mch.name}}</view>
|
|
<view class="box-grow-1 font-bold ellipsis-1">{{mch.mch.name}}</view>
|
|
<view
|
|
<view
|
|
v-if="mch.mch.id > 0 && mch.delivery && mch.delivery.send_type === 'offline' && mch.store && mch.store.distance != '-m'"
|
|
v-if="mch.mch.id > 0 && mch.delivery && mch.delivery.send_type === 'offline' && mch.store && mch.store.distance != '-m'"
|
|
class="box-grow-0 dir-left-nowrap cross-center">
|
|
class="box-grow-0 dir-left-nowrap cross-center">
|
|
- <image src="https://shop.9026.com/web/statics/image/mall/static/icon/location.png" class="mr-12"
|
|
|
|
- style="display: block; width: 22rpx;height: 26rpx;"></image>
|
|
|
|
|
|
+ <image src="https://shop.9026.com/web/statics/image/mall/static/icon/location.png"
|
|
|
|
+ class="mr-12" style="display: block; width: 22rpx;height: 26rpx;"></image>
|
|
<view>距您{{mch.store.distance}}</view>
|
|
<view>距您{{mch.store.distance}}</view>
|
|
</view>
|
|
</view>
|
|
</view><!-- 商户名end -->
|
|
</view><!-- 商户名end -->
|
|
@@ -47,21 +49,25 @@
|
|
<view @click="navigateStore(mchIndex)"
|
|
<view @click="navigateStore(mchIndex)"
|
|
class="box-grow-1 dir-left-nowrap cross-center">
|
|
class="box-grow-1 dir-left-nowrap cross-center">
|
|
<view>
|
|
<view>
|
|
- <image src="https://shop.9026.com/web/statics/image/mall/static/icon/navigation-black.png"
|
|
|
|
|
|
+ <image
|
|
|
|
+ src="https://shop.9026.com/web/statics/image/mall/static/icon/navigation-black.png"
|
|
class="title-icon mr-12"></image>
|
|
class="title-icon mr-12"></image>
|
|
</view>
|
|
</view>
|
|
<view class="font-bold ellipsis-1 mr-12">
|
|
<view class="font-bold ellipsis-1 mr-12">
|
|
{{mch.store.name}}
|
|
{{mch.store.name}}
|
|
</view>
|
|
</view>
|
|
<view class="mr-12">
|
|
<view class="mr-12">
|
|
- <image src="https://shop.9026.com/web/statics/image/mall/static/icon/right.png" class="mr-12"
|
|
|
|
- style="width: 12rpx; height: 22rpx;"></image>
|
|
|
|
|
|
+ <image
|
|
|
|
+ src="https://shop.9026.com/web/statics/image/mall/static/icon/right.png"
|
|
|
|
+ class="mr-12" style="width: 12rpx; height: 22rpx;"></image>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<view v-if="mch.store.distance != '-m' || getLocationFail"
|
|
<view v-if="mch.store.distance != '-m' || getLocationFail"
|
|
class="box-grow-0 dir-left-nowrap cross-center">
|
|
class="box-grow-0 dir-left-nowrap cross-center">
|
|
<view>
|
|
<view>
|
|
- <image src="https://shop.9026.com/web/statics/image/mall/static/icon/location.png" class="mr-12"
|
|
|
|
|
|
+ <image
|
|
|
|
+ src="https://shop.9026.com/web/statics/image/mall/static/icon/location.png"
|
|
|
|
+ class="mr-12"
|
|
style="display: block; width: 22rpx;height: 26rpx;"></image>
|
|
style="display: block; width: 22rpx;height: 26rpx;"></image>
|
|
</view>
|
|
</view>
|
|
<view v-if="getLocationFail" @click.stop="openLocationSetting"
|
|
<view v-if="getLocationFail" @click.stop="openLocationSetting"
|
|
@@ -83,14 +89,16 @@
|
|
<view v-else class="dir-left-nowrap cross-center" @click="navigateStore(mchIndex)"
|
|
<view v-else class="dir-left-nowrap cross-center" @click="navigateStore(mchIndex)"
|
|
style="padding: 10rpx 0;">
|
|
style="padding: 10rpx 0;">
|
|
<view class="box-grow-1 dir-left-nowrap">
|
|
<view class="box-grow-1 dir-left-nowrap">
|
|
- <image src="https://shop.9026.com/web/statics/image/mall/static/icon/navigation-black.png"
|
|
|
|
|
|
+ <image
|
|
|
|
+ src="https://shop.9026.com/web/statics/image/mall/static/icon/navigation-black.png"
|
|
class="title-icon mr-12"></image>
|
|
class="title-icon mr-12"></image>
|
|
<view class="mr-12 font-bold">选择门店</view>
|
|
<view class="mr-12 font-bold">选择门店</view>
|
|
</view>
|
|
</view>
|
|
<view class="box-grow-0 dir-left-nowrap cross-center">
|
|
<view class="box-grow-0 dir-left-nowrap cross-center">
|
|
<view class="mr-12 font-gray">请选择门店</view>
|
|
<view class="mr-12 font-gray">请选择门店</view>
|
|
- <image src="https://shop.9026.com/web/statics/image/mall/static/icon/arrow-right.png" class="mr-12"
|
|
|
|
- style="width: 12rpx; height: 22rpx;"></image>
|
|
|
|
|
|
+ <image
|
|
|
|
+ src="https://shop.9026.com/web/statics/image/mall/static/icon/arrow-right.png"
|
|
|
|
+ class="mr-12" style="width: 12rpx; height: 22rpx;"></image>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</template>
|
|
</template>
|
|
@@ -168,7 +176,8 @@
|
|
</view>
|
|
</view>
|
|
<view class="box-grow-0 mr-12 font-gray" v-else>选择优惠券</view>
|
|
<view class="box-grow-0 mr-12 font-gray" v-else>选择优惠券</view>
|
|
<view class="box-grow-0">
|
|
<view class="box-grow-0">
|
|
- <image src="https://shop.9026.com/web/statics/image/mall/static/icon/arrow-right.png"
|
|
|
|
|
|
+ <image
|
|
|
|
+ src="https://shop.9026.com/web/statics/image/mall/static/icon/arrow-right.png"
|
|
style="width: 12rpx; height: 22rpx; margin-bottom: -2rpx;"></image>
|
|
style="width: 12rpx; height: 22rpx; margin-bottom: -2rpx;"></image>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
@@ -289,40 +298,57 @@
|
|
<template>
|
|
<template>
|
|
<view class="dir-left-nowrap cross-center" style="height: 84rpx; padding: 0 32rpx;">
|
|
<view class="dir-left-nowrap cross-center" style="height: 84rpx; padding: 0 32rpx;">
|
|
<view class="box-grow-1">支付方式</view>
|
|
<view class="box-grow-1">支付方式</view>
|
|
- <view class="box-grow-0" >
|
|
|
|
|
|
+ <view class="box-grow-0">
|
|
微信支付
|
|
微信支付
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<view class="dir-left-nowrap cross-center" style="height: 84rpx; padding: 0 32rpx;">
|
|
<view class="dir-left-nowrap cross-center" style="height: 84rpx; padding: 0 32rpx;">
|
|
<view class="box-grow-1">配送方式</view>
|
|
<view class="box-grow-1">配送方式</view>
|
|
- <view class="box-grow-0" >
|
|
|
|
|
|
+ <view class="box-grow-0">
|
|
快递配送
|
|
快递配送
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</template>
|
|
</template>
|
|
- <template >
|
|
|
|
|
|
+ <template>
|
|
<!-- 申请发票start -->
|
|
<!-- 申请发票start -->
|
|
<view class="dir-left-nowrap cross-center" style="height: 84rpx; padding: 0 32rpx;">
|
|
<view class="dir-left-nowrap cross-center" style="height: 84rpx; padding: 0 32rpx;">
|
|
<view class="box-grow-1">发票</view>
|
|
<view class="box-grow-1">发票</view>
|
|
<view class="box-grow-0">
|
|
<view class="box-grow-0">
|
|
<label>
|
|
<label>
|
|
- <checkbox class="fp" :value="1" checked="false" color="#AE8445" style="transform:scale(0.7)" />
|
|
|
|
|
|
+ <checkbox @click="isNeedInvoice=!isNeedInvoice" :checked="isNeedInvoice"
|
|
|
|
+ color="#ffffff" style="transform:scale(0.7)" />
|
|
</label>
|
|
</label>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
- <view style="font-size: 24rpx;font-weight: 500;color: #AE8445;line-height: 46rpx;text-align: right;padding: 0 32rpx;">编辑发票资料</view>
|
|
|
|
-
|
|
|
|
- <view class="dir-left-nowrap cross-center" style="height: 84rpx; padding: 0 32rpx;">
|
|
|
|
|
|
+ <view v-show="isNeedInvoice"
|
|
|
|
+ style="font-size: 24rpx;font-weight: 500;color: #AE8445;line-height: 46rpx;text-align: right;padding: 0 32rpx;"
|
|
|
|
+ @click="navigateInvoice">编辑发票资料</view>
|
|
|
|
+
|
|
|
|
+ <view v-show="isNeedInvoice" class="dir-left-nowrap cross-center"
|
|
|
|
+ style="height: 84rpx; padding: 0 32rpx;">
|
|
<view class="box-grow-1">发票收货地址</view>
|
|
<view class="box-grow-1">发票收货地址</view>
|
|
<view class="box-grow-0">
|
|
<view class="box-grow-0">
|
|
<label>
|
|
<label>
|
|
- <checkbox class="fp" :value="1" checked="false" color="#AE8445" style="transform:scale(0.7)" />
|
|
|
|
|
|
+ <checkbox :value="1" checked="false" color="#ffffff"
|
|
|
|
+ style="transform:scale(0.7)" />
|
|
</label>
|
|
</label>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
- <view style="font-size: 24rpx;font-weight: 500;color: #AE8445;line-height: 46rpx;text-align: right;padding: 0 32rpx;">填写收货地址</view>
|
|
|
|
|
|
+ <view v-show="isNeedInvoice"
|
|
|
|
+ style="font-size: 24rpx;font-weight: 500;color: #AE8445;line-height: 46rpx;text-align: right;padding: 0 32rpx;"
|
|
|
|
+ @click="navigateInvoiceAddr">填写收货地址</view>
|
|
|
|
+
|
|
</template><!-- 申请发票end -->
|
|
</template><!-- 申请发票end -->
|
|
-
|
|
|
|
|
|
+ <template>
|
|
|
|
+ <!-- 买家留言start -->
|
|
|
|
+ <view class="dir-left-nowrap cross-center" style="min-height: 84rpx; padding: 0 32rpx;">
|
|
|
|
+ <view class="box-grow-1">买家留言</view>
|
|
|
|
+ <view class="box-grow-0">
|
|
|
|
+ <textarea type="text" style="width: 460rpx;" maxlength="50" auto-height placeholder="填写您想要备注的信息,50字以内" placeholder-style="font-size: 24rpx;font-weight: 500;color: #999999;" />
|
|
|
|
+ </view>
|
|
|
|
+ </view>
|
|
|
|
+ </template><!-- 买家留言end -->
|
|
|
|
+
|
|
<template v-if="mch.show_express_price !== false">
|
|
<template v-if="mch.show_express_price !== false">
|
|
<!-- 运费信息start -->
|
|
<!-- 运费信息start -->
|
|
<view class="dir-left-nowrap cross-center" style="height: 84rpx; padding: 0 32rpx;">
|
|
<view class="dir-left-nowrap cross-center" style="height: 84rpx; padding: 0 32rpx;">
|
|
@@ -456,11 +482,13 @@
|
|
<text v-for="(custom_currency, ccIndex) in previewData.custom_currency_all" :key="ccIndex">
|
|
<text v-for="(custom_currency, ccIndex) in previewData.custom_currency_all" :key="ccIndex">
|
|
{{custom_currency}}+
|
|
{{custom_currency}}+
|
|
</text>
|
|
</text>
|
|
- <template v-if="previewData.vip_card_discount_total_price">
|
|
|
|
- ¥{{balance <0 ? setPrice(previewData.vip_card_discount_total_price, balance) : FlorPrice(previewData.vip_card_discount_total_price)}}
|
|
|
|
- </template>
|
|
|
|
- <template
|
|
|
|
- v-else>¥{{balance <0 ? setPrice(previewData.total_price, balance) : FlorPrice(previewData.total_price)}}</template>
|
|
|
|
|
|
+ <text style="font-size: 30rpx;font-weight: bold;color: #F93F3F;">
|
|
|
|
+ <template v-if="previewData.vip_card_discount_total_price">
|
|
|
|
+ ¥{{balance <0 ? setPrice(previewData.vip_card_discount_total_price, balance) : FlorPrice(previewData.vip_card_discount_total_price)}}
|
|
|
|
+ </template>
|
|
|
|
+ <template
|
|
|
|
+ v-else>¥{{balance <0 ? setPrice(previewData.total_price, balance) : FlorPrice(previewData.total_price)}}</template>
|
|
|
|
+ </text>
|
|
</view>
|
|
</view>
|
|
<view v-if="previewData.vip_card_price > 0" :class="[themeTextClass]"
|
|
<view v-if="previewData.vip_card_price > 0" :class="[themeTextClass]"
|
|
:style="{'color': !is_gift ? theme.color : '','font-size': '20rpx'}">包含SVIP费用:
|
|
:style="{'color': !is_gift ? theme.color : '','font-size': '20rpx'}">包含SVIP费用:
|
|
@@ -472,13 +500,13 @@
|
|
<view @click="subscribe" class="submit-btn u-submit-bar-height box-grow-0 main-center cross-center"
|
|
<view @click="subscribe" class="submit-btn u-submit-bar-height box-grow-0 main-center cross-center"
|
|
:class="[ submitLock? ' lock' : '', themeBgClass]"
|
|
:class="[ submitLock? ' lock' : '', themeBgClass]"
|
|
:style="{'background-color': !is_gift ? theme.background : ''}">
|
|
:style="{'background-color': !is_gift ? theme.background : ''}">
|
|
- <view style="background-color: transparent;color:#ffffff; text-align: center;">提交订单</view>
|
|
|
|
|
|
+ <view style="background-color: transparent;color:#ffffff; text-align: center;">去支付</view>
|
|
</view>
|
|
</view>
|
|
</template>
|
|
</template>
|
|
<template v-else>
|
|
<template v-else>
|
|
<view class="submit-btn u-submit-bar-height box-grow-0 main-center cross-center disabled"
|
|
<view class="submit-btn u-submit-bar-height box-grow-0 main-center cross-center disabled"
|
|
:class="[themeTextClass]" :style="{'color': !is_gift ? theme.color : ''}">
|
|
:class="[themeTextClass]" :style="{'color': !is_gift ? theme.color : ''}">
|
|
- <view style="background-color: transparent;color: #ffffff; text-align: center;">提交订单</view>
|
|
|
|
|
|
+ <view style="background-color: transparent;color: #ffffff; text-align: center;">去支付</view>
|
|
</view>
|
|
</view>
|
|
</template>
|
|
</template>
|
|
</view>
|
|
</view>
|
|
@@ -513,6 +541,7 @@
|
|
},
|
|
},
|
|
data() {
|
|
data() {
|
|
return {
|
|
return {
|
|
|
|
+ isNeedInvoice: false, //是否需要发票
|
|
balance: 0, // 余额
|
|
balance: 0, // 余额
|
|
totalTitle: '合计',
|
|
totalTitle: '合计',
|
|
check: false,
|
|
check: false,
|
|
@@ -839,6 +868,16 @@
|
|
url: `/pages/order-submit/store-pick?mchIndex=${mchIndex}&plugin=${plugin}&firstGoodsId=${firstGoodsId}`,
|
|
url: `/pages/order-submit/store-pick?mchIndex=${mchIndex}&plugin=${plugin}&firstGoodsId=${firstGoodsId}`,
|
|
});
|
|
});
|
|
},
|
|
},
|
|
|
|
+ navigateInvoice() {
|
|
|
|
+ uni.navigateTo({
|
|
|
|
+ url: '/pages/order-submit/invoice/invoice'
|
|
|
|
+ })
|
|
|
|
+ },
|
|
|
|
+ navigateInvoiceAddr() {
|
|
|
|
+ uni.navigateTo({
|
|
|
|
+ url: '/pages/order-submit/invoice/invoiceAddr'
|
|
|
|
+ })
|
|
|
|
+ },
|
|
navigateCoupon(mchIndex) {
|
|
navigateCoupon(mchIndex) {
|
|
uni.navigateTo({
|
|
uni.navigateTo({
|
|
url: `/pages/order-submit/coupon-pick?mchIndex=${mchIndex}`,
|
|
url: `/pages/order-submit/coupon-pick?mchIndex=${mchIndex}`,
|
|
@@ -1509,7 +1548,7 @@
|
|
.submit-btn {
|
|
.submit-btn {
|
|
width: 240upx;
|
|
width: 240upx;
|
|
text-align: center;
|
|
text-align: center;
|
|
- border-radius: 41upx;
|
|
|
|
|
|
+ // border-radius: 41upx;
|
|
}
|
|
}
|
|
|
|
|
|
.submit-btn:active {
|
|
.submit-btn:active {
|
|
@@ -1560,6 +1599,4 @@
|
|
color: #FF4544;
|
|
color: #FF4544;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
-
|
|
|
|
-
|
|
|
|
</style>
|
|
</style>
|