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
97c43c70
Commit
97c43c70
authored
Feb 25, 2025
by
liwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改了查看个人动态列表的样式
parent
4ae30353
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
37 additions
and
30 deletions
+37
-30
my.vue
pages/tab/my.vue
+2
-2
Item.vue
pagesUser/component/Item.vue
+29
-22
userArticleList.vue
pagesUser/userArticleList.vue
+6
-6
No files found.
pages/tab/my.vue
View file @
97c43c70
...
...
@@ -172,7 +172,7 @@
<
script
>
import
{
setUserProfile
}
from
'../../api/login/index'
import
{
noReadMessageAllCount
,
userDetail
}
from
"../../api/user"
;
import
{
articleList
,
getOssUrl
}
from
"../../api/article"
;
import
{
articleList
,
getOssUrl
,
userArticleList
}
from
"../../api/article"
;
export
default
{
data
()
{
return
{
...
...
@@ -290,7 +290,7 @@ import {articleList, getOssUrl} from "../../api/article";
page
:
1
,
rows
:
1
}
a
rticleList
(
params
).
then
(
res
=>
{
userA
rticleList
(
params
).
then
(
res
=>
{
if
(
res
.
data
.
data
.
length
>
0
){
this
.
articleInfo
=
res
.
data
.
data
[
0
]
//处理图片
...
...
pagesUser/component/Item.vue
View file @
97c43c70
...
...
@@ -86,18 +86,23 @@
</view>
<view
class=
"right"
>
<!-- 右上角的三个点-->
<view
v-if=
"info.isDelete"
@
click=
"showSelect(info)"
>
<text></text>
<text></text>
<text></text>
</view>
<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 === '2' || info.examStatus === '3'"
plain
plainFill
text=
"未通过"
type=
"error"
/>
</view>
<!-- <view class="right">-->
<!-- 右上角的三个点-->
<!-- <view v-if="info.isDelete" @click="showSelect(info)">-->
<!-- <text></text>-->
<!-- <text></text>-->
<!-- <text></text>-->
<!-- </view>-->
<!-- </view>-->
<!-- 右上角三个点的选项-->
<u-action-sheet
:actions=
"list"
:closeOnClickOverlay=
"true"
:safeAreaInsetBottom=
"true"
cancelText=
"取消"
@
select=
"selectClick"
@
close=
"show = false"
:show=
"show"
></u-action-sheet
>
<!-- <u-action-sheet :actions="list" :closeOnClickOverlay="true" :safeAreaInsetBottom="true" cancelText="取消"-->
<!-- @select="selectClick" @close="show = false" :show="show"></u-action-sheet>--
>
<!-- 登录弹窗-->
<login
@
change=
"getToLogin"
:isLoginPop=
"isLoginPop"
class=
"my-select"
></login
>
<!-- <login @change="getToLogin" :isLoginPop="isLoginPop" class="my-select"></login>--
>
</view>
</template>
...
...
@@ -392,19 +397,21 @@
}
.right
{
view
{
display
:
flex
;
height
:
30rpx
;
padding-top
:
14rpx
;
text
{
width
:
8rpx
;
height
:
8rpx
;
background-color
:
#333
;
border-radius
:
50%
;
margin-right
:
6rpx
;
}
}
position
:
absolute
;
right
:
30rpx
;
//view {
// display: flex;
// height: 30rpx;
// padding-top: 14rpx;
//
// text {
// width: 8rpx;
// height: 8rpx;
// background-color: #333;
// border-radius: 50%;
// margin-right: 6rpx;
// }
//}
}
}
...
...
pagesUser/userArticleList.vue
View file @
97c43c70
<
template
>
<view>
<!-- z-paging是一个分页组件-->
<view
style=
"height: 100%"
>
<u-navbar
@
leftClick=
"backbar"
bgColor=
"#F4F5F9"
:title=
"title"
>
</u-navbar>
<!-- z-paging是一个分页组件-->
<view
:style=
"
{'top':navHeight+'px','height': '100vh','position': 'relative'}">
<z-paging
ref=
"paging"
v-model=
"dataList"
@
query=
"queryList"
:fixed=
"false"
>
<z-paging
ref=
"paging"
v-model=
"dataList"
@
query=
"queryList"
:fixed=
"true"
>
<view
:style=
"
{'margin-top':navHeight+'px'}">
<view
v-for=
"(item,index) in dataList"
:key=
"item.id"
>
<ItemVue
:info=
"item"
@
praise=
"praise"
/>
</view>
</
z-paging
>
</
view
>
</
view
>
</
z-paging
>
</view>
</
template
>
...
...
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