更新
This commit is contained in:
parent
68368c0bc5
commit
d94a487332
@ -3,16 +3,13 @@ window.Joe = function () {
|
||||
const BASE_API = '/index.php/joe/api';
|
||||
/* 头部高度 */
|
||||
const Header_Height = $('.joe_header').height();
|
||||
|
||||
/* 解决移动端Hover问题 */
|
||||
document.addEventListener('touchstart', () => {});
|
||||
|
||||
/* 判断是否是手机 */
|
||||
const IsMobile = /windows phone|iphone|android/gi.test(window.navigator.userAgent);
|
||||
|
||||
/* 设置侧边栏最后一个元素的高度 */
|
||||
$('.joe_aside .joe_aside__item:last-child').css('top', Header_Height + 15);
|
||||
|
||||
|
||||
/* Dropdown */
|
||||
$('.joe_dropdown').each(function (index, item) {
|
||||
const menu = $(this).find('.joe_dropdown__menu');
|
||||
|
@ -14,8 +14,8 @@
|
||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/animate.css@3.7.2/animate.min.css" />
|
||||
|
||||
<script src="https://cdn.jsdelivr.net/npm/jquery@3.5.1/dist/jquery.min.js"></script>
|
||||
<script src="https://cdn.jsdelivr.net/gh/HaoOuBa/Joe@master/assets/js/joe.scroll.js"></script>
|
||||
<script src="<?php $this->options->themeUrl('assets/js/joe.lazyload.js'); ?>"></script>
|
||||
<script src="<?php $this->options->themeUrl('assets/js/joe.scroll.js'); ?>"></script>
|
||||
<script src="<?php $this->options->themeUrl('assets/js/joe.global.js'); ?>"></script>
|
||||
<script async src="https://apip.weatherdt.com/standard/static/js/weather-standard.js?v=2.0"></script>
|
||||
<script async src="https://cdn.jsdelivr.net/gh/HaoOuBa/Joe@master/assets/js/joe.smooth.js"></script>
|
Loading…
Reference in New Issue
Block a user