12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273 |
- <template>
- <view class="content">
- <image :src="`${$imgUrl}ETCcancellation/bgNew.png`" mode=""></image>
- <view class="title">
- 提交成功
- </view>
- <view class="">
- {{ state.tipText }}
- </view>
- </view>
- <button class="ui-btn" @click="submit">完成</button>
- </template>
-
- <script setup lang="ts">
- import { onLoad } from "@dcloudio/uni-app";
- import { reactive } from "vue";
- const submit = () => {
- if (state.back) {
- uni.navigateBack()
- } else {
- uni.reLaunch({
- url: '/pages/index/index'
- })
- }
- }
- const state = reactive({
- tipText: "等待审核",
- back: false
- })
- onLoad(({tipText, back}) => {
- if (tipText) state.tipText = tipText
- if (back) state.back = true
- })
- </script>
-
-
- <style>
- page {
- width: 100%;
- height: 100%;
- display: flex;
- flex-direction: column;
- background-color: white;
- }
- </style>
- <style lang="scss" scoped>
- .content {
- display: flex;
- flex-direction: column;
- justify-content: center;
- align-items: center;
- padding: 80rpx;
-
- image {
- width: 390rpx;
- height: 307rpx;
- margin-bottom: 20rpx;
- }
-
- .title {
- font-weight: 400;
- font-size: 40rpx;
- color: #01243A;
- margin: 20rpx 0 30rpx 0;
- }
-
- view {
- font-weight: 400;
- font-size: 28rpx;
- color: #999999;
- }
- }
- </style>
|