addComment.wxml 1.1 KB

123456789101112131415161718192021
  1. <view class="btn">
  2. <view class=" sub-evaluate button button-warn sub button-theme" bindtap="submit">提交评论</view>
  3. </view>
  4. <view class="page">
  5. <view style="position: relative;">
  6. <textarea class='textarea' placeholder="{{atype == '0'?'请输入您和孩子的追加感受':'请输入对商品的评价'}}" placeholder-class="place" maxlength="3000" bindblur="bindblur" bindinput='bindblur' value="{{fcontent}}"></textarea>
  7. <span style="position:absolute; right:5px; bottom:1vh;font-size:12px; color:#BDCADA">{{wordsLength}}/3000</span>
  8. </view>
  9. <view class="images">
  10. <view class="images-col imgbox" wx:for="{{uploadImg}}" wx:key="unique">
  11. <image class="image" src="{{item}}" mode="aspectFill" />
  12. <view class="delBox" bindtap="delImg" data-index="{{index}}">
  13. <view class="del"></view>
  14. </view>
  15. </view>
  16. <view class="images-col add-box" bindtap="chooseImg" hidden="{{uploadImg.length >= 8}}">
  17. <image src="https://img.bbztx.com/miniProgram/baby/imgUpload.png" style="width: 100%;height: 100%;" alt="" />
  18. </view>
  19. </view>
  20. <view class="tip">注:最大仅支持上传10M的图片</view>
  21. </view>