This commit is contained in:
rulingcom 2023-03-29 11:55:59 +08:00
parent 66913c5107
commit 5861b8360e
4 changed files with 43 additions and 13 deletions

View File

@ -484,7 +484,12 @@
}
// 在所有的頁面(包含首頁)執行下面這幾個函數
window.has_topest_banner = ($('[data-pp="300"] .w-ad-banner').length != 0);
if($('.header-banner .jp-jplayer').length == 0){
$('.layout-header .header-banner .w-ba-banner').addClass('no-video');
window.has_topest_banner = false;
}else{
window.has_topest_banner = true;
}
initdata1();
orbit.sitemenuDropdown();
orbit.goBackTop('top', 800);
@ -720,6 +725,9 @@ function transdate(){
window.clearTimeout(window.focus_timeout_id);
}
var _this = $(document.activeElement);//$(this);
if(_this.is('body')){
return;
}
if($('body').css('position') != 'fixed' && !_this.hasClass('close-screen-btn') && !_this.hasClass('navbar-toggle')){
var ele_offset = _this[0].getBoundingClientRect().top;
if(_this.parents('.kenjohn.navFixed').length == 0)
@ -750,11 +758,10 @@ function transdate(){
//RWD 自動縮放headerbannner
function headerH() {
if ($(window).outerWidth() < 769) {
const navH = $('.layout-header .navbar-header').outerHeight();
const navH = $('.layout-header .navbar-header').outerHeight();
}
}
}
headerH();
headerH();
$(window).resize(function() {
headerH();
})

View File

@ -154,14 +154,16 @@ a#content{
position: absolute;
}
}
@media screen and (min-width: 769px){
height: 100vh!important;
}
@media screen and(min-width:$screen-xs) and (max-width:768px){
height: 1000px!important;
}
@media screen and (max-width: $screen-xs){
height: 720px!important;
&:not(.no-video){
@media screen and (min-width: 769px){
height: 100vh!important;
}
@media screen and(min-width:$screen-xs) and (max-width:768px){
height: 1000px!important;
}
@media screen and (max-width: $screen-xs){
height: 720px!important;
}
}
}
}

View File

@ -0,0 +1,13 @@
<h3 class="page-module-title">{{page-title}}</h3>
<article>
<div data-level="0" data-list="journal_papers">
<h3 class="year">{{year}}</h3>
<div data-level="1" data-list="jps_list">
<h4>{{name}}</h4>
<ul data-level="2" data-list="jps">
<li>{{title}}</li>
</ul>
</div>
</div>
</article>
{{pagination_goes_here}}

View File

@ -15,6 +15,14 @@
"en" : "2. List which includes search"
},
"thumbnail" : "thumb.png"
},
{
"filename" : "index_by_author",
"name" : {
"zh_tw" : "3. 作者論文",
"en" : "3. List by Author"
},
"thumbnail" : "thumb.png"
}
]
}