lilei 9 maanden geleden
bovenliggende
commit
28146ecbc4

+ 10 - 4
pagesB/cart/productitem.vue

@@ -14,13 +14,18 @@
 					<view class="back-price xiajia" v-if="!item.status">下架</view>
 					<view class="back-price xiajia" v-else-if="item.dealerScopeFlag==0">售罄</view>
 					<view class="choose-product-item-left-info-code">
-						<text max-lines="1" overflow="ellipsis">{{item.productCode}}</text>
+						<!-- <text :max-lines="1" overflow="ellipsis">{{item.productCode}}</text> -->
 					</view>
 				 </view>
 				 <view class="choose-product-item-info">
-					<view class="choose-product-item-left-info-name">{{item.productName}}</view>
+					<view class="choose-product-item-left-info-name">
+						<text :max-lines="2" overflow="ellipsis">{{item.productName}}</text>
+					</view>
+					<view class="choose-product-item-left-info-guige">
+						<text>{{item.productCode}}</text>
+					</view>
 					<view class="choose-product-item-left-info-guige">
-						<text max-lines="2" overflow="ellipsis">{{item.productOrigCode}}</text>
+						<text :max-lines="2" overflow="ellipsis">{{item.productOrigCode}}</text>
 					</view>
 					<view class="choose-product-item-left-info-price">
 						<view class="price-txt" v-if="item.status==1">¥<text>{{item.price}}</text></view>
@@ -38,7 +43,7 @@
 							</view>
 							<view v-if="item.edit" class="edit-qty">
 								X <text>{{item.qty}}</text>
-								<image style="width: 24px;height: 24px;" mode="aspectFill" :src="'../static/ashbin.png'" @click="remove(item.cartSn)"></image>
+								<uni-icons type="minus-filled" size="24" color="#dd0000" @click="remove(item.cartSn)"></uni-icons>
 							</view>
 						</view>
 					</view>
@@ -232,6 +237,7 @@
 			.choose-product-item-left-info-guige{
 				color: #2196F3;
 				margin: 10rpx 0;
+				font-size: 12px;
 				text{
 					margin-right: 10rpx;
 				}

+ 8 - 4
pagesB/components/chooseProductItemSkline.vue

@@ -11,12 +11,16 @@
 					<view class="back-price fantext" v-if="item.promoRuleValue&&!isView">返<text>{{item.promoRuleValue}}</text>元</view>
 					<view class="back-price xiajia" v-if="isView&&item.status==0">下架</view>
 					<view class="back-price xiajia" v-else-if="isView&&item.dealerScopeFlag==0">售罄</view>
-					<view class="choose-product-item-left-info-code ellipsis-one">{{item.productCode}}</view>
+					<view class="choose-product-item-left-info-code ">
+						<text :max-lines="1" overflow="ellipsis">{{item.productCode}}</text>
+					</view>
 				 </view>
 				 <view class="choose-product-item-info">
-					<view class="choose-product-item-left-info-name">{{item.productName}}</view>
+					<view class="choose-product-item-left-info-name">
+						<text :max-lines="2" overflow="ellipsis">{{item.productName}}</text>
+					</view>
 					<view class="choose-product-item-left-info-guige">
-						<text class="ellipsis-two" max-lines="2" overflow="ellipsis">{{item.productOrigCode}}</text>
+						<text :max-lines="2" overflow="ellipsis">{{item.productOrigCode}}</text>
 					</view>
 					<view class="choose-product-item-left-info-price">
 						<view class="price-txt" v-if="isLogin">¥<text>{{isView ? item.price : item.cost}}</text></view>
@@ -27,7 +31,7 @@
 							</view>
 							<view v-if="edit" class="edit-qty">
 								X <text>{{item.qty}}</text>
-								<image src="../static/del.png" style="width: 30px;height: 30px;" mode="aspectFit" @click="remove(item.id)"></image>
+								<uni-icons style="margin-left: 15px;" type="minus-filled" size="22" color="#dd0000" @click="remove(item.id)"></uni-icons>
 							</view>
 						</view>
 					</view>

+ 1 - 0
pagesB/promoProduct.vue

@@ -102,6 +102,7 @@
 						:index="index"
 						:list="item" 
 						:edit="editChoose" 
+						:isLogin="true"
 						@changeQty="changeQty" 
 						@remove="removeChoose">
 						</chooseProductItem>

BIN
pagesB/static/ashbin.png


BIN
pagesB/static/del.png


BIN
pagesB/static/round.png


BIN
pagesB/static/round_check_fill.png