PickUpSuccessPage.vue 2.84 KB
<template>
    <view class="submit-result-container">
        <!-- 内容区域 -->
        <view class="content-container">
            <!-- 等待图标 -->
            <view class="waiting-icon-container">
                <view class="waiting-icon">
                    <image src="/static/images/account/certifition/success@2x.png" class="state-image"></image>
                </view>
            </view>

            <!-- 审核状态文字 -->
            <view class="status-text-container">
                <text class="status-title">车辆交接成功</text>
                <text class="status-desc">恭喜你,已完成车辆交接工作,请尽快(在5个工作日内)完成车辆过户</text>
            </view>
            <!-- 返回按钮 -->
            <view class="button-container">
                <van-button type="primary" round @click="navigateTo" block>上传过户资料</van-button>
            </view>
        </view>
    </view>
</template>
<script lang="ts">
import {Component, Vue} from 'vue-facing-decorator';
import {Account} from "lib/src/entity/account/entity/Account";
import {onLoad, onShow} from "@dcloudio/uni-app";
import {AccountController} from "@/api/AccountController";

@Component({})
export default class PickUpSuccessPage extends Vue {
    account: Account = null;
    orderId: number;

    created(): void {
        onLoad((option) => {
            this.orderId = option.orderId;
            AccountController.getLoginAccount(this.axios).then(res => {
                this.account = res.data;
            });
        });
        onShow((option) => {
        });
    }

    // 返回上一页
    navigateTo() {
        uni.navigateTo({url: '/module/order/transfer/UploadTransferPage?orderId=' + this.orderId});
    }
}
</script>


<style scoped lang="scss">
.submit-result-container {
    min-height: 100vh;
    background-color: #fff;
    display: flex;
    flex-direction: column;
}


/* 内容区域样式 */
.content-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    //justify-content: center;
    padding: 40px 20px;
}

/* 等待图标样式 */
.waiting-icon-container {
    margin-bottom: 30px;
}

.waiting-icon {
    width: 120px;
    height: 120px;
    //border-radius: 60px;
    //background-color: #fff7e6;
    //display: flex;
    //align-items: center;
    //justify-content: center;
}

.state-image {
    width: 120px;
    height: 120px;
}

/* 状态文字样式 */
.status-text-container {
    text-align: center;
    margin-bottom: 50px;
    padding: 0 20px;
}

.status-title {
    font-size: 20px;
    font-weight: 500;
    color: #333;
    display: block;
    margin-bottom: 15px;
}

.status-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* 按钮样式 */
.button-container {
    width: 100%;
    padding: 0 20px;
}

.first-button {
    border-radius: 8px;
}
</style>