index.wxml 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. <navbar parameter='{{parameter}}'></navbar>
  2. <form bindsubmit="formSubmit" report-submit='true'>
  3. <view class='evaluate-con'>
  4. <view class='goodsStyle acea-row row-between'>
  5. <view class='pictrue'><image src='{{productInfo.image}}'></image></view>
  6. <view class='text acea-row row-between'>
  7. <view class='name line2'>{{productInfo.store_name}}</view>
  8. <view class='money'>
  9. <view>¥{{productInfo.price}}</view>
  10. <view class='num'>x{{cart_num}}</view>
  11. </view>
  12. </view>
  13. </view>
  14. <view class='score'>
  15. <view class='item acea-row row-middle' wx:for='{{scoreList}}' wx:key='index'>
  16. <view>{{item.name}}</view>
  17. <view class='starsList'>
  18. <text bindtap='stars' data-indexw='{{index}}' data-index='1' class='iconfont {{item.stars>=1?"icon-shitixing font-color":"icon-kongxinxing"}}'></text>
  19. <text bindtap='stars' data-indexw='{{index}}' data-index='2' class='iconfont {{item.stars>=2?"icon-shitixing font-color":"icon-kongxinxing"}}'></text>
  20. <text bindtap='stars' data-indexw='{{index}}' data-index='3' class='iconfont {{item.stars>=3?"icon-shitixing font-color":"icon-kongxinxing"}}'></text>
  21. <text bindtap='stars' data-indexw='{{index}}' data-index='4' class='iconfont {{item.stars>=4?"icon-shitixing font-color":"icon-kongxinxing"}}'></text>
  22. <text bindtap='stars' data-indexw='{{index}}' data-index='5' class='iconfont {{item.stars>=5?"icon-shitixing font-color":"icon-kongxinxing"}}'></text>
  23. </view>
  24. <text class='evaluate' wx:if="{{item.stars}}">{{item.stars==5 ? "非常好":item.stars+"分"}}</text>
  25. </view>
  26. <view class='textarea'>
  27. <textarea placeholder='商品满足你的期待么?说说你的想法,分享给想买的他们吧~' name="comment" placeholder-class='placeholder'></textarea>
  28. <view class='list acea-row row-middle'>
  29. <view class='pictrue' wx:for="{{pics}}" wx:key='index'>
  30. <image src='{{item}}'></image>
  31. <text class='iconfont icon-guanbi1 font-color' data-index='{{index}}' bindtap='DelPic'></text>
  32. </view>
  33. <view class='pictrue acea-row row-center-wrapper row-column' bindtap='uploadpic' wx:if="{{pics.length < 8}}">
  34. <text class='iconfont icon-icon25201'></text>
  35. <view>上传图片</view>
  36. </view>
  37. </view>
  38. </view>
  39. <button class='evaluateBnt bg-color' formType="submit">立即评价</button>
  40. </view>
  41. </view>
  42. </form>
  43. <authorize bind:onLoadFun="onLoadFun" ></authorize>