diff --git a/application/index/controller/Ueditor.php b/application/index/controller/Ueditor.php index 0755310998ca249189d8c48fbc2bf64a06e57893..811d0695775431eaf030962cedb0ac619b8db9fc 100644 --- a/application/index/controller/Ueditor.php +++ b/application/index/controller/Ueditor.php @@ -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) { diff --git a/application/index/view/default/public/footer.html b/application/index/view/default/public/footer.html index c7fd13a785839af0dcc3fdb9c2c9d3eb4624a75a..5bd74771b5d31fb7ebf57a5cf2a1f3502026c772 100755 --- a/application/index/view/default/public/footer.html +++ b/application/index/view/default/public/footer.html @@ -1,5 +1,5 @@ - + {{if !isset($is_footer) or $is_footer eq 1}} diff --git a/application/index/view/default/search/index.html b/application/index/view/default/search/index.html index 529100a3eff7a49fce5f7494fa628931bc593fea..4af486c2edc1308797e98de7bfe1dab4ee7813e1 100755 --- a/application/index/view/default/search/index.html +++ b/application/index/view/default/search/index.html @@ -44,7 +44,7 @@
筛选出 ... diff --git a/application/service/UeditorService.php b/application/service/UeditorService.php index 9cf262c44c984ec37b20f2601b6a2c6af44ad5aa..25b5862bc642bb69c799f9b1941b02ef7c342837 100644 --- a/application/service/UeditorService.php +++ b/application/service/UeditorService.php @@ -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); } diff --git a/public/static/index/default/css/search.css b/public/static/index/default/css/search.css index f6b3a96decac0317ff08229992c64aa33270a987..2efd202c0dfc86ea4308d282adadb2257b6b0d52 100755 --- a/public/static/index/default/css/search.css +++ b/public/static/index/default/css/search.css @@ -1,7 +1,7 @@ .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; } diff --git a/public/static/index/default/js/search.js b/public/static/index/default/js/search.js index d92678524cb768c145de73c93bbd03266c97e407..4c5a75eab16e519b7ac0a139037e2e92bb4921d2 100755 --- a/public/static/index/default/js/search.js +++ b/public/static/index/default/js/search.js @@ -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();