<!--pages/welfareMall/feedback/feedback.wxml-->
<view class="feedback flex-column">
  <view class="feedback-style flex-column">
    <view class="feedback-titles flex-row">
      <view class="feedback-title">建议</view>
    </view>
    <view class="feedback-text flex-column">
      <textarea class='suggest_text' bindinput="bindText" maxlength='500' placeholder='请输入您的建议' placeholder-class='sug_p'>
        </textarea>
      <view class="suggest_text-count flex-row"><text class="suggest_text-num">{{t_length}}/500</text></view>
    </view>
    <view class="feedback-exp flex-row">
      <view class="feedback-explain">图片（选项）（最多添加4张）</view>
      <view></view>
    </view>
    <view class="explain-img flex-row">
      <!--这个是已经选好的图片-->
      <view class="explain-img-style flex-column" wx:for="{{avatarUrlShow}}" wx:key="key" data-index="{{index}}" bindtap="previewImage">
        <view class="close-img-style flex-row">
          <image class="close-img" src="" mode="scaleToFill" catchtap="deleteImvBanner" data-id="{{index}}" src="/images/welfareMall/toDelete.png"></image>
        </view>
        <image class="explain-img-preview " src="{{item}}"></image>
      </view>
      <!--这个是选择图片-->
      <view bindtap="chooseBanner" wx:if="{{chooseViewShowBanner}}" catchtap="bindViewTap">
        <view class="close-img-style">
          <image class="close-img"></image>
        </view>
        <view class="explain-img-preview flex-column">
          <image class="chooseImv" src="/images/welfareMall/img-choice.png"></image>
        </view>
      </view>
    </view>
    <view class="lower-submit flex-row" catchtap="toSubmit">
      <view class="order-refund flex-row"  style="background: {{config.mainColor?config.mainColor:'#B01717'}};">
        <view class="lower-order-text">提交</view>
      </view>
    </view>

    <view>

    <view class="info-title">温馨提示</view>
      <view class="info-view flex-row" bindtap="goToRefund">
        <image src="/images/zytx.png" class="zytx"></image>
        <view class="refund-info">关于如何去退款>></view>
      </view>
      <view class="info-view flex-row" bindtap="goToBuy">
        <image src="/images/zytx.png" class="zytx"></image>
        <view class="refund-info">关于如何使用券>></view>
      </view>
    </view>

    <view>
      <button open-type="contact" class="call" type="warn" size="mini">
        <image class="service-style" src="../../../images/welfareMall/service-img.png"></image>
      </button>
    </view>

    <!-- 弹框 -->
    <view class="bg-zindex" wx:if="{{hideWindowValue}}">
      <view class="success_window flex-column">
        <view class="w_title">非常感谢您的反馈</view>
        <view class="w_text"><text class="hsay_text">沪上阿姨有您更优秀<br />
            研发团队正在拼命优化中</text></view>
        <view class="w_border"></view>
        <view class="w_go_order" bindtap="goPerson">我知道了</view>
      </view>
    </view>
  </view>
</view>