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/Base-CBlsZjg2.js
import{u as a,a as e,c as l,o as s,m as t,n as u,v as n,e as o,g as v,p as r,i as c,l as i,t as d,k as p,F as b,h as m,q as _,s as w,A as f,x as k,d as y,_ as h,f as V,j as g,y as x,z as T,B as j,E as D,C as U}from"./wbs-CW01onor.js";import{E as B}from"./el-switch-C2P8O7HE.js";const C={class:"wbs-main"},E={class:"opt-function-hd"},H={class:"func-name"},L=["innerHTML"],M={class:"mt"},S={class:"ml ib"},q={key:0,class:"wbs-form-table mt"},z={class:"row w8em"},A={class:"wbs-selector-separators"},F=["value"],K={__name:"Base",setup(K){const{wbsCnf:P}=a(),{wb_e:G}=e(P),I=l(!1);U("needPro",I);const J=l(P.is_pro),N=l(0),O=l(!1),Q=l({normal_seo_active:0,index:["","",""],separator:"-"}),R=l([]),W=l({}),X=a=>{f.saveData({op:"update_options",opt:Q.value,key:"tdk",type:"base"}).then((()=>{D.success(G("设置保存成功")),N.value=0,a&&a()}))};return s((()=>{f.getData({op:"get_options",key:"tdk",type:"base"}).then((a=>{const e=a.data,{normal_seo_active:l,index:s,separator:t,active:u}=e.opt;Q.value.active=u,Q.value.normal_seo_active=l,Q.value.index=s||["","",""],Q.value.separator=t,R.value=e.separator,W.value={separator:Q.value.separator,titleVariables:e.title_variables.base},O.value=!0,k((()=>{N.value=0}))}))})),t(Q,(()=>N.value++),{deep:!0}),(a,e)=>{const l=B,s=y("wbsTdkSetter"),t=h,f=T,k=j,D=y("wbs-ctrl-bar"),U=n;return u((V(),o("div",{class:w(["wbs-content-inner",{"wb-page-loaded":O.value}])},[v("div",C,[v("div",E,[v("h3",H,[v("strong",null,d(p(G)("TDK优化")),1)]),v("div",{class:"func-desc",innerHTML:p(G)("通过自动或者自定义,优化页面标题、描述和关键词,以符合搜索引擎要求。")},null,8,L),v("div",M,[c(l,{modelValue:Q.value.active,"onUpdate:modelValue":e[0]||(e[0]=a=>Q.value.active=a),"active-value":"1","inactive-value":"0"},null,8,["modelValue"]),v("span",S,d("1"==Q.value.active?p(G)("功能开启"):p(G)("功能关闭")),1)])]),O.value?(V(),o("table",q,[v("tbody",null,[v("tr",null,[v("th",z,d(p(G)("标题分隔符号")),1),v("td",null,[v("div",A,[(V(!0),o(b,null,m(R.value,(a=>(V(),o("label",{class:w(["selector-item",{selected:a==Q.value.separator}]),key:a},[u(v("input",{type:"radio",value:a,"onUpdate:modelValue":e[1]||(e[1]=a=>Q.value.separator=a)},null,8,F),[[x,Q.value.separator]]),g(d(a),1)],2)))),128))])])])])])):r("",!0),O.value?(V(),i(s,{key:1,cnf:W.value,wb_e:p(G),modelValue:Q.value.index,"onUpdate:modelValue":e[2]||(e[2]=a=>Q.value.index=a)},null,8,["cnf","wb_e","modelValue"])):r("",!0),u(c(t,{wb_e:p(G)},null,8,["wb_e"]),[[_,O.value]]),u(c(f,{class:"mt"},null,512),[[_,O.value]])]),J.value?r("",!0):u((V(),i(k,{key:0},null,512)),[[_,O.value]]),c(D,{wb_e:p(G),changed:N.value,onSubmit:X},null,8,["wb_e","changed"])],2)),[[U,!O.value]])}}};export{K as default};