doum
昨天 5d3b86a4d0032836c782e5e1319179eced5e5647
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
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
<template>
    <view>
        <stepLine :active="1" :steps="steps" />
        <view class="form-conyainer">
            <view class="upload-card">
                <view class="introduce-title">上传营业执照</view>
                <view class="upload-container">
                    <view class="card-container">
                        <uni-file-picker limit="1" :image-styles="imageStyles">
                            <view class="model">
                                上传营业执照
                            </view>
                        </uni-file-picker>
                    </view>
                    
                </view>
            </view>
            <view class="upload-card">
                <view class="introduce-title">上传身份证</view>
                <view class="upload-container">
                    <view class="card-container">
                        <uni-file-picker limit="1" :image-styles="imageStyles">
                            <view class="model">
                                上传身份证人像面
                            </view>
                        </uni-file-picker>
                    </view>
                    <view class="card-container">
                        <uni-file-picker limit="1" :image-styles="imageStyles">
                            <view class="model">
                                上传身份证国徽面
                            </view>
                        </uni-file-picker>
                    </view>
                </view>
            </view>
        </view>
        <view class="agreement">
            <view class="protocl">
                <view class="agree-btn"></view>
                已详细阅读并同意
                <view class="protocl-btn">《哇咖哇咖创作者协议》</view>
            </view>
            <view class="tips">
                <view class="agree-btn"></view>
                <view class="tips-message">
                    经审慎考虑,同意提供本人真实姓名、手机号及证件号码,以核实本人身份,保障账号安全;同意提供其他信息(包括邮箱、个人介绍)
                </view>
            </view>
        </view>
        <view class="actions">
            <view class="last-step action-btn" @click="lastStep">上一步</view>
            <view class="submit-not action-btn" :class="canSubmit&&'submit'" @click="submit">提交审核</view>
        </view>
    </view>
</template>
 
<script>
    import stepLine from '@/components/common/stepLine.vue'
    export default {
        components: {
            stepLine
        },
        data() {
            return {
                imageStyles:{
                    width:312,
                    height:120,
                },
                steps: [
                    { title: '基本信息' },
                    { title: '资质认证' },
                    { title: '提交审核' }
                ],
                canSubmit: false
            };
        },
        methods: {
            lastStep() {
                uni.navigateBack()
            },
            submit() {
                uni.navigateTo({
                    url: '/pages/merchant/applyMerchant/merchantSubmit'
                })
            }
        }
    }
</script>
 
<style lang="scss">
.form-conyainer {
    background-color: #FFFFFF;
    padding: 32rpx;
}
.upload-card {
    .introduce-title {
        font-size: 32rpx;
        font-family: PingFang SC-Semibold, PingFang SC;
        font-weight: 600;
        color: #333333;
        padding-top: 28rpx;
    }
    .upload-container {
        display: flex;
        justify-content: space-between;
        margin-top: 28rpx;
        
        .card-container {
            width: 312rpx;
            // height: 200rpx;
            .uni-file-picker {
                width: 100%;
                height: 100%;
            }
            .model {
                width: 100%;
                height: 100%;
                background-color: rgba(0, 0, 0, 0.35);
                color: #FFFFFF;
                text-align: center;
                line-height: 100px;
            }
        }
    }
}
.agreement {
    // margin-top: 28rpx;
    padding: 32rpx;
    font-size: 24rpx;
    font-weight: 400;
    color: #999999;
    line-height: 32rpx;
    .agree-btn {
        border: 2rpx solid #999999;
        width: 28rpx;
        height: 28rpx;
        border-radius: 16rpx;
        margin-right: 16rpx;
    }
    .protocl {
        display: flex;
        
        .protocl-btn {
            color: #D20A0A;
        }
    }
    .tips {
        margin-top: 20rpx;
        display: flex;
        .tips-message {
            flex: 1;
        }
    }
}
.actions {
    display: flex;
    padding: 0 58rpx env(safe-area-inset-bottom);
    margin-top: 120rpx;
    .action-btn {
        flex: 1;
        text-align: center;
        box-sizing: border-box;
        height: 72rpx;
        line-height: 72rpx;
        border-radius: 36rpx;
        margin-bottom: 20rpx;
    }
    .last-step {
        border: 2rpx solid #D20A0A;
        color: #D20A0A;
        font-size: 32rpx;
        margin-right: 20rpx;
    }
    .submit-not {
        color: #FFFFFF;
        background: #D9D9D9;
    }
    .submit {
        background: linear-gradient(90deg, #D95A5A 0%, #D20A0A 100%);
    }
}
</style>