Commit 2e5b77b1 by Chao Sun

输入小数点

parent 5703e87e
...@@ -33,7 +33,7 @@ ...@@ -33,7 +33,7 @@
<view class="inputItem"> <view class="inputItem">
<text>预购面积:</text> <text>预购面积:</text>
<view class="inputContent"> <view class="inputContent">
<input class="uni-input" type="number" placeholder="请输入" <input class="uni-input" type="digit" placeholder="请输入"
v-model="housePurchaseInfo.preOrderSize" @blur="queryCommercialHousingPrice()" v-model="housePurchaseInfo.preOrderSize" @blur="queryCommercialHousingPrice()"
/><label for=""></label> /><label for=""></label>
</view> </view>
...@@ -41,7 +41,7 @@ ...@@ -41,7 +41,7 @@
<view class="inputItem"> <view class="inputItem">
<text>预购房产现在市场单价:</text> <text>预购房产现在市场单价:</text>
<view class="inputContent"> <view class="inputContent">
<input class="uni-input" type="number" placeholder="请输入" <input class="uni-input" type="digit" placeholder="请输入"
v-model="housePurchaseInfo.targetPrice" v-model="housePurchaseInfo.targetPrice"
/><label for="">m²/元</label> /><label for="">m²/元</label>
</view> </view>
...@@ -65,7 +65,7 @@ ...@@ -65,7 +65,7 @@
<view class="inputItem"> <view class="inputItem">
<text>新房贷款年利率:</text> <text>新房贷款年利率:</text>
<view class="inputContent"> <view class="inputContent">
<input class="uni-input" type="number" placeholder="请输入" <input class="uni-input" type="digit" placeholder="请输入"
maxlength="4" v-model="housePurchaseInfo.interestRate" maxlength="4" v-model="housePurchaseInfo.interestRate"
/><label for="">%</label> /><label for="">%</label>
</view> </view>
...@@ -91,15 +91,15 @@ ...@@ -91,15 +91,15 @@
<view class="inputItem"> <view class="inputItem">
<text>已备首付:</text> <text>已备首付:</text>
<view class="inputContent"> <view class="inputContent">
<input class="uni-input" type="number" placeholder="请输入" <input class="uni-input" type="digit" placeholder="请输入"
v-model="housePurchaseInfo.firstHouseAmount" v-model.trim="housePurchaseInfo.firstHouseAmount"
/><label for="">万元</label> /><label for="">万元</label>
</view> </view>
</view> </view>
<view class="inputItem"> <view class="inputItem">
<text>年预备还房贷资金总额:</text> <text>年预备还房贷资金总额:</text>
<view class="inputContent"> <view class="inputContent">
<input class="uni-input" type="number" placeholder="请输入" <input class="uni-input" type="digit" placeholder="请输入"
v-model="housePurchaseInfo.repaymentSpecial" v-model="housePurchaseInfo.repaymentSpecial"
/><label for="">万元</label> /><label for="">万元</label>
</view> </view>
...@@ -655,7 +655,7 @@ ...@@ -655,7 +655,7 @@
width: 48%; width: 48%;
box-shadow: 0 1px 1px #969696; box-shadow: 0 1px 1px #969696;
view { view {
margin: 10rpx 0; margin: 10rpx;
} }
} }
img{ img{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment