Skip to content
刘剑 edited this page Oct 17, 2016 · 3 revisions

input目前有两种布局模式

一种层叠 一种同行

input

<view>
  <view class="space">input-stacked</view>
  <view class="wa-input-stacked">
<text class="wa-input-label">phoneNumber:</text>
<input class="wa-input" placeholder="phoneNumber" value=""/>
  </view>
  <view class="space">input-item</view>
  <view class="wa-input-item">
<text class="wa-input-label">password:</text>
<input class="wa-input" placeholder="password" value=""/>
  </view>
</view>
Clone this wiki locally