优化
This commit is contained in:
@@ -79,7 +79,7 @@ Page({
|
||||
let valarr = [''+val+'']
|
||||
this.setData({
|
||||
amountValue: valarr,
|
||||
amountText: val+" 元"
|
||||
amountText: val
|
||||
})
|
||||
},
|
||||
onChange({ detail }) {
|
||||
@@ -177,7 +177,7 @@ Page({
|
||||
this.setData({
|
||||
[`${key}Visible`]: false,
|
||||
[`${key}Value`]: value,
|
||||
[`${key}Text`]: value+' 元',
|
||||
[`${key}Text`]: value,
|
||||
"info.inquiry_price": value[0]
|
||||
});
|
||||
|
||||
|
||||
@@ -10,11 +10,15 @@
|
||||
</view>
|
||||
<view class="price_steup_box_bottom">
|
||||
<van-cell size="large" custom-style="font-size:32rpx;border-radius: 20rpx;"
|
||||
title="问诊单价(元)" is-link
|
||||
title="问诊单价" is-link
|
||||
border="{{false}}"
|
||||
value="{{ amountText }}"
|
||||
bindtap="onAmountPicker"
|
||||
/>
|
||||
>
|
||||
<view>
|
||||
<text class="price">{{ amountText }}</text>
|
||||
<text style="color: #000;"> 元</text>
|
||||
</view>
|
||||
</van-cell>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
Reference in New Issue
Block a user