123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960 |
- <template>
- <view class="content wrap">
- <u-icon name="checkmark-circle-fill" color="#2979ff" size="200"></u-icon>
- <view class="title">提交成功</view>
- <view class="tip">{{tip}}</view>
- <u-button v-if="from=='apply'" type="primary" @click="jumpLink">继续申请</u-button>
- <u-button type="default" @click="backHome">返回首页</u-button>
- </view>
- </template>
- <script>
- export default {
- data() {
- return {
- tip:'',
- form:'',
- }
- },
- onLoad(page) {
- console.log('page',page);
- this.tip = page.tip;
- this.from = page.from;
- },
- methods: {
- backHome(){
- this.$u.route({
- url: 'pages/index/index',
- })
- },
- // 跳转页面
- jumpLink() {
- if(this.from=='apply'){
- uni.navigateTo({
- url: '/pages/apply/apply'
- });
- }
- },
- }
- }
- </script>
- <style lang="scss" scoped>
- .content{
- padding-top: 10vh;
- text-align: center;
- }
- .title{
- margin-top: 24rpx;
- margin-bottom: 24rpx;
- font-size: 40rpx;
- }
- .tip{
- margin-bottom: 124rpx;
- font-size: 30rpx;
- color: #9f9f9f;
- }
- .u-btn + .u-btn{
- margin-top: 24rpx;
- }
- </style>
|