MrShi
2026-06-26 1a0d015ebde58481bc9bba4bc7a2b5154fcabfe5
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
105
106
107
<template>
    <view class="box">
        <view class="hezi">
            <image class="logo" src="/static/images/title_duihuan@2x.png" mode="widthFix"></image>
            <view class="title">团购自助验券</view>
            <view class="shuru">
                <input type="text" placeholder="输入券码" />
                <image src="/static/icon/ic_saoma@2x.png" mode="widthFix"></image>
            </view>
            <view class="btn" @click="jump">兑换</view>
            <view class="tips">请输入正确的券码</view>
        </view>
    </view>
</template>
 
<script>
    export default {
        data() {
            return {
                
            };
        },
        methods: {
            jump() {
                uni.navigateTo({
                    url: '/pages/success/success'
                })
            }
        }
    }
</script>
 
<style lang="scss" scoped>
    .box {
        width: 100%;
        min-height: 100vh;
        padding: 20rpx 30rpx;
        box-sizing: border-box;
        background-color: #F7F7F7;
        .hezi {
            width: 100%;
            padding: 30rpx;
            box-sizing: border-box;
            height: calc(100vh - 40rpx);
            background: #FFFFFF;
            border-radius: 8rpx;
            display: flex;
            align-items: center;
            flex-direction: column;
            .logo {
                width: 200rpx;
                margin-top: 140rpx;
            }
            .title {
                font-weight: 600;
                font-size: 36rpx;
                color: #222222;
                margin-top: 40rpx;
            }
            .shuru {
                width: 100%;
                height: 88rpx;
                background: #F7F7F7;
                border-radius: 50rpx;
                border: 2rpx solid #EEEEEE;
                display: flex;
                align-items: center;
                justify-content: space-between;
                padding: 0 30rpx;
                box-sizing: border-box;
                margin-top: 74rpx;
                input {
                    flex: 1;
                    text-align: center;
                    height: 100%;
                    font-weight: 400;
                    font-size: 30rpx;
                    color: #999999;
                }
                image {
                    flex-shrink: 0;
                    width: 48rpx;
                    height: 48rpx;
                    margin-left: 30rpx;
                }
            }
            .btn {
                width: 100%;
                height: 88rpx;
                line-height: 88rpx;
                text-align: center;
                background: #01B6AD;
                border-radius: 46rpx;
                font-weight: 500;
                font-size: 30rpx;
                color: #FFFFFF;
                margin-top: 40rpx;
            }
            .tips {
                font-weight: 400;
                font-size: 26rpx;
                color: #FC2525;
                margin-top: 34rpx;
            }
        }
    }
</style>