This commit is contained in:
2026-04-09 15:54:26 +08:00
parent 6ea50b824f
commit 9b6b76f747
2 changed files with 16 additions and 16 deletions

View File

@ -307,7 +307,7 @@
"style": { "style": {
"navigationBarTitleText": "订单详情", "navigationBarTitleText": "订单详情",
"usingComponents": { "usingComponents": {
"pay-button": "tta5a3d31e3aecfb9b11://pay-button" "pay-button-sdk": "tta5a3d31e3aecfb9b11://pay-button"
} }
} }
}, },

View File

@ -349,21 +349,21 @@
<!-- 抖音退款组件 - 只有在没有售后状态或售后被驳回时显示 --> <!-- 抖音退款组件 - 只有在没有售后状态或售后被驳回时显示 -->
<view v-if="showBeforeSaleOrderStatus" class="handle-btn refund-btn"> <view v-if="showBeforeSaleOrderStatus" class="handle-btn refund-btn">
<!-- #ifdef MP-TOUTIAO --> <!-- #ifdef MP-TOUTIAO -->
<pay-button <pay-button-sdk
:mode="1" :mode="1"
:order-id="orderData.douyin_order_id" :order-id="orderData.order_no"
:order-status="1" :order-status="1"
:refund-total-amount="Math.round((orderData.actual_price || 0) * 100)" :refund-total-amount="Math.round((orderData.actual_price || 0) * 100)"
:apply-refund-params="{ :apply-refund-params="{
reasonCode: [410], reasonCode: [410],
note: '用户申请退款', note: '用户申请退款',
applySource: 101, applySource: 101,
afterSaleType: 3, afterSaleType: 3,
needRefundPackFee: true needRefundPackFee: true
}" }"
style="width:100%;height:100%;display:block;position:relative;z-index:999;" style="width:100%;height:100%;display:block;position:relative;z-index:999;"
@refund="handleRefundSuccess" @refund="handleRefundSuccess"
@error="handleRefundError" @error="handleRefundError"
/> />
<!-- #endif --> <!-- #endif -->
<!-- #ifndef MP-TOUTIAO --> <!-- #ifndef MP-TOUTIAO -->