fixbug: 修改页面改造bug
This commit is contained in:
@@ -37,7 +37,7 @@
|
||||
</view>
|
||||
<view v-for="(addItem, addIndex) in item.addrTimes" :key="addIndex">
|
||||
<!-- 单个地址 -->
|
||||
<view v-if="addItem.address" class="shops_address_warp"
|
||||
<!-- <view v-if="addItem.address" class="shops_address_warp"
|
||||
@click="checkAddressShow(true, 'addrTimes', addIndex, index)">
|
||||
<view class="shops_address_warp_title">
|
||||
<text style="margin-right: 20rpx">{{ addItem.address.name }}</text>
|
||||
@@ -46,7 +46,7 @@
|
||||
<view>
|
||||
<up-image src="/static/common/right.png" width="16" height="16" bgColor="#f1f6ff00"></up-image>
|
||||
</view>
|
||||
</view>
|
||||
</view> -->
|
||||
<!-- 产品详情 -->
|
||||
<view v-if="ids" class="order_item_content" v-for="(pItem, pIndex) in addItem.goods" :key="pItem.id">
|
||||
<up-image :src="pItem.img" width="80" height="80" bgColor="#f1f6ff00"
|
||||
@@ -60,7 +60,7 @@
|
||||
<view class="content_right_total">
|
||||
<view>¥<text style="font-size: 36rpx">{{
|
||||
pItem.totalPrice
|
||||
}}</text></view>
|
||||
}}</text></view>
|
||||
<view>每件到手价¥{{ pItem.unitPrice }}</view>
|
||||
</view>
|
||||
<view class="shopping_info_quantity">
|
||||
@@ -84,7 +84,7 @@
|
||||
<view class="content_right_total">
|
||||
<view>¥<text style="font-size: 36rpx">{{
|
||||
pItem.totalPrice
|
||||
}}</text></view>
|
||||
}}</text></view>
|
||||
<view>每件到手价¥{{ pItem.unitPrice }}</view>
|
||||
</view>
|
||||
<view class="shopping_info_quantity">
|
||||
@@ -108,7 +108,7 @@
|
||||
<view class="order_freight_item">
|
||||
<view>运费<text style="color: #c0c3c6; margin-left: 20rpx">{{
|
||||
getValue(PRODUCT_DELIVERY_TIME, addItem.deliveryTime)
|
||||
}}</text></view>
|
||||
}}</text></view>
|
||||
<view class="value_">
|
||||
{{ orderInfo.postage ? "¥" + orderInfo.postage : "包邮" }}
|
||||
</view>
|
||||
@@ -201,7 +201,7 @@
|
||||
<view style="display: flex; align-items: center;">
|
||||
<view class="seckill-tag">限时秒杀</view>
|
||||
<view class="text-24 " style="margin-right:8rpx;color:#7934F6;font-size: 32rpx;font-weight: bold;">¥{{
|
||||
allOrderInfo.activity?.activityPrice}}</view>
|
||||
allOrderInfo.activity?.activityPrice }}</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="price-view" v-if="isCoupon">
|
||||
@@ -256,7 +256,7 @@
|
||||
</up-popup>
|
||||
|
||||
<!-- 选择地址 -->
|
||||
<up-popup v-model:show="addressShow" :round="10" :closeOnClickOverlay="false" :closeable="true"
|
||||
<up-popup v-model:show="addressShow" v-if="addressShow" :round="10" :closeOnClickOverlay="false" :closeable="true"
|
||||
:safeAreaInsetBottom="false" @close="checkAddressShow(false, null, 0, 0)">
|
||||
<view class="address_popup_warp">
|
||||
<view class="address_popup_title">收件地址</view>
|
||||
@@ -294,7 +294,8 @@
|
||||
<up-toast ref="uToastRef"></up-toast>
|
||||
|
||||
<!-- 优惠券选择弹框 -->
|
||||
<CouponDialog :show="couponShow" v-if="couponShow" @close="couponShow = false" @select="handleCouponSelect"></CouponDialog>
|
||||
<CouponDialog :show="couponShow" v-if="couponShow" @close="couponShow = false" @select="handleCouponSelect">
|
||||
</CouponDialog>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
@@ -541,8 +542,8 @@ export default {
|
||||
parmas.isDeduction = true;
|
||||
}
|
||||
|
||||
if(this.sed.activedType == "seckill"){
|
||||
parmas["types"] = "1,2,3";
|
||||
if (this.sed?.activedType == "seckill") {
|
||||
parmas["types"] = "1,2,3";
|
||||
}
|
||||
const result = await getSupportPay(parmas);
|
||||
if (result && result.bizcode === 100) {
|
||||
@@ -630,9 +631,10 @@ export default {
|
||||
if (resp && resp.bizcode === 100) {
|
||||
const data = resp.data;
|
||||
this.isPoints = data.type == 3 ? 1 : 0;
|
||||
console.log("秦星星data", data);
|
||||
this.orderInfo = {
|
||||
address: null,
|
||||
amount:this.sed?.activedType == "seckill" ? data.activity?.activityPrice :this.sed.goodsNum * this.sed.specsId.price || 0,
|
||||
amount: this.sed?.activedType == "seckill" ? data.activity?.activityPrice : this.sed.goodsNum * this.sed.specsId.price || 0,
|
||||
postage: 0,
|
||||
shops: [
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user