diff --git a/archive.php b/archive.php index 0dc75e1..341e4b9 100644 --- a/archive.php +++ b/archive.php @@ -34,7 +34,7 @@
  • - <?php $this->title() ?> + <?php $this->title() ?> @@ -73,7 +73,7 @@ - <?php $this->title() ?> + <?php $this->title() ?> @@ -96,7 +96,7 @@ - <?php $this->title() ?> + <?php $this->title() ?>
    diff --git a/assets/js/joe.index.js b/assets/js/joe.index.js index f961db5..2ddabba 100644 --- a/assets/js/joe.index.js +++ b/assets/js/joe.index.js @@ -27,7 +27,7 @@ document.addEventListener('DOMContentLoaded', () => {
  • - ${_.title} + ${_.title} @@ -73,7 +73,7 @@ document.addEventListener('DOMContentLoaded', () => { - ${_.title} + ${_.title} @@ -96,7 +96,7 @@ document.addEventListener('DOMContentLoaded', () => { ${_.image .map((item, index) => { if (index < 3) { - return `${_.title}`; + return `${_.title}`; } }) .join('')} diff --git a/assets/js/joe.index.min.js b/assets/js/joe.index.min.js index 3f721ec..82fc533 100644 --- a/assets/js/joe.index.min.js +++ b/assets/js/joe.index.min.js @@ -1 +1 @@ -document.addEventListener("DOMContentLoaded",()=>{if(0!==$(".joe_index__banner .swiper-container").length){let l="horizontal";Joe.IS_MOBILE||2!==$(".joe_index__banner-recommend .item").length||(l="vertical"),new Swiper(".swiper-container",{keyboard:!1,direction:l,loop:!0,autoplay:!0,mousewheel:!0,pagination:{el:".swiper-pagination"},navigation:{nextEl:".swiper-button-next",prevEl:".swiper-button-prev"}})}{const l=l=>"default"===l.mode?`\n
  • \n
    \n \n ${l.title}\n \n \n \n
    \n \n 置顶${l.title}\n \n ${l.abstract}\n
    \n
      \n
    • ${l.created}
    • \n
    • ${l.views} 阅读
    • \n
    • ${l.commentsNum} 评论
    • \n
    • ${l.agree} 点赞
    • \n
    \n \n
    \n
    \n
  • \n `:"single"===l.mode?`\n
  • \n
    \n
    \n \n 置顶${l.title}\n \n
    \n
      \n
    • ${l.created}
    • \n
    • ${l.views} 阅读
    • \n
    • ${l.commentsNum} 评论
    • \n
    • ${l.agree} 点赞
    • \n
    \n \n
    \n
    \n \n ${l.title}\n \n \n \n
    \n ${l.abstract}\n
    \n
  • \n `:"multiple"===l.mode?`\n
  • \n
    \n
    \n \n 置顶${l.title}\n \n ${l.abstract}\n
    \n \n ${l.image.map((e,t)=>{if(t<3)return`${l.title}`}).join("")}\n \n
    \n \n \n
    \n
  • \n `:`\n
  • \n
    \n
    \n \n 置顶${l.title}\n \n ${l.abstract}\n
    \n
      \n
    • ${l.created}
    • \n
    • ${l.views} 阅读
    • \n
    • ${l.commentsNum} 评论
    • \n
    • ${l.agree} 点赞
    • \n
    \n \n
    \n
    \n
  • \n `;let e={page:1,pageSize:12,type:"created"};const t=()=>{$(".joe_index__list .joe_list").html(""),$(".joe_load").show();let l=$('.joe_index__title-title .item[data-type="'+e.type+'"]'),t=$(".joe_index__title-title .line");l.addClass("active").siblings().removeClass("active"),t.css({left:l.position().left,width:l.width()})},i=()=>new Promise((t,i)=>{$(".joe_load").attr("loading",!0),$(".joe_load").html("loading..."),$(".joe_index__list .joe_list__loading").show(),$.ajax({url:Joe.BASE_API,type:"POST",dataType:"json",data:{routeType:"publish_list",page:e.page,pageSize:e.pageSize,type:e.type},success(e){if(0===e.data.length)return $(".joe_load").removeAttr("loading"),$(".joe_load").html("查看更多"),$(".joe_load").hide(),$(".joe_index__list .joe_list__loading").hide(),Qmsg.warning("没有更多内容了");e.data.forEach(e=>$(".joe_index__list .joe_list").append(l(e))),$(".joe_load").removeAttr("loading"),$(".joe_load").html("查看更多"),$(".joe_index__list .joe_list__loading").hide(),t(e.data.length>0?e.data.length-1:0)}})});t(),i(),$(".joe_index__title-title .item").on("click",async function(){$(this).attr("data-type")!==e.type&&(e={page:1,pageSize:12,type:$(this).attr("data-type")},t(),i())}),$(".joe_load").on("click",async function(){if($(this).attr("loading"))return;e.page++;let l=await i();l=$(".joe_index__list .joe_list .joe_list__item").length-l;const t=`.joe_index__list .joe_list .joe_list__item:nth-child(${l})`,a=$(t).offset().top-$(".joe_header").height();window.scrollTo({top:a-15,behavior:"smooth"})})}{const l=$(".joe_index__list").attr("data-wow");"off"!==l&&l&&new WOW({boxClass:"wow",animateClass:`animated ${l}`,offset:0,mobile:!0,live:!0,scrollContainer:null}).init()}}); \ No newline at end of file +document.addEventListener("DOMContentLoaded",()=>{if(0!==$(".joe_index__banner .swiper-container").length){let l="horizontal";Joe.IS_MOBILE||2!==$(".joe_index__banner-recommend .item").length||(l="vertical"),new Swiper(".swiper-container",{keyboard:!1,direction:l,loop:!0,autoplay:!0,mousewheel:!0,pagination:{el:".swiper-pagination"},navigation:{nextEl:".swiper-button-next",prevEl:".swiper-button-prev"}})}{const l=l=>"default"===l.mode?`\n
  • \n
    \n \n ${l.title}\n \n \n \n
    \n \n 置顶${l.title}\n \n ${l.abstract}\n
    \n
      \n
    • ${l.created}
    • \n
    • ${l.views} 阅读
    • \n
    • ${l.commentsNum} 评论
    • \n
    • ${l.agree} 点赞
    • \n
    \n \n
    \n
    \n
  • \n `:"single"===l.mode?`\n
  • \n
    \n
    \n \n 置顶${l.title}\n \n
    \n
      \n
    • ${l.created}
    • \n
    • ${l.views} 阅读
    • \n
    • ${l.commentsNum} 评论
    • \n
    • ${l.agree} 点赞
    • \n
    \n \n
    \n
    \n \n ${l.title}\n \n \n \n
    \n ${l.abstract}\n
    \n
  • \n `:"multiple"===l.mode?`\n
  • \n
    \n
    \n \n 置顶${l.title}\n \n ${l.abstract}\n
    \n \n ${l.image.map((e,t)=>{if(t<3)return`${l.title}`}).join("")}\n \n
    \n \n \n
    \n
  • \n `:`\n
  • \n
    \n
    \n \n 置顶${l.title}\n \n ${l.abstract}\n
    \n
      \n
    • ${l.created}
    • \n
    • ${l.views} 阅读
    • \n
    • ${l.commentsNum} 评论
    • \n
    • ${l.agree} 点赞
    • \n
    \n \n
    \n
    \n
  • \n `;let e={page:1,pageSize:12,type:"created"};const t=()=>{$(".joe_index__list .joe_list").html(""),$(".joe_load").show();let l=$('.joe_index__title-title .item[data-type="'+e.type+'"]'),t=$(".joe_index__title-title .line");l.addClass("active").siblings().removeClass("active"),t.css({left:l.position().left,width:l.width()})},i=()=>new Promise((t,i)=>{$(".joe_load").attr("loading",!0),$(".joe_load").html("loading..."),$(".joe_index__list .joe_list__loading").show(),$.ajax({url:Joe.BASE_API,type:"POST",dataType:"json",data:{routeType:"publish_list",page:e.page,pageSize:e.pageSize,type:e.type},success(e){if(0===e.data.length)return $(".joe_load").removeAttr("loading"),$(".joe_load").html("查看更多"),$(".joe_load").hide(),$(".joe_index__list .joe_list__loading").hide(),Qmsg.warning("没有更多内容了");e.data.forEach(e=>$(".joe_index__list .joe_list").append(l(e))),$(".joe_load").removeAttr("loading"),$(".joe_load").html("查看更多"),$(".joe_index__list .joe_list__loading").hide(),t(e.data.length>0?e.data.length-1:0)}})});t(),i(),$(".joe_index__title-title .item").on("click",async function(){$(this).attr("data-type")!==e.type&&(e={page:1,pageSize:12,type:$(this).attr("data-type")},t(),i())}),$(".joe_load").on("click",async function(){if($(this).attr("loading"))return;e.page++;let l=await i();l=$(".joe_index__list .joe_list .joe_list__item").length-l;const t=`.joe_index__list .joe_list .joe_list__item:nth-child(${l})`,a=$(t).offset().top-$(".joe_header").height();window.scrollTo({top:a-15,behavior:"smooth"})})}{const l=$(".joe_index__list").attr("data-wow");"off"!==l&&l&&new WOW({boxClass:"wow",animateClass:`animated ${l}`,offset:0,mobile:!0,live:!0,scrollContainer:null}).init()}}); \ No newline at end of file diff --git a/assets/js/joe.video.js b/assets/js/joe.video.js index edd12cc..c1352b9 100644 --- a/assets/js/joe.video.js +++ b/assets/js/joe.video.js @@ -56,7 +56,7 @@ document.addEventListener('DOMContentLoaded', () => { ${_.vod_year}
    - ${_.vod_name} + ${_.vod_name}

    ${_.vod_name}

    `; @@ -130,7 +130,7 @@ document.addEventListener('DOMContentLoaded', () => { /* 设置视频详情 */ $('.joe_video__detail-info').html(`
    - ${item.vod_name} + ${item.vod_name} ${item.vod_year}
    diff --git a/assets/js/joe.video.min.js b/assets/js/joe.video.min.js index d8b0682..ac99da7 100644 --- a/assets/js/joe.video.min.js +++ b/assets/js/joe.video.min.js @@ -1 +1 @@ -document.addEventListener("DOMContentLoaded",()=>{function t(){function t(){window.scrollTo({top:0,behavior:"smooth"}),$(".joe_video__list-item").css("display","").html(""),o=!0,$.ajax({url:Joe.BASE_API,type:"POST",dataType:"json",data:{routeType:"maccms_list",ac:"videolist",t:i.t,pg:i.pg,wd:i.wd},success(t){if(1!==t.code)return $(".joe_video__list-item").css("display","block").html('

    数据加载失败!请检查!

    ');if(t.data.list.length){let e="";t.data.list.forEach(t=>{e+=`\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t${t.vod_year}\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t${t.vod_name}\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t

    ${t.vod_name}

    \n\t\t\t\t\t\t\t\t
    `}),$(".joe_video__list-item").html(e)}else $(".joe_video__list-item").css("display","block").html('

    暂无数据!

    ');a=t.data.pagecount,e()},complete:()=>o=!1})}function e(){if(0==a)return $(".joe_video__pagination").hide();$(".joe_video__pagination").show();let t="";1!=i.pg&&(t+=`\n \t\t
  • 首页
  • \n \t\t
  • \n \n \t\t
  • \n \t\t
  • ${i.pg-1}
  • \n \t`),t+=`
  • ${i.pg}
  • `,i.pg!=a&&(t+=`\n \t\t
  • ${i.pg+1}
  • \n \t\t
  • \n \n \t\t
  • \n \t`),i.pg末页`),$(".joe_video__pagination").html(t)}let i={pg:"",t:"",wd:""},a="",o=!1;$.ajax({url:Joe.BASE_API,type:"POST",dataType:"json",data:{routeType:"maccms_list"},success(t){if(1!==t.code)return $(".joe_video__type-list").html(`
  • ${t.data}
  • `);if(!t.data.class.length)return $(".joe_video__type-list").html('
  • 暂无数据!
  • ');let e='
  • 全部
  • ';t.data.class.forEach(t=>e+=`
  • ${t.type_name}
  • `),$(".joe_video__type-list").html(e),$(".joe_video__type-list .item").first().click()}}),$(".joe_video__type-list").on("click",".item",function(){const e=$(this).attr("data-t");o||($(this).addClass("active").siblings().removeClass("active"),i.pg=1,i.t=e,i.wd="",$(".joe_video__list-search input").val(""),t())}),$(".joe_video__pagination").on("click",".joe_video__pagination-item",function(){const e=$(this).attr("data-pg");e&&!o&&(i.pg=Number(e),t())});const s=()=>{const e=$(".joe_video__list-search input").val();o||(i.pg=1,i.t="",i.wd=e,$(".joe_video__type-list .item").first().addClass("active").siblings().removeClass("active"),t())};$(".joe_video__list-search .button").on("click",s),$(".joe_video__list-search .input").on("keyup",t=>13===t.keyCode&&s())}function e(){const t=$(".joe_video__player-play").attr("data-player");$.ajax({url:Joe.BASE_API,type:"POST",dataType:"json",data:{routeType:"maccms_list",ac:"detail",ids:o},success(t){if(1!==t.code)return $(".joe_video__detail-info").html(`

    ${t.data}

    `);if(!t.data.list.length)return $(".joe_video__detail-info").html('

    数据抓取异常!请检查!

    ');const e=t.data.list[0];$(".joe_video__detail-info").html(`\n\t\t\t\t\t
    \n\t\t\t\t\t\t${e.vod_name}\n\t\t\t\t\t\t${e.vod_year}\n\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t
    ${e.vod_name+(e.vod_remarks?" - "+e.vod_remarks:"")}
    \n\t\t\t\t\t\t
    类型:${e.vod_class||"未知"}
    \n\t\t\t\t\t\t
    主演:${e.vod_actor||"未知"}
    \n\t\t\t\t\t\t
    导演:${e.vod_director||"未知"}
    \n\t\t\t\t\t\t
    简介:${i(e)}
    \n\t\t\t\t\t
    \n\t\t\t\t`),$(".joe_video__player .joe_video__contain-title").html("正在播放:"+e.vod_name);let a=t=>{let e="",i=t.split("#");return i.forEach(t=>e+=`
  • ${t.split("$")[0]||""}
  • `),e},o=e.vod_play_from.split("$$$"),s=e.vod_play_url.split("$$$"),l=new Map;o.forEach((t,e)=>l.set(t,s[e]||[]));let d="",n=0;for(let[t,e]of l)n++,d+=`\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    播放线路 ${n}
    \n\t\t\t\t\t\t\t
      ${a(e)}
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t`;$(".joe_video__player").after(d),$(".joe_video__source").first().find(".joe_video__source-list .item").first().click()}}),$(document).on("click",".joe_video__source-list .item",function(){$(".joe_video__source-list .item").removeClass("active"),$(this).addClass("active");const e=$(this).attr("data-src")||$(this).html();$(".joe_video__player-play").attr({src:t+e});const i=$(".joe_video__player").offset().top-$(".joe_header").height()-15;window.scrollTo({top:i,behavior:"smooth"})})}function i(t){return t.vod_content?t.vod_content.replace(/<[^>]+>/g,""):t.vod_blurb?t.vod_blurb.replace(/<[^>]+>/g,""):"暂无简介"}const a=new URLSearchParams(window.location.search),o=a.get("vod_id");o?e():t()}); \ No newline at end of file +document.addEventListener("DOMContentLoaded",()=>{function t(){function t(){window.scrollTo({top:0,behavior:"smooth"}),$(".joe_video__list-item").css("display","").html(""),o=!0,$.ajax({url:Joe.BASE_API,type:"POST",dataType:"json",data:{routeType:"maccms_list",ac:"videolist",t:a.t,pg:a.pg,wd:a.wd},success(t){if(1!==t.code)return $(".joe_video__list-item").css("display","block").html('

    数据加载失败!请检查!

    ');if(t.data.list.length){let e="";t.data.list.forEach(t=>{e+=`\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t${t.vod_year}\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t${t.vod_name}\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t

    ${t.vod_name}

    \n\t\t\t\t\t\t\t\t
    `}),$(".joe_video__list-item").html(e)}else $(".joe_video__list-item").css("display","block").html('

    暂无数据!

    ');i=t.data.pagecount,e()},complete:()=>o=!1})}function e(){if(0==i)return $(".joe_video__pagination").hide();$(".joe_video__pagination").show();let t="";1!=a.pg&&(t+=`\n \t\t
  • 首页
  • \n \t\t
  • \n \n \t\t
  • \n \t\t
  • ${a.pg-1}
  • \n \t`),t+=`
  • ${a.pg}
  • `,a.pg!=i&&(t+=`\n \t\t
  • ${a.pg+1}
  • \n \t\t
  • \n \n \t\t
  • \n \t`),a.pg末页`),$(".joe_video__pagination").html(t)}let a={pg:"",t:"",wd:""},i="",o=!1;$.ajax({url:Joe.BASE_API,type:"POST",dataType:"json",data:{routeType:"maccms_list"},success(t){if(1!==t.code)return $(".joe_video__type-list").html(`
  • ${t.data}
  • `);if(!t.data.class.length)return $(".joe_video__type-list").html('
  • 暂无数据!
  • ');let e='
  • 全部
  • ';t.data.class.forEach(t=>e+=`
  • ${t.type_name}
  • `),$(".joe_video__type-list").html(e),$(".joe_video__type-list .item").first().click()}}),$(".joe_video__type-list").on("click",".item",function(){const e=$(this).attr("data-t");o||($(this).addClass("active").siblings().removeClass("active"),a.pg=1,a.t=e,a.wd="",$(".joe_video__list-search input").val(""),t())}),$(".joe_video__pagination").on("click",".joe_video__pagination-item",function(){const e=$(this).attr("data-pg");e&&!o&&(a.pg=Number(e),t())});const s=()=>{const e=$(".joe_video__list-search input").val();o||(a.pg=1,a.t="",a.wd=e,$(".joe_video__type-list .item").first().addClass("active").siblings().removeClass("active"),t())};$(".joe_video__list-search .button").on("click",s),$(".joe_video__list-search .input").on("keyup",t=>13===t.keyCode&&s())}function e(){const t=$(".joe_video__player-play").attr("data-player");$.ajax({url:Joe.BASE_API,type:"POST",dataType:"json",data:{routeType:"maccms_list",ac:"detail",ids:o},success(t){if(1!==t.code)return $(".joe_video__detail-info").html(`

    ${t.data}

    `);if(!t.data.list.length)return $(".joe_video__detail-info").html('

    数据抓取异常!请检查!

    ');const e=t.data.list[0];$(".joe_video__detail-info").html(`\n\t\t\t\t\t
    \n\t\t\t\t\t\t${e.vod_name}\n\t\t\t\t\t\t${e.vod_year}\n\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t
    ${e.vod_name+(e.vod_remarks?" - "+e.vod_remarks:"")}
    \n\t\t\t\t\t\t
    类型:${e.vod_class||"未知"}
    \n\t\t\t\t\t\t
    主演:${e.vod_actor||"未知"}
    \n\t\t\t\t\t\t
    导演:${e.vod_director||"未知"}
    \n\t\t\t\t\t\t
    简介:${a(e)}
    \n\t\t\t\t\t
    \n\t\t\t\t`),$(".joe_video__player .joe_video__contain-title").html("正在播放:"+e.vod_name);let i=t=>{let e="",a=t.split("#");return a.forEach(t=>e+=`
  • ${t.split("$")[0]||""}
  • `),e},o=e.vod_play_from.split("$$$"),s=e.vod_play_url.split("$$$"),l=new Map;o.forEach((t,e)=>l.set(t,s[e]||[]));let d="",n=0;for(let[t,e]of l)n++,d+=`\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    播放线路 ${n}
    \n\t\t\t\t\t\t\t
      ${i(e)}
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t`;$(".joe_video__player").after(d),$(".joe_video__source").first().find(".joe_video__source-list .item").first().click()}}),$(document).on("click",".joe_video__source-list .item",function(){$(".joe_video__source-list .item").removeClass("active"),$(this).addClass("active");const e=$(this).attr("data-src")||$(this).html();$(".joe_video__player-play").attr({src:t+e});const a=$(".joe_video__player").offset().top-$(".joe_header").height()-15;window.scrollTo({top:a,behavior:"smooth"})})}function a(t){return t.vod_content?t.vod_content.replace(/<[^>]+>/g,""):t.vod_blurb?t.vod_blurb.replace(/<[^>]+>/g,""):"暂无简介"}const i=new URLSearchParams(window.location.search),o=i.get("vod_id");o?e():t()}); \ No newline at end of file diff --git a/assets/js/joe.wallpaper.js b/assets/js/joe.wallpaper.js index 29e943f..86ad12b 100644 --- a/assets/js/joe.wallpaper.js +++ b/assets/js/joe.wallpaper.js @@ -45,7 +45,7 @@ document.addEventListener('DOMContentLoaded', () => { res.data.forEach(_ => { htmlStr += ` - 壁纸 + 壁纸 `; }); $('.joe_wallpaper__list').html(htmlStr); diff --git a/assets/js/joe.wallpaper.min.js b/assets/js/joe.wallpaper.min.js index 021d283..779cd50 100644 --- a/assets/js/joe.wallpaper.min.js +++ b/assets/js/joe.wallpaper.min.js @@ -1 +1 @@ -document.addEventListener("DOMContentLoaded",()=>{function t(){window.scrollTo({top:0,behavior:"smooth"}),$(".joe_wallpaper__list").html(""),l=!0,$.ajax({url:Joe.BASE_API,type:"POST",dataType:"json",data:{routeType:"wallpaper_list",cid:e.cid,start:e.start,count:e.count},success(t){if(1!==t.code)return l=!1;l=!1;let e="";t.data.forEach(t=>{e+=`\n \n 壁纸\n `}),$(".joe_wallpaper__list").html(e),i=t.total,a()}})}function a(){let t="";e.start/e.count!=0&&(t+=`\n
  • 首页
  • \n
  • \n \n
  • \n
  • ${Math.ceil(e.start/e.count)}
  • \n `),t+=`
  • ${Math.ceil(e.start/e.count)+1}
  • `,e.start!=i-e.count&&(t+=`\n
  • ${Math.ceil(e.start/e.count)+2}
  • \n
  • \n \n
  • \n `),e.start末页`),$(".joe_wallpaper__pagination").html(t)}let l=!1,e={cid:-999,start:-999,count:48},i=-999;$.ajax({url:Joe.BASE_API,type:"POST",dataType:"json",data:{routeType:"wallpaper_type"},success(t){if(1!==t.code)return $(".joe_wallpaper__type-list").html('
  • 壁纸抓取失败!请联系作者!
  • ');if(!t.data.length)return $(".joe_wallpaper__type-list").html('
  • 暂无数据!
  • ');let a="";t.data.forEach(t=>a+=`
  • ${t.name}
  • `),$(".joe_wallpaper__type-list").html(a),$(".joe_wallpaper__type-list .item").first().click()}}),$(".joe_wallpaper__type-list").on("click",".item",function(){const a=$(this).attr("data-cid");l||($(this).addClass("active").siblings().removeClass("active"),e.cid=a,e.start=0,t())}),$(".joe_wallpaper__pagination").on("click",".joe_wallpaper__pagination-item",function(){const a=$(this).attr("data-start");a&&!l&&(e.start=Number(a),t())})}); \ No newline at end of file +document.addEventListener("DOMContentLoaded",()=>{function t(){window.scrollTo({top:0,behavior:"smooth"}),$(".joe_wallpaper__list").html(""),l=!0,$.ajax({url:Joe.BASE_API,type:"POST",dataType:"json",data:{routeType:"wallpaper_list",cid:e.cid,start:e.start,count:e.count},success(t){if(1!==t.code)return l=!1;l=!1;let e="";t.data.forEach(t=>{e+=`\n \n 壁纸\n `}),$(".joe_wallpaper__list").html(e),i=t.total,a()}})}function a(){let t="";e.start/e.count!=0&&(t+=`\n
  • 首页
  • \n
  • \n \n
  • \n
  • ${Math.ceil(e.start/e.count)}
  • \n `),t+=`
  • ${Math.ceil(e.start/e.count)+1}
  • `,e.start!=i-e.count&&(t+=`\n
  • ${Math.ceil(e.start/e.count)+2}
  • \n
  • \n \n
  • \n `),e.start末页`),$(".joe_wallpaper__pagination").html(t)}let l=!1,e={cid:-999,start:-999,count:48},i=-999;$.ajax({url:Joe.BASE_API,type:"POST",dataType:"json",data:{routeType:"wallpaper_type"},success(t){if(1!==t.code)return $(".joe_wallpaper__type-list").html('
  • 壁纸抓取失败!请联系作者!
  • ');if(!t.data.length)return $(".joe_wallpaper__type-list").html('
  • 暂无数据!
  • ');let a="";t.data.forEach(t=>a+=`
  • ${t.name}
  • `),$(".joe_wallpaper__type-list").html(a),$(".joe_wallpaper__type-list .item").first().click()}}),$(".joe_wallpaper__type-list").on("click",".item",function(){const a=$(this).attr("data-cid");l||($(this).addClass("active").siblings().removeClass("active"),e.cid=a,e.start=0,t())}),$(".joe_wallpaper__pagination").on("click",".joe_wallpaper__pagination-item",function(){const a=$(this).attr("data-start");a&&!l&&(e.start=Number(a),t())})}); \ No newline at end of file diff --git a/core/function.php b/core/function.php index 2aeaf48..7989e59 100644 --- a/core/function.php +++ b/core/function.php @@ -2,7 +2,7 @@ /* 获取主题当前版本号 */ function _getVersion() { - return "6.2.4"; + return "6.2.5"; }; /* 判断是否是手机 */ diff --git a/friends.php b/friends.php index d4af5bf..8b85491 100644 --- a/friends.php +++ b/friends.php @@ -94,7 +94,7 @@
    - <?php echo $item['name']; ?> + <?php echo $item['name']; ?>
    diff --git a/index.php b/index.php index 6055312..fb3ab5e 100644 --- a/index.php +++ b/index.php @@ -55,7 +55,7 @@
    - <?php echo $item['title'] ?> + <?php echo $item['title'] ?>
    @@ -75,7 +75,7 @@ widget('Widget_Archive@' . $cid, 'pageSize=1&type=post', 'cid=' . $cid)->to($item); ?>
    -
    <?php $item->title() ?> + <?php $item->title() ?>
    推荐 @@ -96,7 +96,7 @@
    views(); ?> ℃ - <?php $item->title(); ?> + <?php $item->title(); ?>
    title(); ?>
    @@ -116,7 +116,7 @@ diff --git a/leaving.php b/leaving.php index e24f4db..1c51d4d 100644 --- a/leaving.php +++ b/leaving.php @@ -32,7 +32,7 @@ next()) : ?>
  • - 用户头像 + 用户头像
    author(); ?>
    date('Y/m/d'); ?>
    diff --git a/package.json b/package.json index 0101107..b52637d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "typecho-joe-next", - "version": "6.2.4", + "version": "6.2.5", "description": "A Theme Of Typecho", "main": "index.php", "keywords": [ diff --git a/public/aside.php b/public/aside.php index 5c0ccd4..79f6728 100644 --- a/public/aside.php +++ b/public/aside.php @@ -2,7 +2,7 @@
    博主栏壁纸 @@ -55,7 +55,7 @@
  • - <?php $item->title() ?> + <?php $item->title() ?>
    title(); ?>
    views(); ?> 阅读 - date('m/d'); ?> @@ -86,7 +86,7 @@ next()) : ?>
  • - <?php $item->author(false) ?> + <?php $item->author(false) ?>
    author(false) ?>
    date('Y-m-d'); ?> @@ -161,7 +161,7 @@ options->JADContent) : ?>
    diff --git a/public/batten.php b/public/batten.php index ea53f76..1f59373 100644 --- a/public/batten.php +++ b/public/batten.php @@ -18,7 +18,7 @@

    title() ?>

    - <?php $this->author(); ?> + <?php $this->author(); ?>
    author(); ?> diff --git a/public/comment.php b/public/comment.php index 586ccfa..b69fc20 100644 --- a/public/comment.php +++ b/public/comment.php @@ -101,7 +101,7 @@ function threadedComments($comments, $options)
  • - 头像 + 头像
    author(); ?> diff --git a/public/header.php b/public/header.php index 592aadb..2fda656 100644 --- a/public/header.php +++ b/public/header.php @@ -259,7 +259,7 @@