shish 4 лет назад
Родитель
Сommit
21bfb8ad43
1 измененных файлов с 5 добавлено и 6 удалено
  1. 5 6
      ghsApp/src/pagesPurchase/components/CommodityPurchase.vue

+ 5 - 6
ghsApp/src/pagesPurchase/components/CommodityPurchase.vue

@@ -5,7 +5,7 @@
       <view class="tit"> {{ info.itemName || "" }} </view>
       <view class="num-open_bx">
         <view style="position: relative;">
-           <view class="kc">{{ info.price }}</view>
+           <view class="kc">{{info.ratio}}{{ info.smallUnit }}/{{info.bigUnit}}</view>
         </view>
         <view>
           <view class="open-bx">
@@ -107,20 +107,19 @@ export default {
 			width:380upx;
     }
     & .kc {
-      color: #ff2842;
-      font-size: 24upx;
+      color: #CCCCCC;
+      font-size: 23upx;
       padding: 10upx 0 0;
       position: absolute;
-      width: 50upx;
+      width: 90upx;
       text-align: left;
-      bottom: 0;
+      bottom: 20upx;
       left: 0;
     }
     & .num-open_bx {
       text-align: right;
       display: flex;
       justify-content: space-between;
-      // align-items: center;
       & .price {
         font-size: 28upx;
         color: #999999;