idea-feedback.wxml 1.5 KB
<!--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>