contact-table.wxml
1.88 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
<view class="page">
<view class="app__bgc bgc"></view>
<view class="app__bg bg"></view>
<view class="app__content main">
<view class="top-space"></view>
<view class="content">
<view class="border table">
<view class="form">
<view class="form-item">
<view class="label">用户姓名</view>
<input value="{{name}}" class="val" bindinput="bindNameInput" placeholder="请输入姓名" />
</view>
<view class="form-item">
<view class="label">联系方式</view>
<input class="val" bindinput="bindPhoneInput" placeholder="选填" type="number" />
</view>
<textarea class="textarea" bindinput="bindMessageContantInput" maxlength="500" placeholder="不超过500字"></textarea>
<!-- 图片上传 -->
<view class="upload">
<view class="tips">上传照片</view>
<view class="upload-file">
<view class="upload-file-item" wx:for="{{files}}" wx:key="index">
<image class="thumb" src="{{item.path}}" mode="aspectFill" />
<span class="iconfont iconclose1 remove" data-index="{{index}}" bindtap="remove"></span>
</view>
<view class="upload-file-item" wx:if="{{files.length < maxImg}}">
<image class="thumb" src="../../image/icon/icon-upload.png" mode="aspectFill" bindtap="onUploadHandler" />
</view>
</view>
</view>
</view>
</view>
<view class="submit-btn" bindtap="onSubmitHandler">提交</view>
</view>
</view>
</view>
<van-popup show="{{ authorizeVisible }}">
<authorize-comp bind:evtcomp="evtcomp"></authorize-comp>
</van-popup>
<van-popup show="{{ commonTipsCompVisible }}">
<common-tips-comp bind:evtcomp="evtcomp" inner-title="{{innerTitle}}" inner-text="{{innerText}}"></common-tips-comp>
</van-popup>