Commit eea23bd3 authored by Xuguangxing's avatar Xuguangxing

fix ui error

parent 15f3c43f
...@@ -16,8 +16,10 @@ ...@@ -16,8 +16,10 @@
<p class="tips"> <p class="tips">
努力返回支付结果中,请留心查看! 努力返回支付结果中,请留心查看!
</p> </p>
<div :class="['actions', !isOrder && 'no-order']"> <div v-if="isApp" :class="['actions', !isOrder && 'no-order']">
<cr-button type="primary" class="btn-primary" @click="navigateBack">返回</cr-button> <cr-button type="primary" shape="circle" class="btn-primary" @click="navigateBack"
>返回订单列表</cr-button
>
</div> </div>
</div> </div>
</template> </template>
...@@ -37,7 +39,8 @@ export default { ...@@ -37,7 +39,8 @@ export default {
time: 10, time: 10,
init: false, init: false,
returnUrl: '', returnUrl: '',
isOrder: true isOrder: true,
isApp
}; };
}, },
created() { created() {
...@@ -69,7 +72,7 @@ export default { ...@@ -69,7 +72,7 @@ export default {
}, },
methods: { methods: {
navigateBack() { navigateBack() {
this.$router.go(-2); this.$router.replace({ name: 'orderList', params: { status: 0 } });
}, },
getQuery() { getQuery() {
this.returnUrl = cookies.get('returnUrl') || ''; this.returnUrl = cookies.get('returnUrl') || '';
...@@ -175,8 +178,9 @@ export default { ...@@ -175,8 +178,9 @@ export default {
} }
button { button {
.text-17; .text-16;
width: 161px; width: 100%;
// width: 161px;
} }
} }
.info_button { .info_button {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment