File tree Expand file tree Collapse file tree 1 file changed +24
-9
lines changed
src/views/mall/trade/order/components Expand file tree Collapse file tree 1 file changed +24
-9
lines changed Original file line number Diff line number Diff line change 40
40
<el-table-column min-width =" 300" prop =" spuName" >
41
41
<template #header >
42
42
<div
43
- class =" flex items-center"
44
- style =" width : 100 % ; height : 35 px ; background-color : #f7f7f7 "
43
+ class =" mr-[20px] h-[35px] flex items-center pl-[10px] pr-[10px] "
44
+ style =" background-color : #f7f7f7 "
45
45
>
46
46
<span class =" mr-20px" >订单号:{{ scope.row.no }} </span >
47
47
<span class =" mr-20px" >下单时间:{{ formatDate(scope.row.createTime) }}</span >
64
64
</template >
65
65
<template #default =" { row } " >
66
66
<div class =" flex flex-wrap" >
67
- <el-image
68
- :src =" row.picUrl"
69
- class =" mb-[13px] mr-[10px] h-[40px] w-[40px] v-middle"
70
- @click =" imagePreview(row.picUrl)"
71
- />
72
- <span class =" mb-[13px] mr-[10px]" >{{ row.spuName }}</span >
67
+ <div class =" mb-[10px] mr-[10px] flex items-start" >
68
+ <div class =" mr-[10px]" >
69
+ <el-image
70
+ :src =" row.picUrl"
71
+ class =" !h-[45px] !w-[45px]"
72
+ fit =" contain"
73
+ @click =" imagePreview(row.picUrl)"
74
+ >
75
+ <template #error >
76
+ <div class =" image-slot" >
77
+ <icon icon =" ep:picture" />
78
+ </div >
79
+ </template >
80
+ </el-image >
81
+ </div >
82
+ <ElTooltip :content =" row.spuName" placement =" top" >
83
+ <span class =" overflow-ellipsis max-h-[45px] overflow-hidden" >
84
+ {{ row.spuName }}
85
+ </span >
86
+ </ElTooltip >
87
+ </div >
73
88
<el-tag
74
89
v-for =" property in row.properties"
75
90
:key =" property.propertyId"
76
- class =" mb-[13px ] mr-[10px]"
91
+ class =" mb-[10px ] mr-[10px]"
77
92
>
78
93
{{ property.propertyName }}: {{ property.valueName }}
79
94
</el-tag >
You can’t perform that action at this time.
0 commit comments