Liuyi
2024-10-21 15a55f79a84e5dab670d54a9dc0c6b9133a18441
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
<script  setup>
    import { ref } from 'vue'
    import { onShow } from '@dcloudio/uni-app';
 
    const title = ref(1) 
    const back = () => {
        uni.navigateBack()
    }
    const toIndex = () => {
        uni.navigateTo({
            url:"/pages/index/index"
        })
    }
    // const toRecord = () => {
    //     uni.navigateTo({
    //         url:"/pages/function/paymentRecord/index"
    //     })
    // }
 
</script>
<template>
    <view :class="title == 1?'contbox':'contbox2'">
        <navbar title ='新增地址'></navbar>
        <view class="main-box">
            <view class="success-img">
                <img src="../../static/images/other/success.svg" alt=""/>
            </view>
            <view class="txt1">缴费成功</view>
            <view class="txt2">
                缴费成功,您可去
                <text class="txt-hl" @click="toRecord()">缴费记录</text>
                中查看充值详情
            </view>
            <view class="button-box">
                <button class="button1" @click="back()">继续缴费</button>
                <button class="button2" @click="toIndex()">返回首页</button>
            </view>
        </view>
    </view>
</template>
 
 
<style lang="scss" scoped>
    .h-cl-777 {
        color: #777777;
    }
    .contbox {
        width: 750rpx;
        height: 1624rpx;
        // background: linear-gradient(1deg, #FFFFFF 0%, #E8F9FF 100%);
        margin: 0 auto;
        box-sizing: border-box;
    }
    .contbox2 {
        width: 750rpx;
        height: 1624rpx;
        // background: linear-gradient(1deg, #FFFFFF 0%, #F5F5F5 100%);
        margin: 0 auto;
        box-sizing: border-box;
    }
    .main-box {
        text-align: center;
    }
    .success-img {
        width: 150rpx;
        margin: 130rpx auto 20rpx;
        img {
            width: 100%;
        }
    }
    .txt1 {
        font-size: 36rpx;
        margin-bottom: 20rpx;
    }
    .txt2 {
        font-size: 28rpx;
    }
    .txt-hl {
        color: #5CBCE6;
        margin: 0 5rpx;
        text-decoration: underline;
    }
    .button-box {
        display: flex;
        justify-content: center;
        margin-top: 130rpx;
        button {
            width: 300rpx;
            height: 85rpx;
            line-height: 85rpx;
            margin: 10rpx;
        }
        .button1 {
            background-color: #5CBCE6;
            color: #ffffff;
        }
        .button2 {
            background-color: #ffffff;
            color: #5CBCE6;
            border: 1px solid #5CBCE6;
        }
    }
    
</style>