Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
纵之格
ShopXO
提交
20fcc73d
ShopXO
项目概览
纵之格
/
ShopXO
通知
394
Star
16
Fork
11
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
1
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
ShopXO
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
1
Issue
1
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
20fcc73d
编写于
9月 10, 2019
作者:
D
devil_gong
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
ios搜索兼容优化,更多细节优化
上级
bf8a67e9
变更
6
隐藏空白更改
内联
并排
Showing
6 changed file
with
7 addition
and
12 deletion
+7
-12
application/index/controller/Ueditor.php
application/index/controller/Ueditor.php
+0
-7
application/index/view/default/public/footer.html
application/index/view/default/public/footer.html
+1
-1
application/index/view/default/search/index.html
application/index/view/default/search/index.html
+1
-1
application/service/UeditorService.php
application/service/UeditorService.php
+1
-1
public/static/index/default/css/search.css
public/static/index/default/css/search.css
+1
-1
public/static/index/default/js/search.js
public/static/index/default/js/search.js
+3
-1
未找到文件。
application/index/controller/Ueditor.php
浏览文件 @
20fcc73d
...
...
@@ -44,13 +44,6 @@ class Ueditor extends Common
*/
public
function
Index
()
{
// 是否ajax请求
if
(
!
IS_AJAX
)
{
$this
->
error
(
'非法访问'
);
}
// 调用附件服务层
$ret
=
UeditorService
::
Run
(
input
());
if
(
$ret
[
'code'
]
==
0
)
{
...
...
application/index/view/default/public/footer.html
浏览文件 @
20fcc73d
<!-- commom html -->
<textarea
id=
"upload-editor-view"
data-url=
"{{
:MyUrl('index/ueditor/index', ['path_type'=>empty($editor_path_type) ? 'common' : $editor_path_type])
}}"
style=
"display: none;"
></textarea>
<textarea
id=
"upload-editor-view"
data-url=
"{{
if !empty($user)}}{{:MyUrl('index/ueditor/index', ['path_type'=>empty($editor_path_type) ? 'common' : $editor_path_type])}}{{/if
}}"
style=
"display: none;"
></textarea>
<!-- footer start -->
{{if !isset($is_footer) or $is_footer eq 1}}
...
...
application/index/view/default/search/index.html
浏览文件 @
20fcc73d
...
...
@@ -44,7 +44,7 @@
<div
class=
"search-container am-u-sm-12 am-u-md-12 am-padding-left-0 am-padding-right-0"
data-category-id=
"{{$params.category_id}}"
>
<div
class=
"theme-popover"
>
<ul
class=
"select"
>
<ul
class=
"select
am-cf
"
>
<p
class=
"title-tips"
>
<span>
筛选出
</span>
<strong>
...
</strong>
...
...
application/service/UeditorService.php
浏览文件 @
20fcc73d
...
...
@@ -93,7 +93,7 @@ class UeditorService
{
if
(
preg_match
(
"/^[\w_]+$/"
,
$params
[
'callback'
]))
{
return
DataReturn
(
htmlspecialchars
(
$params
[
'callback'
])
.
'('
.
self
::
$current_result
.
')'
,
-
1
);
return
DataReturn
(
htmlspecialchars
(
$params
[
'callback'
]),
-
1
);
}
else
{
return
DataReturn
(
'callback参数不合法'
,
-
1
);
}
...
...
public/static/index/default/css/search.css
浏览文件 @
20fcc73d
.search-container
{
float
:
none
;
}
.items
img
{
width
:
100%
;}
.items
.price
strong
{
font-size
:
14px
;
}
.theme-popover
{
z-index
:
1011
;
overflow
:
hidden
;
background
:
#fff
;
width
:
100%
;
}
.theme-popover
{
z-index
:
1011
;
background
:
#fff
;
width
:
100%
;
}
.sort-nav
a
:hover
,
.sort-nav
a
:focus
{
color
:
#d2364c
;
}
.select
.title-tips
{
font-size
:
12px
;
color
:
#888
;
}
.select
.title-tips
strong
{
font-weight
:
500
;
color
:
#fe90a0
;
}
...
...
public/static/index/default/js/search.js
浏览文件 @
20fcc73d
...
...
@@ -100,7 +100,9 @@ $(function()
$
(
"
.theme-popover
"
).
css
({
"
position
"
:
"
static
"
,
"
top
"
:
0
});
}
});
$
(
document
).
on
(
"
click
"
,
"
.theme-popover-mask
"
,
function
()
// 关闭弹层
$
(
'
.theme-popover-mask
'
).
on
(
'
click
'
,
function
()
{
$
(
"
.dd-conent
"
).
slideUp
(
300
);
$
(
"
.theme-popover-mask
"
).
hide
();
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录