Commit 7a8d3769 authored by Mac's avatar Mac

1

parent 0be07502
...@@ -344,13 +344,10 @@ ...@@ -344,13 +344,10 @@
<view v-for="(item, iq) in x.commentList" :key="iq" style="width: 100%;margin-bottom: 7px;" @longpress='longpress(x,i,item,iq)'> <view v-for="(item, iq) in x.commentList" :key="iq" style="width: 100%;margin-bottom: 7px;" @longpress='longpress(x,i,item,iq)'>
<view class="text comment-list" :style="{color:mainColor}" @click="goUserinfo(item,2)"> <view class="text comment-list" :style="{color:mainColor}" @click="goUserinfo(item,2)">
{{item.empName}} {{item.empName}}
<text @click="huifu(x,i,item,iq)"> <text style="color: #333333;margin: 0 3px;" v-if="item.byReplayEmpId>0">回复</text>
<text style="color: #333333;margin: 0 3px;" v-if="item.byReplayEmpId>0">回复</text> {{item.byReplayEmpId>0?item.byReplayEmpName:''}}
{{item.byReplayEmpId>0?item.byReplayEmpName:''}}
</text>
</view> </view>
<view class="text2">{{item.content}}</view> <view class="text2" @click="huifu(x,i,item,iq)">{{item.content}}</view>
</view> </view>
</view> </view>
...@@ -607,7 +604,7 @@ ...@@ -607,7 +604,7 @@
this.init(); this.init();
}, },
lower(e) { lower(e) {
console.log(2)
if (this.msg.pageIndex < this.page_count) { if (this.msg.pageIndex < this.page_count) {
this.msg.pageIndex++; this.msg.pageIndex++;
this.status = "loading"; this.status = "loading";
...@@ -740,8 +737,6 @@ ...@@ -740,8 +737,6 @@
} }
this.placeholder = '回复'+item.empName this.placeholder = '回复'+item.empName
} }
}, },
mydelete(){//删除自己的回复 mydelete(){//删除自己的回复
this.request2({ this.request2({
...@@ -763,7 +758,7 @@ ...@@ -763,7 +758,7 @@
}, },
addComment() { addComment() {
this.u = uni.getStorageSync("mall_UserInfo"); this.u = uni.getStorageSync("mall_UserInfo");
console.log(this.u)
if (!this.u) { if (!this.u) {
this.u = { this.u = {
nickName: "未登录", nickName: "未登录",
...@@ -917,14 +912,18 @@ ...@@ -917,14 +912,18 @@
innerAudioContext.stop(); innerAudioContext.stop();
}, },
goUserinfo(x,type){//用户信息 goUserinfo(x,type){//用户信息
let UserId = x.createEmpId let UserId = x.createEmpId
if(type==2){ if(type==2){
UserId = x.empId UserId = x.empId
} }
uni.navigateTo({ if(this.IsOpenMiAi == 1){
url: '/pages/blindDate/persondetails?UserId='+ UserId uni.navigateTo({
}); url: '/pages/blindDate/persondetails?UserId='+ UserId
innerAudioContext.stop(); });
innerAudioContext.stop();
}
} }
} }
} }
......
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