Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
cust-app
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
李伟
cust-app
Commits
37bcbec5
Commit
37bcbec5
authored
Mar 27, 2025
by
liwei
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
parents
f6089eed
e0ec0524
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
3 deletions
+18
-3
index.js
api/article/index.js
+2
-2
info.vue
pagesme/message/info.vue
+16
-1
No files found.
api/article/index.js
View file @
37bcbec5
...
@@ -74,7 +74,7 @@ export function comment(data) {
...
@@ -74,7 +74,7 @@ export function comment(data) {
//删除动态
//删除动态
export
function
delArticle
(
id
)
{
export
function
delArticle
(
id
)
{
return
request
({
return
request
({
url
:
'/app/delete/'
+
id
,
url
:
'/app/
opmArticle/
delete/'
+
id
,
method
:
'delete'
,
method
:
'delete'
,
headers
:
{}
headers
:
{}
})
})
...
@@ -83,7 +83,7 @@ export function delArticle(id) {
...
@@ -83,7 +83,7 @@ export function delArticle(id) {
//删除评论
//删除评论
export
function
deleteComment
(
data
)
{
export
function
deleteComment
(
data
)
{
return
request
({
return
request
({
url
:
'/app/deleteComment/'
+
data
.
bussinessId
,
url
:
'/app/
opmArticle/
deleteComment/'
+
data
.
bussinessId
,
method
:
'delete'
,
method
:
'delete'
,
data
:
data
data
:
data
})
})
...
...
pagesme/message/info.vue
View file @
37bcbec5
...
@@ -29,7 +29,7 @@
...
@@ -29,7 +29,7 @@
<view
class=
"chat-inner-layout"
>
<view
class=
"chat-inner-layout"
>
<view
class=
"chat-item-name"
>
{{
item
.
memNickName
}}
</view>
<view
class=
"chat-item-name"
>
{{
item
.
memNickName
}}
</view>
<view
class=
"chat-item-msg-layout"
>
<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
class=
"chat-inner-msg-left"
>
{{
item
.
content
}}
</view>
</view>
</view>
</view>
</view>
...
@@ -87,6 +87,7 @@ import {getOssUrl} from "../../api/article";
...
@@ -87,6 +87,7 @@ import {getOssUrl} from "../../api/article";
import
{
getDict
}
from
"../../api/system/dict/data"
;
import
{
getDict
}
from
"../../api/system/dict/data"
;
import
ELM
from
'@/components/elm-toast/index.vue'
;
import
ELM
from
'@/components/elm-toast/index.vue'
;
import
UTextarea
from
"../../uni_modules/uview-ui/components/u--textarea/u--textarea.vue"
;
import
UTextarea
from
"../../uni_modules/uview-ui/components/u--textarea/u--textarea.vue"
;
import
{
message
}
from
"../../common/message"
;
export
default
{
export
default
{
name
:
"info"
,
name
:
"info"
,
data
()
{
data
()
{
...
@@ -506,6 +507,20 @@ export default {
...
@@ -506,6 +507,20 @@ export default {
icon
:
'none'
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
()
{
backbar
()
{
uni
.
navigateBack
({
uni
.
navigateBack
({
delta
:
1
,
// 返回层数,2则上上页
delta
:
1
,
// 返回层数,2则上上页
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment