<form bindsubmit=“submitInfo” report-submit=‘true’>
<view class=“nex” style=“border-bottom:1px solid #f0f0f0”>
<input type=“text” placeholder=‘请填写真实姓名’ placeholder-style=‘font-size:27rpx’ name=“name”> </input>
</view>
<view class=“nex”>
<input type=“number” placeholder=‘请填写手机号码’ placeholder-style=‘font-size:27rpx’ name=“phone”> </input>
</view>
<button form-type=“submit”>立即申请</button>
</form>
submitInfo: function(e) {
var name = e.detail.value.name;
var phone = e.detail.value.phone;
wx.showToast({
title: ‘申请成功’,
});
},
机型:华为mate10, 苹果x
型号: ALP TL00 系统11.2
微信版本:7.0.6 , 微信7.0.4