1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675 |
- <!doctype html>
- <html>
- <head>
- <meta http-equiv="content-type" content="text/html; charset=UTF-8">
- <meta charset="utf-8">
- <meta http-equiv="X-UA-Compatible" content="IE=edge">
- <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
- <!-- Apple devices fullscreen -->
- <meta name="apple-mobile-web-app-capable" content="yes">
- <!-- Apple devices fullscreen -->
- <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
- <link href="__PUBLIC__/plugins/layui/css/layui.css?v={$version}" rel="stylesheet" type="text/css">
- <link rel="stylesheet" href="__SKIN__/css/welcome.css?v={$version}" type="text/css"> <!--界面修改新添样式 -->
- <link href="__SKIN__/css/page.css?v={$version}" rel="stylesheet" type="text/css">
- <link href="__SKIN__/font/css/font-awesome.min.css?v={$version}" rel="stylesheet" />
- <link href="__SKIN__/font/css/iconfont.css?v={$version}" rel="stylesheet" />
- <!--[if IE 7]>
- <link rel="stylesheet" href="__SKIN__/font/css/font-awesome-ie7.min.css?v={$version}">
- <![endif]-->
- <script type="text/javascript">
- var eyou_basefile = "{$Request.baseFile}";
- var module_name = "{$Think.const.MODULE_NAME}";
- var GetUploadify_url = "{:url('Uploadimgnew/upload')}";
- // 插件专用旧版上传图片框
- if ('Weapp@execute' == "{$Think.const.CONTROLLER_NAME}@{$Think.const.ACTION_NAME}") {
- GetUploadify_url = "{:url('Uploadify/upload')}";
- }
- var __root_dir__ = "__ROOT_DIR__";
- var __lang__ = "{$admin_lang}";
- </script>
- <link href="__SKIN__/js/jquery-ui/jquery-ui.min.css?v={$version}" rel="stylesheet" type="text/css"/>
- <link href="__SKIN__/js/perfect-scrollbar.min.css?v={$version}" rel="stylesheet" type="text/css"/>
- <!-- <link type="text/css" rel="stylesheet" href="__PUBLIC__/plugins/tags_input/css/jquery.tagsinput.css?v={$version}"> -->
- <style type="text/css">html, body { overflow: visible;}</style>
- <link href="__SKIN__/css/diy_style.css?v={$version}" rel="stylesheet" type="text/css" />
- {include file="public/theme_css" /}
- <script type="text/javascript" src="__STATIC__/common/js/jquery.min.js?v={$version}"></script>
- <!-- <script type="text/javascript" src="__PUBLIC__/plugins/tags_input/js/jquery.tagsinput.js?v={$version}"></script> -->
- <script type="text/javascript" src="__SKIN__/js/jquery-ui/jquery-ui.min.js?v={$version}"></script>
- <script type="text/javascript" src="__PUBLIC__/plugins/layer-v3.1.0/layer.js?v={$version}"></script>
- <script type="text/javascript" src="__SKIN__/js/jquery.cookie.js?v={$version}"></script>
- <script type="text/javascript" src="__SKIN__/js/admin.js?v={$version}"></script>
- <script type="text/javascript" src="__SKIN__/js/jquery.validation.min.js?v={$version}"></script>
- <script type="text/javascript" src="__SKIN__/js/common.js?v={$version}"></script>
- <script type="text/javascript" src="__SKIN__/js/perfect-scrollbar.min.js?v={$version}"></script>
- <script type="text/javascript" src="__SKIN__/js/jquery.mousewheel.js?v={$version}"></script>
- <script type="text/javascript" src="__PUBLIC__/plugins/layui/layui.js?v={$version}"></script>
- <script src="__SKIN__/js/myFormValidate.js?v={$version}"></script>
- <script src="__SKIN__/js/myAjax2.js?v={$version}"></script>
- <script src="__SKIN__/js/global.js?v={$version}"></script>
- </head>
- <body class="bodystyle">
- {eq name="'Index@switch_map_0'|is_check_access" value="1"}
- {eq name='$main_lang' value='$admin_lang'}
- <div class="on-off_panel_one bg-fff " id="mokuaikaiguan" style="display: block;">
- <div class="f-16 col-373737 ">模块开关</div>
- <div class="on-off_btns">
- <form class="layui-form " action="">
- <ul class="flex-dir-row flex-wrap">
- {eq name="'Member@index'|is_check_access" value="1"}
- <li class="more_li">
- <div class="on-off_btn">
- <div class="on-off_btn_l">
- <p>会员中心:</p>
- </div>
- <div class="on-off_btn_r">
- <input type="checkbox" name="web[web_users_switch]" lay-skin="switch" lay-text="开启|关闭" lay-filter="switchTest"
- data-authortoken="{$is_eyou_authortoken}" data-is_online="{$is_online}" {eq name="$global.web_users_switch" value="1"}checked="" {/eq}
- data-type="web" data-name="web_users_switch" data-lmenuid="Member_users_index" value="{$global.web_users_switch}">
- </div>
- </div>
- </li>
- <li class="more_li">
- <div class="on-off_btn">
- <div class="on-off_btn_l">
- <p>会员投稿:</p>
- </div>
- <div class="on-off_btn_r">
- <input type="checkbox" name="users[users_open_release]" lay-skin="switch" lay-text="开启|关闭" lay-filter="switchTest"
- data-authortoken="{$is_eyou_authortoken}" data-is_online="{$is_online}" {eq name="$userConfig.users_open_release" value="1"}checked="" {/eq}
- data-type="users" data-name="users_open_release" data-lmenuid="Archives_index_draft" value="{$userConfig.users_open_release}">
- </div>
- </div>
- </li>
- <li class="more_li">
- <div class="on-off_btn">
- <div class="on-off_btn_l">
- <p>会员升级:</p>
- </div>
- <div class="on-off_btn_r">
- <input type="checkbox" name="level[level_member_upgrade]" lay-skin="switch" lay-text="开启|关闭" lay-filter="switchTest"
- data-authortoken="{$is_eyou_authortoken}" data-is_online="{$is_online}" {eq name="$userConfig.level_member_upgrade" value="1"}checked="" {/eq}
- data-type="level" data-name="level_member_upgrade" data-lmenuid="off" value="{$userConfig.level_member_upgrade}">
- </div>
- </div>
- </li>
- {/eq}
-
- {eq name="'Shop@index'|is_check_access" value="1"}
- {if condition="$php_servicemeal > 1"}
- <li class="more_li">
- <div class="on-off_btn">
- <div class="on-off_btn_l">
- <p>商城中心:</p>
- </div>
- <div class="on-off_btn_r">
- <input type="checkbox" name="shop[shop_open]" lay-skin="switch" lay-text="开启|关闭" lay-filter="switchTest"
- data-authortoken="{$is_eyou_authortoken}" data-is_online="{$is_online}" {eq name="$userConfig.shop_open" value="1"}checked="" {/eq}
- data-type="shop" data-name="shop_open" data-lmenuid="Shop_home" value="{$userConfig.shop_open}">
- </div>
- </div>
- </li>
- {/if}
- {/eq}
-
- {eq name="'Member@index'|is_check_access" value="1"}
- <li class="more_li">
- <div class="on-off_btn">
- <div class="on-off_btn_l">
- <p>支付功能:</p>
- </div>
- <div class="on-off_btn_r">
- <input type="checkbox" name="pay[pay_open]" lay-skin="switch" lay-text="开启|关闭" lay-filter="switchTest"
- data-authortoken="{$is_eyou_authortoken}" data-is_online="{$is_online}" {eq name="$userConfig.pay_open" value="1"}checked="" {/eq}
- data-type="pay" data-name="pay_open" data-lmenuid="off" value="{$userConfig.pay_open}">
-
- </div>
- </div>
- </li>
- {/eq}
-
- {eq name="'Weapp@index'|is_check_access" value="1"}
- {eq name="weapp_switch" value="true"}
- <li class="more_li">
- <div class="on-off_btn">
- <div class="on-off_btn_l">
- <p>插件应用:</p>
- </div>
- <div class="on-off_btn_r">
- <input type="checkbox" name="web[web_weapp_switch]" lay-skin="switch" lay-text="开启|关闭" lay-filter="switchTest2"
- data-type="web" data-name="web_weapp_switch" data-lmenuid="Weapp_index" value="{$global.web_weapp_switch}"
- {eq name="$global.web_weapp_switch" value="1"}checked="" {/eq}>
- </div>
- </div>
- </li>
- {/eq}
- {/eq}
-
- {eq name="'Language@index'|is_check_access" value="1"}
- {if condition="$php_servicemeal >= 1 || !empty($global.system_use_language)"}
- <li class="more_li">
- <div class="on-off_btn">
- <div class="on-off_btn_l">
- <p>多语言:</p>
- </div>
- <div class="on-off_btn_r">
- <!-- 按钮切换颜色要变成3fa9e0 -->
- <input type="checkbox" name="web[web_language_switch]" lay-skin="switch" lay-text="开启|关闭" lay-filter="switchTest"
- data-type="web" data-name="web_language_switch" data-lmenuid="Language_index" value="{$global.web_language_switch}"
- {eq name="$global.web_language_switch" value="1"}checked="" {/eq}>
- </div>
- </div>
- </li>
- {/if}
- {/eq}
-
- {eq name="'Citysite@index'|is_check_access" value="1"}
- {if condition="$php_servicemeal >= 2"}
- <li class="more_li">
- <div class="on-off_btn">
- <div class="on-off_btn_l">
- <p>城市分站:</p>
- </div>
- <div class="on-off_btn_r">
- <input type="checkbox" name="web[web_citysite_open]" lay-skin="switch" lay-text="开启|关闭" lay-filter="switchTest"
- data-type="web" data-name="web_citysite_open" data-lmenuid="Citysite_index" value="{$global.web_citysite_open}"
- {eq name="$global.web_citysite_open" value="1"}checked="" {/eq}>
- </div>
- </div>
- </li>
- {/if}
- {/eq}
- </ul>
- </form>
- </div>
- </div>
- {/eq}
- {/eq}
-
- {eq name="'Index@switch_map_1'|is_check_access" value="1"}
- <div class="on-off_panel" >
- <div class="on-off_list_bg on-off_list-caidan bg-fff">
- <div class="son-tit">
- <div class="f-16 col-373737">当前导航</div>
- </div>
- <div class="on-off_list">
- <ul class="flex-dir-row sort-list flex-wrap" id="my_menu">
- {volist name="menu_list" id="vo"}
- <li title="拖动改变排序" class="more_li" data-id="{$vo.menu_id}" id="my_menu_{$vo.menu_id}" {if condition="in_array($vo.menu_id,$not_role_menu_id_arr) || empty($vo.is_switch)"}style="display:none"{/if} >
- <div class="flex-dir-row flex-a-center">
- <div class="icon_bg">
- <i class="{$vo.icon} f-20 on" ></i>
- </div>
- <div class="ml-8">
- <a href="javascript:void(0);" data-href="{$vo.controller_name.'/'.$vo.action_name|url}" onclick="gourl2(this,1);">{$vo.title}</a>
- </div>
- </div>
- {notempty name="$is_founder"}
- <div class="icon-link_add">
- <div title="取消导航显示" data-menu_id="{$vo.menu_id}" class="iconfont e-jiahao2 e-jianhao"></div>
- </div>
- {/notempty}
- </li>
- {/volist}
- </ul>
- </div>
- </div>
- </div>
- {/eq}
- <div id="gengduogongneng" style="display: none; display: inline-table;margin-bottom: 30px;width: 100%; ">
- <div class="on-off_panel" >
- <div class="on-off_list_bg bg-fff" id="wendangxiagnguan" style="display: block;">
- <div class="son-tit">
- <div class="f-16 col-373737">文档相关</div>
- </div>
- <div class="on-off_list" id="wendangxiagnguan_child" style="display: block;">
- <ul class="flex-dir-row flex-wrap">
- {eq name="'Arctype@index'|is_check_access" value="1"}
- <li class="more_li" id="li_1001" {if condition="in_array('1001',$admin_menu_id_arr) || in_array('1001',$not_role_menu_id_arr)"}style="display:none"{/if}>
- <div class="flex-dir-row flex-a-center">
- <div class="icon_bg icon_bg_no">
- <i class="iconfont f-20 e-lanmuguanli col-848484" ></i>
- </div>
- <div class="ml-8">
- <a href="javascript:void(0);" data-href="{:url('Arctype/index')}" onclick="gourl2(this,1);">栏目管理</a>
- </div>
- </div>
- {notempty name="$is_founder"}
- <div class="icon-link_add">
- <div title="加入导航显示" data-menu_id="1001" class="iconfont e-jiahao2"></div>
- </div>
- {/notempty}
- </li>
- {/eq}
-
- {eq name="'Archives@index'|is_check_access" value="1"}
- <li class="more_li" id="li_1002" {if condition="in_array('1002',$admin_menu_id_arr) || in_array('1002',$not_role_menu_id_arr)"}style="display:none"{/if}>
- <div class="flex-dir-row flex-a-center">
- <div class="icon_bg icon_bg_no">
- <i class="iconfont e-neirongwendang f-20 col-848484" ></i>
- </div>
- <div class="ml-8">
- <a href="javascript:void(0);" data-href="{:url('Archives/index')}" onclick="gourl2(this,1);">内容管理</a>
- </div>
- </div>
- {notempty name="$is_founder"}
- <div class="icon-link_add">
- <div title="加入导航显示" data-menu_id="1002" class="iconfont e-jiahao2 "></div>
- </div>
- {/notempty}
- </li>
- {/eq}
-
- {eq name="'Archives@index_draft'|is_check_access" value="1"}
- {eq name='$main_lang' value='$admin_lang'}
- <li class="more_li" id="li_1004" {if condition="in_array('1004',$admin_menu_id_arr) || in_array('1004',$not_role_menu_id_arr)"}style="display:none"{/if}>
- <div class="flex-dir-row flex-a-center">
- <div class="icon_bg icon_bg_no">
- <i class="iconfont e-tougao f-20 col-848484" ></i>
- </div>
- <div class="ml-8">
- <a href="javascript:void(0);" data-href="{:url('Archives/index_draft')}" onclick="gourl2(this,1);">待审文档</a>
- </div>
- </div>
- {notempty name="$is_founder"}
- <div class="icon-link_add">
- <div title="加入导航显示" data-menu_id="1004" class="iconfont e-jiahao2 "></div>
- </div>
- {/notempty}
- </li>
- {/eq}
- {/eq}
-
- <!-- {eq name="'Archives@index_reback'|is_check_access" value="1"}
- {eq name='$main_lang' value='$admin_lang'}
- <li class="more_li" id="li_1006" {if condition="in_array('1006',$admin_menu_id_arr) || in_array('1006',$not_role_menu_id_arr)"}style="display:none"{/if}>
- <div class="flex-dir-row flex-a-center">
- <div class="icon_bg icon_bg_no">
- <i class="iconfont e-tougao f-20 col-848484" ></i>
- </div>
- <div class="ml-8">
- <a href="javascript:void(0);" data-href="{:url('Archives/index_reback')}" onclick="gourl2(this,1);">退回文档</a>
- </div>
- </div>
- {notempty name="$is_founder"}
- <div class="icon-link_add">
- <div title="加入导航显示" data-menu_id="1006" class="iconfont e-jiahao2 "></div>
- </div>
- {/notempty}
- </li>
- {/eq}
- {/eq} -->
-
- {eq name="'AdPosition@index'|is_check_access" value="1"}
- <li class="more_li" id="li_1003" {if condition="in_array('1003',$admin_menu_id_arr) || in_array('1003',$not_role_menu_id_arr)"}style="display:none"{/if}>
- <div class="flex-dir-row flex-a-center">
- <div class="icon_bg icon_bg_no">
- <i class="iconfont e-guanggao f-20 col-848484" ></i>
- </div>
- <div class="ml-8 white-space">
- <a href="javascript:void(0);" data-href="{:url('AdPosition/index')}" onclick="gourl2(this,1);">广告管理</a>
- </div>
- </div>
- {notempty name="$is_founder"}
- <div class="icon-link_add">
- <div title="加入导航显示" data-menu_id="1003" class="iconfont e-jiahao2"></div>
- </div>
- {/notempty}
- </li>
- {/eq}
-
-
- <!--新增职称管理模块--->
- {eq name="'ZcPosition@index'|is_check_access" value="1"}
- <li class="more_li" id="li_1006" {if condition="in_array('1006',$admin_menu_id_arr) || in_array('1006',$not_role_menu_id_arr)"}style="display:none"{/if}>
- <div class="flex-dir-row flex-a-center">
- <div class="icon_bg icon_bg_no">
- <i class="iconfont e-guanggao f-20 col-848484" ></i>
- </div>
- <div class="ml-8 white-space">
- <a href="javascript:void(0);" data-href="{:url('ZcPosition/index')}" onclick="gourl2(this,1);">职称管理</a>
- </div>
- </div>
- {notempty name="$is_founder"}
- <div class="icon-link_add">
- <div title="加入导航显示" data-menu_id="1006" class="iconfont e-jiahao2"></div>
- </div>
- {/notempty}
- </li>
- {/eq}
-
- <!--新增职称问答模块--->
- {eq name="'ZcwdPosition@index'|is_check_access" value="1"}
- <li class="more_li" id="li_1007" {if condition="in_array('1007',$admin_menu_id_arr) || in_array('1007',$not_role_menu_id_arr)"}style="display:none"{/if}>
- <div class="flex-dir-row flex-a-center">
- <div class="icon_bg icon_bg_no">
- <i class="iconfont e-guanggao f-20 col-848484" ></i>
- </div>
- <div class="ml-8 white-space">
- <a href="javascript:void(0);" data-href="{:url('ZcwdPosition/index')}" onclick="gourl2(this,1);">职称问答</a>
- </div>
- </div>
- {notempty name="$is_founder"}
- <div class="icon-link_add">
- <div title="加入导航显示" data-menu_id="1007" class="iconfont e-jiahao2"></div>
- </div>
- {/notempty}
- </li>
- {/eq}
-
-
-
- {eq name="'Tags@index'|is_check_access" value="1"}
- <li class="more_li" id="li_2004011" {if condition="in_array('2004011',$admin_menu_id_arr) || in_array('2004011',$not_role_menu_id_arr)"}style="display:none"{/if}>
- <div class="flex-dir-row flex-a-center">
- <div class="icon_bg icon_bg_no">
- <i class="iconfont e-TAGguanli f-20 col-848484" ></i>
- </div>
- <div class="ml-8 white-space">
- <a href="javascript:void(0);" data-href="{:url('Tags/index')}" onclick="gourl2(this,1);">TAG管理</a>
- </div>
- </div>
- {notempty name="$is_founder"}
- <div class="icon-link_add">
- <div title="加入导航显示" data-menu_id="2004011" class="iconfont e-jiahao2"></div>
- </div>
- {/notempty}
- </li>
- {/eq}
-
- {eq name="'Search@conf'|is_check_access" value="1"}
- {eq name='$main_lang' value='$admin_lang'}
- <li class="more_li" id="li_2004022" {if condition="in_array('2004022',$admin_menu_id_arr) || in_array('2004022',$not_role_menu_id_arr)"}style="display:none"{/if}>
- <div class="flex-dir-row flex-a-center">
- <div class="icon_bg icon_bg_no">
- <i class="iconfont e-soguanjianci f-20 col-848484" ></i>
- </div>
- <div class="ml-8 white-space">
- <a href="javascript:void(0);" data-href="{:url('Search/conf')}" onclick="gourl2(this,1);">搜索管理</a>
- </div>
- </div>
- {notempty name="$is_founder"}
- <div class="icon-link_add">
- <div title="加入导航显示" data-menu_id="2004022" class="iconfont e-jiahao2"></div>
- </div>
- {/notempty}
- </li>
- {/eq}
- {/eq}
-
- {eq name="'Field@arctype_index'|is_check_access" value="1"}
- {eq name='$main_lang' value='$admin_lang'}
- <li class="more_li" id="li_2004004" {if condition="in_array('2004004',$admin_menu_id_arr) || in_array('2004004',$not_role_menu_id_arr)"}style="display:none"{/if}>
- <div class="flex-dir-row flex-a-center">
- <div class="icon_bg icon_bg_no">
- <i class="iconfont e-lanmuziduan f-20 col-848484" ></i>
- </div>
- <div class="ml-8 white-space">
- <a href="javascript:void(0);" data-href="{:url('Field/arctype_index')}" onclick="gourl2(this,1);">栏目字段</a>
- </div>
- </div>
- {notempty name="$is_founder"}
- <div class="icon-link_add">
- <div title="加入导航显示" data-menu_id="2004004" class="iconfont e-jiahao2"></div>
- </div>
- {/notempty}
- </li>
- {/eq}
- {/eq}
-
- {eq name="'Channeltype@index'|is_check_access" value="1"}
- {eq name='$main_lang' value='$admin_lang'}
- <li class="more_li" id="li_2004007" {if condition="in_array('2004007',$admin_menu_id_arr) || in_array('2004007',$not_role_menu_id_arr)"}style="display:none"{/if}>
- <div class="flex-dir-row flex-a-center">
- <div class="icon_bg icon_bg_no">
- <i class="iconfont e-pindaomoxing f-20 col-848484" ></i>
- </div>
- <div class="ml-8 white-space">
- <a href="javascript:void(0);" data-href="{:url('Channeltype/index')}" onclick="gourl2(this,1);">频道模型</a>
- </div>
- </div>
- {notempty name="$is_founder"}
- <div class="icon-link_add">
- <div title="加入导航显示" data-menu_id="2004007" class="iconfont e-jiahao2"></div>
- </div>
- {/notempty}
- </li>
- {/eq}
- {/eq}
-
- {eq name="'ArchivesFlag@index'|is_check_access" value="1"}
- {eq name='$main_lang' value='$admin_lang'}
- <li class="more_li" id="li_2004008" {if condition="in_array('2004008',$admin_menu_id_arr) || in_array('2004008',$not_role_menu_id_arr)"}style="display:none"{/if}>
- <div class="flex-dir-row flex-a-center">
- <div class="icon_bg icon_bg_no">
- <i class="iconfont e-wendangshuxing f-20 col-848484" ></i>
- </div>
- <div class="ml-8">
- <a href="javascript:void(0);" data-href="{:url('ArchivesFlag/index')}" onclick="gourl2(this,1);">文档属性</a>
- </div>
- </div>
- {notempty name="$is_founder"}
- <div class="icon-link_add">
- <div title="加入导航显示" data-menu_id="2004008" class="iconfont e-jiahao2"></div>
- </div>
- {/notempty}
- </li>
- {/eq}
- {/eq}
-
- {eq name="'System@water'|is_check_access" value="1"}
- {eq name='$main_lang' value='$admin_lang'}
- <li class="more_li" id="li_2004009" {if condition="in_array('2004009',$admin_menu_id_arr) || in_array('2004009',$not_role_menu_id_arr)"}style="display:none"{/if}>
- <div class="flex-dir-row flex-a-center">
- <div class="icon_bg icon_bg_no">
- <i class="f-20 iconfont e-shuiyinpeizhi col-848484" ></i>
- </div>
- <div class="ml-8 white-space">
- <a href="javascript:void(0);" data-href="{:url('System/water')}" onclick="gourl2(this,1);">图片水印</a>
- </div>
- </div>
- {notempty name="$is_founder"}
- <div class="icon-link_add">
- <div title="加入导航显示" data-menu_id="2004009" class="iconfont e-jiahao2"></div>
- </div>
- {/notempty}
- </li>
- {/eq}
- {/eq}
-
- {eq name="'System@thumb'|is_check_access" value="1"}
- {eq name='$main_lang' value='$admin_lang'}
- <li class="more_li" id="li_2004010" {if condition="in_array('2004010',$admin_menu_id_arr) || in_array('2004010',$not_role_menu_id_arr)"}style="display:none"{/if}>
- <div class="flex-dir-row flex-a-center">
- <div class="icon_bg icon_bg_no">
- <i class="iconfont e-suolvetupeizhi f-20 col-848484" ></i>
- </div>
- <div class="ml-8 white-space">
- <a href="javascript:void(0);" data-href="{:url('System/thumb')}" onclick="gourl2(this,1);">缩略图设置</a>
- </div>
- </div>
- {notempty name="$is_founder"}
- <div class="icon-link_add">
- <div title="加入导航显示" data-menu_id="2004010" class="iconfont e-jiahao2"></div>
- </div>
- {/notempty}
- </li>
- {/eq}
- {/eq}
-
- {eq name="'Navigation@index'|is_check_access" value="1"}
- {eq name='$main_lang' value='$admin_lang'}
- <li class="more_li" id="li_2004013" {if condition="in_array('2004013',$admin_menu_id_arr) || in_array('2004013',$not_role_menu_id_arr)"}style="display:none"{/if}>
- <div class="flex-dir-row flex-a-center">
- <div class="icon_bg icon_bg_no">
- <i class="iconfont e-daohangguanli f-20 col-848484" ></i>
- </div>
- <div class="ml-8 white-space">
- <a href="javascript:void(0);" data-href="{:url('Navigation/index')}" onclick="gourl2(this,1);">导航管理</a>
- </div>
- </div>
- {notempty name="$is_founder"}
- <div class="icon-link_add">
- <div title="加入导航显示" data-menu_id="2004013" class="iconfont e-jiahao2"></div>
- </div>
- {/notempty}
- </li>
- {/eq}
- {/eq}
- </ul>
- </div>
- </div>
-
- <div class="on-off_list_bg bg-fff" id="gaojixuanxiang" style="display: block;">
- <div class="son-tit">
- <div class="f-16 col-373737">高级扩展</div>
- </div>
- <div class="on-off_list" id="gaojixuanxiang_child" style="display: block;">
- <ul class="flex-dir-row flex-wrap">
- {eq name="'System@index'|is_check_access" value="1"}
- <li class="more_li" id="li_2001" {if condition="in_array('2001',$admin_menu_id_arr) || in_array('2001',$not_role_menu_id_arr)"}style="display:none"{/if}>
- <div class="flex-dir-row flex-a-center">
- <div class="icon_bg icon_bg_no">
- <i class="iconfont e-shezhi f-20 col-848484" ></i>
- </div>
- <div class="ml-8 white-space">
- <a href="javascript:void(0);" data-href="{:url('System/web')}" onclick="gourl2(this,1);">基本信息</a>
- </div>
- </div>
- {notempty name="$is_founder"}
- <div class="icon-link_add">
- <div title="加入导航显示" data-menu_id="2001" class="iconfont e-jiahao2"></div>
- </div>
- {/notempty}
- </li>
- {/eq}
-
- {eq name="'Admin@admin_pwd'|is_check_access" value="1"}
- {eq name='$main_lang' value='$admin_lang'}
- <li class="more_li" id="li_2004001" {if condition="in_array('2004001',$admin_menu_id_arr) || in_array('2004001',$not_role_menu_id_arr)"}style="display:none"{/if}>
- <div class="flex-dir-row flex-a-center">
- <div class="icon_bg icon_bg_no">
- <i class="iconfont e-guanliyuan f-20 col-848484" ></i>
- </div>
- <div class="ml-8 white-space">
- <a href="javascript:void(0);" data-href="{:url('Admin/index')}" onclick="gourl2(this,1);">管理员</a>
- </div>
- </div>
- {notempty name="$is_founder"}
- <div class="icon-link_add">
- <div title="加入导航显示" data-menu_id="2004001" class="iconfont e-jiahao2"></div>
- </div>
- {/notempty}
- </li>
- {/eq}
- {/eq}
-
- {eq name="'RecycleBin@arctype_index'|is_check_access" value="1"}
- {if condition="$main_lang == $admin_lang || !empty($global['language_split'])"}
- {neq name="$global['web_recycle_switch']" value='1'}
- <li class="more_li" id="li_2004006" {if condition="in_array('2004006',$admin_menu_id_arr) || in_array('2004006',$not_role_menu_id_arr)"}style="display:none"{/if}>
- <div class="flex-dir-row flex-a-center">
- <div class="icon_bg icon_bg_no">
- <i class="iconfont e-huishouzhan f-20 col-848484" ></i>
- </div>
- <div class="ml-8 white-space">
- <a href="javascript:void(0);" data-href="{:url('RecycleBin/archives_index')}" onclick="gourl2(this,1);">回收站</a>
- </div>
- </div>
- {notempty name="$is_founder"}
- <div class="icon-link_add">
- <div title="加入导航显示" data-menu_id="2004006" class="iconfont e-jiahao2"></div>
- </div>
- {/notempty}
- </li>
- {/neq}
- {/if}
- {/eq}
-
- {eq name="'Tools@index'|is_check_access" value="1"}
- {eq name='$main_lang' value='$admin_lang'}
- <li class="more_li" id="li_2004002" {if condition="in_array('2004002',$admin_menu_id_arr) || in_array('2004002',$not_role_menu_id_arr)"}style="display:none"{/if}>
- <div class="flex-dir-row flex-a-center">
- <div class="icon_bg icon_bg_no">
- <i class="iconfont e-beifenhuanyuan f-20 col-848484" ></i>
- </div>
- <div class="ml-8 white-space">
- <a href="javascript:void(0);" data-href="{:url('Tools/index')}" onclick="gourl2(this,1);">备份还原</a>
- </div>
- </div>
- {notempty name="$is_founder"}
- <div class="icon-link_add">
- <div title="加入导航显示" data-menu_id="2004002" class="iconfont e-jiahao2"></div>
- </div>
- {/notempty}
- </li>
- {/eq}
- {/eq}
-
- {eq name="'Vertify@index'|is_check_access" value="1"}
- {eq name='$main_lang' value='$admin_lang'}
- <li class="more_li" id="li_2004015" {if condition="in_array('2004015',$admin_menu_id_arr) || in_array('2004015',$not_role_menu_id_arr)"}style="display:none"{/if}>
- <div class="flex-dir-row flex-a-center">
- <div class="icon_bg icon_bg_no">
- <i class="iconfont e-yanzhengmaguanli f-20 col-848484" ></i>
- </div>
- <div class="ml-8 white-space">
- <a href="javascript:void(0);" data-href="{:url('Vertify/index')}" onclick="gourl2(this,1);">验证码管理</a>
- </div>
- </div>
- {notempty name="$is_founder"}
- <div class="icon-link_add">
- <div title="加入导航显示" data-menu_id="2004015" class="iconfont e-jiahao2"></div>
- </div>
- {/notempty}
-
- </li>
- {/eq}
- {/eq}
-
- {eq name="'Filemanager@index'|is_check_access" value="1"}
- {eq name='$main_lang' value='$admin_lang'}
- <li class="more_li" id="li_2004003" {if condition="in_array('2004003',$admin_menu_id_arr) || in_array('2004003',$not_role_menu_id_arr)"}style="display:none"{/if}>
- <div class="flex-dir-row flex-a-center">
- <div class="icon_bg icon_bg_no">
- <i class="iconfont e-mobanguanli f-20 col-848484" ></i>
- </div>
- <div class="ml-8 white-space">
- <a href="javascript:void(0);" data-href="{:url('Filemanager/index')}" data-menu_id="2004003" onclick="gourl2(this,1);">模板管理</a>
- </div>
- </div>
- {notempty name="$is_founder"}
- <div class="icon-link_add">
- <div title="加入导航显示" data-menu_id="2004003" class="iconfont e-jiahao2"></div>
- </div>
- {/notempty}
- </li>
- {/eq}
- {/eq}
-
- {eq name="'Member@users_index'|is_check_access" value="1"}
- {eq name='$main_lang' value='$admin_lang'}
- <li class="more_li" id="li_2006" {if condition="in_array('2006',$admin_menu_id_arr) || in_array('2006',$not_role_menu_id_arr)"}style="display:none"{/if}>
- <div class="flex-dir-row flex-a-center">
- <div class="icon_bg icon_bg_no">
- <i class="iconfont e-gerenzhongxin f-20 col-848484" ></i>
- </div>
- <div class="ml-8 white-space">
- <a href="javascript:void(0);" data-href="{:url('Member/users_index')}" onclick="gourl2(this,1);">会员中心</a>
- </div>
- </div>
- {notempty name="$is_founder"}
- <div class="icon-link_add">
- <div title="加入导航显示" data-menu_id="2006" class="iconfont e-jiahao2"></div>
- </div>
- {/notempty}
- </li>
- {/eq}
- {/eq}
-
- {eq name="'Citysite@index'|is_check_access" value="1"}
- {if condition="$main_lang == $admin_lang"}
- <li class="more_li" id="li_2004019" {if condition="in_array('2004019',$admin_menu_id_arr) || in_array('2004019',$not_role_menu_id_arr) || empty($global.web_citysite_open)"}style="display:none"{/if}>
- <div class="flex-dir-row flex-a-center">
- <div class="icon_bg icon_bg_no">
- <i class="iconfont e-chengshifenzhan f-20 col-848484" ></i>
- </div>
- <div class="ml-8 white-space">
- <a href="javascript:void(0);" data-href="{:url('Citysite/index')}" onclick="gourl2(this,1);">城市分站</a>
- </div>
- </div>
- {notempty name="$is_founder"}
- <div class="icon-link_add">
- <div title="加入导航显示" data-menu_id="2004019" class="iconfont e-jiahao2"></div>
- </div>
- {/notempty}
- </li>
- {/if}
- {/eq}
-
- {eq name="'Weapp@index'|is_check_access" value="1"}
- {eq name='$main_lang' value='$admin_lang'}
- <li class="more_li" id="li_2005" {if condition="in_array('2005',$admin_menu_id_arr) || in_array('2005',$not_role_menu_id_arr)"}style="display:none"{/if}>
- <div class="flex-dir-row flex-a-center">
- <div class="icon_bg icon_bg_no">
- <i class="iconfont e-chajian f-20 col-848484" ></i>
- </div>
- <div class="ml-8 white-space">
- <a href="javascript:void(0);" data-href="{:url('Weapp/index')}" onclick="gourl2(this,1);">插件应用</a>
- </div>
- </div>
- {notempty name="$is_founder"}
- <div class="icon-link_add">
- <div title="加入导航显示" data-menu_id="2005" class="iconfont e-jiahao2"></div>
- </div>
- {/notempty}
- </li>
- {/eq}
- {/eq}
-
- {eq name="'Security@index'|is_check_access" value="1"}
- {eq name='$main_lang' value='$admin_lang'}
- <li class="more_li" id="li_2004017" {if condition="in_array('2004017',$admin_menu_id_arr) || in_array('2004017',$not_role_menu_id_arr)"}style="display:none"{/if}>
- <div class="flex-dir-row flex-a-center">
- <div class="icon_bg icon_bg_no">
- <i class="iconfont e-anquanshezhi f-20 col-848484" ></i>
- </div>
- <div class="ml-8 white-space">
- <a href="javascript:void(0);" data-href="{:url('Security/index')}" onclick="gourl2(this,1);">安全中心</a>
- </div>
- </div>
- {notempty name="$is_founder"}
- <div class="icon-link_add">
- <div title="加入导航显示" data-menu_id="2004017" class="iconfont e-jiahao2"></div>
- </div>
- {/notempty}
- </li>
- {/eq}
- {/eq}
-
- {eq name="'Order@index'|is_check_access" value="1"}
- {eq name='$main_lang' value='$admin_lang'}
- <li class="more_li" id="li_2004021" {if condition="in_array('2004021',$admin_menu_id_arr) || in_array('2004021',$not_role_menu_id_arr)"}style="display:none"{/if}>
- <div class="flex-dir-row flex-a-center">
- <div class="icon_bg icon_bg_no">
- <i class="iconfont e-dingdanguanli f-20 col-848484" ></i>
- </div>
- <div class="ml-8 white-space">
- <a href="javascript:void(0);" data-href="{:url('Order/index')}" onclick="gourl2(this,1);">订单管理</a>
- </div>
- </div>
- {notempty name="$is_founder"}
- <div class="icon-link_add">
- <div title="加入导航显示" data-menu_id="2004021" class="iconfont e-jiahao2"></div>
- </div>
- {/notempty}
- </li>
- {/eq}
- {/eq}
-
- {eq name="'Uiset@ui_index'|is_check_access" value="1"}
- {notempty name="$is_show_uiset"}
- <li class="more_li" id="li_2002" {if condition="in_array('2002',$admin_menu_id_arr) || in_array('2002',$not_role_menu_id_arr)"}style="display:none"{/if}>
- <div class="flex-dir-row flex-a-center">
- <div class="icon_bg icon_bg_no">
- <i class="iconfont e-keshihuabianji f-20 col-848484" ></i>
- </div>
- <div class="ml-8 white-space">
- <a href="javascript:void(0);" data-href="{:url('Uiset/ui_index')}" onclick="gourl2(this,1);">可视编辑</a>
- </div>
- </div>
- {notempty name="$is_founder"}
- <div class="icon-link_add">
- <div title="加入导航显示" data-menu_id="2002" class="iconfont e-jiahao2"></div>
- </div>
- {/notempty}
- </li>
- {/notempty}
- {/eq}
-
- {if condition="in_array('memgift', $useFunc) && $php_servicemeal > 1 && !empty($userConfig['memgift_open']) && $main_lang == $admin_lang"}
- {eq name="'Memgift@gift_exchange_list'|is_check_access" value="1"}
- <li class="more_li" id="li_2004023" {if condition="in_array('2004023',$admin_menu_id_arr) || in_array('2004023',$not_role_menu_id_arr)"}style="display:none"{/if}>
- <div class="flex-dir-row flex-a-center">
- <div class="icon_bg icon_bg_no">
- <i class="iconfont f-20 e-lipinduihuan col-848484" ></i>
- </div>
- <div class="ml-8 white-space">
- <a href="javascript:void(0);" data-href="{:url('Memgift/gift_exchange_list')}" onclick="gourl2(this,1);">积分兑换</a>
- </div>
- </div>
- {notempty name="$is_founder"}
- <div class="icon-link_add">
- <div title="加入导航显示" data-menu_id="2004023" class="iconfont e-jiahao2"></div>
- </div>
- {/notempty}
- </li>
- {/eq}
- {/if}
-
- {eq name="'Form@index'|is_check_access" value="1"}
- <li class="more_li" id="li_2004018" {if condition="in_array('2004018',$admin_menu_id_arr) || in_array('2004018',$not_role_menu_id_arr)"}style="display:none"{/if}>
- <div class="flex-dir-row flex-a-center">
- <div class="icon_bg icon_bg_no">
- <i class="iconfont f-20 e-biaodanguanli col-848484" ></i>
- </div>
- <div class="ml-8 white-space">
- <a href="javascript:void(0);" data-href="{:url('Form/index')}" onclick="gourl2(this,1);">留言管理</a>
- </div>
- </div>
- {notempty name="$is_founder"}
- <div class="icon-link_add">
- <div title="加入导航显示" data-menu_id="2004018" class="iconfont e-jiahao2"></div>
- </div>
- {/notempty}
- </li>
- {/eq}
-
- {eq name="'Index@theme_index'|is_check_access" value="1"}
- {eq name='$main_lang' value='$admin_lang'}
- <li class="more_li" id="li_2004025" {if condition="in_array('2004025',$admin_menu_id_arr) || in_array('2004025',$not_role_menu_id_arr)"}style="display:none"{/if}>
- <div class="flex-dir-row flex-a-center">
- <div class="icon_bg icon_bg_no">
- <i class="iconfont f-20 e-zhutifengge col-848484" ></i>
- </div>
- <div class="ml-8 white-space">
- <a href="javascript:void(0);" data-href="{:url('Index/theme_index')}" onclick="gourl2(this,1);">主题风格</a>
- </div>
- </div>
- {notempty name="$is_founder"}
- <div class="icon-link_add">
- <div title="加入导航显示" data-menu_id="2004025" class="iconfont e-jiahao2"></div>
- </div>
- {/notempty}
- </li>
- {/eq}
- {/eq}
-
- {eq name="'Foreign@index'|is_check_access" value="1"}
- {if condition="$php_servicemeal >= 1 && $main_lang == $admin_lang"}
- <li class="more_li" id="li_2004026" {if condition="in_array('2004026',$admin_menu_id_arr) || in_array('2004026',$not_role_menu_id_arr)"}style="display:none"{/if}>
- <div class="flex-dir-row flex-a-center">
- <div class="icon_bg icon_bg_no">
- <i class="iconfont f-20 e-waimaoshezhi col-848484" ></i>
- </div>
- <div class="ml-8 white-space">
- <a href="javascript:void(0);" data-href="{:url('Foreign/index')}" onclick="gourl2(this,1);">外贸助手</a>
- </div>
- </div>
- {notempty name="$is_founder"}
- <div class="icon-link_add">
- <div title="加入导航显示" data-menu_id="2004026" class="iconfont e-jiahao2"></div>
- </div>
- {/notempty}
- </li>
- {/if}
- {/eq}
- </ul>
- </div>
- </div>
-
- {eq name='$main_lang' value='$admin_lang'}
- <div class="on-off_list_bg bg-fff" id="shangchengmokuai" style="display: block;">
- <div class="son-tit">
- <div class="f-16 col-373737">商城模块</div>
- </div>
- <div class="on-off_list" id="shangchengmokuai_child" style="display: block;">
- <ul class="flex-dir-row flex-wrap">
- {eq name="'Shop@index'|is_check_access" value="1"}
- <li class="more_li" id="li_2008" {if condition="in_array('2008',$admin_menu_id_arr) || in_array('2008',$not_role_menu_id_arr)"}style="display:none"{/if}>
- <div class="flex-dir-row flex-a-center">
- <div class="icon_bg icon_bg_no">
- <i class="iconfont f-20 e-shangcheng col-848484" ></i>
- </div>
- <div class="ml-8 white-space">
- <a href="javascript:void(0);" data-href="{:url('Shop/home',['conceal'=>'1'])}" onclick="gourl2(this,1);">商城中心</a>
- </div>
- </div>
- {notempty name="$is_founder"}
- <div class="icon-link_add">
- <div title="加入导航显示" data-menu_id="2008" class="iconfont e-jiahao2"></div>
- </div>
- {/notempty}
- </li>
- {/eq}
-
- {eq name="'Statistics@index'|is_check_access" value="1"}
- <li class="more_li" id="li_2008001" {if condition="in_array('2008001',$admin_menu_id_arr) || in_array('2008001',$not_role_menu_id_arr)"}style="display:none"{/if}>
- <div class="flex-dir-row flex-a-center">
- <div class="icon_bg icon_bg_no">
- <i class="iconfont f-20 e-shujutongji col-848484" ></i>
- </div>
- <div class="ml-8 white-space">
- <a href="javascript:void(0);" data-href="{:url('Statistics/index',['conceal'=>'1'])}" onclick="gourl2(this,1);">数据统计</a>
- </div>
- </div>
- {notempty name="$is_founder"}
- <div class="icon-link_add">
- <div title="加入导航显示" data-menu_id="2008001" class="iconfont e-jiahao2"></div>
- </div>
- {/notempty}
- </li>
- {/eq}
-
- {eq name="'ShopProduct@index'|is_check_access" value="1"}
- <li class="more_li" id="li_2008002" {if condition="in_array('2008002',$admin_menu_id_arr) || in_array('2008002',$not_role_menu_id_arr)"}style="display:none"{/if}>
- <div class="flex-dir-row flex-a-center">
- <div class="icon_bg icon_bg_no">
- <i class="iconfont f-20 e-shangpinguanli col-848484" ></i>
- </div>
- <div class="ml-8 white-space">
- <a href="javascript:void(0);" data-href="{:url('ShopProduct/index',['conceal'=>'1'])}" onclick="gourl2(this,1);">商品管理</a>
- </div>
- </div>
- {notempty name="$is_founder"}
- <div class="icon-link_add">
- <div title="加入导航显示" data-menu_id="2008002" class="iconfont e-jiahao2"></div>
- </div>
- {/notempty}
- </li>
- {/eq}
-
- {eq name="'ShopProduct@attrlist_index'|is_check_access" value="1"}
- <li class="more_li" id="li_2008003" {if condition="in_array('2008003',$admin_menu_id_arr) || in_array('2008003',$not_role_menu_id_arr)"}style="display:none"{/if}>
- <div class="flex-dir-row flex-a-center">
- <div class="icon_bg icon_bg_no">
- <i class="iconfont f-20 e-shangpincanshu col-848484" ></i>
- </div>
- <div class="ml-8 white-space">
- <a href="javascript:void(0);" data-href="{:url('ShopProduct/attrlist_index',['conceal'=>'1'])}" onclick="gourl2(this,1);">商品参数</a>
- </div>
- </div>
- {notempty name="$is_founder"}
- <div class="icon-link_add">
- <div title="加入导航显示" data-menu_id="2008003" class="iconfont e-jiahao2"></div>
- </div>
- {/notempty}
- </li>
- {/eq}
-
- {eq name="'Shop@home'|is_check_access" value="1"}
- <li class="more_li" id="li_2008008" {if condition="in_array('2008008',$admin_menu_id_arr) || in_array('2008008',$not_role_menu_id_arr)"}style="display:none"{/if}>
- <div class="flex-dir-row flex-a-center">
- <div class="icon_bg icon_bg_no">
- <i class="iconfont f-20 e-shangpinguige col-848484" ></i>
- </div>
- <div class="ml-8 white-space">
- <a href="javascript:void(0);" data-href="{:url('Shop/spec_index')}" onclick="gourl2(this,1);">商品规格</a>
- </div>
- </div>
- {notempty name="$is_founder"}
- <div class="icon-link_add">
- <div title="加入导航显示" data-menu_id="2008008" class="iconfont e-jiahao2"></div>
- </div>
- {/notempty}
- </li>
- {/eq}
-
- {eq name="'Shop@conf'|is_check_access" value="1"}
- <li class="more_li" id="li_2008004" {if condition="in_array('2008004',$admin_menu_id_arr) || in_array('2008004',$not_role_menu_id_arr)"}style="display:none"{/if}>
- <div class="flex-dir-row flex-a-center">
- <div class="icon_bg icon_bg_no">
- <i class="iconfont f-20 e-shangchengpeizhi col-848484" ></i>
- </div>
- <div class="ml-8 white-space">
- <a href="javascript:void(0);" data-href="{:url('Shop/conf',['conceal'=>'1'])}" onclick="gourl2(this,1);">商城配置</a>
- </div>
- </div>
- {notempty name="$is_founder"}
- <div class="icon-link_add">
- <div title="加入导航显示" data-menu_id="2008004" class="iconfont e-jiahao2"></div>
- </div>
- {/notempty}
- </li>
- {/eq}
-
- {if condition="true || !empty($marketFunc)"}
- {eq name="'Shop@market_index'|is_check_access" value="1"}
- <li class="more_li" id="li_2008005" {if condition="in_array('2008005',$admin_menu_id_arr) || in_array('2008005',$not_role_menu_id_arr)"}style="display:none"{/if}>
- <div class="flex-dir-row flex-a-center">
- <div class="icon_bg icon_bg_no">
- <i class="iconfont f-20 e-yingxiaogongneng col-848484" ></i>
- </div>
- <div class="ml-8 white-space">
- <a href="javascript:void(0);" data-href="{:url('Shop/market_index',['conceal'=>'1'])}" onclick="gourl2(this,1);">营销功能</a>
- </div>
- </div>
- {notempty name="$is_founder"}
- <div class="icon-link_add">
- <div title="加入导航显示" data-menu_id="2008005" class="iconfont e-jiahao2"></div>
- </div>
- {/notempty}
- </li>
- {/eq}
- {/if}
- </ul>
- </div>
- </div>
- {/eq}
-
- <div class="on-off_list_bg bg-fff" id="seomokuai" style="display: block;">
- <div class="son-tit">
- <div class="f-16 col-373737">SEO模块</div>
- </div>
- <div class="on-off_list" id="seomokuai_child" style="display: block;">
- <ul class="flex-dir-row flex-wrap">
- {eq name="'Seo@seo'|is_check_access" value="1"}
- {eq name='$main_lang' value='$admin_lang'}
- <li class="more_li" id="li_2003" {if condition="in_array('2003',$admin_menu_id_arr) || in_array('2003',$not_role_menu_id_arr)"}style="display:none"{/if}>
- <div class="flex-dir-row flex-a-center">
- <div class="icon_bg icon_bg_no">
- <i class="iconfont f-20 e-seo col-848484" ></i>
- </div>
- <div class="ml-8 white-space">
- <a href="javascript:void(0);" data-href="{:url('Seo/seo')}" onclick="gourl2(this,1);">SEO设置</a>
- </div>
- </div>
- {notempty name="$is_founder"}
- <div class="icon-link_add">
- <div title="加入导航显示" data-menu_id="2003" class="iconfont e-jiahao2"></div>
- </div>
- {/notempty}
- </li>
- {/eq}
- {/eq}
-
- {eq name="'Seo@build'|is_check_access" value="1"}
- {eq name='$main_lang' value='$admin_lang'}
- <li class="more_li" id="li_2004016" {if condition="in_array('2004016',$admin_menu_id_arr) || in_array('2004016',$not_role_menu_id_arr)"}style="display:none"{/if}>
- <div class="flex-dir-row flex-a-center">
- <div class="icon_bg icon_bg_no">
- <i class="iconfont f-20 e-jingtaishengcheng col-848484" ></i>
- </div>
- <div class="ml-8 white-space">
- <a href="javascript:void(0);" data-href="{:url('Seo/build')}" onclick="gourl2(this,1);">html生成</a>
- </div>
- </div>
- {notempty name="$is_founder"}
- <div class="icon-link_add">
- <div title="加入导航显示" data-menu_id="2004016" class="iconfont e-jiahao2"></div>
- </div>
- {/notempty}
-
- </li>
- {/eq}
- {/eq}
-
- {eq name="'Sitemap@index'|is_check_access" value="1"}
- {eq name='$main_lang' value='$admin_lang'}
- <li class="more_li" id="li_2003002" {if condition="in_array('2003002',$admin_menu_id_arr) || in_array('2003002',$not_role_menu_id_arr)"}style="display:none"{/if}>
- <div class="flex-dir-row flex-a-center">
- <div class="icon_bg icon_bg_no">
- <i class="iconfont e-Sitemap f-20 col-848484" ></i>
- </div>
- <div class="ml-8 white-space">
- <a href="javascript:void(0);" data-href="{:url('Sitemap/index')}" onclick="gourl2(this,1);">Sitemap</a>
- </div>
- </div>
- {notempty name="$is_founder"}
- <div class="icon-link_add">
- <div title="加入导航显示" data-menu_id="2003002" class="iconfont e-jiahao2"></div>
- </div>
- {/notempty}
-
- </li>
- {/eq}
- {/eq}
-
- {eq name="'Links@index'|is_check_access" value="1"}
- <li class="more_li" id="li_2003003" {if condition="in_array('2003003',$admin_menu_id_arr) || in_array('2003003',$not_role_menu_id_arr)"}style="display:none"{/if}>
- <div class="flex-dir-row flex-a-center">
- <div class="icon_bg icon_bg_no">
- <i class="iconfont e-youqinglianjie1 f-20 col-848484" ></i>
- </div>
- <div class="ml-8 white-space">
- <a href="javascript:void(0);" data-href="{:url('Links/index')}" onclick="gourl2(this,1);">友情链接</a>
- </div>
- </div>
- {notempty name="$is_founder"}
- <div class="icon-link_add">
- <div title="加入导航显示" data-menu_id="2003003" class="iconfont e-jiahao2"></div>
- </div>
- {/notempty}
- </li>
- {/eq}
- </ul>
- </div>
- </div>
- </div>
- <input type="hidden" name="is_themeusers_exist" id="is_themeusers_exist" value="{$is_themeusers_exist}">
- <input type="hidden" name="is_themeshop_exist" id="is_themeshop_exist" value="{$is_themeshop_exist}">
- </div>
-
- <script type="text/javascript">
- var all_menu_list = {$all_menu_list|json_encode};
- var module_rele_menu = {$module_rele_menu|json_encode};
- var module_default_menu = {$module_default_menu|json_encode};
- var module_reverse_menu = {$module_reverse_menu|json_encode};
- var not_role_menu_id_arr = {$not_role_menu_id_arr|json_encode};
- var update_admin_menu_url = "{:url('Ajax/update_admin_menu', ['_ajax'=>1])}"; //添加、删除入口地址
- var is_founder = {$is_founder};
- /*
- * 1、给gengduogongneng类第2N个元素加上class,
- * 2、其中一个子元素的高大于100,其他的高也设置为相同
- */
- function add_show2n_class(child,id) {
- var min_height = 100;
- var max_height = 0;
- var childs = 1;
- $(id).find(child).css('min-height',min_height);
- $(id).find(child).each(function (index,element) {
- height = $(element).get(0).offsetHeight; //获取真实高度 height + padding + border
- if(height > max_height){
- max_height = height;
- }
- $(element).removeClass("show_2n");
- if (!$(element).is(":hidden")){
- childs ++;
- if (childs%2){
- $(element).addClass("show_2n");
- }
- }
- });
- if (max_height > min_height){
- $(id).find(child).css('min-height',max_height);
- }
- }
- /*
- * 判断element中是否还有显示的子元素,来控制本元素,以及上级元素的显示和隐藏
- * flag 为true时候,需要先将所有父元素设置未显示状态
- * child 子元素
- * id 当前待检测元素块
- * parent 跟id同时隐藏显示的元素
- */
- function div_visible(flag,child,id,parent) {
- if (flag){
- $(id).show();
- $(parent).show();
- }
- var has_child = false;
- $(id).find(child).each(function (index,element) {
- if (!$(element).is(":hidden")){
- has_child = true;
- }
- });
- if (has_child){ //存在显示子元素
- $(id).show();
- $(parent).show();
- }else{
- $(id).hide();
- $(parent).hide();
- }
- }
- //通过判断模块是否还存在子组件来决定是否显示,flag为true时候,需要先将所有父元素设置未显示状态
- function module_visible(flag) {
- $('#gengduogongneng').show(); //必须先把最顶级设置为显示,下级判断显示隐藏才有效
- div_visible(flag,'.more_li','#mokuaikaiguan');
- div_visible(flag,'.more_li','#gaojixuanxiang_child','#gaojixuanxiang');
- div_visible(flag,'.more_li','#wendangxiagnguan_child','#wendangxiagnguan');
- div_visible(flag,'.more_li','#shangchengmokuai_child','#shangchengmokuai');
- div_visible(flag,'.more_li','#dingdanmokuai_child','#dingdanmokuai');
- div_visible(flag,'.more_li','#seomokuai_child','#seomokuai');
- div_visible(flag,'.more_li','#gengduogongneng');
-
- add_show2n_class('.on-off_list_bg','#gengduogongneng');
- }
- //添加模块菜单到导航和左侧菜单
- function add_menu(menu_id,controller_name,action_name,param,icon,title) {
- $.ajax({
- type: "POST",
- url: update_admin_menu_url,
- data: {title:title,controller_name:controller_name,action_name:action_name,menu_id:menu_id,icon:icon,param:param,type:1},
- dataType: 'json',
- success:function (res) {
- if(res.code == 1){
- $('#li_'+menu_id).hide();
- // $('#li_'+menu_id).find(".e-jiahao2").removeClass("e-jianhao");
- //添加"我的菜单"
- if(is_founder !== 1){ //没有权限取消
- var my_html = '<li class="more_li" data-id="'+menu_id+'" id="my_menu_'+menu_id+'"> ' +
- '<div class="flex-dir-row flex-a-center"> ' +
- '<div class="icon_bg"> ' +
- '<i class="'+ icon +' f-20 on" ></i> ' +
- ' </div> ' +
- ' <div class="ml-8"> ' +
- ' <a href="javascript:void(0);" data-href="'+res.data.url+'" onclick="gourl2(this,1);">'+title+'</a> ' +
- '</div> ' +
- '</div> ' +
- ' </li>';
- }else{
- var my_html = '<li title="拖动改变排序" class="more_li" data-id="'+menu_id+'" id="my_menu_'+menu_id+'"> ' +
- '<div class="flex-dir-row flex-a-center"> ' +
- '<div class="icon_bg"> ' +
- '<i class="'+ icon +' f-20 on" ></i> ' +
- ' </div> ' +
- ' <div class="ml-8"> ' +
- ' <a href="javascript:void(0);" data-href="'+res.data.url+'" onclick="gourl2(this,1);">'+title+'</a> ' +
- '</div> ' +
- '</div> ' +
- '<div class="icon-link_add"> ' +
- ' <div title="取消导航显示" data-menu_id="'+menu_id+'" class="iconfont e-jiahao2 e-jianhao"></div> ' +
- ' </div> ' +
- ' </li>';
- }
-
- //添加左侧菜单
- var html = '<a data-child="0" data-id="'+menu_id+ '" class="left_menu_'+menu_id+ ' '+controller_name+'_'+action_name+'_'+menu_id+'" id="'+controller_name+'_'+action_name+'" data-menu_id="' + menu_id + '" href="javascript:void(0);" data-param="'+controller_name+'|'+action_name+param+'" >'
- +'<i class="'+icon+'"></i>'+title+'</a>';
- if ($("#my_menu_2004")){
- $("#my_menu_2004").before(my_html);
- parent.$(".left_menu_2004").before(html);
- }else{
- $("#my_menu").append(my_html);
- parent.$("#sub-menu").append(html);
- }
- module_visible();
- }
- return false;
- }
- });
-
- }
- $(function(){
- //通过判断模块是否还存在子组件来决定是否显示
- module_visible();
- // 当前导航的拖动排序相关 js
- if(is_founder === 1){
- $( ".sort-list" ).sortable({
- start: function( event, ui) {
- }
- ,stop: function( event, ui ) {
- if(is_founder !== 1){
- return false;
- }
- // 这里ajax实现保存排序逻辑
- var ul =$("<ul></ul>");
- var idarr = [];
- $(".sort-list").children().each(function () {
- var id = $(this).data("id");
- var li = parent.$("#sub-menu").find(".left_menu_"+id);
- ul.append(li);
- idarr.push(id);
-
- });
- parent.$("#sub-menu").empty().append(ul);
- //保存数据
- $.ajax({
- type: "POST",
- url: "{:url('Ajax/ajax_move_admin_menu', ['_ajax'=>1])}",
- data: {menu_id:idarr},
- dataType: 'json',
- success:function (res) {
- if(res.code == 1){
- console.log("修改完成");
- }
- return false;
- }
- });
-
- }
- });
- //因为他们要拖动,所以尽量设置他们的文字不能选择。
- $( ".sort-list" ).disableSelection();
- }
- //添加、取消成为栏目
- $(".bodystyle").on('click','.e-jiahao2',function () {
- if(is_founder !== 1){
- return false;
- }
- var menu_id = $(this).data('menu_id');
- var title = all_menu_list[menu_id]['name'] ;
- var controller_name = all_menu_list[menu_id]['controller'] ;
- var action_name = all_menu_list[menu_id]['action'] ;
- var param = all_menu_list[menu_id]['param'] === undefined ? '' : all_menu_list[menu_id]['param'];
- var icon = all_menu_list[menu_id]['icon'] ;
- var url = $(this).data('url');
- if($(this).hasClass('e-jianhao')){ //原本为“已添加”,去除"我的菜单",修改下面块为“未添加”模式,且显示
- $.ajax({
- type: "POST",
- url: update_admin_menu_url,
- data: {title:title,controller_name:controller_name,action_name:action_name,menu_id:menu_id,icon:icon,param:param,type:2},
- dataType: 'json',
- success:function (res) {
- if(res.code == 1){
- $('#li_'+menu_id).show();
- //删除"我的菜单"
- $("#my_menu_"+menu_id).remove();
- //去除左侧菜单
- parent.$("."+controller_name+'_'+action_name+'_'+menu_id).remove();
- module_visible(1);
- }
- return false;
- }
- });
- }else{ //原本为“未添加”,添加;添加到"我的菜单",修改下面块为"添加"模式,且隐藏
- add_menu(menu_id,controller_name,action_name,param,icon,title);
- }
- // $(this).toggleClass("e-jianhao");
- return false;
- })
- });
- layui.use(['form'], function() {
- var form = layui.form,
- layer = layui.layer
- //监听指定开关
- form.on('switch(switchTest)', function(data) {
- var name = $(this).attr('data-name');
- var type = $(this).attr('data-type');
- if (this.checked) {
- $(this).val(1);
- ajax_submit(this, type, name, 1);
- } else {
- $(this).val(0);
- ajax_submit(this, type, name, 0);
- }
- });
- form.on('switch(switchTest2)', function(data) {
- var name = $(this).attr('data-name');
- var type = $(this).attr('data-type');
- if (this.checked) {
- $(this).val(1);
- ajax_submit(this, type, name, 1);
- } else {
- $(this).val(-1);
- ajax_submit(this, type, name, -1);
- }
- });
- });
- /*
- * 开启模块开关
- * name 按钮的name属性 web[web_users_switch]
- */
- function open_module(name) {
- $('input[name="'+name+'"]').attr('checked', 'checked');
- $('input[name="'+name+'"]').val(1);
- $('input[name="'+name+'"]').next().addClass('layui-form-onswitch');
- $('input[name="'+name+'"]').next().html('<em>开启</em><i></i>');
- }
- /*
- * 关闭模块开关
- * name 按钮的name属性 web[web_users_switch]
- */
- function close_module(name) {
- $('input[name="'+name+'"]').removeAttr('checked');
- $('input[name="'+name+'"]').val(0);
- $('input[name="'+name+'"]').next().removeClass('layui-form-onswitch');
- $('input[name="'+name+'"]').next().html('<em>关闭</em><i></i>');
- }
- /*
- * 显示模块关联左边菜单、内页按钮,判断是否已经存在”当前导航“中,如果不存在,才需要显示下方模块中的入口
- * name 数组模块名称[]数组
- */
- function show_module_menu(name){
- for(var i=0;i<name.length;i++){
- //添加默认入口
- var default_menu = module_default_menu[name[i]];
- if (default_menu){
- for (var d=0;d<default_menu.length;d++){
- var menu_id = all_menu_list[default_menu[d]]['id'] ;
- if ($('#my_menu_'+menu_id).length < 1){ // && not_role_menu_id_arr.indexOf(menu_id) === -1
- var title = all_menu_list[menu_id]['name'] ;
- var controller_name = all_menu_list[menu_id]['controller'] ;
- var action_name = all_menu_list[menu_id]['action'] ;
- var param = all_menu_list[menu_id]['param'] === undefined ? '' : all_menu_list[menu_id]['param'];
- var icon = all_menu_list[menu_id]['icon'] ;
- add_menu(menu_id,controller_name,action_name,param,icon,title);
- }
- }
- }
- //显示入口
- var rele_menu = module_rele_menu[name[i]];
- if (rele_menu){
- for (var j=0;j<rele_menu.length;j++){
- if (rele_menu[j] && all_menu_list[rele_menu[j]] && all_menu_list[rele_menu[j]]['id']){ // && not_role_menu_id_arr.indexOf(all_menu_list[rele_menu[j]]['id']) === -1
- var left_menu_class = "left_menu_" + all_menu_list[rele_menu[j]]['id'];
- var my_menu_id = "my_menu_" + all_menu_list[rele_menu[j]]['id'];
- var li_id = "li_" + all_menu_list[rele_menu[j]]['id'];
- if(parent.$('.'+left_menu_class).length > 0){
- $('.'+left_menu_class,window.parent.document).show();
- }
- if ($('#'+my_menu_id).length){
- $('#'+my_menu_id).show(); //在当前导航中显示
- }else{
- $('#'+li_id).show();
- }
- }
- }
- }
- //关闭反关联入口
- var reverse_menu = module_reverse_menu[name[i]];
- if (reverse_menu){
- for (var j=0;j<reverse_menu.length;j++){
- if (reverse_menu[j] && all_menu_list[reverse_menu[j]] && all_menu_list[reverse_menu[j]]['id']){
- var left_menu_class = "left_menu_" + all_menu_list[reverse_menu[j]]['id'];
- var my_menu_id = "my_menu_" + all_menu_list[reverse_menu[j]]['id'];
- var li_id = "li_" + all_menu_list[reverse_menu[j]]['id'];
- if(parent.$('.'+left_menu_class).length > 0){
- $('.'+left_menu_class,window.parent.document).hide();
- }
- $('#'+my_menu_id).hide();
- $('#'+li_id).hide();
- }
- }
- }
- }
- module_visible(1);
- }
- /*
- * 隐藏模块关联左边菜单、内页按钮
- * name 数组模块名称[]数组
- */
- function hide_module_menu(name) {
- for(var i=0;i<name.length;i++){
- var rele_menu = [];
- if (!module_rele_menu[name[i]+'-close'] === false) {
- rele_menu = module_rele_menu[name[i]+'-close'];
- } else {
- rele_menu = module_rele_menu[name[i]];
- }
- if (rele_menu){
- for (var j=0;j<rele_menu.length;j++){
- if (rele_menu[j] && all_menu_list[rele_menu[j]] && all_menu_list[rele_menu[j]]['id']){
- var left_menu_class = "left_menu_" + all_menu_list[rele_menu[j]]['id'];
- var my_menu_id = "my_menu_" + all_menu_list[rele_menu[j]]['id'];
- var li_id = "li_" + all_menu_list[rele_menu[j]]['id'];
- if(parent.$('.'+left_menu_class).length > 0){
- $('.'+left_menu_class,window.parent.document).hide();
- }
- $('#'+my_menu_id).hide();
- $('#'+li_id).hide();
- }
- }
- }
-
- }
- module_visible();
- }
-
- /*
- * 提交表单obj
- */
- function ajax_submit(obj, inc_type, name, value){
- var _parent = parent;
- var is_force = $(obj).attr('data-is_force');
- var lmenuid = $(obj).attr('data-lmenuid');
- var url = "{:url('Index/switch_map', ['_ajax'=>1])}";
- var syn_open_users = false; // 是否同步开启会员中心
- var syn_close_users = false; //是否同步关闭会员中心管辖的其他模块(会员投稿、会员升级、商城中心、支付功能)
- var syn_module_menu = [name];
- // 验证权限,且判断同步
- switch (name){
- case 'shop_open':
- case 'pay_open':
- case 'users_open_release':
- case 'level_member_upgrade':
- if (-1 < $.inArray(name, ['shop_open','pay_open']))
- {
- if(false == check_shop_open())
- {
- return false;
- }
- } else if (-1 < $.inArray(name, ['users_open_release','level_member_upgrade']))
- {
- if(false == check_users_open_release())
- {
- return false;
- }
- }
- // 同时开启会员中心
- if (1 == value) {
- syn_open_users = true;
- syn_module_menu.push('web_users_switch');
- }
- break;
- case 'web_users_switch':
- // 同步关闭会员中心管辖的其他模块(会员投稿、会员升级、商城中心、支付功能)
- if (0 == value) {
- syn_close_users = true;
- syn_module_menu.push('shop_open','pay_open','users_open_release','level_member_upgrade');
- }
- break;
- }
- if (1 == $('#is_themeusers_exist').val()) {
- $('#is_themeusers_exist').val(0)
- loadmsg = '初始化中';
- } else if (1 == $('#is_themeshop_exist').val()) {
- $('#is_themeshop_exist').val(0)
- loadmsg = '初始化中';
- } else {
- loadmsg = '正在处理';
- }
- parent_layer_loading(loadmsg);
-
- $.ajax({
- type: "POST",
- url: url,
- data: {inc_type:inc_type,name:name,value:value,is_force:is_force},
- dataType: 'json',
- success: function (res) {
- if(res.code == 1){
- // 同时开启会员中心
- if (true == syn_open_users) {
- open_module("web[web_users_switch]");
- }
- //关闭会员中心管辖的其他模块(会员投稿、会员升级、商城中心、支付功能)
- if (true == syn_close_users){
- close_module("users[users_open_release]");
- close_module("level[level_member_upgrade]");
- close_module("shop[shop_open]");
- close_module("pay[pay_open]");
- }
- // 控制顶部与左侧菜单的显示与隐藏
- if (value == 1){ //显示
- if(parent.$('#'+lmenuid).length > 0 || ('web_citysite_open' == name && parent.$('#Language_index').length > 0)){
- $('#'+lmenuid, window.parent.document).show();
- if ('web_language_switch' == name) {
- $('#'+lmenuid+'_span', window.parent.document).show();
- }
- if ('web_citysite_open' == name) {
- $('#Language_index', window.parent.document).hide();
- $('#Language_index_span', window.parent.document).hide();
- }
- }
- show_module_menu(syn_module_menu);
- }else{
- if(parent.$('#'+lmenuid).length > 0){
- $('#'+lmenuid, window.parent.document).hide();
- if ('web_language_switch' == name) {
- $('#'+lmenuid+'_span', window.parent.document).hide();
- }
- }
- hide_module_menu(syn_module_menu);
- }
-
- _parent.layer.closeAll();
- // 根据不同场景进行页面加载的处理
- if ('web_citysite_open' == name && 1 == is_force) {
- _parent.layer.alert(res.msg, {icon: 6, title: false, closeBtn: false}, function(index){
- if (1 == res.data.reload) {
- _parent.layer.close(index);
- window.location.reload();
- }
- });
- } else {
- _parent.layer.msg(res.msg, {icon: 1, time: 800}, function(){
- if (1 == res.data.reload) {
- window.location.reload();
- } else if (2 == res.data.reload) {
- top.window.location.reload();
- }
- });
- }
- }else{
- //数据设置失败,回复按钮
- if (value == 0){ //原来是打开状态
- open_module(inc_type+"["+name+"]");
- }else{
- close_module(inc_type+"["+name+"]");
- }
- if (1 == res.data.code) {
- _parent.layer.closeAll();
- _parent.layer.alert(res.msg, {btn: ['购买授权'], icon: 4, title:false}, function(){
- _parent.layer.closeAll();
- window.location.reload();
- window.open('https://www.eyoucms.com/buy');
- });
- } else {
- if (-1 < $.inArray(name, ['web_citysite_open', 'web_language_switch'])) {
- _parent.layer.closeAll();
- _parent.layer.alert(res.msg, {icon: 7, title:false, closeBtn:false, btn:['强制开启', '取消']}, function(){
- _parent.layer.closeAll();
- $(obj).attr('data-is_force', 1);
- open_module("web["+name+"]");
- if ('web_language_switch' == name) {
- close_module("web[web_citysite_open]");
- } else if ('web_citysite_open' == name) {
- close_module("web[web_language_switch]");
- }
- ajax_submit(obj, inc_type, name, value);
- });
- } else {
- _parent.layer.closeAll();
- _parent.layer.alert(res.msg, {icon: 5, title:false, closeBtn:false}, function(){
- _parent.layer.closeAll();
- window.location.reload();
- });
- }
- }
- }
- },
- error:function(e){
- _parent.layer.closeAll();
- _parent.layer.alert(e.responseText, {icon: 5, title:false, closeBtn: false}, function(){
- _parent.layer.closeAll();
- window.location.reload();
- });
- }
- });
- }
- //打开链接
- function gourl2(obj,type){
- var security_ask_open = {$security_ask_open|default=0};
- var menu_id = $(obj).data('menu_id');
- if (2004003 == menu_id) {
- if (0 == security_ask_open) {
- showConfirm('需要设置密保问题验证才可以继续', {btn:['去设置', '取消']}, function(){
- layer.closeAll();
- var iframes = layer.open({
- type: 2,
- title: '安全验证中心',
- fixed: true, //不固定
- shadeClose: false,
- shade: layer_shade,
- offset: 'auto',
- // maxmin: true, //开启最大化最小化按钮
- area: ['100%', '100%'],
- content: "{:url('Security/second_ask_init', ['gourl'=>url('Filemanager/index')])}",
- success: function(layero, index){
-
- }
- });
- layer.full(iframes);
- });
- return false;
- }
- }
- var leftmenu = $(obj).data('leftmenu');
- var href = $(obj).data('href');
- $('.eycms_cont_left .sub-menu a', window.parent.document).removeClass('on');
- $('.eycms_cont_left .sub-menu dl.jslist dt', window.parent.document).removeClass('on');
-
- if (2 == type) {
- $('#'+leftmenu+' dt', window.parent.document).addClass('on');
- } else {
- $('#'+leftmenu, window.parent.document).addClass('on');
- }
- window.location.href = href;
- }
- //检查是否有权限使用商城(是否授权)
- function check_shop_open(){
- var obj = $('input[name="shop[shop_open]"]:checked');
- var is_online = (obj).attr('data-is_online');
- if (1 == is_online) {
- var shop_open = $(obj).val();
- if (1 == shop_open && $(obj).attr('data-authortoken') == -1) {
- close_module("shop[shop_open]");
- var alert1 = layer.alert('订单功能只限于授权域名!', {
- icon: 4,
- shade: layer_shade,
- title:false,
- btn: ['购买授权']
- }, function(){
- window.open('https://www.eyoucms.com/buy');
- layer.close(alert1);
- });
- return false;
- }
- }
- return true;
- }
- //检查是否有权限使用会员投稿功能(是否授权)
- function check_users_open_release(){
- var obj = $('input[name="users[users_open_release]"]:checked');
- var is_online = $(obj).attr('data-is_online');
- if (1 == is_online) {
- var users_open_release = $(obj).val();
- if (1 == users_open_release && $(obj).attr('data-authortoken') == -1) {
- close_module("users[users_open_release]");
- var alert1 = layer.alert('会员投稿功能只限于授权域名!', {
- icon: 4,
- shade: layer_shade,
- title:false,
- btn: ['购买授权']
- }, function(){
- window.open('https://www.eyoucms.com/buy');
- layer.close(alert1);
- });
- return false;
- }
- }
- return true;
- }
- </script>
- </body>
- </html>
|