You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
<template> <view> <view v-if="false" class="flex flex-direction justify-around text-center align-center margin-bottom margin-top-lg"> <view> <image src="@/static/images/system/paysuccess.png" mode="widthFix" style="height: 100px;width: 100px;"></image> </view> <view class="text-xxl margin-tb text-orange text-bold">订单支付成功</view> <view class="text-gray"> 您可以在我的订单中查询订单详情 </view> </view> <view v-else class="flex flex-direction justify-around text-center align-center margin-bottom margin-top-lg"> <view> <image src="@/static/images/system/payfail.png" mode="widthFix" style="height: 100px;width: 100px;"></image> </view> <view class="text-xxl margin-tb text-gray text-bold">订单支付失败</view> <view class="text-gray"> 您可以在我的订单中查询订单详情 </view> </view> <view class="margin-top flex flex-direction justify-around"> <view class="padding-top padding-lr-lg"> <button class="cu-btn block bg-orange lg margin-top round" @tap="$routerGo('/pages/order/order-details')"> <text class="text-df text-white">查看订单</text> </button> </view> <view class="padding-top-sm padding-lr-lg"> <button class="cu-btn block bg-white border lg margin-top round" @tap="returnIndex()"> <text class="text-df text-black">返回首页</text> </button> </view> </view> </view></template>
<script> export default { data() { return { } }, methods: { returnIndex() { uni.switchTab({ url: '/pages/order/index' }) } } }</script>
<style></style>
|