Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
phsl
/
admin
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
440422aa
authored
May 01, 2025
by
YunaiV
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:【商城】店铺装修-商品卡片:badge 图片为空时,不进行展示
parent
541694c9
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
12 deletions
+8
-12
src/components/DiyEditor/components/mobile/ProductCard/config.ts
+2
-2
src/components/DiyEditor/components/mobile/ProductCard/index.vue
+4
-1
src/views/mall/promotion/diy/template/index.vue
+2
-9
No files found.
src/components/DiyEditor/components/mobile/ProductCard/config.ts
View file @
440422aa
...
...
@@ -82,8 +82,8 @@ export const component = {
bgEndColor
:
'#FE832A'
,
imgUrl
:
''
},
borderRadiusTop
:
8
,
borderRadiusBottom
:
8
,
borderRadiusTop
:
6
,
borderRadiusBottom
:
6
,
space
:
8
,
spuIds
:
[],
style
:
{
...
...
src/components/DiyEditor/components/mobile/ProductCard/index.vue
View file @
440422aa
...
...
@@ -14,7 +14,10 @@
:key="index"
>
<!-- 角标 -->
<div
v-if=
"property.badge.show"
class=
"absolute left-0 top-0 z-1 items-center justify-center"
>
<div
v-if=
"property.badge.show && property.badge.imgUrl"
class=
"absolute left-0 top-0 z-1 items-center justify-center"
>
<el-image
fit=
"cover"
:src=
"property.badge.imgUrl"
class=
"h-26px w-38px"
/>
</div>
<!-- 商品封面图 -->
...
...
src/views/mall/promotion/diy/template/index.vue
View file @
440422aa
...
...
@@ -62,20 +62,13 @@
/>
</
template
>
</el-table-column>
<el-table-column
label=
"模板名称"
align=
"center"
prop=
"name"
/>
<el-table-column
label=
"模板名称"
align=
"center"
prop=
"name"
min-width=
"180"
/>
<el-table-column
label=
"是否使用"
align=
"center"
prop=
"used"
>
<
template
#
default=
"scope"
>
<dict-tag
:type=
"DICT_TYPE.INFRA_BOOLEAN_STRING"
:value=
"scope.row.used"
/>
</
template
>
</el-table-column>
<el-table-column
label=
"使用时间"
align=
"center"
prop=
"usedTime"
:formatter=
"dateFormatter"
width=
"180px"
/>
<el-table-column
label=
"备注"
align=
"center"
prop=
"remark"
/>
<el-table-column
label=
"备注"
align=
"center"
prop=
"remark"
min-width=
"180"
/>
<el-table-column
label=
"创建时间"
align=
"center"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment