|
@@ -8,7 +8,7 @@
|
|
|
</view>
|
|
</view>
|
|
|
<view class="icon-item">
|
|
<view class="icon-item">
|
|
|
<image src="/static/img/2.png" mode="widthFix" style="width: 30rpx; height: 30rpx"></image>
|
|
<image src="/static/img/2.png" mode="widthFix" style="width: 30rpx; height: 30rpx"></image>
|
|
|
- <text style="margin-left: 6rpx">72小时验</text>
|
|
|
|
|
|
|
+ <text style="margin-left: 6rpx">{{ verifyPeriodLabel }}</text>
|
|
|
<text style="margin-left: 4rpx"> > </text>
|
|
<text style="margin-left: 4rpx"> > </text>
|
|
|
</view>
|
|
</view>
|
|
|
<view class="icon-item">
|
|
<view class="icon-item">
|
|
@@ -44,6 +44,18 @@ export default {
|
|
|
type: [Number, String],
|
|
type: [Number, String],
|
|
|
default: 0,
|
|
default: 0,
|
|
|
},
|
|
},
|
|
|
|
|
+ verifyPeriodDays: {
|
|
|
|
|
+ type: [Number, String],
|
|
|
|
|
+ default: null,
|
|
|
|
|
+ },
|
|
|
|
|
+ },
|
|
|
|
|
+ computed: {
|
|
|
|
|
+ verifyPeriodLabel() {
|
|
|
|
|
+ const days = Number(this.verifyPeriodDays)
|
|
|
|
|
+ if (days === 7) return '7天验'
|
|
|
|
|
+ if (days === 15) return '15天验'
|
|
|
|
|
+ return '72小时验'
|
|
|
|
|
+ },
|
|
|
},
|
|
},
|
|
|
data() {
|
|
data() {
|
|
|
return {
|
|
return {
|