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

No files matched your search

+11 -4
View File
@@ -754,9 +754,16 @@ function transdate(){
// $this.next().next().slideToggle(350);
// }
// });
$('.sitemenu-item a').click(function(){
$(this).parent("li").children("ul").slideToggle('100');
$(this).next().toggleClass("fa-caret-up fa-caret-down");
$('.sitemenu-item span.fa').click(function(){
var $ul = $(this).parent("li").children("ul");
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() {
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);
try {
transdate()