story#7189,回程车小程序司机端-迁移认证页面

This commit is contained in:
2025-09-09 13:33:44 +08:00
parent e7b0cfb006
commit 781ef75913
6 changed files with 56 additions and 51 deletions

View File

@ -3,11 +3,15 @@
<template v-if="title.indexOf('责任险/货物') !== -1">
<div class="photo_title custom-title">
<span><span class="star">*</span>{{title}}</span>
<radio-group @change="radioChange" class="flexWrap">
<van-radio-group @change="radioChange" v-model="form.isInsure" class="flexWrap">
<van-radio name="0"></van-radio>
<van-radio name="1"></van-radio>
</van-radio-group>
<!-- <radio-group @change="radioChange" class="flexWrap">
<label class="flexWrap labelWrap" v-for="(item, index) in options" :key="item.value">
<div class="flexWrap center"><radio :value="item.value" :checked="index == inSure" />{{item.name}}</div>
</label>
</radio-group>
</radio-group>-->
</div>
<div class="photoWrap" v-if="inSure == 1">
<template v-if="urlList.length>0">
@ -79,7 +83,7 @@ export default {
type: Array,
},
inSure:{
type:Number,
type:String || Number,
}
},
data() {
@ -98,7 +102,7 @@ export default {
},
methods: {
radioChange(e){
this.form.isInsure=e?.detail?.value
// this.form.isInsure=e?.detail?.value
if(this.form.isInsure==0){
this.form.urlList=[]
this.$emit('urlList', this.form.urlList)
@ -208,15 +212,15 @@ export default {
justify-content: space-between;
.flexWrap{
display:flex;
::v-deep .van-radio__icon{
//width: 24px;
transform: scale(0.8);
transform-origin: center; /* 保持中心点不变 */
}
}
.labelWrap{
margin-left: 10px;
}
radio{
width: 24px;
transform: scale(0.7);
transform-origin: center; /* 保持中心点不变 */
}
.center{
align-items: center;
justify-content: center;