<div class="sidebar-second" id="conceal_1649209614" style="display: none;"> <ul> <li class="sidebar-second-title">商城中心</li> <li> <a {if condition="'Statistics' == $Think.const.CONTROLLER_NAME"}class="active"{/if} href='{:url("Statistics/index")}'>数据统计</a> </li> <li> <a {if condition="'ShopProduct' == $Think.const.CONTROLLER_NAME and in_array($Think.const.ACTION_NAME, ['index', 'add', 'edit'])"}class="active"{/if} href='{:url("ShopProduct/index")}'>商品管理</a> </li> <li> <a {if condition="'ShopProduct' == $Think.const.CONTROLLER_NAME and in_array($Think.const.ACTION_NAME, ['attrlist_index', 'attribute_index'])"}class="active"{/if} href='{:url("ShopProduct/attrlist_index")}'>商品参数</a> </li> {eq name='$usersConfig.shop_open_spec' value='1'} <li> <a {if condition="'Shop' == $Think.const.CONTROLLER_NAME and in_array($Think.const.ACTION_NAME, ['spec_index'])"}class="active"{/if} href='{:url("Shop/spec_index")}'>商品规格</a> </li> {/eq} {eq name='$usersConfig.shop_open_comment' value='1'} <li> <a {if condition="'ShopComment' == $Think.const.CONTROLLER_NAME and in_array($Think.const.ACTION_NAME, ['comment_index', 'comment_add', 'comment_details'])"}class="active"{/if} href='{:url("ShopComment/comment_index")}'>商品评价</a> </li> {/eq} <li> <a {if condition="'Shop' == $Think.const.CONTROLLER_NAME and 'conf' == $Think.const.ACTION_NAME"}class="active"{/if} href='{:url("Shop/conf")}'>商城配置</a> </li> {if condition="$php_servicemeal >= 2 && (true || !empty($marketFunc))"} <li> <a {if condition="(in_array($Think.const.CONTROLLER_NAME, ['Sharp','Coupon'])) OR ('Shop' == $Think.const.CONTROLLER_NAME and in_array($Think.const.ACTION_NAME, ['market_index']))"}class="active"{/if} href='{:url("Shop/market_index")}'>营销功能</a> </li> {/if} </ul> </div> {include file="public/conceal" /}