idea-feedback.wxml
1.5 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
<!--pages/idea-feedback/idea-feedback.wxml-->
<view class="container">
<view class="title">
意见反馈
</view>
<view class="inputText">
<textarea placeholder="请输入您的意见反馈" value="{{content}}" bindinput="textAreaInput" maxlength="100"></textarea>
</view>
<view class="length">
{{length}}/100
</view>
<view class="pic">
<!-- <van-uploader file-list="{{imgs }}" max-count="4" bind:after-read="afterRead" /> -->
<view class="photoBox">
<view class="photoText">
<view class="lefttext">上传凭证</view>
<view class="right">最多可上传3张</view>
</view>
<view class="photo">
<view class="photoOne" bindtap="chooseImage">
<image src="/images/05-06/photo.png"></image>
</view>
<view class="photoOne" wx:for="{{imgs}}" data-index="{{index}}">
<image src="{{item}}"></image>
<view class="delBox" bindtap="delPic" data-index="{{index}}">
<image src="/images/05-06/chaIcon.png"></image>
</view>
</view>
</view>
</view>
</view>
<view class="phone">
<van-cell-group>
<van-field clearable value="{{tel}}" type="bankCard" name="acc_name" label="联系方式" placeholder="请输入您的联系方式"
error-message="{{phoneMessage}}" border="{{false}}" bind:change="phoneChange" />
</van-cell-group>
</view>
</view>
<view class="btnBox">
<view class="btn" bindtap="submit">提交</view>
</view>