<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>
|