Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
W
wangxiaolu-sfa-ui
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
sfa
wangxiaolu-sfa-ui
Commits
2a16818c
提交
2a16818c
authored
1月 06, 2025
作者:
lidongxu
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
fix(sale): 尝试修复移动端适配表格滚动条问题
暂时没解决,默认和官网一样,在合计行上面展示滚动条
上级
384bd3d7
显示空白字符变更
内嵌
并排
正在显示
6 个修改的文件
包含
16 行增加
和
23 行删除
+16
-23
left-arrow.svg
src/assets/icons/svg/left-arrow.svg
+2
-0
right-arrow.svg
src/assets/icons/svg/right-arrow.svg
+2
-0
index.vue
src/components/CategoryTree/index.vue
+2
-4
LineAndBar.vue
src/views/bi/competitor/cmm/LineAndBar.vue
+1
-1
index.vue
src/views/bi/product/index.vue
+5
-4
index.vue
src/views/bi/sale/index.vue
+4
-14
没有找到文件。
src/assets/icons/svg/left-arrow.svg
0 → 100644
浏览文件 @
2a16818c
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg
t=
"1730360428889"
class=
"icon"
viewBox=
"0 0 1024 1024"
version=
"1.1"
xmlns=
"http://www.w3.org/2000/svg"
p-id=
"4246"
xmlns:xlink=
"http://www.w3.org/1999/xlink"
width=
"200"
height=
"200"
><path
d=
"M735.208665 65.582671l-446.41733 446.417329 446.41733 446.417329z"
p-id=
"4247"
></path></svg>
\ No newline at end of file
src/assets/icons/svg/right-arrow.svg
0 → 100644
浏览文件 @
2a16818c
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg
t=
"1730360422962"
class=
"icon"
viewBox=
"0 0 1024 1024"
version=
"1.1"
xmlns=
"http://www.w3.org/2000/svg"
p-id=
"2273"
xmlns:xlink=
"http://www.w3.org/1999/xlink"
width=
"200"
height=
"200"
><path
d=
"M288.791335 65.582671l446.41733 446.417329-446.41733 446.417329z"
p-id=
"2274"
></path></svg>
\ No newline at end of file
src/components/CategoryTree/index.vue
浏览文件 @
2a16818c
...
@@ -11,7 +11,6 @@
...
@@ -11,7 +11,6 @@
<el-input
v-model=
"searchValue"
<el-input
v-model=
"searchValue"
:placeholder=
"placeholder"
:placeholder=
"placeholder"
clearable
clearable
size=
"small"
prefix-icon=
"el-icon-search"
/>
prefix-icon=
"el-icon-search"
/>
</div>
</div>
<div
class=
"scroll"
:class=
"
{'row_gap': rowGap}">
<div
class=
"scroll"
:class=
"
{'row_gap': rowGap}">
...
@@ -145,7 +144,6 @@ export default {
...
@@ -145,7 +144,6 @@ export default {
// 上次点击的行对象-唯一值
// 上次点击的行对象-唯一值
lastRowId
:
null
,
lastRowId
:
null
,
// 分页参数
// 分页参数
queryParams
:
{
queryParams
:
{
pageNum
:
1
,
pageNum
:
1
,
pageSize
:
10
pageSize
:
10
...
@@ -179,7 +177,7 @@ export default {
...
@@ -179,7 +177,7 @@ export default {
if
(
this
.
lastRow
)
{
if
(
this
.
lastRow
)
{
this
.
$refs
.
tree
.
setCurrentKey
(
null
)
this
.
$refs
.
tree
.
setCurrentKey
(
null
)
this
.
lastRow
=
null
this
.
lastRow
=
null
this
.
$emit
(
'
input
'
,
''
)
this
.
$emit
(
'
update:modelValue
'
,
''
)
this
.
$emit
(
'search'
)
this
.
$emit
(
'search'
)
}
}
},
},
...
@@ -192,7 +190,7 @@ export default {
...
@@ -192,7 +190,7 @@ export default {
}
else
{
}
else
{
this
.
lastRowId
=
row
[
this
.
nodeKey
]
this
.
lastRowId
=
row
[
this
.
nodeKey
]
}
}
this
.
$emit
(
'
input
'
,
this
.
lastRowId
?
row
[
this
.
nodeKey
]
:
''
)
this
.
$emit
(
'
update:modelValue
'
,
this
.
lastRowId
?
row
[
this
.
nodeKey
]
:
''
)
this
.
$emit
(
'search'
)
this
.
$emit
(
'search'
)
},
},
// tree 筛选节点
// tree 筛选节点
...
...
src/views/bi/competitor/cmm/LineAndBar.vue
浏览文件 @
2a16818c
...
@@ -111,7 +111,7 @@ const setOptions = () => {
...
@@ -111,7 +111,7 @@ const setOptions = () => {
}
}
},
},
grid
:
{
grid
:
{
top
:
'
9
%'
,
top
:
'
12
%'
,
left
:
'3%'
,
left
:
'3%'
,
right
:
'3%'
,
right
:
'3%'
,
bottom
:
'3%'
,
bottom
:
'3%'
,
...
...
src/views/bi/product/index.vue
浏览文件 @
2a16818c
...
@@ -16,7 +16,6 @@
...
@@ -16,7 +16,6 @@
class=
"right_col"
>
class=
"right_col"
>
<el-form
:model=
"queryParams"
<el-form
:model=
"queryParams"
ref=
"queryForm"
ref=
"queryForm"
size=
"small"
:inline=
"true"
:inline=
"true"
v-show=
"showSearch"
v-show=
"showSearch"
label-width=
"68px"
>
label-width=
"68px"
>
...
@@ -113,8 +112,8 @@
...
@@ -113,8 +112,8 @@
<pagination
v-show=
"total > 0"
<pagination
v-show=
"total > 0"
:total=
"total"
:total=
"total"
:page
.
sync
=
"queryParams.pageNum"
v-model:page
=
"queryParams.pageNum"
:limit
.
sync
=
"queryParams.pageSize"
v-model:limit
=
"queryParams.pageSize"
@
pagination=
"getProductList"
/>
@
pagination=
"getProductList"
/>
</el-col>
</el-col>
</el-row>
</el-row>
...
@@ -134,7 +133,8 @@ const defaultProps = reactive({ // 系列树默认取值字段
...
@@ -134,7 +133,8 @@ const defaultProps = reactive({ // 系列树默认取值字段
const
nodeKey
=
ref
(
'seriesId'
)
// 系列树主键字段
const
nodeKey
=
ref
(
'seriesId'
)
// 系列树主键字段
const
queryParams
=
reactive
({
// 查询参数
const
queryParams
=
reactive
({
// 查询参数
pageNum
:
1
,
pageNum
:
1
,
pageSize
:
10
pageSize
:
10
,
seriesId
:
''
,
})
})
const
productList
=
ref
([])
// 商品列表
const
productList
=
ref
([])
// 商品列表
const
loading
=
ref
(
true
)
// 表格遮罩层
const
loading
=
ref
(
true
)
// 表格遮罩层
...
@@ -167,6 +167,7 @@ const getProductList = () => {
...
@@ -167,6 +167,7 @@ const getProductList = () => {
}
}
/** 搜索表单触发操作 */
/** 搜索表单触发操作 */
const
handleQuery
=
()
=>
{
const
handleQuery
=
()
=>
{
console
.
log
(
'queryParams'
,
queryParams
)
queryParams
.
pageNum
=
1
;
queryParams
.
pageNum
=
1
;
getProductList
();
getProductList
();
}
}
...
...
src/views/bi/sale/index.vue
浏览文件 @
2a16818c
...
@@ -665,20 +665,6 @@ init()
...
@@ -665,20 +665,6 @@ init()
}
}
}
}
/* 合计行在滚动条下面解决 */
::v-deep
(
.el-table
)
{
overflow
:
auto
;
.el-table__body-wrapper
,
.el-table__header-wrapper
,
.el-table__footer-wrapper
{
overflow
:
visible
;
}
.
el-table
:
:
after
{
position
:
relative
!
important
;
}
}
/* 网页刚加载时表格最右侧的竖线去掉 */
/* 网页刚加载时表格最右侧的竖线去掉 */
.
el-table--group
:
:
after
,
.
el-table--group
:
:
after
,
...
@@ -693,4 +679,7 @@ init()
...
@@ -693,4 +679,7 @@ init()
color
:
rgba
(
255
,
0
,
0
,
0
.437
);
color
:
rgba
(
255
,
0
,
0
,
0
.437
);
}
}
}
}
</
style
>
</
style
>
\ No newline at end of file
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论