PageSourceSearch

https://exportyai.com/build/assets/Show-C7WJHZAT.js

js exportyai.com collected 2026-09-24 14:43:10 UTC 6,265 bytes, 1 lines download raw bytes

1import{d as v,a,o as r,b as d,e,u as l,g as w,w as u,S as i,f as c,n as h,t as n,F as x,r as m,i as p,p as y,V as _}from"./app-D6Z0QfqM.js";import{_ as k}from"./_plugin-vue_export-helper-DlAUqK2U.js";const C={class:"min-h-screen bg-gradient-to-br from-slate-50 via-blue-50 to-slate-100"},V={class:"bg-white shadow-md sticky top-0 z-50 border-b border-blue-100"},j={class:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8"},S={class:"flex justify-between items-center h-20"},L={class:"hidden md:flex items-center space-x-1"},z={class:"py-16 bg-gradient-to-r from-blue-600 to-blue-800"},B={class:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8"},M={class:"flex items-center gap-2 mb-4"},N={class:"text-white"},H={class:"text-4xl font-bold text-white mb-4"},D={key:0,class:"text-blue-100 text-lg"},P={class:"mt-4 text-blue-100"},T={class:"py-16"},q={class:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8"},A={key:0,class:"space-y-6"},F={class:"p-8"},U={class:"flex items-start justify-between gap-4"},E={class:"flex-1"},I={class:"text-2xl font-bold text-gray-900 mb-3 group-hover:text-blue-700 transition-colors"},R={key:0,class:"text-gray-600 mb-4 line-clamp-2"},$={class:"flex items-center gap-4 text-sm text-gray-500"},G={class:"flex items-center gap-1"},J={key:0,class:"flex justify-center gap-2 mt-12"},K={key:1,class:"text-center py-16"},O=v({__name:"Show",props:{category:{},articles:{}},setup(Q){const g=s=>{if(!s)return"#";try{const t=new URL(s);return t.pathname+t.search}catch{return s}},b=s=>{const t=String(s).toLowerCase();return t.includes("previous")?"« 上一页":t.includes("next")?"下一页 »":s};return(s,t)=>(r(),a(x,null,[d(l(w),{title:`${s.category.name} - 专业会计事务所`},null,8,["title"]),e("div",C,[e("nav",V,[e("div",j,[e("div",S,[d(l(i),{href:s.route("home"),class:"flex items-center space-x-3 group"},{default:u(()=>t[0]||(t[0]=[e("div",{class:"w-12 h-12 bg-gradient-to-br from-blue-600 to-blue-800 rounded-lg flex items-center justify-center shadow-lg group-hover:shadow-xl transition-shadow"},[e("svg",{class:"w-7 h-7 text-white",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[e("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M9 12h6m-6 4h6m2 5H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z"})])],-1),e("div",null,[e("h1",{class:"text-2xl font-bold bg-gradient-to-r from-blue-700 to-blue-900 bg-clip-text text-transparent"}," 专业会计事务所 "),e("p",{class:"text-xs text-gray-500"},"Professional Accounting Services")],-1)])),_:1,__:[0]},8,["href"]),e("div",L,[d(l(i),{href:s.route("home"),class:"px-4 py-2 rounded-lg text-gray-700 hover:bg-blue-50 hover:text-blue-700 font-medium transition-colors"},{default:u(()=>t[1]||(t[1]=[c(" 首页 ")])),_:1,__:[1]},8,["href"]),d(l(i),{href:s.route("categories.index"),class:"px-4 py-2 rounded-lg text-gray-700 hover:bg-blue-50 hover:text-blue-700 font-medium transition-colors"},{default:u(()=>t[2]||(t[2]=[c(" 全部栏目 ")])),_:1,__:[2]},8,["href"])])])])]),e("section",z,[e("div",B,[e("div",M,[d(l(i),{href:s.route("home"),class:"text-blue-100 hover:text-white transition-colors"},{default:u(()=>t[3]||(t[3]=[c("首页")])),_:1,__:[3]},8,["href"]),t[5]||(t[5]=e("span",{class:"text-blue-200"},"/",-1)),d(l(i),{href:s.route("categories.index"),class:"text-blue-100 hover:text-white transition-colors"},{default:u(()=>t[4]||(t[4]=[c("栏目")])),_:1,__:[4]},8,["href"]),t[6]||(t[6]=e("span",{class:"text-blue-200"},"/",-1)),e("span",N,n(s.category.name),1)]),e("h2",H,n(s.category.name),1),s.category.description?(r(),a("p",D,n(s.category.description),1)):h("",!0),e("div",P," 共 "+n(s.articles.total)+" 篇文章 ",1)])]),e("section",T,[e("div",q,[s.articles.data.length>0?(r(),a("div",A,[(r(!0),a(x,null,m(s.articles.data,o=>(r(),p(l(i),{key:o.id,href:s.route("articles.show",o.slug),class:"block bg-white rounded-xl shadow-md hover:shadow-2xl transition-all duration-300 overflow-hidden border border-blue-100 group"},{default:u(()=>[e("div",F,[e("div",U,[e("div",E,[e("h3",I,n(o.title),1),o.summary?(r(),a("p",R,n(o.summary),1)):h("",!0),e("div",$,[e("span",null,n(new Date(o.published_at).toLocaleDateString("zh-CN")),1
1),e("span",G,[t[7]||(t[7]=e("svg",{class:"w-4 h-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[e("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M15 12a3 3 0 11-6 0 3 3 0 016 0z"}),e("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M2.458 12C3.732 7.943 7.523 5 12 5c4.478 0 8.268 2.943 9.542 7-1.274 4.057-5.064 7-9.542 7-4.477 0-8.268-2.943-9.542-7z"})],-1)),c(" "+n(o.view_count),1)])])]),t[8]||(t[8]=e("div",{class:"text-blue-600 font-medium group-hover:translate-x-1 transition-transform"}," → ",-1))])])]),_:2},1032,["href"]))),128)),s.articles.last_page>1?(r(),a("div",J,[(r(!0),a(x,null,m(s.articles.links,(o,f)=>(r(),p(l(i),{key:f,href:g(o.url),class:y(["px-4 py-2 rounded-lg font-medium transition-colors",o.active?"bg-blue-600 text-white":o.url?"bg-white text-gray-700 hover:bg-blue-50 border border-blue-100":"bg-gray-100 text-gray-400 cursor-not-allowed"]),disabled:!o.url,innerHTML:b(o.label)},null,8,["href","class","disabled","innerHTML"]))),128))])):h("",!0)])):(r(),a("div",K,t[9]||(t[9]=[_('<div class="w-24 h-24 bg-blue-100 rounded-full flex items-center justify-center mx-auto mb-4" data-v-a1ca6d8c><svg class="w-12 h-12 text-blue-600" fill="none" stroke="currentColor" viewBox="0 0 24 24" data-v-a1ca6d8c><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 12h6m-6 4h6m2 5H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z" data-v-a1ca6d8c></path></svg></div><h3 class="text-xl font-bold text-gray-900 mb-2" data-v-a1ca6d8c>暂无文章</h3><p class="text-gray-600" data-v-a1ca6d8c>该栏目下还没有发布任何文章</p>',3)])))])]),t[10]||(t[10]=e("footer",{class:"bg-gradient-to-br from-gray-900 to-blue-900 text-white py-12"},[e("div",{class:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8"},[e("div",{class:"text-center text-gray-400 text-sm"},[e("p",null,"© 2026 专业会计事务所. All rights reserved.")])])],-1))])],64))}}),Y=k(O,[["__scopeId","data-v-a1ca6d8c"]]);export{Y as default};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.