Przeglądaj źródła

拆半扎问题

shish 1 rok temu
rodzic
commit
0e5a914a02

+ 2 - 2
ghsPad/src/pages/home/components/selectNumPrice.vue

@@ -31,7 +31,7 @@
                 <image @tap="changeUnitType" class="change-unit" :src="`${constant.imgUrl}/icon/switch/switch128.png`"></image>
             </view>
 
-            <view v-if="unitType == 1">
+            <view>
                 <button class="admin-button-com mini-btn" style="font-size:14upx;float:left;" @click="addHalf">加半扎</button>
                 <button class="admin-button-com mini-btn blue" style="font-size:14upx;float:right;" @click="subHalf">减半扎</button>
             </view>
@@ -219,7 +219,7 @@ export default {
 <style lang="scss" scoped>
 .boardset-flowert {
     width:34vw;
-    height: 82vh;
+    height: 84vh;
     background-color: #ffffff;
     margin: 0 auto;
     border-radius: 5upx;

+ 2 - 2
hdPad/src/pages/home/components/selectNum.vue

@@ -25,7 +25,7 @@
                 <image @tap="changeUnitType" class="change-unit" :src="`${constant.imgUrl}/icon/switch/switch128.png`"></image>
             </view>
 
-            <view v-if="unitType == 1">
+            <view>
                 <button class="admin-button-com mini-btn" style="font-size:14upx;float:left;" @click="addHalf">加半扎</button>
                 <button class="admin-button-com mini-btn blue" style="font-size:14upx;float:right;" @click="subHalf">减半扎</button>
             </view>
@@ -176,7 +176,7 @@ export default {
 <style lang="scss" scoped>
 .boardset-flowert {
     width:34vw;
-    height: 80vh;
+    height: 82vh;
     background-color: #ffffff;
     margin: 0 auto;
     border-radius: 5upx;

+ 2 - 2
hdPad/src/pages/home/components/selectNumPrice.vue

@@ -34,7 +34,7 @@
             <view style="text-align:center;" v-if="customData.property==0">
                 <button class="admin-button-com mini-btn blue" style="font-size:20upx;" @click="clear()">扫码付</button>
             </view>
-            <view v-if="unitType == 1">
+            <view>
                 <button class="admin-button-com mini-btn" style="font-size:14upx;float:left;" @click="addHalf">加半扎</button>
                 <button class="admin-button-com mini-btn blue" style="font-size:14upx;float:right;" @click="subHalf">减半扎</button>
             </view>
@@ -234,7 +234,7 @@ export default {
 <style lang="scss" scoped>
 .boardset-flowert {
     width:34vw;
-    height: 82vh;
+    height: 84vh;
     background-color: #ffffff;
     margin: 0 auto;
     border-radius: 5upx;