This commit is contained in:
rulingcom 2021-09-14 05:08:17 +00:00
parent 4f19fef413
commit 7781368e6f
6 changed files with 21 additions and 14 deletions

View File

@ -754,9 +754,16 @@ function transdate(){
// $this.next().next().slideToggle(350); // $this.next().next().slideToggle(350);
// } // }
// }); // });
$('.sitemenu-item a').click(function(){ $('.sitemenu-item span.fa').click(function(){
$(this).parent("li").children("ul").slideToggle('100'); var $ul = $(this).parent("li").children("ul");
$(this).next().toggleClass("fa-caret-up fa-caret-down"); if($ul.find('li').length != 0){
$ul.slideToggle('100');
if($(this).hasClass('fa-caret-down')){
$(this).removeClass('fa-caret-down').addClass('fa-caret-up');
}else{
$(this).removeClass('fa-caret-up').addClass('fa-caret-down');
}
}
}); });
}); });
@ -785,7 +792,7 @@ function transdate(){
// });// //選單 // });// //選單
$(document).ready(function() { $(document).ready(function() {
var title_wrapper = $("<div class=\"title-wraper col-sm-12\"></div>") var title_wrapper = $("<div class=\"title-wraper col-sm-12\"></div>")
title_wrapper.append($('.view_count.pull-right,.page-module-title')); title_wrapper.append($('.view_count.pull-right,.page-module-title,#main-content .index-title,.i-member-status-title:eq(0)'));
$('.row.pagerow').prepend(title_wrapper); $('.row.pagerow').prepend(title_wrapper);
try { try {
transdate() transdate()

View File

@ -1,7 +1,7 @@
<div class="index-gallery index1"> <div class="index-gallery index1">
<h1 class="index-title"> <h3 class="index-title">
<span>{{page-title}}</span> <span>{{page-title}}</span>
</h1> </h3>
<div class="row" data-level="0" data-list="albums" style="display: flex;flex-wrap: wrap;"> <div class="row" data-level="0" data-list="albums" style="display: flex;flex-wrap: wrap;">
<div class="index-content col-xs-4 col-sm-3"> <div class="index-content col-xs-4 col-sm-3">
<div class="index-content-inner"> <div class="index-content-inner">

View File

@ -1,7 +1,7 @@
<div class="index-gallery index2"> <div class="index-gallery index2">
<h1 class="index-title"> <h3 class="index-title">
<span>{{page-title}}</span> <span>{{page-title}}</span>
</h1> </h3>
<div class="row" data-level="0" data-list="albums" style="display: flex;flex-wrap: wrap;"> <div class="row" data-level="0" data-list="albums" style="display: flex;flex-wrap: wrap;">
<div class="index-content"> <div class="index-content">
<div class="index-content-inner clearfix row"> <div class="index-content-inner clearfix row">

View File

@ -1,7 +1,7 @@
<div class="index-gallery index1"> <div class="index-gallery index1">
<h1 class="index-title"> <h3 class="index-title">
<span>{{page-title}}</span> <span>{{page-title}}</span>
</h1> </h3>
<div class="row" data-level="0" data-list="albums" style="display: flex;flex-wrap: wrap;"> <div class="row" data-level="0" data-list="albums" style="display: flex;flex-wrap: wrap;">
<div class="index-content col-xs-4 col-sm-3"> <div class="index-content col-xs-4 col-sm-3">
<div class="index-content-inner"> <div class="index-content-inner">

View File

@ -1,7 +1,7 @@
<div class="index-gallery index2"> <div class="index-gallery index2">
<h1 class="index-title"> <h3 class="index-title">
<span>{{page-title}}</span> <span>{{page-title}}</span>
</h1> </h3>
<div class="row" data-level="0" data-list="albums" style="display: flex;flex-wrap: wrap;"> <div class="row" data-level="0" data-list="albums" style="display: flex;flex-wrap: wrap;">
<div class="index-content"> <div class="index-content">
<div class="index-content-inner clearfix row"> <div class="index-content-inner clearfix row">

View File

@ -1,7 +1,7 @@
<div class="index-gallery gallery card-group index5"> <div class="index-gallery gallery card-group index5">
<h1 class="index-title"> <h3 class="index-title">
<span>{{page-title}}</span> <span>{{page-title}}</span>
</h1> </h3>
<link rel="stylesheet" type="text/css" href="/assets/gallery_card.css"> <link rel="stylesheet" type="text/css" href="/assets/gallery_card.css">
<div class="row" data-level="0" data-list="albums"> <div class="row" data-level="0" data-list="albums">
<div class="card card-flip h-100"> <div class="card card-flip h-100">