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": {
"navigationBarTitleText": "订单详情",
"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">
<!-- #ifdef MP-TOUTIAO -->
<pay-button
:mode="1"
:order-id="orderData.douyin_order_id"
:order-status="1"
:refund-total-amount="Math.round((orderData.actual_price || 0) * 100)"
:apply-refund-params="{
reasonCode: [410],
note: '用户申请退款',
applySource: 101,
afterSaleType: 3,
needRefundPackFee: true
}"
style="width:100%;height:100%;display:block;position:relative;z-index:999;"
@refund="handleRefundSuccess"
@error="handleRefundError"
<pay-button-sdk
:mode="1"
:order-id="orderData.order_no"
:order-status="1"
:refund-total-amount="Math.round((orderData.actual_price || 0) * 100)"
:apply-refund-params="{
reasonCode: [410],
note: '用户申请退款',
applySource: 101,
afterSaleType: 3,
needRefundPackFee: true
}"
style="width:100%;height:100%;display:block;position:relative;z-index:999;"
@refund="handleRefundSuccess"
@error="handleRefundError"
/>
<!-- #endif -->
<!-- #ifndef MP-TOUTIAO -->