Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
W
wangxiaolu-sfa-ui
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
sfa
wangxiaolu-sfa-ui
Commits
d6fc1a93
提交
d6fc1a93
authored
3月 07, 2025
作者:
lidongxu
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
refactor(task): 修复打卡照片重复问题-强制横向滚动
同时上
上级
2ef89b66
显示空白字符变更
内嵌
并排
正在显示
1 个修改的文件
包含
18 行增加
和
14 行删除
+18
-14
index.vue
src/views/promotion/task/index.vue
+18
-14
没有找到文件。
src/views/promotion/task/index.vue
浏览文件 @
d6fc1a93
...
@@ -141,7 +141,7 @@
...
@@ -141,7 +141,7 @@
width=
"60%"
>
width=
"60%"
>
<p>
活动记录 ID :{{ photoLookInfoObj.id }}
</p>
<p>
活动记录 ID :{{ photoLookInfoObj.id }}
</p>
<p>
活动时间 :{{ photoLookInfoObj.createDate }}
</p>
<p>
活动时间 :{{ photoLookInfoObj.createDate }}
</p>
<el-card
v-for=
"obj in photoDialogList"
>
<el-card
v-for=
"obj in photoDialogList"
shadow=
"never"
>
<
template
#
header
>
{{
obj
.
title
}}
</
template
>
<
template
#
header
>
{{
obj
.
title
}}
</
template
>
<div
class=
"content"
>
<div
class=
"content"
>
<el-result
:title=
"item.time"
<el-result
:title=
"item.time"
...
@@ -149,15 +149,7 @@
...
@@ -149,15 +149,7 @@
v-for=
"item in obj.list"
>
v-for=
"item in obj.list"
>
<
template
#
icon
>
<
template
#
icon
>
<el-image
:src=
"item.photoUrl"
<el-image
:src=
"item.photoUrl"
:preview-src-list=
"[item.photoUrl]"
/>
:preview-src-list=
"[...obj.list.map(o => o.photoUrl)]"
/>
</
template
>
</el-result>
<el-result
:title=
"item.time"
:sub-title=
"item.title"
v-for=
"item in obj.list"
>
<
template
#
icon
>
<el-image
:src=
"item.photoUrl"
:preview-src-list=
"[item.photoUrl]"
/>
</
template
>
</
template
>
</el-result>
</el-result>
</div>
</div>
...
@@ -501,6 +493,9 @@ const currentChange = (page) => {
...
@@ -501,6 +493,9 @@ const currentChange = (page) => {
::v-deep
(
.el-form-item
)
{
::v-deep
(
.el-form-item
)
{
width
:
350px
!
important
;
width
:
350px
!
important
;
}
}
.el-card
{
margin-top
:
20px
;
}
/* 单元格支持 \n 换行 */
/* 单元格支持 \n 换行 */
.
container
.
el-table
:
:
v-deep
(
.
cell
)
{
.
container
.
el-table
:
:
v-deep
(
.
cell
)
{
...
@@ -516,17 +511,26 @@ const currentChange = (page) => {
...
@@ -516,17 +511,26 @@ const currentChange = (page) => {
::v-deep
(
.el-overlay
)
{
::v-deep
(
.el-overlay
)
{
.el-card__body
{
.el-card__body
{
overflow-x
:
scroll
;
.content
{
.content
{
/* display: flex; */
/* display: flex; */
overflow-y
:
hidden
;
overflow-x
:
scroll
;
white-space
:
nowrap
;
/* 阻止内容换行 */
&
:
:-
webkit-scrollbar-track
{
background
:
transparent
;
/* 滚动条轨道背景透明 */
}
.el-result
{
.el-result
{
width
:
30
0px
;
width
:
25
0px
;
height
:
50
0px
;
height
:
35
0px
;
display
:
inline-block
;
display
:
inline-block
;
.el-result__icon
{
.el-result__icon
{
width
:
100%
;
width
:
100%
;
height
:
100%
;
height
:
100%
;
}
}
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论