提交 20fcc73d 编写于 作者: D devil_gong

ios搜索兼容优化,更多细节优化

上级 bf8a67e9
......@@ -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)
{
......
<!-- 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}}
......
......@@ -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>
......
......@@ -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);
}
......
.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; }
......
......@@ -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.
先完成此消息的编辑!
想要评论请 注册