|
|
@@ -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 {
|