话题审核、活动审核头部固定问题

dev
zhangjinzhe 2024-08-05 19:17:27 +08:00
parent c2419deb4c
commit be4808ca61
2 changed files with 9 additions and 7 deletions

View File

@ -1,7 +1,7 @@
<template> <template>
<view> <view>
<!-- tabs标签 --> <!-- tabs标签 -->
<view class="tabsinfo flex alignCenter justifyCenter"> <view class="tabsinfo flex alignCenter justifyCenter" style="position: fixed; z-index: 5; width: 100%;">
<up-tabs :list="list4" lineWidth="24" lineHeight="4" @click="tabsClick" lineColor="#6aa2ff" :activeStyle="{ <up-tabs :list="list4" lineWidth="24" lineHeight="4" @click="tabsClick" lineColor="#6aa2ff" :activeStyle="{
color: '#000000', color: '#000000',
fontSize: '30rpx', fontSize: '30rpx',
@ -14,7 +14,7 @@
</up-tabs> </up-tabs>
</view> </view>
<!-- 审核的信息 --> <!-- 审核的信息 -->
<up-list @scrolltolower="scrolltolower" :showScrollbar="false" :pagingEnabled="true"> <up-list @scrolltolower="scrolltolower" :showScrollbar="false" :pagingEnabled="true" style="paddingTop: 80rpx; paddingBottom: 24rpx;">
<up-list-item v-for="(item, index) in modelValue" :key="index"> <up-list-item v-for="(item, index) in modelValue" :key="index">
<view class="shenghe_item" @click="gotoworkinfo(item)" > <view class="shenghe_item" @click="gotoworkinfo(item)" >
<view class="user_header"> <view class="user_header">
@ -311,8 +311,7 @@ const getDictLabelByValue = (state) => {
.tabsinfo { .tabsinfo {
background-color: #fff; background-color: #fff;
height: 80rpx; height: 80rpx;
margin-bottom: 24rpx; /* margin-bottom: 24rpx; */
} }
.shenghe_item { .shenghe_item {
@ -322,7 +321,7 @@ const getDictLabelByValue = (state) => {
padding: 48rpx 32rpx 26rpx 32rpx; padding: 48rpx 32rpx 26rpx 32rpx;
border-radius: 16rpx 16rpx 16rpx 16rpx; border-radius: 16rpx 16rpx 16rpx 16rpx;
margin: 0 auto; margin: 0 auto;
margin-bottom: 24rpx; margin-top: 24rpx;
} }
.user_header { .user_header {

View File

@ -1,6 +1,6 @@
<template> <template>
<!-- tabs标签 --> <!-- tabs标签 -->
<view class="tabsinfo flex alignCenter justifyCenter"> <view class="tabsinfo flex alignCenter justifyCenter" style="position: fixed; z-index: 5; width: 100%;">
<up-tabs :list="list4" lineWidth="24" lineHeight="4" @click="tabsClick" lineColor="#6aa2ff" :activeStyle="{ <up-tabs :list="list4" lineWidth="24" lineHeight="4" @click="tabsClick" lineColor="#6aa2ff" :activeStyle="{
color: '#000000', color: '#000000',
fontSize: '30rpx', fontSize: '30rpx',
@ -12,11 +12,14 @@
}" itemStyle=" width: 185rpx; padding-bottom:18rpx;"> }" itemStyle=" width: 185rpx; padding-bottom:18rpx;">
</up-tabs> </up-tabs>
</view> </view>
<view class="" style="paddingTop: 100rpx;">
<view class="" v-for="(postItem, postIndex) in postList" :key="postIndex" > <view class="" v-for="(postItem, postIndex) in postList" :key="postIndex" >
<PostView :postValue="postItem" :postViewType="0" <PostView :postValue="postItem" :postViewType="0"
></PostView> ></PostView>
<u-line></u-line> <u-line></u-line>
</view> </view>
</view>
</template> </template>
<script setup> <script setup>