File tree Expand file tree Collapse file tree 2 files changed +10
-10
lines changed Expand file tree Collapse file tree 2 files changed +10
-10
lines changed Original file line number Diff line number Diff line change 59
59
<!-- 列表 -->
60
60
<ContentWrap >
61
61
<el-table v-loading =" loading" :data =" list" :stripe =" true" :show-overflow-tooltip =" false" >
62
- <el-table-column label =" 评论编号" align =" center" prop =" id" min-width =" 60" />
63
- <el-table-column label =" 用户名称" align =" center" prop =" userNickname" width =" 80" />
64
- <el-table-column label =" 商品信息" align =" center" min-width =" 300" >
62
+ <el-table-column label =" 评论编号" align =" center" prop =" id" min-width =" 50" />
63
+ <el-table-column label =" 商品信息" align =" center" min-width =" 400" >
65
64
<template #default =" scope " >
66
65
<div class =" row flex items-center gap-x-4px" >
67
66
<el-image
82
81
</div >
83
82
</template >
84
83
</el-table-column >
85
- <el-table-column label =" 评分星级 " align =" center" prop =" scores " width =" 80 " />
86
- <el-table-column label =" 描述星级 " align =" center" prop =" descriptionScores" width =" 80 " />
87
- <el-table-column label =" 服务星级 " align =" center" prop =" benefitScores" width =" 80 " />
88
- <el-table-column label =" 评论内容" align =" center" prop =" content" min-width =" 80 " >
84
+ <el-table-column label =" 用户名称 " align =" center" prop =" userNickname " width =" 100 " />
85
+ <el-table-column label =" 商品评分 " align =" center" prop =" descriptionScores" width =" 90 " />
86
+ <el-table-column label =" 服务评分 " align =" center" prop =" benefitScores" width =" 90 " />
87
+ <el-table-column label =" 评论内容" align =" center" prop =" content" min-width =" 210 " >
89
88
<template #default =" scope " >
90
89
<p >{{ scope.row.content }}</p >
91
90
<div class =" flex justify-center gap-x-4px" >
105
104
label =" 回复内容"
106
105
align =" center"
107
106
prop =" replyContent"
108
- min-width =" 100 "
107
+ min-width =" 250 "
109
108
show-overflow-tooltip
110
109
/>
111
110
<el-table-column
112
111
label =" 评论时间"
113
112
align =" center"
114
113
prop =" createTime"
115
114
:formatter =" dateFormatter"
116
- width =" 170 "
115
+ width =" 180 "
117
116
/>
118
117
<el-table-column label =" 是否展示" align =" center" width =" 80px" >
119
118
<template #default =" scope " >
Original file line number Diff line number Diff line change 25
25
</el-table-column >
26
26
<el-table-column align =" center" label =" 销售价(元)" min-width =" 80" >
27
27
<template #default =" { row } " >
28
- {{ row.price }}
28
+ {{ fenToYuan( row.price) }}
29
29
</template >
30
30
</el-table-column >
31
31
</el-table >
36
36
import { ElTable } from ' element-plus'
37
37
import * as ProductSpuApi from ' @/api/mall/product/spu'
38
38
import { propTypes } from ' @/utils/propTypes'
39
+ import { fenToYuan } from ' @/utils'
39
40
40
41
defineOptions ({ name: ' SkuTableSelect' })
41
42
You can’t perform that action at this time.
0 commit comments