昔时魔力 发表于 2026-3-18 00:00:00

自定义功能面板

<style>
    /* 基础样式:默认全白背景,仅hover变色 */
    .forum-post {
      color: #333;
      line-height: 1.8;
      font-size: 14px;
      padding: 15px;
      border-radius: 8px;
      margin: 0 auto;
      background-color: #ffffff; /* 整体默认白色 */
    }
    .post-title {
      font-size: 28px;
      color: #fff;
      margin: 0 0 25px 0;
      padding: 18px 20px;
      border-bottom: none;
      font-weight: 800;
      text-align: center;
      letter-spacing: 2px;
      background: #c86428; /* 标题保留主色 */
      border-radius: 10px;
      text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
      box-shadow: 0 4px 8px rgba(200, 100, 40, 0.2);
      position: relative;
    }
    .post-title::before, .post-title::after {
      content: "★";
      color: #fff8e8;
      margin: 0 12px;
      font-size: 20px;
      opacity: 0.8;
    }
    .section-title {
      font-size: 18px;
      color: #c86428;
      margin: 25px 0 15px 0;
      font-weight: 700;
      padding: 8px 0 8px 12px;
      border-left: 4px solid #c86428;
      background-color: #ffffff;
    }
    /* 核心表格样式 */
    .info-table {
      width: 100%;
      border-collapse: separate;
      border-spacing: 0;
      margin: 10px 0;
      border-radius: 6px;
      overflow: hidden;
      box-shadow: 0 1px 3px rgba(0,0,0,0.05);
      background-color: #ffffff;
    }
    .info-table th, .info-table td {
      padding: 10px 12px;
      border: 1px solid #f0e6d8;
      vertical-align: middle;
      font-size: 14px;
      background-color: #ffffff;
      transition: background-color 0.2s ease;
    }
    .info-table th {
      color: #fff;
      font-weight: 600;
      text-align: center;
      background-color: #c86428;
    }
    .info-table tr:hover td {
      background-color: #f7f1e5;
    }
    /* 子表格样式(倍率表) */
    .sub-table {
      width: 100%;
      border-collapse: collapse;
      margin: 10px 0;
      background: #fff;
    }
    .sub-table th, .sub-table td {
      border: 1px solid #f0e6d8;
      padding: 8px;
      text-align: center;
      font-size: 13px;
    }
    /* 内容块 */
    .content-text {
      margin: 12px 0;
      line-height: 1.9;
      padding: 15px;
      border-radius: 6px;
      border: 1px solid #f0e6d8;
      transition: background-color 0.2s ease;
      background-color: #ffffff;
    }
    .content-text:hover {
      background-color: #f7f1e5;
    }
    .system-list {
      margin: 0;
      padding-left: 20px;
      list-style-type: disc;
    }
    .system-list li {
      margin: 8px 0;
      line-height: 1.9;
    }
    .red-text {
      color: #ff0000;
      font-weight: bold;
    }
    .subtitle {
      font-size: 15px;
      font-weight: bold;
      color: #000;
      margin: 12px 0 6px;
    }
    /* 移动端适配 */
    @media (max-width: 768px) {
      .post-title {
            font-size: 22px;
            padding: 12px 15px;
            letter-spacing: 1px;
      }
      .section-title {
            font-size: 16px;
      }
      .info-table th, .info-table td {
            padding: 8px 5px;
            font-size: 13px;
      }
    }
</style>

<div class="forum-post">
    <!-- 标题 -->
    <h1 class="post-title">自定义功能面板</h1>

    <!-- 系统基础信息 -->
    <h2 class="section-title">系统基础信息</h2>
    <table class="info-table">
      <tbody>
            <tr>
                <th style="width: 12%;">简介</th>
                <td style="width: 28%; text-align: left;">根据个人习惯,自定义功能面板</td>
                <!-- 图片区域已加宽到 60% -->
                <td rowspan="3" style="width: 60%;">
                  <div style="text-align: center; color: #999;"></div>
                </td>
            </tr>
            <tr>
                <th>Npc位置</th>
                <td style="text-align: left;">综合大厅(37.21)</td>
            </tr>
            <tr>
                <th>快捷按键</th>
                <td style="text-align: left;">--</td>
            </tr>
      </tbody>
    </table>

    <!-- 详细介绍 -->
    <h2 class="section-title">详细介绍</h2>
    <div class="content-text">
      <ol class="system-list" style="list-style-type: decimal; padding-left: 25px;">
            <li>打开序号查询,想好如何摆放边栏按钮并记下要摆放按钮的序号
                <div style="text-align:center; margin:8px 0; color:#999"></div>
            </li>
            <li>打开面板设置,如我想设边栏第一个按钮为打卡那么边栏序号填1,快捷功能序号填13
                <div style="text-align:center; margin:8px 0; color:#999"></div>
            </li>
            <li>目前暂不支持自定义功能数量,现固功能按钮数量为16个</li>
      </ol>
    </div>
</div>

页: [1]
查看完整版本: 自定义功能面板