shish 4 лет назад
Родитель
Сommit
3b69c3ccad

+ 3 - 2
hdPad/src/pages/home/components/leftArea.vue

@@ -106,8 +106,9 @@ export default {
                     background-color: #e7e9e9;
                 }
                 .item-price-num{
-                    color:#afaeae;
-                    font-size:10upx;
+                    color:green;
+                    font-size:11upx;
+                    font-weight:bold;
                 }
                 & .flower-name_box {
                     padding: 0 5upx;

+ 8 - 6
hdPad/src/pages/home/components/selectNum.vue

@@ -6,7 +6,7 @@
 
             <view class="flower-open_box">
                 <view @tap="checkCurrent(0)">
-                    <view class="desc" v-if="customData.property && customData.property==1">{{Number(unitType) == 0 ? customData.bigUnit : customData.smallUnit}}</view>
+                    <view class="desc" style="color:#333333;font-weight:bold;" v-if="customData.property && customData.property==1">{{Number(unitType) == 0 ? customData.bigUnit : customData.smallUnit}}</view>
                     <view class="desc" v-else>数量</view>
                     <div class="flower-unit_box">
                         <text :class="{selected:checkType == 0}">{{currentNum}}</text>
@@ -144,6 +144,7 @@ export default {
             this.unitType = 0
         },
         changeUnitType(){
+            this.$util.hitVoice()
             this.unitType = this.unitType == 0 ? 1 : 0
             this.unitPrice = this.unitType == 0 ? this.customData.bigPrice : this.customData.smallPrice
             this.unitName = this.unitType == 0 ? this.customData.bigUnit : this.customData.smallUnit
@@ -170,6 +171,7 @@ export default {
             text-align: center;
             color: #333333;
             font-size: 14upx;
+            font-weight:bold;
         }
         & .flower-ratio{
             text-align: center;
@@ -216,14 +218,14 @@ export default {
     .switch-button{
         display: flex;
         justify-content: center;
-        width: 35upx;
-        height: 35upx;
+        width: 45upx;
+        height: 45upx;
         position: absolute;
-        top:70upx;
+        top:60upx;
         left:23vw;
         .change-unit {
-            width: 35upx;
-            height: 35upx;
+            width: 45upx;
+            height: 45upx;
         }
     }
     & .keyboard-body_box {

+ 10 - 8
hdPad/src/pages/home/components/selectNumPrice.vue

@@ -6,14 +6,14 @@
 
             <view class="flower-open_box">
                 <view @tap="checkCurrent(0)">
-                    <view class="desc" v-if="customData.property && customData.property==1">{{Number(unitType) == 0 ? customData.bigUnit : customData.smallUnit}}</view>
+                    <view class="desc" style="color:#4e6640;font-weight:bold;" v-if="customData.property && customData.property==1">{{Number(unitType) == 0 ? customData.bigUnit : customData.smallUnit}}</view>
                     <view class="desc" v-else>数量</view>
                     <div class="flower-unit_box">
                         <text :class="{selected:checkType == 0}">{{currentNum}}</text>
                     </div>
                 </view>
                 <view @tap="checkCurrent(1)">
-                    <view class="desc">单价</view>
+                    <view class="desc" style="color:#4e6640;font-weight:bold;">单价</view>
                     <div class="flower-unit_box">
                         <text :class="{selected:checkType == 1}">{{unitPrice}}</text>
                     </div>
@@ -188,6 +188,7 @@ export default {
             this.unitType = 0
         },
         changeUnitType(){
+            this.$util.hitVoice()
             this.unitType = this.unitType == 0 ? 1 : 0
             this.unitPrice = this.unitType == 0 ? this.customData.bigPrice : this.customData.smallPrice
             this.unitName = this.unitType == 0 ? this.customData.bigUnit : this.customData.smallUnit
@@ -199,7 +200,7 @@ export default {
 <style lang="scss" scoped>
 .boardset-flowert {
     width:34vw;
-    height: 80vh;
+    height: 82vh;
     background-color: #ffffff;
     margin: 0 auto;
     border-radius: 5upx;
@@ -214,6 +215,7 @@ export default {
             text-align: center;
             color: #333333;
             font-size: 14upx;
+            font-weight:bold;
         }
         & .flower-ratio{
             text-align: center;
@@ -261,14 +263,14 @@ export default {
     .switch-button{
         display: flex;
         justify-content: center;
-        width: 35upx;
-        height: 35upx;
+        width: 45upx;
+        height: 45upx;
         position: absolute;
-        top:70upx;
+        top:60upx;
         left:14vw;
         .change-unit {
-            width: 35upx;
-            height: 35upx;
+            width: 45upx;
+            height: 45upx;
         }
     }
     & .keyboard-body_box {