12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394 |
- <template>
- <view class="oderPage">
- <view class="content">
- <image :src="`${$imgUrl}ETCcancellation/bg1.png`" mode=""></image>
- <view class="title">
- 办理成功
- </view>
- <view class="">
- 您办理的{{state.successTip}}业务已完成
- </view>
- </view>
- </view>
- <button class="submit" @click="submit">返回</button>
- </template>
-
- <script setup lang="ts">
- import { reactive } from "vue"
- import {
- onLoad
- } from "@dcloudio/uni-app";
- const state = reactive({
- successTip: "" //成功提示
- });
- onLoad((option) => {
- console.log("option.successTip", option.successTip)
- state.successTip = option.successTip
- })
- const submit = () => {
- let routes = getCurrentPages();
- uni.navigateBack({
- delta: routes.length - 2
- });
- }
- </script>
-
-
- <style>
- page {
- width: 100%;
- height: 100%;
- display: flex;
- flex-direction: column;
- }
- </style>
- <style lang="scss" scoped>
- .oderPage {
- flex: 1;
- width: 100%;
-
- .content {
- display: flex;
- flex-direction: column;
- justify-content: center;
- align-items: center;
- padding: 130rpx;
-
- image {
- width: 390rpx;
- height: 307rpx;
- margin-bottom: 20rpx;
- }
-
- .title {
- font-size: 38rpx;
- font-weight: 600;
- font-size: 40rpx;
- font-family: Microsoft YaHei UI;
- color: #2A2A2A;
- }
-
- view {
- margin: 15rpx 0;
- font-size: 28rpx;
- font-family: Microsoft YaHei UI;
- font-weight: 400;
- color: #717171;
- }
- }
- }
-
- .submit {
- background: linear-gradient(to left, #43A1E0 0%, #13E7C1 100%);
- width: 670rpx;
- height: 80rpx;
- line-height: 80rpx;
- font-size: 32rpx;
- color: #fff;
- border-radius: 100rpx;
- position: fixed;
- bottom: 60rpx;
- left: 50%;
- transform: translate(-50%);
- }
- </style>
|