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 => {