From 78039c46d56465243cc7e852f356c0f938b36d77 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=BB=93=E5=8F=91=E5=8F=97=E9=95=BF=E7=94=9F?= Date: Mon, 8 Jul 2019 15:11:34 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=A8=E6=96=87=E6=A3=80=E7=B4=A2UI=E8=B0=83?= =?UTF-8?q?=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- themes/yilia/layout/_partial/search.ejs | 2 +- themes/yilia/source-src/css/tools.scss | 1 + themes/yilia/source-src/js/slider.js | 6 ++++-- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/themes/yilia/layout/_partial/search.ejs b/themes/yilia/layout/_partial/search.ejs index 71e9105..154c59b 100644 --- a/themes/yilia/layout/_partial/search.ejs +++ b/themes/yilia/layout/_partial/search.ejs @@ -10,7 +10,7 @@
- +
diff --git a/themes/yilia/source-src/css/tools.scss b/themes/yilia/source-src/css/tools.scss index 8d47381..586050b 100644 --- a/themes/yilia/source-src/css/tools.scss +++ b/themes/yilia/source-src/css/tools.scss @@ -270,6 +270,7 @@ label.bui-switch-label { } .search-result { height: 600px; + width: 500px; overflow-y: auto; .search-result-item { text-align: left; diff --git a/themes/yilia/source-src/js/slider.js b/themes/yilia/source-src/js/slider.js index 7b117d6..7fac8ff 100644 --- a/themes/yilia/source-src/js/slider.js +++ b/themes/yilia/source-src/js/slider.js @@ -38,7 +38,8 @@ new Vue({ tip: null, // 提示语文字 tipOpacity: 0, // 提示语框透明度 showTools: false // 显示工具栏 - } + }, + themeConfig: window.themeConfig }, methods: { stop (event) { @@ -175,7 +176,8 @@ new Vue({ try { if(night && eval(night)) document.querySelector('body').classList.add('night') } catch (e){} - + }, + mounted() { let hideModal = (function() { let modals = document.querySelectorAll('.page-modal') Array.prototype.forEach.call(modals, modal => {