123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263 |
- <template>
- <view class="pages">
- <view class="icon-wrap u-flex u-row-center">
- <u-icon name="checkmark" color="#fff" size="80"></u-icon>
- </view>
- <view class="title">{{title}}</view>
- <view class="full-btn" @click="btnClick">完成</view>
- </view>
- </template>
- <script>
- export default {
- data() {
- return {
- fromPage:'',
- title:'提交成功,请耐心等待审核'
- }
- },
- onShow() {
- },
- onLoad(page) {
- this.fromPage = page.fromPage;
- if(this.fromPage=='nocash'){
- this.title = '兑换成功'
- }
- },
- methods: {
- btnClick(){
- uni.reLaunch({url: '/center/center'});
- }
- }
- }
- </script>
- <style>
- page{
- background-color: #F5F5F5;
- padding-top: 10vh;
- }
- </style>
- <style lang="scss" scoped>
- .pages{
- text-align: center;
- }
- .icon-wrap{
- width: 180rpx;
- height: 180rpx;
- margin: 120rpx auto 20rpx;
- padding: 20rpx;
- background-color: #F01414;
- border-radius: 50%;
- }
- .title{
- font-size: 32rpx;
- font-weight: 600;
- color: #333333;
- line-height: 40rpx;
- margin-bottom: 120rpx;
- }
- .full-btn{
- margin: 20rpx 10%;
- }
- </style>
|