Commit dae7b8dd by liuquan

3.1.1

U:修复名字太长不能输入完
parent 3926865a
......@@ -4,7 +4,7 @@
<form bindsubmit="formSubmit">
<view class="order-num">
<text>收货人</text>
<input type="text" name="name" value='{{name}}' bindinput="name" placeholder="请输入收货人姓名" placeholder-style="color:#CECECE;" maxlength="10"></input>
<input type="text" name="name" value='{{name}}' bindinput="name" placeholder="请输入收货人姓名" placeholder-style="color:#CECECE;" maxlength="30"></input>
</view>
<view class="order-num">
<text>联系方式</text>
......
......@@ -36,7 +36,7 @@
<view class="two-wrap">
<view class="flex-xm">
<view class="tname">姓名</view>
<input class="sname" placeholder="请输入姓名或昵称" value="{{name}}" bindinput='bindName' maxlength="12"></input>
<input class="sname" placeholder="请输入姓名或昵称" value="{{name}}" bindinput='bindName' maxlength="30"></input>
<view class="row height20" bindtap="changeUser">
<view class="ghyh">更换用户</view>
<image class="right1" src="/images/arrow@2x.png"></image>
......
......@@ -3,7 +3,7 @@
<view class="two-wrap">
<view class="flex-xm4">
<view class="tname">用户姓名</view>
<input type="text" class="weight" placeholder="必填" value="{{name}}" bindinput='bindName' maxlength="8"></input>
<input type="text" class="weight" placeholder="必填" value="{{name}}" bindinput='bindName' maxlength="30"></input>
</view>
<view class="flex-xm4">
<view class="tname">手机号</view>
......
......@@ -32,9 +32,8 @@ Page({
that.data.t_unionid = options.t_unionid;
}
if(!Util.isEmpty(options.iShow)) {
console.log("iShow")
that.data.iShow = options.iShow;
that.data.item = JSON.parse(options.item);
that.data.item =options.item?JSON.parse(options.item):{};
}
that.checkModal();
},
......
......@@ -6,7 +6,7 @@
<view class='record' style='margin-bottom:{{type==1?98:0}}rpx;'>
<!-- 左滑删除 -->
<view class="touch-item {{item.isTouchMove ? 'touch-move-active' : ''}}" data-index="{{num}}" bindtouchstart="touchstart" bindtouchmove="touchmove" bindtouchend="touchE" wx:if='{{itemList.length>0}}' wx:for='{{itemList}}' wx:for-item='item' wx:for-index='num' wx:key='index'>
<view class="flex user" bindtap='next' data-userid="{{item.consultant_unionid}}" data-index="{{num}}" data-one="{{index}}">
<view class="flex user" bindtap='next' data-item="{{item}}" data-index="{{num}}" data-one="{{index}}">
<view class="flex" data-index="{{num}}" >
<view class="user-img" >
<image src="{{item.image}}" mode="aspectFill"></image>
......
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