<?php /*a:3:{s:62:"D:\phpstudy\WWW\12xz\app\admin\view/default\public\header.html";i:1782629701;s:68:"D:\phpstudy\WWW\12xz\app\admin\view/default\public\page_loading.html";i:1782629701;s:71:"D:\phpstudy\WWW\12xz\app\admin\view/default\public\nav_switch_tabs.html";i:1782629701;}*/ ?>
<?php if(!empty($module_data['nav_data']) and is_array($module_data['nav_data'])): ?>
    <div class="nav-switch-tabs am-pr">
        <ul>
            <?php foreach($module_data['nav_data'] as $v): ?>
                <!-- 页面含有两级 -->
                <?php if(!empty($module_data['view_type']) and isset($module_data['view_type'])): ?>
                    <li class="<?php if($module_data['view_type'] == $v['type']): ?>am-active<?php endif; ?>" data-type="<?php echo htmlentities((string) $v['type']); ?>">
                        <a href="<?php echo MyUrl($module_data['url'], ['nav_type'=>$module_data['nav_type'], 'view_type'=>$v['type']]); ?>"><?php echo htmlentities((string) $v['name']); ?></a>
                    </li>
                <?php else: ?>
                    <!-- 页面只含有一级 -->
                    <li class="<?php if($module_data['nav_type'] == $v['type']): ?>am-active<?php endif; ?>" data-type="<?php echo htmlentities((string) $v['type']); ?>">
                        <a href="<?php echo MyUrl($module_data['url'], ['type'=>$v['type']]); ?>"><?php echo htmlentities((string) $v['name']); ?></a>
                    </li>
                <?php endif; ?>
            <?php endforeach; ?>
        </ul>
        <?php if(!empty($module_data['other']) and !empty($module_data['other_url'])): ?>
            <a class="more-text" href="<?php echo htmlentities((string) $module_data['other_url']); ?>" target="_blank" rel="noopener noreferrer">
                <i class="iconfont <?php if(empty($module_data['other_icon'])): ?>icon-download-btn<?php else: ?><?php echo htmlentities((string) $module_data['other_icon']); ?><?php endif; ?>"></i> 
                <span class="am-hide-sm-only am-margin-left-xs"><?php echo htmlentities((string) $module_data['other_name']); ?> </span>
            </a>
        <?php endif; ?>
    </div>
<?php endif; ?>