quanwei
17 hours ago ad8477d3ee82a3fffd5de4cd60a237c9ee6b1fb7
mobile/pages3/release/chat/chat.vue
@@ -5,7 +5,7 @@
         <view class="im_interface_content" ref='container'>
            <view :class="item.user_id == user_id?'im_text':'im_text2'" class="m-item" v-for="(item,index) in content_list" :key="index">
               <image class="avatar" :src="item.user_id != user_id?item.user.avatarUrl:avatarUrl"
               <image class="avatar" :src="item.user_id == user_id?myavatarUrl:(item.user&&item.user.avatarUrl?item.user.avatarUrl:otherAvatarUrl)"
                mode=""></image>
               <view>
                  <view class="my_date">{{item.create_time}}</view>
@@ -38,8 +38,8 @@
         return {
            user_id: '', //我的user_id
            you_user_id: '', //对方的suser_id
            myavatarUrl: '',
            avatarUrl: '',
            myavatarUrl: '', //我的头像
            otherAvatarUrl: '', //对方的头像
            phoneHeight: 0,
            /*可滚动视图区域高度*/
            scrollviewHigh: 0,
@@ -76,7 +76,7 @@
         let self = this;
         self.you_user_id = option.you_user_id;
         self.nickName = option.nickname;
         self.avatarUrl = option.avatarurl;
         self.otherAvatarUrl = option.avatarurl; // 对方的头像
         uni.setNavigationBarTitle({
            title: self.nickName
         })