Commit 2e5b77b1 by Chao Sun

输入小数点

parent 5703e87e
......@@ -33,7 +33,7 @@
<view class="inputItem">
<text>预购面积:</text>
<view class="inputContent">
<input class="uni-input" type="number" placeholder="请输入"
<input class="uni-input" type="digit" placeholder="请输入"
v-model="housePurchaseInfo.preOrderSize" @blur="queryCommercialHousingPrice()"
/><label for=""></label>
</view>
......@@ -41,7 +41,7 @@
<view class="inputItem">
<text>预购房产现在市场单价:</text>
<view class="inputContent">
<input class="uni-input" type="number" placeholder="请输入"
<input class="uni-input" type="digit" placeholder="请输入"
v-model="housePurchaseInfo.targetPrice"
/><label for="">m²/元</label>
</view>
......@@ -65,7 +65,7 @@
<view class="inputItem">
<text>新房贷款年利率:</text>
<view class="inputContent">
<input class="uni-input" type="number" placeholder="请输入"
<input class="uni-input" type="digit" placeholder="请输入"
maxlength="4" v-model="housePurchaseInfo.interestRate"
/><label for="">%</label>
</view>
......@@ -91,15 +91,15 @@
<view class="inputItem">
<text>已备首付:</text>
<view class="inputContent">
<input class="uni-input" type="number" placeholder="请输入"
v-model="housePurchaseInfo.firstHouseAmount"
<input class="uni-input" type="digit" placeholder="请输入"
v-model.trim="housePurchaseInfo.firstHouseAmount"
/><label for="">万元</label>
</view>
</view>
<view class="inputItem">
<text>年预备还房贷资金总额:</text>
<view class="inputContent">
<input class="uni-input" type="number" placeholder="请输入"
<input class="uni-input" type="digit" placeholder="请输入"
v-model="housePurchaseInfo.repaymentSpecial"
/><label for="">万元</label>
</view>
......@@ -655,7 +655,7 @@
width: 48%;
box-shadow: 0 1px 1px #969696;
view {
margin: 10rpx 0;
margin: 10rpx;
}
}
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