Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
飞鱼0526
ShopXO
提交
89f680ff
ShopXO
项目概览
飞鱼0526
/
ShopXO
与 Fork 源项目一致
Fork自
纵之格 / ShopXO
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
ShopXO
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
89f680ff
编写于
6月 24, 2021
作者:
D
Devil
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
拖拽装修优化+表单滑动字段优化
上级
64ff7652
变更
6
隐藏空白更改
内联
并排
Showing
6 changed file
with
27 addition
and
15 deletion
+27
-15
application/index/view/default/index/index.html
application/index/view/default/index/index.html
+1
-1
application/layout/service/BaseLayout.php
application/layout/service/BaseLayout.php
+1
-1
public/static/common/css/layout.admin.css
public/static/common/css/layout.admin.css
+12
-0
public/static/common/css/layout.css
public/static/common/css/layout.css
+5
-0
public/static/common/js/common.js
public/static/common/js/common.js
+8
-1
public/static/index/default/css/index.css
public/static/index/default/css/index.css
+0
-12
未找到文件。
application/index/view/default/index/index.html
浏览文件 @
89f680ff
...
...
@@ -18,7 +18,7 @@
<!-- 数据模式、拖拽默认则不展示轮播和聚合内容 -->
{{if !isset($floor_data_type) or $floor_data_type neq 2}}
<!-- banner -->
<!-- banner -->
{{include file="public/home_banner" /}}
<!-- 轮播上内容 -->
...
...
application/layout/service/BaseLayout.php
浏览文件 @
89f680ff
...
...
@@ -382,7 +382,7 @@ class BaseLayout
public
static
function
LayoutUrlValueHandle
(
$type
,
$value
)
{
// 当前客户端类型
$client_type
=
A
pplicationClientType
()
;
$client_type
=
A
PPLICATION_CLIENT_TYPE
;
// url地址、默认空字符串
$url
=
''
;
...
...
public/static/common/css/layout.admin.css
浏览文件 @
89f680ff
...
...
@@ -593,4 +593,16 @@
bottom
:
25px
;
width
:
calc
(
100%
-
50px
);
background
:
#f8f8f8
;
}
/**
* 布局保存
*/
.layout-operate-container
.am-btn
{
padding
:
4px
10px
;
}
@media
only
screen
and
(
max-width
:
1025px
)
{
.layout-operate-container
{
margin-right
:
10px
;
}
}
\ No newline at end of file
public/static/common/css/layout.css
浏览文件 @
89f680ff
/**
* 公共
*/
.layout-container
[
class
*=
"am-u-"
]
{
padding-left
:
0
;
padding-right
:
0
;}
/**
* 布局基础
*/
...
...
public/static/common/js/common.js
浏览文件 @
89f680ff
...
...
@@ -129,7 +129,7 @@ function GetFormVal(element, is_json)
});
object
=
ArrayTurnJson
(
tmp_all
,
object
);
// input 复选框checkbo
o
x
// input 复选框checkbox
tmp_all
=
[];
i
=
0
;
$
(
element
).
find
(
'
input[type="checkbox"]
'
).
each
(
function
(
key
,
tmp
)
...
...
@@ -138,6 +138,7 @@ function GetFormVal(element, is_json)
{
if
(
$
(
this
).
is
(
'
:checked
'
))
{
console
.
log
(
tmp
);
if
(
tmp_all
[
tmp
.
name
]
==
undefined
)
{
tmp_all
[
tmp
.
name
]
=
[];
...
...
@@ -145,6 +146,12 @@ function GetFormVal(element, is_json)
}
tmp_all
[
tmp
.
name
][
i
]
=
tmp
.
value
;
i
++
;
}
else
{
// 滑动开关、未选中则0
if
(
typeof
(
$
(
this
).
attr
(
'
data-am-switch
'
))
!=
'
undefined
'
)
{
tmp_all
[
tmp
.
name
]
=
0
;
}
}
}
});
...
...
public/static/index/default/css/index.css
浏览文件 @
89f680ff
...
...
@@ -183,16 +183,4 @@ text-align: center;float:none}
.floor
.goods-list
.goods-items
{
width
:
50%
;
float
:
left
;
padding
:
10px
;
border-bottom
:
1px
solid
#eee
;
}
.floor
.goods-list
.goods-items
:nth-of-type
(
2
n
+
1
)
{
border-right
:
1px
solid
#eee
;
}
.floor
.goods-list
.goods-items
:nth-of-type
(
2
n
)
{
border-left
:
1px
solid
transparent
;
}
}
/**
* 布局保存
*/
.layout-operate-container
.am-btn
{
padding
:
4px
10px
;
}
@media
only
screen
and
(
max-width
:
1025px
)
{
.layout-operate-container
{
margin-right
:
10px
;
}
}
\ No newline at end of file
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录