商品评价,点击查看报错问题

master
mabo 2021-06-29 18:13:58 +08:00
parent 5143f2b83f
commit 72ed363ac3
1 changed files with 13 additions and 7 deletions

View File

@ -28,7 +28,7 @@
size="small" show-total show-elevator show-sizer></Page> size="small" show-total show-elevator show-sizer></Page>
</Row> </Row>
</Card> </Card>
<!-- 评价详情 -->
<Modal v-model="infoFlag" width="800" :title="infoTitle"> <Modal v-model="infoFlag" width="800" :title="infoTitle">
<div class="info-list" style="overflow: hidden"> <div class="info-list" style="overflow: hidden">
@ -58,12 +58,15 @@
<ListItemMeta :avatar="infoData.memberProfile" :title="infoData.memberName" <ListItemMeta :avatar="infoData.memberProfile" :title="infoData.memberName"
:description="infoData.content"/> :description="infoData.content"/>
</ListItem> </ListItem>
<div class="" v-if="infoData.haveImage == 1"> <div class="" v-if="infoData.haveImage">
评价图 评价图
<div style="margin-left: 40px"> <div style="margin-left: 40px">
<template v-if="infoData.images && infoData.images.length">
<img style="width: 100px;height: 110px;margin-left: 2px" <img style="width: 100px;height: 110px;margin-left: 2px"
v-for="(img,index) in infoData.image.split(',')" v-if="infoData.image.length !=0" :src="img" v-for="(img,index) in infoData.images.split(',')" :src="img"
alt="" :key="index"/> alt="" :key="index"/>
</template>
</div> </div>
</div> </div>
</List> </List>
@ -74,10 +77,13 @@
<div style="float: left"> 商家回复</div> <div style="float: left"> 商家回复</div>
<div style="margin-left: 60px">{{ infoData.reply }}</div> <div style="margin-left: 60px">{{ infoData.reply }}</div>
</div> </div>
<div v-if="infoData.haveReplyImage == 1"> <div v-if="infoData.haveReplyImage">
<div style="margin-left: 60px"> <div style="margin-left: 60px">
<template v-if="infoData.replyImage && infoData.replyImage.length">
<img style="width: 100px;height: 110px" v-for="(img,index) in infoData.replyImage.split(',')" :key="index" <img style="width: 100px;height: 110px" v-for="(img,index) in infoData.replyImage.split(',')" :key="index"
v-if="infoData.replyImage.length !=0" :src="img" alt=""/> :src="img" alt=""/>
</template>
</div> </div>
</div> </div>
</div> </div>