This commit is contained in:
花有清香月有阴
2022-01-10 11:43:53 +08:00
parent 9370a3ff2d
commit c9ffb97281

View File

@@ -36,6 +36,8 @@
</div> </div>
</div> </div>
<div class="line1"></div>
<div class="middle"> <div class="middle">
<div class="left"> <div class="left">
<AiAreaPicker v-model="areaId" all :areaId="user.areaId" @select="areaSelect" :name.sync="areaName" style="color: #666"> <AiAreaPicker v-model="areaId" all :areaId="user.areaId" @select="areaSelect" :name.sync="areaName" style="color: #666">
@@ -49,8 +51,23 @@
<u-search v-model="keyword" :clearabled="true" placeholder="请输入标题" :show-action="false" bg-color="#F5F5F5" search-icon-color="#999" color="#999" height="58" @search="handerSearch" @clear="handerClear"></u-search> <u-search v-model="keyword" :clearabled="true" placeholder="请输入标题" :show-action="false" bg-color="#F5F5F5" search-icon-color="#999" color="#999" height="58" @search="handerSearch" @clear="handerClear"></u-search>
</div> </div>
<div class="line2"></div>
<div class="bottom"> <div class="bottom">
<u-tabs :list="tabList" :is-scroll="false" :current="currentTabs" height="96" bg-color="#fff" inactive-color="#333 " active-color="#135AB8 " @change="change"></u-tabs> <u-tabs :list="tabList" :is-scroll="false" :current="currentTabs" height="96" bg-color="#fff" inactive-color="#333 " active-color="#135AB8 " @change="change"></u-tabs>
<div class="line3"></div>
<template>
<!-- v-if="data.length" -->
<div v-for="(item, i) in 10" :key="i" @click.native="goDetail()" :ref="item.id">
<div>1</div>
<div>2</div>
</div>
</template>
<!-- <AiEmpty description="暂无数据" class="emptyWrap" v-else></AiEmpty> -->
</div> </div>
</div> </div>
</template> </template>
@@ -80,6 +97,8 @@ export default {
}, },
], ],
currentTabs: 0, currentTabs: 0,
data: [],
} }
}, },
computed: { computed: {
@@ -92,6 +111,8 @@ export default {
}, },
onShow() {}, onShow() {},
methods: { methods: {
goDetail() {},
change(index) { change(index) {
// this.data = [] // this.data = []
this.areaId = this.user.areaId this.areaId = this.user.areaId
@@ -119,11 +140,11 @@ export default {
<style scoped lang="scss"> <style scoped lang="scss">
.Health { .Health {
height: 100%; height: 100%;
background: #f5f5f5; background: #fff;
.top { .top {
display: flex; display: flex;
padding: 48px 32px; padding: 48px 32px;
background: #fff; // background: #fff;
.topCard { .topCard {
display: flex; display: flex;
.left { .left {
@@ -159,12 +180,15 @@ export default {
} }
} }
.line1 {
height: 4px;
background: #f5f5f5;
}
.middle { .middle {
display: flex; display: flex;
align-items: center; align-items: center;
padding: 24px 32px; padding: 24px 32px;
background: #fff;
margin-top: 4px;
.left { .left {
width: 40%; width: 40%;
display: flex; display: flex;
@@ -177,9 +201,16 @@ export default {
} }
} }
.line2 {
height: 8px;
background: #f5f5f5;
}
.bottom { .bottom {
margin-top: 8px; .line3 {
background: #fff; height: 4px;
background: #f5f5f5;
}
} }
} }
</style> </style>