Helius
2021-04-07 c1ec923c1c303efa339ef7bec6d675bc55aadb6e
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<view class="main">
  <view class='productEv-container'>
    <block wx:for="{{productList}}" wx:key="ids">
      <view class="evaluate-list radius" data-index="{{index}}">
        <text class='grey order-number'>订单编号:{{item.orderNum}}</text>
        <view class='evaluate-info'>
          <image class='evaluate-image' src='{{item.imgMobile}}'> </image>
          <view class='explain-detail'>
            <text class='explain-text'>描述相符:</text>
            <view class='star' data-id="{{item.productId}}">
              <image class='stars' bindtap="changeColor"  
                data-index='{{index}}'       
                data-value="{{item}}" 
                data-myindex="{{id}}"
                wx:for-index="id" 
                wx:for-item="star" 
                wx:for="{{stardata}}"
                src="{{item.comScore>=star? '/image/star1.png': '/image/star2.png'}}" />
            </view>
          </view>
        </view>
        <view class='orders-textarea'>
          <textarea class="orders-bottom-text-input radius" value="{{item.content}}"  bindinput='formName' data-index="{{index}}"  bindblur="bindTextAreaBlur" placeholder='分享您对本产品心得…' focus maxlength="-1" />
        </view>
      </view>
    </block>
  </view>
  <cover-view class='btn-release' bindtap='commitEvaluate'>发布</cover-view>
</view>