Style:无数据状态显示调整

This commit is contained in:
lifizer
2024-03-08 18:06:34 +08:00
parent 569d5d86f2
commit 39ff2af49e
4 changed files with 108 additions and 57 deletions
+3 -12
View File
@@ -68,16 +68,7 @@
</view>
</view>
</view>
<!-- <Loading :loaded="loadend" :loading="loading"></Loading>-->
<view
class="noCommodity"
style="background-color: #fff;"
v-if="productList.length === 0 && where.page > 1"
>
<view class="noPictrue">
<image :src="webUrl+'/20210203153900181449.png'" class="image"/>
</view>
</view>
<no-good-data v-if="productList.length === 0 && where.page > 1" />
<Recommend v-if="productList.length === 0 && where.page > 1"></Recommend>
</view>
</template>
@@ -85,15 +76,15 @@
<script>
import Recommend from "@/components/Recommend";
import {getProducts} from "@/api/store";
import Loading from "@/components/Loading";
import {mapGetters} from 'vuex';
import NP from "number-precision";
import NoGoodData from '@/components/good/NoData'
export default {
name: "GoodsList",
components: {
Recommend,
Loading
NoGoodData
},
props: {},
computed: mapGetters(["userInfo"]),