4 files modified
2 files renamed
| | |
| | | { |
| | | "name" : "群防群控", |
| | | "appid" : "__UNI__88EDF2B", |
| | | "appid" : "__UNI__1A57486", |
| | | "description" : "", |
| | | "versionName" : "1.0.0", |
| | | "versionCode" : "100", |
| | |
| | | </navigator> |
| | | </view> |
| | | <view class="view-business-nav"> |
| | | <navigator class="patrolBtn" url="/pages/riskReporting/riskReporting"> |
| | | <navigator class="patrolBtn" url="/pages/groupChat/groupChat"> |
| | | <image src="../../static/workbench/task4.png"></image> |
| | | <span>通讯录</span> |
| | | </navigator> |
| | |
| | | 'content-type': 'application/x-www-form-urlencoded', |
| | | }, |
| | | data:{ |
| | | //gid: that.recipientId |
| | | gid: "1" |
| | | gid: that.recipientId |
| | | //gid: "1" |
| | | }, |
| | | success:(res)=> { |
| | | // recAvatar: null,//接收者头像 |
| | |
| | | }else{ |
| | | resdata[i].avatar = resdata[i].avatar; |
| | | } |
| | | |
| | | if(resdata[i].sender_id == that.senId){ |
| | | that.senAvatar = resdata[i].avatar; |
| | | } |
| | | |
| | | } |
| | | let msg = res.data.data; |
| | |
| | | } |
| | | nowTime = t |
| | | let sendMsg = { |
| | | senderId: that.senId, |
| | | recipientId: that.recipientId, |
| | | sender_id: that.senId, |
| | | post_message: e.message, |
| | | message_type: 0, |
| | | status: 0, |
| | | post_time: nowTime, |
| | | avatar:that.senAvatar |
| | | } |
| | | |
| | | uni.request({ |
| | |
| | | messageType: 0, |
| | | status: 0, |
| | | postTime: sentTime, |
| | | gid:that.recipientId |
| | | }, |
| | | success:(res)=> { |
| | | |
| | | } |
| | | }); |
| | | |
| | |
| | | <view class="title">照片上传:</view> |
| | | <view class="t"> |
| | | <view class="main"> |
| | | <image @tap="takePhoto" src="../../../../static/JQimg/相机.png" mode=""></image> |
| | | <image @tap="takePhoto" src="../../../../static/JQimg/xiangji.png" mode=""></image> |
| | | </view> |
| | | </view> |
| | | <seeImgs class="seeImgs" :imgs="imgs" :videos="[]" @del="delImg" :type="'imgs'"></seeImgs> |
| | | <view class="title">视频上传:</view> |
| | | <view class="s"> |
| | | <view class="main"> |
| | | <image @tap="takeVideo" src="../../../../static/JQimg/视频.png" mode=""></image> |
| | | <image @tap="takeVideo" src="../../../../static/JQimg/shipin.png" mode=""></image> |
| | | </view> |
| | | </view> |
| | | <seeImgs class="seeImgsVideo" :imgs="[]" :videos="videos" @del="delVideo" :type="'videos'"></seeImgs> |