static图片网络化
This commit is contained in:
@ -25,7 +25,7 @@
|
||||
</view>
|
||||
<!--<view class="noCommodity">-->
|
||||
<!--<view class="noPictrue">-->
|
||||
<!--<image src="@/static/images/noSearch.png" class="image" />-->
|
||||
<!--<image :src="`${$VUE_APP_RESOURCES_URL}/images/noSearch.png`" class="image" />-->
|
||||
<!--</view>-->
|
||||
<!--<recommend></recommend>-->
|
||||
<!--</view>-->
|
||||
|
@ -26,7 +26,7 @@
|
||||
v-if="collectProductList.length < 1 && page > 1"
|
||||
>
|
||||
<view class="noPictrue">
|
||||
<image src="@/static/images/noCollection.png" class="image" />
|
||||
<image :src="`${$VUE_APP_RESOURCES_URL}/images/noCollection.png`" class="image" />
|
||||
</view>
|
||||
<Recommend></Recommend>
|
||||
</view>
|
||||
|
@ -11,7 +11,7 @@
|
||||
<text>¥</text>
|
||||
<text class="num">{{ attr.productSelect.price || storeInfo.price }}</text>
|
||||
<text class="vip-money" v-if="storeInfo.vipPrice && storeInfo.vipPrice > 0">¥{{ attr.productSelect.vipPrice || storeInfo.vipPrice }}</text>
|
||||
<image src="@/static/images/vip.png" class="image" v-if="storeInfo.vipPrice && storeInfo.vipPrice > 0" />
|
||||
<image :src="`${$VUE_APP_RESOURCES_URL}/images/vip.png`" class="image" v-if="storeInfo.vipPrice && storeInfo.vipPrice > 0" />
|
||||
</view>
|
||||
<view class="money font-color-red" v-if="isIntegral">
|
||||
<text class="num">{{ attr.productSelect.integral || storeInfo.integral }}积分</text>
|
||||
@ -94,9 +94,9 @@
|
||||
<!-- 商品推荐 -->
|
||||
<!-- <view class="superior">
|
||||
<view class="title acea-row row-center-wrapper">
|
||||
<image src="@/static/images/ling.png" />
|
||||
<image :src="`${$VUE_APP_RESOURCES_URL}/images/ling.png`" />
|
||||
<text class="titleTxt">优品推荐</text>
|
||||
<image src="@/static/images/ling.png" />
|
||||
<image :src="`${$VUE_APP_RESOURCES_URL}/images/ling.png`" />
|
||||
</view>
|
||||
<template>
|
||||
<view class="slider-banner banner">
|
||||
|
@ -26,7 +26,7 @@
|
||||
v-if="collectProductList.length < 1 && page > 1"
|
||||
>
|
||||
<view class="noPictrue">
|
||||
<image src="@/static/images/noCollection.png" class="image" />
|
||||
<image :src="`${$VUE_APP_RESOURCES_URL}/images/noCollection.png`" class="image" />
|
||||
</view>
|
||||
<Recommend></Recommend>
|
||||
</view>
|
||||
|
@ -13,15 +13,15 @@
|
||||
<view class="item" :class="title ? 'font-color-red' : ''" @click="set_where(0)">{{ title ? title : '默认' }}</view>
|
||||
<view class="item" @click="set_where(1)">
|
||||
价格
|
||||
<image src="@/static/images/horn.png" v-if="price === 0" />
|
||||
<image src="@/static/images/up.png" v-if="price === 1" />
|
||||
<image src="@/static/images/down.png" v-if="price === 2" />
|
||||
<image :src="`${$VUE_APP_RESOURCES_URL}/images/horn.png`" v-if="price === 0" />
|
||||
<image :src="`${$VUE_APP_RESOURCES_URL}/images/up.png`" v-if="price === 1" />
|
||||
<image :src="`${$VUE_APP_RESOURCES_URL}/images/down.png`" v-if="price === 2" />
|
||||
</view>
|
||||
<view class="item" @click="set_where(2)">
|
||||
销量
|
||||
<image src="@/static/images/horn.png" v-if="stock === 0" />
|
||||
<image src="@/static/images/up.png" v-if="stock === 1" />
|
||||
<image src="@/static/images/down.png" v-if="stock === 2" />
|
||||
<image :src="`${$VUE_APP_RESOURCES_URL}/images/horn.png`" v-if="stock === 0" />
|
||||
<image :src="`${$VUE_APP_RESOURCES_URL}/images/up.png`" v-if="stock === 1" />
|
||||
<image :src="`${$VUE_APP_RESOURCES_URL}/images/down.png`" v-if="stock === 2" />
|
||||
</view>
|
||||
<!-- down -->
|
||||
<view class="item" :class="nows ? 'font-color-red' : ''" @click="set_where(3)">新品</view>
|
||||
@ -113,7 +113,7 @@
|
||||
<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="@/static/images/noGood.png" class="image" />
|
||||
<image :src="`${$VUE_APP_RESOURCES_URL}/images/noGood.png`" class="image" />
|
||||
</view>
|
||||
</view>
|
||||
<Recommend v-if="productList.length === 0 && where.page > 1" :recommendLoading="recommendLoading" @changeRecommendLoading="changeRecommendLoading"></Recommend>
|
||||
|
@ -90,7 +90,7 @@
|
||||
<!--购物车暂无商品-->
|
||||
<view class="noCart" v-if="cartList.valid.length === 0 && cartList.invalid.length === 0">
|
||||
<view class="pictrue">
|
||||
<image src="@/static/images/noCart.png" />
|
||||
<image :src="`${$VUE_APP_RESOURCES_URL}/images/noCart.png`" />
|
||||
</view>
|
||||
<Recommend></Recommend>
|
||||
</view>
|
||||
@ -517,8 +517,8 @@
|
||||
<style lang="less">
|
||||
.footer-h5 {
|
||||
bottom: 50px
|
||||
}
|
||||
.shoppingCart{
|
||||
position: relative;
|
||||
}
|
||||
.shoppingCart{
|
||||
position: relative;
|
||||
}
|
||||
</style>
|
||||
|
@ -15,7 +15,7 @@
|
||||
<!--暂无新闻-->
|
||||
<view class="noCommodity" v-if="articleList.length === 0 && page > 1">
|
||||
<view class="noPictrue">
|
||||
<image src="@/static/images/noNews.png" class="image" />
|
||||
<image :src="`${$VUE_APP_RESOURCES_URL}/images/noNews.png`" class="image" />
|
||||
</view>
|
||||
</view>
|
||||
<!--</Tab>-->
|
||||
|
Reference in New Issue
Block a user