|
@@ -2,7 +2,7 @@
|
|
|
<view class="">
|
|
<view class="">
|
|
|
<view v-for="(item,index) in workPersonList" @click="chooseServiceTeacher(item)" class="h-item-row">
|
|
<view v-for="(item,index) in workPersonList" @click="chooseServiceTeacher(item)" class="h-item-row">
|
|
|
<view class="h-img">
|
|
<view class="h-img">
|
|
|
- <image src="../../static/logo.png" mode=""></image>
|
|
|
|
|
|
|
+ <image :src="item.imgUrl || '/static/logo.png'" mode=""></image>
|
|
|
</view>
|
|
</view>
|
|
|
<view class="h-item-content">
|
|
<view class="h-item-content">
|
|
|
<view class="h-title">
|
|
<view class="h-title">
|
|
@@ -77,6 +77,7 @@
|
|
|
if (data[i].facePhoto){
|
|
if (data[i].facePhoto){
|
|
|
this.$api.getImage(data[i].facePhoto).then(res=>{
|
|
this.$api.getImage(data[i].facePhoto).then(res=>{
|
|
|
data[i].imgUrl = res.data.data[0].url.replace(/^http:/, "https:")
|
|
data[i].imgUrl = res.data.data[0].url.replace(/^http:/, "https:")
|
|
|
|
|
+ this.$set(this.workPersonList,i,data[i])
|
|
|
});
|
|
});
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
@@ -106,10 +107,11 @@
|
|
|
|
|
|
|
|
.h-img {
|
|
.h-img {
|
|
|
margin-right: 8px;
|
|
margin-right: 8px;
|
|
|
-
|
|
|
|
|
|
|
+ border-radius: 10rpx;
|
|
|
image {
|
|
image {
|
|
|
height: 80px;
|
|
height: 80px;
|
|
|
width: 80px;
|
|
width: 80px;
|
|
|
|
|
+ border-radius: 10rpx;
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
|