智慧保安互联网APP
liuyg
2021-08-12 f4a4c7709e09bb7c31f802ea8187d1e117efda2b
pages/groupChat/chating.vue
@@ -125,7 +125,7 @@
      </view>
      <!-- <view class="padbt"></view> -->
   </scroll-view>
   <submit @inputs="inputs"
   <submit @inputs="inputs"  :names="name"
               @heights="heights"/>
   </view>
</template>
@@ -156,7 +156,9 @@
            loading: '',                  // 滚动事件
            isload: true,
            isanimation: true,
            begainloading: true
            begainloading: true,
            name: []//视频 双方id
         };
      },
      components:{
@@ -166,6 +168,9 @@
         this.recipientId = option.chatID;
         this._getMsg(this.nowpage)
         // this.nextPage()
         var data = JSON.parse(option.data)
         console.log(data,55555555555555555555555)
         this.name = ['wo',data.id];
      },
      methods:{
         // 返回键
@@ -209,7 +214,7 @@
            var that = this;
            that.senId = WxStorage.get("ids");
            uni.request({
               url:"http://s16s652780.51mypc.cn/api/chat-records/getSingleMessagePage",
               url:"http://223.82.109.183:2082/api/chat-records/getSingleMessagePage",
               method:"get",
               data:{
                  senderId: that.senId,
@@ -332,7 +337,7 @@
            }
            
            uni.request({
               url:"http://s16s652780.51mypc.cn/api/chat-records/insertSingleChat",
               url:"http://223.82.109.183:2082/api/chat-records/insertSingleChat",
               method:"post",
               data:{
                  senderId: that.senId,