Liuyi
2024-11-12 0ed8e370659ad4e0582301ae31cfa155da114590
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
<template>
    <view class="container">
        <navbar title ='扫码成功'></navbar>
        <view class="content">
            <view class="img-box">
                <image class="img" src="../../static/images/other/success.png" alt=""></image>
                <view class="text text1">操作成功~</view>
            </view>
            <view class="text">请在设备上操作</view>
            <view class="back" @click="navBack()">返回首页</view>
        </view>
    </view>
</template>
 
<script setup>
    function navBack(){
        uni.navigateBack()
    }
</script>
 
<style lang="scss">
    .container{
        width: 100%;
        height: 100vh;
        .content{
            width: 100%;
            height:calc(100vh - 176rpx);
            background:linear-gradient(to top,#FFFFFF,#E8EFFF);   
            box-sizing: border-box;  
            display: flex;
            padding:200rpx 0 600rpx;
            justify-content: space-between;
            flex-direction: column;
            align-items: center;
            .img-box{
                display: flex;
                flex-direction: column;
                justify-content: center;
                align-items: center;
            }
             .img{
                 width:580rpx;
                 height: 385rpx;
             }
             .text{
                 font-weight: 300;
                 font-size: 32rpx;
                 color: #548AFF;
             }
             .back{
                 width: 300rpx;
                 height: 80rpx;
                 background: #FFFFFF;
                 border:1rpx solid rgba(95, 117, 244, 0.6);
                 color: #548AFF;
                 border-radius:40rpx;
                 line-height:80rpx;
                 text-align: center;
             }
             
        }
    }
</style>