<view class="content">
  <text style="font-size: 24rpx;color: #999;">您的反馈都会有专人处理，一但被采纳将会收到玖哩团队精心准备的小礼物哦~
  您可以从功能设计、交互体验、产品BUG等各个维度提出您的想法，支持用视频、语音、图片、文字反馈！
  </text>
  <view class="detail border-radius">
    <view class="box-textarea">
      <textarea bindinput="bindTextAreaInput" value="{{value}}" maxlength="{{maxlength}}" placeholder="请输入记录反馈" />
      <view class="box-text">{{number}}/{{maxlength}}</view>
    </view>
    <view class="change-img">
      <view class="text">
        <text>添加视频/图片</text>
        <text style="font-size:28rpx;color:#999;">({{imgs.length}}/9)</text>
      </view>
      <view class="img-box">
        <view class="position-relative" style="position: relative;" wx:for="{{ imgs }}" wx:key="index">
          <view class="item">
            <block wx:if="{{ item.type == 'video' }}">
              <!-- <video src="{{ item.url }}"></video> -->
              <!-- <text>视频播放</text> -->
              <view class="flex-center" style="font-size: 28rpx;width: 100%;height: 100%;background-color: #ccc;" data-index="{{index}}" bindtap="previewMedia">
                <!-- 这个是视频 -->
                <image class="icon-01" src="/images/icon_01.png"></image>
                <!-- <text style="position: absolute;">这个是视频</text> -->
                <image class="img-content" data-index="{{index}}" src="{{ item.thumb }}" alt=""></image>
              </view>
            </block>
            <block wx:if="{{ item.type == 'image' }}">
              <image class="img-content" data-index="{{index}}" src="{{ item.url }}" alt="" bindtap="previewMedia"></image>
            </block>
          </view>
          <image src="/images/icon_03.png" class="delete-img" data-index="{{index}}" bindtap="onDeleteItem"></image>
        </view>
        
        <view class="item upload flex-column flex-center" wx:if="{{ imgs.length < 9 &&imgs[0].type != 'video' }}" bindtap="chooseVideo">
          <image src="/images/icon_06.png"></image>
          <text style="font-size: 28rpx;">添加视频</text>
        </view>
        <view class="item upload flex-column flex-center" wx:if="{{ imgs.length < 9}}" bindtap="chooseImage">
          <image src="/images/icon_07.png"></image>
          <text style="font-size: 28rpx;">添加图片</text>
        </view>
      </view>
    </view>
  </view>
</view>




<view class="btm flex-center">
  <view class="btm-btn flex-center" bindtap="addOrder">提交</view>
</view>
<view style="height: 152rpx;"></view>