shish 4 лет назад
Родитель
Сommit
afcfd8fd8b

+ 1 - 1
ghsApp/src/admin/changePrice/components/Item.vue

@@ -5,7 +5,7 @@
 			<view v-if="info.status == 2" class="sold-out">
 				<view class="sold-out-xj">已下架</view>
 			</view>
-			<image :src="info.cover" style="width:160upx;height:160upx;"></image>
+			<image :src="info.cover" style="width:160upx;height:160upx;" lazy-load="true" :lazy-load-margin="0"></image>
 		</view>
 		<view class="cmd-info_bx" @click="pageTo({url: '/admin/item/detail',query: {id: info.id}})">
 			<view class="tit">{{ info.itemName || "" }}</view>

+ 1 - 1
ghsApp/src/pagesPurchase/components/CommodityPurchase.vue

@@ -1,6 +1,6 @@
 <template>
   <view class="item-cmd_bx" @click="showAddModelFn">
-			<view class="img_bx" style="background:#eeeeee"> <image :src="info.cover"></image> </view>
+			<view class="img_bx" style="background:#eeeeee"> <image :src="info.cover" lazy-load="true" :lazy-load-margin="0"></image> </view>
     <view class="cmd-info_bx">
       <view class="tit"> {{ info.itemName || "" }} </view>
       <view class="num-open_bx">

+ 1 - 1
hdApp/src/admin/changePrice/components/Item.vue

@@ -5,7 +5,7 @@
 			<view v-if="info.status == 2" class="sold-out">
 				<view class="sold-out-xj">已下架</view>
 			</view>
-			<image :src="info.cover" style="width:160upx;height:160upx;"></image>
+			<image :src="info.cover" style="width:160upx;height:160upx;" lazy-load="true" :lazy-load-margin="0"></image>
 		</view>
 		<view class="cmd-info_bx" @click="pageTo({url: '/admin/item/detail',query: {id: info.id}})">
 			<view class="tit">{{ info.itemName || "" }}</view>

+ 1 - 2
hdApp/src/pagesPurchase/components/CommodityPurchase.vue

@@ -1,7 +1,7 @@
 <template>
 	<view class="item-cmd_bx">
 		<view class="img_bx">
-			<app-img :src="info.cover" alt="商品图" mode="aspectFit" :height="160" />
+			<app-img :src="info.cover" mode="aspectFit" :height="160" />
 		</view>
 		<view class="cmd-info_bx">
 			<view class="tit">
@@ -16,7 +16,6 @@
 				<view class="open-bx">
 					<i class="iconfont iconjian" :class="delAnimationData?'animation':''" @click="delEvent" v-if="bigCount > 0 || smallCount > 0"></i>
 					<text class="num" @click="customNum" >
-<!--					<text class="num" @click="customNum" v-if="bigCount > 0 || smallCount > 0">-->
 						<text v-if="bigCount > 0 || smallCount > 0">{{ `${bigCount}` }}</text>
 						<text v-if="smallCount > 0">/</text>
 						<text v-if="smallCount > 0">{{ `${smallCount}` }}</text>

+ 1 - 1
hdApp/src/pagesPurchase/components/item.vue

@@ -1,7 +1,7 @@
 <template>
 	<view class="item-cmd_bx" @click="customNum(info.variety)">
 		<view class="img_bx" style="background:#eeeeee" @click.stop="showBigImg">
-			<image :src="info.cover" v-if="isImg"></image>
+			<image :src="info.cover" lazy-load="true" :lazy-load-margin="0" v-if="isImg"></image>
 		</view>
 		<view class="cmd-info_bx">
 			<view class="tit" >{{ info.itemName}}</view>