This commit is contained in:
pangxie1991 2016-12-20 11:09:39 +08:00
parent d1240481fd
commit b0ec47d9c1
5 changed files with 41 additions and 0 deletions

View File

@ -11,6 +11,7 @@
"pages/quantity/index",
"pages/toptips/index",
"pages/helper/index",
"pages/form/index",
"pages/steps/index",
"pages/namecard/index",
"pages/toast/index"

View File

@ -14,4 +14,5 @@
}
.zui-form__input {
min-height: 26px;
}

View File

@ -33,6 +33,10 @@
<view class="zui-cell__bd">Helper</view>
<view class="zui-cell__ft"></view>
</navigator>
<navigator class="zui-cell zui-cell--access" url="/pages/form/index">
<view class="zui-cell__bd">Form</view>
<view class="zui-cell__ft"></view>
</navigator>
<navigator class="zui-cell zui-cell--access" url="/pages/namecard/index">
<view class="zui-cell__bd">Namecard</view>
<view class="zui-cell__ft"></view>

13
pages/form/index.js Normal file
View File

@ -0,0 +1,13 @@
var app = getApp()
Page({
data: {
},
onLoad: function () {
},
onShow: function() {
},
})

22
pages/form/index.wxml Normal file
View File

@ -0,0 +1,22 @@
<view class="container">
<view class="zui-form">
<view class="zui-cell zui-form__item">
<text class="zui-form__title">收货人</text>
<input
class="zui-form__input zui-cell__bd"
placeholder="名字"
/>
</view>
<view class="zui-cell zui-form__item zui-cell--last-child">
<text class="zui-form__title">联系电话</text>
<input
class="zui-form__input zui-cell__bd"
type="number"
maxlength="20"
placeholder="手机或固定电话"
/>
</view>
</view>
</view>