Style:无数据状态显示调整
This commit is contained in:
@@ -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"]),
|
||||
|
||||
Reference in New Issue
Block a user