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
5e44638b
Commit
5e44638b
authored
Mar 05, 2025
by
罗林杰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改bug
parent
b8e5c3de
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
10 deletions
+4
-10
articleItem.vue
pagesArticle/components/articleItem.vue
+3
-9
Item.vue
pagesUser/component/Item.vue
+1
-1
No files found.
pagesArticle/components/articleItem.vue
View file @
5e44638b
<
template
>
<
template
>
<view
class=
"item"
>
<view
class=
"item"
>
<view
class=
"left"
>
<view
class=
"left"
>
<image
@
click=
"gotoUserInfo(info)"
:src=
"info.memAvatar"
mode=
"aspectFill"
></image>
<image
:src=
"info.memAvatar"
mode=
"aspectFill"
></image>
</view>
</view>
<view
class=
"center"
>
<view
class=
"center"
>
<template>
<template>
<view
class=
"name"
>
<view
class=
"name"
>
<text
@
click=
"gotoUserInfo(info)"
>
{{
info
.
memNickName
}}
</text>
<text>
{{
info
.
memNickName
}}
</text>
<image
v-if=
"info.gender != '男'"
class=
"gender"
:src=
"baseUrl+'/user/famale.png'"
mode=
""
>
<image
v-if=
"info.gender != '男'"
class=
"gender"
:src=
"baseUrl+'/user/famale.png'"
mode=
""
>
</image>
</image>
<image
v-else
class=
"gender"
:src=
"baseUrl+'/user/male.png'"
mode=
""
></image>
<image
v-else
class=
"gender"
:src=
"baseUrl+'/user/male.png'"
mode=
""
></image>
...
@@ -20,7 +20,7 @@
...
@@ -20,7 +20,7 @@
<view
class=
"content"
>
<view
class=
"content"
>
<
template
v-if=
"info.content"
>
<
template
v-if=
"info.content"
>
<u-read-more
ref=
"uReadMore"
:shadowStyle=
"shadowStyle"
:toggle=
"true"
color=
"#415C9E"
:textIndent=
"0"
showHeight=
"126rpx"
>
<u-read-more
ref=
"uReadMore"
:shadowStyle=
"shadowStyle"
:toggle=
"true"
color=
"#415C9E"
:textIndent=
"0"
showHeight=
"126rpx"
>
<view
@
click=
"gotoDetail(info)"
style=
"font-size: 28rpx;color: #333333;"
>
<view
style=
"font-size: 28rpx;color: #333333;"
>
<view
class=
""
style=
"line-height: 1.5;"
>
<view
class=
""
style=
"line-height: 1.5;"
>
{{
info
.
content
}}
{{
info
.
content
}}
</view>
</view>
...
@@ -114,12 +114,6 @@
...
@@ -114,12 +114,6 @@
select
()
{
select
()
{
this
.
$emit
(
"selectShare"
,
this
.
info
)
this
.
$emit
(
"selectShare"
,
this
.
info
)
},
},
//查看动态详情
gotoDetail
(
item
)
{
uni
.
navigateTo
({
url
:
'/pagesArticle/articleDetail?userId='
+
item
.
userId
})
},
//查看用户详情
//查看用户详情
gotoUserInfo
(
item
)
{
gotoUserInfo
(
item
)
{
uni
.
navigateTo
({
uni
.
navigateTo
({
...
...
pagesUser/component/Item.vue
View file @
5e44638b
...
@@ -86,7 +86,7 @@
...
@@ -86,7 +86,7 @@
</view>
</view>
<view
class=
"right"
v-if=
"userInfoId == userId"
>
<view
class=
"right"
v-if=
"userInfoId == userId"
>
<u-tag
v-if=
"info.examStatus === '0'"
plain
plainFill
text=
"
未审核
"
type=
"info"
/>
<u-tag
v-if=
"info.examStatus === '0'"
plain
plainFill
text=
"
审核中
"
type=
"info"
/>
<u-tag
v-if=
"info.examStatus === '1'"
plain
plainFill
text=
"审核通过"
type=
"success"
/>
<u-tag
v-if=
"info.examStatus === '1'"
plain
plainFill
text=
"审核通过"
type=
"success"
/>
<u-tag
@
click=
"showRemarks(info)"
v-if=
"info.examStatus === '2' || info.examStatus === '3'"
plain
plainFill
text=
"未通过"
type=
"error"
/>
<u-tag
@
click=
"showRemarks(info)"
v-if=
"info.examStatus === '2' || info.examStatus === '3'"
plain
plainFill
text=
"未通过"
type=
"error"
/>
</view>
</view>
...
...
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