Administrator 5 lat temu
rodzic
commit
3292b6edb7

+ 17 - 14
components/cm-module/listTemplate/immediatelyList.vue

@@ -35,13 +35,13 @@
 			<view :class="tabIndex" v-if="tabIndex === 0">
 				<scroll-view :style="{'height':scrollHeight+'px'}" @scrolltolower="scrolltolower" scroll-y v-if="productList.length > 0">
 					<view v-for="(item,index) in productList" :key="index" :id="item.id" class="all-type-list-content commodity-list" @click.stop="navToDetailPage(item.productID)">
-						<image mode='widthFix' :src="item.mainImage"  class="list-img" alt="list-img"></image>
+					    <image mode='widthFix' :src="item.mainImage"  class="list-img" alt="list-img"></image>
 						<view class="list-details-info">
 							<text class="list-details-title">{{item.name}}</text>
 							<text class="list-details-specs">规格:{{item.unit?item.unit:''}}</text>
 							<text class="list-details-miniQuantity list-details-specs">起订量:{{item.minBuyNumber}}</text>
 							<view class="list-details-specs" v-if="item.productCode!=''&&item.productCode!=null">
-								<view>商品编码:{{item.productCode}}</view>
+								<view>商品编码{{item.productCode}}</view>
 							</view>
 							<view class="list-details-price">
 								<view class="list-shop">
@@ -55,7 +55,7 @@
 										<text class="iconfont icon-wenhao" @click.stop="repurchModel"></text>
 									</view>
 								</view>
-								<button class="add-cart-btn" @click.stop="operationHanld(item)">选择数量</button>
+								<button class="add-cart-btn" @click.stop="operationHanld(item)">数量</button>
 							</view>
 						</view>
 					</view>
@@ -78,8 +78,8 @@
 									<view class="list-shop">
 										<view class="list-price zuhe_list_price" >
 											<view :style="{'float': 'left','width': '402rpx'}">
-												<text class="zuhe_price-larger zuhe_list_text" >价格:¥{{pros.retailPrice.toFixed(2)}}</text>
-												<text class="price-two zuhe_list_text" >总价:<text class="zuhe_list_zj">¥ {{pros.totalPrice.toFixed(2)}}</text></text>
+												<text class="zuhe_price-larger zuhe_list_text" >价格¥{{pros.retailPrice.toFixed(2)}}</text>
+												<text class="price-two zuhe_list_text" >总价<text class="zuhe_list_zj">¥ {{pros.totalPrice.toFixed(2)}}</text></text>
 											</view>
 											<view :style="{'float': 'right','margin-top': '10rpx'}">
 												<text class="price-view ladder" v-if="pros.ladderPriceFlag == '1'" @click.stop="alertjieti(pros)">阶</text>
@@ -104,9 +104,9 @@
 						<view class="foot_conten" >
 							<view class="zuhe_foot-box">
 								<!--  -->
-								<text>种类:{{item.productKind}}</text>
-								<text >总数:{{item.productTotalNum}}</text>
-								<text>总额:{{item.productTotalAmount.toFixed(2)}}</text>
+								<text>种类{{item.productKind}}</text>
+								<text >总数{{item.productTotalNum}}</text>
+								<text>总额:<text class="foot_text">{{item.productTotalAmount.toFixed(2)}}</text></text>
 							</view>
 							<button type="default" class="buycart" @click.stop="operationHanld(item)">加入购物车</button>
 						</view>
@@ -459,11 +459,14 @@
 		float: left;
 		overflow: hidden;
 		white-space: nowrap;
-		text-overflow: ellipsis;
-		width: 473rpx;
+		// text-overflow: ellipsis;
+		width: 490rpx;
 	}
 	.zuhe_foot-box text{
-		margin-right: 40rpx;
+		margin-right: 36rpx;
+	}
+	.foot_text{
+		color: #FF2A2A;
 	}
 	.foot_conten .buycart{
 		width: 162rpx;
@@ -596,7 +599,7 @@
 		}
 	}
 	.all-type-list-content {
-		height: 240rpx;
+		// height: 240rpx;
 		padding: 24rpx;
 		background: #fff;
 		margin-bottom: 2rpx;
@@ -604,8 +607,8 @@
 		flex-direction: row;
 		box-sizing: content-box;
 		.list-img {
-			width: 240rpx;
-			height: 240rpx !important;
+			width: 312rpx;
+			height: 207rpx !important;
 			margin-right: 26rpx;
 			border-radius: 10rpx;
 			border: 2rpx solid #f3f3f3;

+ 13 - 8
seller/pages/cart/immediately.vue

@@ -54,7 +54,7 @@
 					</view>
 					<view class="number-right">
 						<view class="text">
-							总额:<text class="number-right-text">¥{{productTotalAmount}}</text>
+							总额:<text class="number-right-text">¥{{productTotalAmount.toFixed(2)}}</text>
 						</view>
 					</view>
 				</view>
@@ -70,14 +70,14 @@
 			<view class="jieti_box " @tap.stop="discard">
 				<view class="jieti_box_one">
 					<view class="jieti_left" >
-						<view>起订量:</view>
+						<view>起订量</view>
 						<view class="ladder-a"  v-for="(item,index) in ladderPriceList" :key="index">
 							{{item.buyNumRangeShow}}
 						</view>
 					</view>
 					<view class="jieti_right" >
-						<view>价格:</view>
-						<view class="" v-for="(item,index) in ladderPriceList" :key="index">¥{{item.buyPrice}}</view>
+						<view>价格</view>
+						<view class="" v-for="(item,index) in ladderPriceList" :key="index">¥ {{item.buyPrice.toFixed(2)}}</view>
 					</view>
 				</view>
 				<view class="addbtn" @tap="hideSpecjieti">
@@ -312,16 +312,19 @@
 		margin: auto;
 	}
 	.jieti_left{
-		width: 274rpx;
+		width: 298rpx;
 		float: left;
 		}
 	.jieti_left view{
-		height: 42rr84rpx;
+		height: 84rpx;
 		border-bottom:2rpx solid #F5F5F5 ;
 		border-right:2rpx solid #F5F5F5  ;
 	}	
+	.ladder-a{
+		letter-spacing: 18rpx;
+	}
 	.jieti_right{
-			width: 274rpx;
+			width: 294rpx;
 			float: right;
 		}
 	.jieti_right view{
@@ -463,7 +466,9 @@
 				}
 			}
 		}
-		
+		.layer-nunbox-m{
+			font-size: 28rpx;
+		}
 		&.show {
 			display: block;
 			.mask{