Commit 9438232d by caoyanzhi

update: 订单列表

parent 351649c5
......@@ -66,7 +66,7 @@
<el-table-column label="商品信息" min-width="350px" show-overflow-tooltip>
<div class="goods-info-box" slot-scope="{ row }">
<div class="goods-logo">
<img class="goods-logo-icon" :src="row.imageUrl ? row.imageUrl : './static/img/default-goods.png'" alt="">
<img class="goods-logo-icon" :src="row.imageUrl ? row.imageUrl : defaultGoodsIcon" alt="">
<!-- productType 商品类型 1正常 2赠品 3换购 -->
<div v-if="row.productType == 2" class="goods-type-icon gift">赠品</div>
<div v-if="row.productType == 3" class="goods-type-icon swap">换购</div>
......@@ -200,6 +200,7 @@
<script>
import url from '../../../components/axios/url.js';
import { doFetch } from '../../../components/axios/api.js';
import defaultGoodsIcon from '../../../../static/img/default-goods.png'
export default {
name: 'OrderTable',
props: {
......@@ -207,6 +208,7 @@ export default {
},
data() {
return {
defaultGoodsIcon,
params: {
memberId: '', // 会员id
pageSize: 20,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment