shish 1 month ago
parent
commit
dcd174474e
1 changed files with 3 additions and 1 deletions
  1. 3 1
      hdApp/src/pagesPurchase/components/item.vue

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

@@ -17,11 +17,13 @@
 				<view class="kc num-open_bx flex-space">
 					<view>
 						<view class="flex-space" v-if="Number(info.discountPrice)>0" style="position:absolute;top:14upx;">
-							<view style="text-align: center;font-size:25upx;font-weight: bold;color:#3385ff;">
+							<view style="padding:6upx 4upx 6upx 4upx;text-align: center;color: red;border: 1px solid red;line-height: 1;font-size: 24upx">
 								{{parseFloat(((Number(info.discountPrice)/Number(info.prePrice)).toFixed(2)*10).toFixed(1))+'折'}}
 							</view>
+
 							<text v-if="info.ratioType == 0" style="margin-left:6upx;color:#333333;font-size: 24upx;">{{info.ratio}}{{info.smallUnit}}</text>
 							<text v-else style="margin-left:6upx;color:#333333;font-size: 24upx;">若干</text>
+
 						</view>
 						<view class="flex-space" style="color:#333333;position:absolute;top:13upx;" v-else>
 							<block v-if="info.ratioType == 0">