Commit 37bcbec5 authored by liwei's avatar liwei

Merge remote-tracking branch 'origin/master'

parents f6089eed e0ec0524
......@@ -74,7 +74,7 @@ export function comment(data) {
//删除动态
export function delArticle(id) {
return request({
url: '/app/delete/' + id,
url: '/app/opmArticle/delete/' + id,
method: 'delete',
headers: {}
})
......@@ -83,7 +83,7 @@ export function delArticle(id) {
//删除评论
export function deleteComment(data) {
return request({
url: '/app/deleteComment/' + data.bussinessId,
url: '/app/opmArticle/deleteComment/' + data.bussinessId,
method: 'delete',
data:data
})
......
......@@ -29,7 +29,7 @@
<view class="chat-inner-layout">
<view class="chat-item-name">{{item.memNickName}}</view>
<view class="chat-item-msg-layout">
<image class="chat-item-photo" :src="item.avatarUrl" ></image>
<image @click="gotoDetail(item.memberId)" class="chat-item-photo" :src="item.avatarUrl" ></image>
<view class="chat-inner-msg-left">{{item.content}}</view>
</view>
</view>
......@@ -87,6 +87,7 @@ import {getOssUrl} from "../../api/article";
import {getDict} from "../../api/system/dict/data";
import ELM from '@/components/elm-toast/index.vue';
import UTextarea from "../../uni_modules/uview-ui/components/u--textarea/u--textarea.vue";
import {message} from "../../common/message";
export default {
name: "info",
data() {
......@@ -506,6 +507,20 @@ export default {
icon: 'none'
})
},
//跳转用户详情
gotoDetail(item){
if (item != null && item !=''){
if (uni.getStorageSync('userInfo').memRealAuthen != '1'){
this.tipMsg = message.authenticationMsg;
this.isConfirm = true;
this.$refs.elm.showDialog();
return
}
uni.navigateTo({
url: '/pagesUser/userInfo?memberId='+item
})
}
},
backbar() {
uni.navigateBack({
delta: 1, // 返回层数,2则上上页
......
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