|
@@ -3,7 +3,7 @@
|
|
<view class="main">
|
|
<view class="main">
|
|
<view class="one">
|
|
<view class="one">
|
|
<view class="one_1">
|
|
<view class="one_1">
|
|
- <view class="text1">{{info.goods.name}}{{info.specs[0].name}}</view>
|
|
|
|
|
|
+ <view class="text1">{{info&&info.goods&&info.goods.name}}</view>
|
|
<!-- <view class="text2">好评率 <text>{{info.rate||100}}%</text></view> -->
|
|
<!-- <view class="text2">好评率 <text>{{info.rate||100}}%</text></view> -->
|
|
</view>
|
|
</view>
|
|
<view class="one_2">
|
|
<view class="one_2">
|
|
@@ -16,7 +16,9 @@
|
|
<scroll-view scroll-y="true" class="scroll-view">
|
|
<scroll-view scroll-y="true" class="scroll-view">
|
|
<view class="list-scroll-view">
|
|
<view class="list-scroll-view">
|
|
<view class="list" v-for="(item, index) in list" :key="index">
|
|
<view class="list" v-for="(item, index) in list" :key="index">
|
|
- <image v-if="item.customer.icon&&item.customer.icon.length>0" class="image" :src="item.customer.icon&&item.customer.icon.length>0?item.customer.icon[0].url:''" mode="">
|
|
|
|
|
|
+ <image v-if="item.customer&&item.customer.icon&&item.customer.icon.length>0" class="image"
|
|
|
|
+ :src="item.customer.icon&&item.customer.icon.length>0?item.customer.icon[0].url:''"
|
|
|
|
+ mode="">
|
|
</image>
|
|
</image>
|
|
<text v-else class="iconfont icon-top"></text>
|
|
<text v-else class="iconfont icon-top"></text>
|
|
<view class="list_1">
|
|
<view class="list_1">
|
|
@@ -43,7 +45,9 @@
|
|
</view>
|
|
</view>
|
|
<view v-if="item.customer._id==user._id" @tap="toReply(item,indexx)">回复</view>
|
|
<view v-if="item.customer._id==user._id" @tap="toReply(item,indexx)">回复</view>
|
|
</view>
|
|
</view>
|
|
- <uni-easyinput v-if="reply.reply&&reply.customer._id==user._id&&reply._id==item._id&&reply.index==indexx" class="input" maxlength=-1 type="textarea" @change="confirm" placeholder="评论" />
|
|
|
|
|
|
+ <uni-easyinput
|
|
|
|
+ v-if="reply.reply&&reply.customer._id==user._id&&reply._id==item._id&&reply.index==indexx"
|
|
|
|
+ class="input" maxlength=-1 type="textarea" @change="confirm" placeholder="评论" />
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|