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
| <template>
| <view class="container">
| <!-- <navbar title ='扫码成功'></navbar> -->
| <view class="navbar"><text>扫码取水</text></view>
| <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="navTo()">返回首页</view>
| </view>
| </view>
| </template>
|
| <script setup>
| function navTo(){
| uni.redirectTo({
| url:'/pages/index/index'
| })
| }
| </script>
|
| <style lang="scss">
| .navbar{
| width:100%;
| height:176rpx;
| background: linear-gradient(to bottom,#5EA1FA,#8BC1FC);
| display: flex;
| align-items: flex-end;
| box-sizing: border-box;
| position: relative;
| padding:0 32rpx 24rpx;
| text{
| font-weight: 400;
| font-size: 36rpx;
| color: #000000;
| position:absolute;
| width:200rpx;
| left:calc(50% - 100rpx);
| text-align: center;
| color: #e4ecf9;
| letter-spacing:1rpx;
| }
| }
| .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>
|
|