Commit d373d446 authored by youjie's avatar youjie

input 数字控制

parent 4b305ddc
......@@ -142,7 +142,7 @@
<view>包含成人和儿童</view>
</view>
<view class="peopleCenterR row items-center">
<input type="number" v-model="busInfor.peopleNum" @change="getPeople"/>
<u-number-box :min="1" v-model="busInfor.peopleNum" @change="getPeople"/>
<text></text>
</view>
</view>
......@@ -158,7 +158,7 @@
<view></view>
</view>
<view class="peopleCenterR row items-center">
<input type="number" v-model="busInfor.days" @change="getPeople"/>
<u-number-box :min="1" v-model="busInfor.days" @change="getPeople"/>
<text></text>
</view>
</view>
......
......@@ -162,57 +162,55 @@
<input type="text" v-model="orderMsg.GetoffAddress" placeholder="请输入下车地址" />
</view>
</view>
<view class="form-items row">
<view class="label">
成人
<view class="form-items row items-center">
<view class="label active">
成人
</view>
<view class="LastNameBox column val" style="width: 1px;flex: 1;">
<view class="row items-center">
<input type="number" v-model="orderMsg.ManNum"
placeholder="请输入成人数" @change="getPeoples"/>
</view>
<view class="LastNameBox" style="width: 1px;flex: 1;">
<u-number-box :min="1" v-model="orderMsg.ManNum"
placeholder="请输入成人数" @change="getPeoples"/>
</view>
</view>
<view class="row-sbas-n">
<view class="form-items row col" >
<view class="label">
儿童
<view class="label active">
儿童
</view>
<view class="LastNameBox column val" style="width: 1px;flex: 1;">
<view class="LastNameBox" style="width: 1px;flex: 1;">
<view class="row items-center">
<input type="number" v-model="orderMsg.ChildNum" placeholder="儿童数" @change="getPeoples"/>
<u-number-box :min="0" v-model="orderMsg.ChildNum" placeholder="儿童数" @change="getPeoples"/>
</view>
</view>
</view>
<view class="form-items row col" >
<view class="label">
婴儿
<view class="label active">
婴儿
</view>
<view class="LastNameBox column val" style="width: 1px;flex: 1;">
<view class="LastNameBox" style="width: 1px;flex: 1;">
<view class="row items-center">
<input type="number" v-model="orderMsg.BabyNum" placeholder="婴儿数" @change="getPeoples"/>
<u-number-box :min="0" v-model="orderMsg.BabyNum" placeholder="婴儿数" @change="getPeoples"/>
</view>
</view>
</view>
</view>
<view class="row-sbas-n">
<view class="form-items row col" >
<view class="label">
手提行李
<view class="label active">
手提
</view>
<view class="LastNameBox column val" style="width: 1px;flex: 1;">
<view class="LastNameBox" style="width: 1px;flex: 1;">
<view class="row items-center">
<input type="number" v-model="orderMsg.HandLuggageNum" placeholder="手提数" />
<u-number-box :min="0" v-model="orderMsg.HandLuggageNum" placeholder="手提数" />
</view>
</view>
</view>
<view class="form-items row col" >
<view class="label">
托运行李
<view class="label active">
托运
</view>
<view class="LastNameBox column val" style="width: 1px;flex: 1;">
<view class="LastNameBox" style="width: 1px;flex: 1;">
<view class="row items-center">
<input type="number" v-model="orderMsg.RegisteredLuggageNum" placeholder="托运数" />
<u-number-box :min="0" v-model="orderMsg.RegisteredLuggageNum" placeholder="托运数" />
</view>
</view>
</view>
......@@ -1056,6 +1054,10 @@
margin-right: 57rpx;
flex-shrink: 0;
}
.hotel-order .form .form-items .label.active {
width: 80rpx;
margin-right: 10rpx;
}
.hotel-order .form .form-items .val {
flex: 1;
......@@ -1367,7 +1369,7 @@
}
.LastNameBox view {
margin-bottom: 20rpx;
/*margin-bottom: 20rpx;*/
}
.LastNameBox view:last-child {
......@@ -1382,6 +1384,7 @@
border-radius: 4px;
margin: 0 10rpx;
padding: 20rpx;
width: 100%;
}
.bus-radio:last-child{
margin-left: 137rpx;
......
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