feedback.wxml 1.3 KB

123456789101112131415161718192021222324252627
  1. <view>
  2. <view class="feedback-title">
  3. <text>*标题:</text>
  4. <input class="feedback-title-input" type="text" maxlength="20" placeholder-style="color:#D3D3D3" placeholder="请输入标题" bindinput="getTitle" />
  5. <view class="warning">
  6. <view wx:if="{{feedbackTitleLength >= 20}}">
  7. <text class="warningTitle">注意:标题长度(含标点符号)不能超过20字</text>
  8. </view>
  9. </view>
  10. </view>
  11. <view class="feedback-title">
  12. <text>*详细内容:</text>
  13. <textarea class="feedback-content-input" maxlength="500" placeholder-style="color:#D3D3D3" placeholder="请输入您需要反馈的详细内容" bindinput="getContent" />
  14. <view class="warning">
  15. <view wx:if="{{feedbackContentLength >= 500}}">
  16. <text class="warningTitle">注意:输入的内容(含标点符号)不能超过500字</text>
  17. </view>
  18. </view>
  19. </view>
  20. <view>
  21. <view>联系方式:</view>
  22. <input class="feedback-title-input" type="number" placeholder="请输入您的手机号码" placeholder-style="color:#D3D3D3" bindinput="getPhoneNum"/>
  23. </view>
  24. <view>
  25. <button class="submitBtn" type="primary" bindtap="toSubmit">提交</button>
  26. </view>
  27. </view>