|
@@ -26,7 +26,8 @@
|
|
|
<text class="form-label-require">*</text>
|
|
<text class="form-label-require">*</text>
|
|
|
<text v-if="data.idtype ==1">身份证号</text>
|
|
<text v-if="data.idtype ==1">身份证号</text>
|
|
|
<text v-if="data.idtype ==2">护照号</text>
|
|
<text v-if="data.idtype ==2">护照号</text>
|
|
|
- <icon @click="idCardChange" class="change-icon">切换</icon>
|
|
|
|
|
|
|
+ <icon @click="idCardChange" class="change-icon"
|
|
|
|
|
+ :style="{ backgroundImage: 'url(' + data.changeIcon + ')' }">切换</icon>
|
|
|
</view>
|
|
</view>
|
|
|
<input v-model="data.idcard" placeholder="请输入证件号" />
|
|
<input v-model="data.idcard" placeholder="请输入证件号" />
|
|
|
<icon :style="{ backgroundImage: 'url(' + data.jtIcon + ')' }"></icon>
|
|
<icon :style="{ backgroundImage: 'url(' + data.jtIcon + ')' }"></icon>
|
|
@@ -73,12 +74,14 @@
|
|
|
userId: null,
|
|
userId: null,
|
|
|
images: null,
|
|
images: null,
|
|
|
jtIcon: '',
|
|
jtIcon: '',
|
|
|
|
|
+ changeIcon: '',
|
|
|
idtype: 1
|
|
idtype: 1
|
|
|
})
|
|
})
|
|
|
|
|
|
|
|
onLoad((options) => {
|
|
onLoad((options) => {
|
|
|
data.from = options.from || 'shouye';
|
|
data.from = options.from || 'shouye';
|
|
|
- data.jtIcon= cacheManager.get('projectImg').nav_bar_jt_bottom;
|
|
|
|
|
|
|
+ data.jtIcon = cacheManager.get('projectImg').nav_bar_jt_bottom;
|
|
|
|
|
+ data.changeIcon = cacheManager.get('projectImg').change_icon;
|
|
|
defaultImage1.url= cacheManager.get('projectImg').user_default_img;
|
|
defaultImage1.url= cacheManager.get('projectImg').user_default_img;
|
|
|
initPage();
|
|
initPage();
|
|
|
})
|
|
})
|