Commit eb67f483 by 陈超

A

parent c68d81b7
......@@ -531,6 +531,11 @@ div::-webkit-scrollbar {
box-shadow: 0px -1px 0px 0px rgba(230,230,230,1);
}
.empty_container {
margin-top: 30vh;
align-self: center;
}
/*
* Home
*/
......
......@@ -67,6 +67,7 @@
</div>
</div>
</template>
<include file="__THEME__/empty_view_w3g"/>
</div>
</van-tab>
......@@ -128,7 +129,7 @@
},
showImage: function() {
return function(item) {
return false
return false//TODO 每一个item要设置一个类型显示带图的还是不带图
}
},
hollowText: function() {
......@@ -140,6 +141,14 @@
return function(opt) {
return opt.options ? opt.options[this.innerTab].items : opt.items
}
},
showEmpty: function() {
let opt = this.options[this.tab]
if(opt.options) {
return opt.options[this.innerTab].items.length == 0
} else {
return opt.items.length == 0
}
}
},
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