EquityVinCheck.vue
2.45 KB
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
<template>
<uni-popup
ref="centerPopupRef"
type="center"
:is-mask-click="false"
animation
class="center-popup"
>
<view class="box">
<view class="title flex">
<view class="text">车架号复核</view>
<view
class="icon-close-box flex"
@click="close"
>
<uni-icons
class="icon-close"
type="closeempty"
:size="20"
color="#1A1A1A"
></uni-icons>
</view>
</view>
<view class="content flex">
<view class="tips">请核对车架号是否正确,如信息有误后期将无法申请补偿服务!</view>
<view class="input-box flex">
<view class="input">
<view class="label">车架号</view>
<input type="text" maxlength="17" v-model="obj.vin" />
</view>
<view class="edit"></view>
</view>
<view class="footer-box">
</view>
</view>
</view>
</uni-popup>
</template>
<script type='text/ecmascript-6'>
export default {
name: 'CenterPopup',
props: {
list: Array,
title: String,
tag: String,
id: [Number, String],
isLine: Boolean
},
data () {
return {
}
},
mounted () {
},
methods: {
open () {
this.$refs.centerPopupRef.open();
},
close () {
this.$refs.centerPopupRef.close();
this.$emit('cancel')
},
choose: uni.$throttle(function (index) {
this.$emit('choose', index)
this.$refs.centerPopupRef.close();
}, 200)
}
}
</script>
<style scoped lang='scss'>
.center-popup {
z-index: 99 !important;
}
.box {
width: 848rpx;
height: 608rpx;
border-radius: 32rpx;
background: linear-gradient(180deg, #e6f0ff 0%, #ffffff 100%);
.title {
width: 100%;
height: toRpx(160);
// background: url('@/assets/images/boutique/customer-type-bg.webp') no-repeat;
background-size: 100% 100%;
position: relative;
.text {
font-weight: 500;
font-size: toRpx(40);
color: #1a1a1a;
position: absolute;
left: 64rpx;
top: 50%;
transform: translateY(-50%);
}
.icon-close-box {
height: 100%;
margin-left: auto;
padding: 0 toRpx(48);
font-weight: 700;
}
}
.content {
padding: 0 toRpx(64);
width: 100%;
.tips {
color: #666666;
font-size: 32rpx;
line-height: 48rpx;
}
.input-box {
margin: 48rpx 0 16rpx;
}
}
}
</style>