Onlife/pages/game/paysuccess.vue
2025-04-19 15:38:48 +08:00

106 lines
1.7 KiB
Vue

<template>
<view class="container">
<view class="paycuccess">
<view class="payall">
<view class="title">
支付成功
</view>
<view class="img">
<image src="/static/yes.png" mode=""></image>
</view>
<view class="cont">
恭喜您
</view>
<view class="cont">
本次交易支付成功
</view>
<view class="link" @click="back">
返回
</view>
</view>
</view>
</view>
</template>
<script>
export default {
data() {
return {
name: ''
};
},
onLoad(options) {
console.log('ssss', options.name)
this.name = options.name;
},
methods: {
back(){
uni.switchTab({
url:'/pages/interstellareye/interstellareye'
})
}
}
}
</script>
<style lang="scss">
.container {
border-top: 1px solid dimgrey;
width: 100vw;
min-height: 100vh;
padding: 20px;
box-sizing: border-box;
background-color: #2c305e;
image {
width: 100%;
height: 100%;
}
.paycuccess {
width: 100%;
height: 500rpx;
background-color: #fff;
border-radius: 20rpx;
margin-top: 60rpx;
.payall {
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
padding: 30rpx;
.title {
font-size: 40rpx;
font-weight: 600;
}
.img {
width: 140rpx;
height: 140rpx;
margin: 20rpx 0;
}
.cont {
margin-bottom: 10rpx;
color: #727272;
}
}
.link {
display: flex;
align-items: center;
justify-content: center;
padding: 30rpx;
background-color: #4f5ad7;
width: 80rpx;
height: 20rpx;
border-radius: 60rpx;
margin-top: 40rpx;
color: #fff;
}
}
}
</style>