bug
This commit is contained in:
@@ -1,19 +1,22 @@
|
||||
<template>
|
||||
<div class="AppCircle" :style="{paddingTop: (statusBarHeight + 110) + 'px'}">
|
||||
<div class="header" :class="[isFixed ? 'header-active' : '']">
|
||||
<div class="header">
|
||||
<div class="status-bar" :style="{height: statusBarHeight + 'px'}"></div>
|
||||
<div class="nav-bar">
|
||||
<div class="nav-bar" :style="{
|
||||
height: '88rpx',
|
||||
lineHeight: '88rpx'
|
||||
}">
|
||||
<h2>邻里互助</h2>
|
||||
</div>
|
||||
</div>
|
||||
<div class="top" :style="{top: (statusBarHeight + 44) + 'px'}">
|
||||
<div class="left">
|
||||
<span @click="changeTab(0)" :class="{active:currIndex === 0}">广场</span>
|
||||
<span @click="changeTab(1)" :class="{active:currIndex === 1}">社区</span>
|
||||
</div>
|
||||
<div class="right" @click="$linkTo('./MyPostList')" hover-class="text-hover">
|
||||
<span>我的贴子</span>
|
||||
<i v-if="total > 0">{{ total }}</i>
|
||||
<div class="top">
|
||||
<div class="left">
|
||||
<span @click="changeTab(0)" :class="{active:currIndex === 0}">广场</span>
|
||||
<span @click="changeTab(1)" :class="{active:currIndex === 1}">社区</span>
|
||||
</div>
|
||||
<div class="right" @click="$linkTo('./MyPostList')" hover-class="text-hover">
|
||||
<span>我的贴子</span>
|
||||
<i v-if="total > 0">{{ total }}</i>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="nav" v-if="topic.length">
|
||||
@@ -92,7 +95,7 @@
|
||||
isMore: false,
|
||||
current: 1,
|
||||
isFixed: false,
|
||||
statusBarHeight: 20,
|
||||
statusBarHeight: uni.getSystemInfoSync().statusBarHeight,
|
||||
total: 0
|
||||
}
|
||||
},
|
||||
@@ -292,8 +295,6 @@
|
||||
|
||||
.nav-bar {
|
||||
position: relative;
|
||||
height: 88px;
|
||||
line-height: 88px;
|
||||
color: #000;
|
||||
font-size: 32px;
|
||||
font-weight: 600;
|
||||
@@ -459,7 +460,6 @@
|
||||
|
||||
.top {
|
||||
display: flex;
|
||||
position: fixed;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
top: 0;
|
||||
|
||||
Reference in New Issue
Block a user