Commit 09f8c3b8 authored by 罗林杰's avatar 罗林杰

修改bug

parent 4c80122f
......@@ -39,7 +39,7 @@
<view class="chat-item-name-right">{{item.memNickName}}</view>
<view class="chat-item-msg-layout">
<view class="chat-inner-msg-right">{{item.content}} </view>
<image class="chat-item-photo" :src="item.avatar" ></image>
<image class="chat-item-photo" :src="item.avatarUrl" ></image>
</view>
</view>
</view>
......@@ -217,7 +217,7 @@ export default {
if (item.avatar != null && item.avatar != ''){
getOssUrl(item.avatar).then(imgRes => {
if (imgRes.data.data != null) {
item.avatar = imgRes.data.data.replace(/\\/g, "/");
item.avatarUrl = imgRes.data.data.replace(/\\/g, "/");
}
})
}
......
......@@ -14,7 +14,7 @@
<view class="card">
<view class="recommendation-card" @click="gotoBusinessDetail(item)">
<view class="card-image"style="justify-content: left;display: flex">
<image class="img" :src="item.avatar"/>
<image class="img" :src="item.avatarUrl"/>
<view style="margin-top: 20rpx;">
<u-badge :isDot="item.noReadCount != 0" type="error"></u-badge>
</view>
......@@ -110,7 +110,7 @@ export default {
if (item.avatar != null && item.avatar != ''){
getOssUrl(item.avatar).then(imgRes => {
if (imgRes.data.data != null) {
item.avatar = imgRes.data.data.replace(/\\/g, "/");
item.avatarUrl = imgRes.data.data.replace(/\\/g, "/");
}
})
}
......
......@@ -14,7 +14,7 @@
>
<view class="swipe-action__content">
<view class="avatar">
<u--image :src="item.avatar" width="40px" height="40px" mode="aspectFill" shape="circle"></u--image>
<u--image :src="item.avatarUrl" width="40px" height="40px" mode="aspectFill" shape="circle"></u--image>
</view>
<view class="content">
<view class="title">
......@@ -75,7 +75,7 @@ export default {
if (item.avatar != null && item.avatar != ''){
getOssUrl(item.avatar).then(imgRes => {
if (imgRes.data.data != null) {
item.avatar = imgRes.data.data.replace(/\\/g, "/");
item.avatarUrl = imgRes.data.data.replace(/\\/g, "/");
}
})
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment