shish 5 жил өмнө
parent
commit
9a6f9bc356

+ 4 - 4
hdApp/src/components/module/app-commodity.vue

@@ -10,11 +10,11 @@
 			<view class="tit" >{{ info.itemName || "" }}</view>
 			<view class="kc num-open_bx flex-space" v-if="type == COMMODITY_TYPE.COMMON">
 				<view v-if="!offPrice">
-					<view class="flex-space" style="margin-bottom: 36rpx" v-if="isDiscounts&&Number(oldPrice)>Number(info.price)">
-						<view style="padding:0 10rpx;text-align: center;color: red;border: 1px solid red;margin-right: 20rpx;line-height: 1;font-size: 20rpx">
+					<view class="flex-space" style="margin-bottom: 50rpx;margin-top:15rpx" v-if="isDiscounts&&Number(oldPrice)>Number(info.price)">
+						<view style="padding:3rpx 10rpx 3rpx 10rpx;text-align: center;color: red;border: 1px solid red;margin-right: 20rpx;line-height: 1;font-size: 20rpx">
 							{{((Number(info.price)/Number(oldPrice)).toFixed(2)*10).toFixed(1)+'折'}}
 						</view>
-						<text style="text-decoration:line-through; ">{{oldPrice}}</text>
+						<text style="text-decoration:line-through;color:#A9A9A9">¥{{oldPrice}}</text>
 					</view>
 					<view class="price" >¥{{ info.price }}</view>
 				</view>
@@ -233,7 +233,7 @@ export default {
 			font-size: 32px;
 			font-weight: 700;
 			color: #333333;
-			padding-top: 10px;
+			padding-top: 2rpx 0 2rpx 0;
 		}
 		& .kc {
 			position: relative;

+ 1 - 1
hdApp/src/pagesPurchase/ghsProduct.vue

@@ -42,7 +42,7 @@
 					<view class="item_list_bx selectAll" v-for="(classItem, classIndex) in filterProductInfo" :key="classIndex" :id="`class_${classIndex}`">
 						<view class="item_list_title">{{ classItem.className }}</view>
 						<template v-for="(productItem, productIndex) in classItem.child">
-							<view style="height: 160rpx" :id="`class_${classItem.classId}_${productItem.id}`" :key="productIndex">
+							<view style="height: 185rpx" :id="`class_${classItem.classId}_${productItem.id}`" :key="productIndex">
 								<Commondity v-if="classItem.isActive"
 									:info="productItem"
 									:offVerifyRepertory="true"