1
zhang
13 小时以前 6cd6a403fc6e447d38b9d58ef940abea76c4fda4
open-rcs/pages/index-main.html
@@ -35,11 +35,12 @@
        /* 主体内容区域 */
        .main-container {
            max-width: 1400px;
            max-width: 1200px;
            margin: 20px auto;
            padding: 0 20px;
            display: flex;
            gap: 20px;
            justify-content: center;
        }
        /* 左侧边栏 */
@@ -61,6 +62,7 @@
        /* 主内容区 */
        .content-area {
            flex: 1;
            max-width: 900px;
            background-color: #fff;
            min-height: 800px;
        }
@@ -73,21 +75,7 @@
            display: block;
        }
        /* 右侧边栏 */
        .sidebar-right {
            width: 220px;
            background-color: #fff;
            height: fit-content;
            position: sticky;
            top: 140px;
        }
        #right-sidebar-frame {
            width: 100%;
            height: 600px;
            border: none;
            display: block;
        }
        /* 底部 */
        footer {
@@ -225,10 +213,7 @@
        <iframe id="content-frame" src="../components/content/content-interface-word.html"></iframe>
    </div>
    <!-- 右侧边栏 -->
    <div class="sidebar-right">
        <iframe id="right-sidebar-frame" src="../components/rightsidebar/rightsidebar-interface-word.html"></iframe>
    </div>
</div>
<!-- 底部 -->
@@ -292,18 +277,15 @@
    const tabConfig = {
        'platform-intro': {
            sidebar: '../components/sidebar/sidebar-platform-intro.html',
            content: '../components/content/content-platform-intro.html',
            rightSidebar: '../components/rightsidebar/rightsidebar-platform-intro.html'
            content: '../components/content/content-platform-intro.html'
        },
        'platform-spec': {
            sidebar: '../components/sidebar/sidebar-platform-spec.html',
            content: '../components/content/content-platform-spec.html',
            rightSidebar: '../components/rightsidebar/rightsidebar-platform-spec.html'
            content: '../components/content/content-platform-spec.html'
        },
        'interface-word': {
            sidebar: '../components/sidebar/sidebar-interface-word.html',
            content: '../components/content/content-interface-word.html',
            rightSidebar: '../components/rightsidebar/rightsidebar-interface-word.html'
            content: '../components/content/content-interface-word.html'
        }
    };
@@ -326,7 +308,6 @@
            // 更新iframe内容
            document.getElementById('sidebar-frame').src = config.sidebar;
            document.getElementById('content-frame').src = config.content;
            document.getElementById('right-sidebar-frame').src = config.rightSidebar;
            // 通知header更新active状态
            const headerFrame = document.getElementById('header-frame');