Commit cc2923d4 by 张辉

123

parent bc7bed1b
Showing with 5 additions and 8 deletions
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
<div class="data-table" id="dataTable"> <div class="data-table" id="dataTable">
<mescroll-vue ref="mescroll" :up="mescrollUp" @init="mescrollInit"> <mescroll-vue ref="mescroll" :up="mescrollUp" @init="mescrollInit">
<div class="container-wrap" id="container-wrap"> <div class="container-wrap" id="container-wrap" v-if="dataList.length > 0">
<div class="list" v-for="(item, index) in dataList" :key="index"> <div class="list" v-for="(item, index) in dataList" :key="index">
<div class="title"> <div class="title">
<div class="title_info">{{ item.feeType }}</div> <div class="title_info">{{ item.feeType }}</div>
...@@ -19,6 +19,9 @@ ...@@ -19,6 +19,9 @@
</p> </p>
</div> </div>
</div> </div>
<div class="empty_data" v-else>
暂无{{title}}数据
</div>
</mescroll-vue> </mescroll-vue>
</div> </div>
</div> </div>
...@@ -56,12 +59,6 @@ export default { ...@@ -56,12 +59,6 @@ export default {
toTop: { toTop: {
src: "./static/mescroll/mescroll-totop.png", // 回到顶部按钮的图片路径,支持网络图 src: "./static/mescroll/mescroll-totop.png", // 回到顶部按钮的图片路径,支持网络图
}, },
empty: {
// 列表第一页无任何数据时,显示的空提示布局; 需配置warpId才生效;
warpId: "dataTable", // 父布局的id;
//icon: "../../assets/images/data-empty.png", // 图标,支持网络图
tip: "暂无相关数据", // 提示
},
lazyLoad: { lazyLoad: {
use: true, // 是否开启懒加载,默认false use: true, // 是否开启懒加载,默认false
}, },
...@@ -100,7 +97,7 @@ export default { ...@@ -100,7 +97,7 @@ export default {
setBarHeightLowBee() { setBarHeightLowBee() {
setTimeout(() => { setTimeout(() => {
const barHeight = localStorage.getItem("barHeight"); const barHeight = localStorage.getItem("barHeight");
let conHeight = 46 + parseInt(barHeight); let conHeight = parseInt(barHeight);
conHeight = conHeight ? conHeight : 0; conHeight = conHeight ? conHeight : 0;
console.log('conHeight=',conHeight); console.log('conHeight=',conHeight);
const dom = document.getElementsByClassName("iosStyle")[0]; const dom = document.getElementsByClassName("iosStyle")[0];
......
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 sign in to comment