index.wxml 2.8 KB

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