diff --git a/pages/index/index.vue b/pages/index/index.vue index 224b957..efc3d47 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -269,13 +269,22 @@ - + + + + 预约 + + + + 上线 + + {{artificerItem.dzs}} - + {{artificerItem.pls}} @@ -661,6 +670,7 @@ videoContext.play(); // 播放视频 }, towxh5Video(item,index){ + console.log(item); this.playShow=true; this.filePath=item.filePath; this.contentVideo=item.content; @@ -1352,7 +1362,7 @@ }) this.currents = 1//点击头像以后就会切换 }, -cLike(item){ + cLike(item){ var data={ createBy:uni.getStorageSync('userId'), shipinquanId:item.id, @@ -1412,6 +1422,24 @@ cLike(item){ this.$refs.pinglun.open('bottom'); this.getPingL(this.videoID); }, + shangxian(item){//请TA上线 + var data={ + userId: item.createBy, + byUserId: uni.getStorageSync('userId'), + } + this.$Request.post("/app/message/insertUpMessage", data).then(res => { + if (res.code == 0) { + uni.showToast({ + title: '提醒成功!' + }) + }else{ + uni.showToast({ + icon:'error', + title: '提醒失败!' + }) + } + }); + }, getPingL(shipinquanId){//获取评论列表 var data={ page: this.page, diff --git a/pages/my/cooperation.vue b/pages/my/cooperation.vue index 7108d4a..ee3f7f0 100644 --- a/pages/my/cooperation.vue +++ b/pages/my/cooperation.vue @@ -44,12 +44,19 @@ + + + + 状态 + 通过 + 拒绝 + + - 确认提交 - 直接联系 + 确认提交 直接联系 @@ -71,7 +78,8 @@ applyId: '', latitude:'', longitude:'', - cityData:'' + cityData:'', + status:'', }; }, onLoad() { @@ -166,7 +174,7 @@ this.applyName = res.data.applyName this.applyPhone = res.data.applyPhone this.applyContent = res.data.applyContent - this.applyId = res.data.status + this.status = res.data.status } }) }, diff --git a/pages/therapist/orderDetail.vue b/pages/therapist/orderDetail.vue index 007393e..9ee07af 100644 --- a/pages/therapist/orderDetail.vue +++ b/pages/therapist/orderDetail.vue @@ -256,13 +256,22 @@ - + + + + 预约 + + + + 上线 + + {{artificerItem.dzs}} - + {{artificerItem.pls}} diff --git a/pages/videoCircle/gDvideo.vue b/pages/videoCircle/gDvideo.vue index 25ee0e7..1c935bf 100644 --- a/pages/videoCircle/gDvideo.vue +++ b/pages/videoCircle/gDvideo.vue @@ -132,13 +132,22 @@ - + + + + 预约 + + + + 上线 + + {{artificerItem.dzs}} - + {{artificerItem.pls}} @@ -431,6 +440,24 @@ this.$refs.pinglun.open('bottom'); this.getPingL(this.videoID); }, + shangxian(){//请TA上线 + var data={ + userId: this.artificerId, + byUserId: this.myId + } + this.$Request.post("/app/message/insertUpMessage", data).then(res => { + if (res.code == 0) { + uni.showToast({ + title: '提醒成功!' + }) + }else{ + uni.showToast({ + icon:'error', + title: '提醒失败!' + }) + } + }); + }, getPingL(shipinquanId){//获取评论列表 var data={ page: this.page, diff --git a/static/img/index/lijiyuyue.png b/static/img/index/lijiyuyue.png new file mode 100644 index 0000000..51355ec Binary files /dev/null and b/static/img/index/lijiyuyue.png differ diff --git a/static/img/index/qingtashangxian.png b/static/img/index/qingtashangxian.png new file mode 100644 index 0000000..2d10c48 Binary files /dev/null and b/static/img/index/qingtashangxian.png differ