|
@@ -5,14 +5,13 @@
|
|
|
<uni-popup-dialog mode="input" class="phone-ksxz-dialog" title="身份确认" :duration="2000" :before-close="true"
|
|
<uni-popup-dialog mode="input" class="phone-ksxz-dialog" title="身份确认" :duration="2000" :before-close="true"
|
|
|
cancelText="修改" @close="handleClose" @confirm="handleConfirm">
|
|
cancelText="修改" @close="handleClose" @confirm="handleConfirm">
|
|
|
<view class="phone-ksxz-body">
|
|
<view class="phone-ksxz-body">
|
|
|
- <view @click="handleCloseOnly" class="ksxz-close-icon"
|
|
|
|
|
- :style="{ backgroundImage: 'url(' + data.iconsArr.closeIcon + ')' }"></view>
|
|
|
|
|
|
|
+ <view @click="handleCloseOnly" class="ksxz-close-icon" >
|
|
|
|
|
+ <icon :style="{ backgroundImage: 'url(' + data.iconsArr.closeIcon + ')' }"></icon>
|
|
|
|
|
+ </view>
|
|
|
<view class="ksxz-content-box">
|
|
<view class="ksxz-content-box">
|
|
|
<!-- Fixme 图形 -->
|
|
<!-- Fixme 图形 -->
|
|
|
- <view class="ksxz-img-box">
|
|
|
|
|
- <img :src="data.icon" v-if="data.icon" alt="">
|
|
|
|
|
- <icon class="phone-default-userImg" v-else></icon>
|
|
|
|
|
- </view>
|
|
|
|
|
|
|
+ <img class="phone-default-userImg ksxz-user-img" :src="data.icon" v-if="data.icon" alt=""/>
|
|
|
|
|
+ <icon class="phone-default-userImg ksxz-user-img" v-else :style="{ backgroundImage: 'url(' + data.iconsArr.defaultUserImg + ')' }"></icon>
|
|
|
<view :class="{isEmpty: !data.realName}">姓名:{{data.realName}}</view>
|
|
<view :class="{isEmpty: !data.realName}">姓名:{{data.realName}}</view>
|
|
|
<view :class="{isEmpty: !data.realName}">电话:{{data.userName}}</view>
|
|
<view :class="{isEmpty: !data.realName}">电话:{{data.userName}}</view>
|
|
|
<view>职业:{{data.zyName}}</view>
|
|
<view>职业:{{data.zyName}}</view>
|
|
@@ -40,12 +39,14 @@
|
|
|
userId: '',
|
|
userId: '',
|
|
|
iconsArr:{
|
|
iconsArr:{
|
|
|
closeIcon: '',
|
|
closeIcon: '',
|
|
|
|
|
+ defaultUserImg: '',
|
|
|
}
|
|
}
|
|
|
})
|
|
})
|
|
|
|
|
|
|
|
const emits = defineEmits(['confirm', 'changeData'])
|
|
const emits = defineEmits(['confirm', 'changeData'])
|
|
|
onMounted(() => {
|
|
onMounted(() => {
|
|
|
data.iconsArr.closeIcon = cacheManager.get('projectImg').closeIcon;
|
|
data.iconsArr.closeIcon = cacheManager.get('projectImg').closeIcon;
|
|
|
|
|
+ data.iconsArr.defaultUserImg = cacheManager.get('projectImg').user_default_img;
|
|
|
});
|
|
});
|
|
|
function handleCloseOnly() {
|
|
function handleCloseOnly() {
|
|
|
popupRef.value.close()
|
|
popupRef.value.close()
|