|
@@ -45,12 +45,12 @@
|
|
|
<view class="quantity red">x {{goods.quantity}}</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
- <view class="comment-btn" v-if="item.status==3">
|
|
|
+ <view class="comment-btn" v-if="goods.isComment==0">
|
|
|
<text class="btn green" @click.stop="comment(item.id,goods.id,goods.goodsId)">
|
|
|
评价
|
|
|
</text>
|
|
|
</view>
|
|
|
- <view class="comment-btn" v-if="item.status==6">
|
|
|
+ <view class="comment-btn" v-if="goods.isComment==1">
|
|
|
<text class="btn" @click.stop="viewComment(goods.id,goods.goodsId,goods)">
|
|
|
查看评价
|
|
|
</text>
|
|
@@ -138,14 +138,14 @@
|
|
|
return this.dataList.map(order => {
|
|
|
// let spliceData = order.detailList.splice(0,2);
|
|
|
|
|
|
- let moreData = order.detailList.splice(2,order.detailList.length);
|
|
|
+ // let moreData = order.detailList.splice(2,order.detailList.length);
|
|
|
// if(order.detailList.length>2){
|
|
|
// moreData = order.detailList;
|
|
|
// }
|
|
|
return {
|
|
|
...order,
|
|
|
// spliceData:spliceData,
|
|
|
- moreData:moreData,
|
|
|
+ // moreData:moreData,
|
|
|
showMore:false,
|
|
|
class: {
|
|
|
0: 'status-0',
|