Compare commits
2 Commits
41f6f612fa
...
3afa2e8c10
| Author | SHA1 | Date | |
|---|---|---|---|
| 3afa2e8c10 | |||
| 7d1083bf5c |
@ -238,7 +238,7 @@ export const PAY_ORDER_NEW = "/ttpay/jsapi";
|
||||
// 订单列表
|
||||
export const SHOP_ORDER_LIST = "/douyin/goods/order/list";
|
||||
// 订单详情
|
||||
export const SHOP_ORDER_DETAILS = "/product/order/show";
|
||||
export const SHOP_ORDER_DETAILS = "/douyin/goods/order/show";
|
||||
// 取消订单
|
||||
export const SHOP_ORDER_CANCEL = '/app/order/order_quxiao'
|
||||
// 提醒发货
|
||||
|
||||
@ -5,7 +5,7 @@
|
||||
<view class="good-content" @click="$emit('clickGoodInfo', data[0])">
|
||||
<view class="goods-row-first">
|
||||
<view class="goods-name">{{ data[0].goods_name || "" }}</view>
|
||||
<text class="goods-price">¥{{ data[0].goods_price || actual_price }}</text>
|
||||
<text class="goods-price">¥{{ data[0].goods_price || data[0].product_actual_price }}</text>
|
||||
</view>
|
||||
<view class="goods-row-second">
|
||||
<view class="goods-spec">
|
||||
@ -24,7 +24,7 @@
|
||||
<view class="good-info-right">
|
||||
<text class="good-total-price">¥{{ actual_price }}</text>
|
||||
<text class="fs-24 app-fc-normal good-num">
|
||||
共1件
|
||||
共{{ totalCount }}件
|
||||
</text>
|
||||
</view>
|
||||
</view>
|
||||
@ -56,6 +56,11 @@
|
||||
return sum + price * number;
|
||||
}, 0).toFixed(2);
|
||||
},
|
||||
totalCount() {
|
||||
return this.data.reduce((sum, item) => {
|
||||
return sum + parseInt(item.number || 1);
|
||||
}, 0);
|
||||
},
|
||||
},
|
||||
mounted() {
|
||||
console.log(this.data,'--')
|
||||
|
||||
@ -44,7 +44,7 @@
|
||||
</view>
|
||||
</view>
|
||||
<view class="order-content" :class="{ 'split-border': showStatusBtn }" @click="jumpToDetails">
|
||||
<good-info :data="data" :actual_price="data.actual_price" />
|
||||
<good-info :data="data.items" :actual_price="data.actual_price" />
|
||||
<view v-if="data.type && data.type !== 1" class="fs-24 app-fc-mark order-type">
|
||||
随车订单
|
||||
</view>
|
||||
|
||||
@ -98,7 +98,7 @@
|
||||
</template>
|
||||
</view>
|
||||
|
||||
<view class="info-cell address-info-cell">
|
||||
<view v-if="orderData.address" class="info-cell address-info-cell">
|
||||
<view class="address-content">
|
||||
<view class="address-row-first">
|
||||
<image class="address-icon" src="@/static/images/address.png" />
|
||||
@ -266,8 +266,8 @@
|
||||
<!-- 抖音退款组件 -->
|
||||
<view class="refund-btn-wrapper">
|
||||
<pay-button-sdk
|
||||
mode=1
|
||||
:order-id="orderData.order_no || orderData.order_id"
|
||||
mode={{1}}
|
||||
:order-id="orderData.order_no"
|
||||
:order-status="1"
|
||||
:refund-total-amount="Math.round((orderData.actual_price || 0) * 100)"
|
||||
:apply-refund-params="{
|
||||
@ -517,24 +517,6 @@ import {
|
||||
}
|
||||
});
|
||||
},
|
||||
selectOption1(v) {
|
||||
this.WeChat = v
|
||||
this.wallet = ''
|
||||
console.log(this.WeChat)
|
||||
this.selected1 = false;
|
||||
this.selected2 = true;
|
||||
this.selected3 = true;
|
||||
this.selected4 = false;
|
||||
},
|
||||
selectOption2(v) {
|
||||
this.WeChat = ''
|
||||
this.wallet = v
|
||||
console.log(this.wallet)
|
||||
this.selected1 = true;
|
||||
this.selected2 = false;
|
||||
this.selected3 = false;
|
||||
this.selected4 = true;
|
||||
},
|
||||
coutDown() {
|
||||
setTimeout(() => {
|
||||
if (this.countDownTime > 0) {
|
||||
|
||||
Reference in New Issue
Block a user