HEX
Server: nginx/1.28.3
System: Linux VM-0-7-opencloudos 6.6.117-45.oc9.x86_64 #1 SMP Thu Dec 4 10:26:39 CST 2025 x86_64
User: www (1000)
PHP: 8.2.28
Disabled: passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv
Upload Files
File: /www/wwwroot/www.213n.cn/wp-content/plugins/smart-seo-tool/assets/wbp/Detail-BommlP6e.js
import{u as e,a,c as l,D as s,o as u,m as o,n as t,v as n,e as d,g as v,p,i,t as c,k as r,w as f,q as w,l as m,s as b,A as _,x as g,d as V,_ as h,f as x,j as k,z as y,B as U,E as j}from"./wbs-CW01onor.js";/* empty css                       */import{E as C,a as D}from"./el-radio-CKsC97W8.js";const O={class:"wbs-main"},E={key:0},M={class:"sc-title-sub"},q={class:"wbs-form-table"},z={class:"row w8em"},A={class:"info"},B={class:"row w8em"},S={class:"info"},F={class:"sc-title-sub"},G={class:"wbs-form-table"},H={class:"row w8em"},I={class:"info"},J={class:"row w8em"},K={class:"info"},L={__name:"Detail",setup(L){const{wbsCnf:N}=e(),{wb_e:P}=a(N),Q=l(!1),R=l(0),T=l({}),W=l(0),X=l(0),Y=l(0),Z=l(0),$=l([]),ee=s({}),ae=(e,a)=>{const l=T.value.noindex.indexOf(a);e&&l<0?T.value.noindex.push(a):!e&&l>-1&&T.value.noindex.splice(l,1)},le=(e,a)=>{const l=T.value.nofollow.indexOf(a);e&&l<0?T.value.nofollow.push(a):!e&&l>-1&&T.value.nofollow.splice(l,1)},se=e=>{_.saveData({op:"update_options",opt:T.value,key:"tdk",type:"detail"}).then((()=>{j.success(P("设置保存成功")),R.value=0,e&&e()}))};return u((()=>{_.getData({op:"get_options",key:"tdk",type:"post,page"}).then((e=>{const a=e.data;T.value=a.opt,T.value.nofollow||(T.value.nofollow=[]),T.value.noindex||(T.value.noindex=[]),T.value.noindex.includes("page")&&(X.value=1),T.value.noindex.includes("post")&&(W.value=1),T.value.nofollow.includes("page")&&(Z.value=1),T.value.nofollow.includes("post")&&(Y.value=1),$.value=a.separator,Object.assign(ee,a.title_variables),Q.value=!0,g((()=>{R.value=0}))}))})),o(T,(()=>R.value++),{deep:!0}),(e,a)=>{const l=D,s=C,u=V("wbs-tdk-setter"),o=h,_=y,g=U,j=V("wbs-ctrl-bar"),L=n;return t((x(),d("div",{class:b(["wbs-content-inner",{"wb-page-loaded":Q.value}])},[v("div",O,[Q.value?(x(),d("div",E,[v("h3",M,[v("span",null,c(r(P)("文章页")),1)]),v("table",q,[v("tbody",null,[v("tr",null,[v("th",z,c(r(P)("索引")),1),v("td",A,[i(s,{modelValue:W.value,"onUpdate:modelValue":a[0]||(a[0]=e=>W.value=e),onChange:a[1]||(a[1]=e=>ae(e,"post"))},{default:f((()=>[i(l,{value:0},{default:f((()=>[k(c(r(P)("索引")),1)])),_:1}),i(l,{value:1},{default:f((()=>[k(c(r(P)("不索引")),1)])),_:1})])),_:1},8,["modelValue"])])]),v("tr",null,[v("th",B,c(r(P)("跟随")),1),v("td",S,[i(s,{modelValue:Y.value,"onUpdate:modelValue":a[2]||(a[2]=e=>Y.value=e),onChange:a[3]||(a[3]=e=>le(e,"post"))},{default:f((()=>[i(l,{value:0},{default:f((()=>[k(c(r(P)("跟随")),1)])),_:1}),i(l,{value:1},{default:f((()=>[k(c(r(P)("不跟随")),1)])),_:1})])),_:1},8,["modelValue"])])])])]),i(u,{cnf:{separator:T.value.separator,titleVariables:ee.post,kwMode:1,post_type:"post"},modelValue:T.value.post,"onUpdate:modelValue":a[4]||(a[4]=e=>T.value.post=e),wb_e:r(P)},null,8,["cnf","modelValue","wb_e"]),v("h3",F,[v("span",null,c(r(P)("独立页面")),1)]),v("table",G,[v("tbody",null,[v("tr",null,[v("th",H,c(r(P)("索引")),1),v("td",I,[i(s,{modelValue:X.value,"onUpdate:modelValue":a[5]||(a[5]=e=>X.value=e),onChange:a[6]||(a[6]=e=>ae(e,"page"))},{default:f((()=>[i(l,{value:0},{default:f((()=>[k(c(r(P)("索引")),1)])),_:1}),i(l,{value:1},{default:f((()=>[k(c(r(P)("不索引")),1)])),_:1})])),_:1},8,["modelValue"])])]),v("tr",null,[v("th",J,c(r(P)("跟随")),1),v("td",K,[i(s,{modelValue:Z.value,"onUpdate:modelValue":a[7]||(a[7]=e=>Z.value=e),onChange:a[8]||(a[8]=e=>le(e,"page"))},{default:f((()=>[i(l,{value:0},{default:f((()=>[k(c(r(P)("跟随")),1)])),_:1}),i(l,{value:1},{default:f((()=>[k(c(r(P)("不跟随")),1)])),_:1})])),_:1},8,["modelValue"])])])])]),i(u,{cnf:{separator:T.value.separator,titleVariables:ee.page,kwMode:1,post_type:"page"},modelValue:T.value.page,"onUpdate:modelValue":a[9]||(a[9]=e=>T.value.page=e),wb_e:r(P)},null,8,["cnf","modelValue","wb_e"]),t(i(o,{wb_e:r(P)},null,8,["wb_e"]),[[w,Q.value]]),t(i(_,{class:"mt"},null,512),[[w,Q.value]])])):p("",!0)]),r(N).is_pro?p("",!0):t((x(),m(g,{key:0},null,512)),[[w,Q.value]]),i(j,{wb_e:r(P),changed:R.value,onSubmit:se},null,8,["wb_e","changed"])],2)),[[L,!Q.value]])}}};export{L as default};