Commit 97c43c70 authored by liwei's avatar liwei

修改了查看个人动态列表的样式

parent 4ae30353
......@@ -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
}
articleList(params).then( res =>{
userArticleList(params).then( res =>{
if (res.data.data.length > 0){
this.articleInfo = res.data.data[0]
//处理图片
......
......@@ -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;
// }
//}
}
}
......
<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>
......
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