feat: 选品广场结算返回到我的店铺页,粉色卡默认false所有页面统一调整
This commit is contained in:
+10
-2
@@ -1,6 +1,6 @@
|
||||
<!-- 支付结果页面 -->
|
||||
<template>
|
||||
<s-pages :bgStyle="{ color: theme == 1 ? '#FFF' : '#F2F4F7' }" title="支付结果">
|
||||
<s-pages :bgStyle="{ color: theme == 1 ? '#FFF' : '#F2F4F7' }" title="支付结果" :pink_bg="true">
|
||||
<view class="pay-result-box ss-flex-col ss-row-center ss-col-center">
|
||||
<!-- 信息展示 -->
|
||||
<view class="pay-waiting ss-m-b-30" v-if="payResult === 'waiting'" />
|
||||
@@ -35,7 +35,7 @@
|
||||
<button
|
||||
class="back-btn ss-reset-button"
|
||||
:class="{ c0: theme == 2 }"
|
||||
@tap="sheep.$router.redirect('/pages/index/index')"
|
||||
@tap="onBackHome"
|
||||
>
|
||||
返回首页
|
||||
</button>
|
||||
@@ -121,6 +121,14 @@
|
||||
}
|
||||
});
|
||||
|
||||
const onBackHome = () => {
|
||||
if (state.orderType === 'aiGoods') {
|
||||
uni.reLaunch({ url: '/pages/index/aiStore?tab=1' });
|
||||
return;
|
||||
}
|
||||
sheep.$router.redirect('/pages/index/index');
|
||||
};
|
||||
|
||||
function showRepayModal() {
|
||||
if (state.result !== 'failed') return;
|
||||
uni.showModal({
|
||||
|
||||
Reference in New Issue
Block a user