Commit 04831e2e authored by Mac's avatar Mac

商品列表修改

parent f4bafd88
......@@ -36,7 +36,14 @@
:margin-bottom="20" bg-color="#F5F5F5" />
</scroll-view>
</view>
<u-empty text="没有找到商品信息" font-size="36" mode="list" v-if="g.length == 0 "></u-empty>
<view v-if="!loading && g.length== 0 " style="
height: calc(100vh - 50px);
width: calc(100vw - 20px);
padding-top: 10px;
">
<u-empty text="没有找到商品信息" font-size="36" mode="list" ></u-empty>
</view>
<view class="quick" v-if="!loading">
<view class="item">
<u-icon name="cart-o" size="48" color="#333" />
......@@ -57,7 +64,7 @@
sortStatus: 1,
mainColor: "",
isover: false,
loading: false,
loading: true,
page: 1,
page_count: 1,
g: [],
......@@ -169,6 +176,7 @@
},
res => {
this.isloading = false;
this.loading = false;
if (res.resultCode == 1) {
res.data.pageData.forEach(x => {
x.marketingLogo = JSON.parse(x.marketingLogo)
......
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