Commit 3d7940bc authored by Mac's avatar Mac

1

parent 93e8f53e
<template>
<div style="background-color: #f6f6f6;height: 100vh;padding-bottom: 50px;overflow: hidden;">
<div :style="{'background-color': '#f6f6f6','height': contentHeight+'px','overflow': 'hidden'}">
<view style="padding:5px 10px;">
<u-search placeholder="搜索品牌名称" :focus="false" :show-action="false" :clearabled="true" radius="40" v-model="msg.BrandName"
@search="searchHandler" @custom="searchHandler" bg-color="#FFF" ></u-search>
......@@ -10,9 +10,9 @@
:current="active" @change="changeHandler" :show-bar="true" :activeFontSize="34" :bold="true" height="100"
duration="0" font-size="28"></u-tabs>
</view>
<div style="width: 64rpx;height: 48rpx;display: table-cell; vertical-align: middle;text-align: right;">
<!-- <div style="width: 64rpx;height: 48rpx;display: table-cell; vertical-align: middle;text-align: right;">
<u-icon name="filter-o" color="#111" size="42"></u-icon>
</div>
</div> -->
</view>
<u-empty v-if="g.length == 0" text="暂无内容" mode="list"></u-empty>
<view style="height: calc(100% - 101px);padding:2px 10px;" v-if="g.length > 0">
......@@ -47,7 +47,7 @@
:margin-bottom="20"
bg-color="#f6f6f6"
/>
<view style="width: 100%;height: 30px;"></view>
<!-- <view style="width: 100%;height: 30px;"></view> -->
</scroll-view>
</view>
<tabbars></tabbars>
......@@ -89,7 +89,7 @@
page_count:1,
status: "loadmore",
g: [],
contentHeight:0,
};
},
onLoad(options) {
......@@ -105,7 +105,8 @@
uni.setNavigationBarTitle({
title: '品牌列表',
});
let c = this.$uiConfig.is_bang ? 78 : 50;
this.contentHeight = this.$utils.calcContentHeight(c)+40;
},
methods: {
......
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