123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596 |
- <template>
- <view class="oderPage">
- <view class="content">
- <image :src="`${$imgUrl}ETCcancellation/bg1.png`" mode=""></image>
- <view class="title">
- 办理成功
- </view>
- <view v-if="state.value=='true'">
- 余额会退回银行卡
- </view>
- <view v-else>
- 移步到余额补领功能进行圈存
- </view>
- </view>
- </view>
- <button class="submit" @click="submit">查看订单</button>
- </template>
-
- <script setup lang="ts">
- import { onLoad } from "@dcloudio/uni-app";
- import { reactive } from "vue";
- const state = reactive({
- value: ""
- })
- onLoad((option) => {
- console.log("option", option)
- state.value = option.value
-
- });
- 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>
|