测试页面:修订间差异

来自SOKA CAFE
第9行: 第9行:
             padding: 0;
             padding: 0;
             box-sizing: border-box;
             box-sizing: border-box;
            font-family: "Microsoft YaHei", sans-serif;
         }
         }
.container {
        max-width: 1200px;
        margin: 0 auto;
        background: #fff;
        border-radius: 12px;
        padding: 20px;
        box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    }


        .container {
    .title-bar {
            max-width: 1200px;
        display: flex;
            margin: 0 auto;
        align-items: center;
            background: #fff;
        justify-content: center;
            border-radius: 12px;
        margin-bottom: 20px;
            padding: 20px;
        position: relative;
            box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    }
         }
 
    .title-bar::before, .title-bar::after {
        content: "";
        flex: 1;
        height: 2px;
        background: #ccc;
        margin: 0 20px;
    }
 
    .title-text {
        font-size: 24px;
        font-weight: bold;
         color: #333;
    }


        /* 标题栏样式 */
    .search-box {
        .title-bar {
        width: 100%;
            display: flex;
        padding: 12px 16px;
            align-items: center;
        border: 1px solid #ddd;
            justify-content: center;
        border-radius: 8px;
            margin-top: 10px;
        margin-bottom: 20px;
            margin-bottom: 30px;
        font-size: 16px;
            position: relative;
        outline: none;
         }
         transition: border-color 0.3s;
    }


        .title-bar::before, .title-bar::after {
    .search-box:focus {
            content: "";
        border-color: #4facfe;
            flex: 1;
        box-shadow: 0 0 0 3px rgba(79,172,254,0.2);
            height: 2px;
    }
            background: #ccc;
            margin: 0 20px;
        }


        .title-text {
    .org-grid {
            font-size: 24px;
        display: grid;
            font-weight: bold;
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            color: #333;
        gap: 20px;
        }
    }


        /* 搜索框样式 */
    .org-card {
        .search-box {
        display: flex;
            width: 100%;
        align-items: center;
            padding: 12px 16px;
        background: #f8f9fa;
            border: 1px solid #ddd;
        border-radius: 8px;
            border-radius: 8px;
        padding: 12px;
            margin-bottom: 20px;
        text-decoration: none;
            font-size: 16px;
        color: #333;
            outline: none;
        transition: transform 0.3s, box-shadow 0.3s;
            transition: border-color 0.3s;
    }
        }


        .search-box:focus {
    .org-card:hover {
            border-color: #4facfe;
        transform: translateY(-5px);
            box-shadow: 0 0 0 3px rgba(79,172,254,0.2);
        box-shadow: 0 6px 16px rgba(0,0,0,0.1);
        }
    }


        /* 网格布局样式 */
    .org-img {
        .org-grid {
        width: 80px;
            display: grid;
        height: 80px;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        object-fit: cover;
            gap: 20px;
        border-radius: 6px;
        }
        margin-right: 16px;
        border: 1px solid #eee;
    }


        /* 组织卡片样式 */
    .org-name {
        .org-card {
        font-size: 18px;
            display: flex;
        font-weight: 600;
            align-items: center;
        white-space: nowrap;
            background: #f8f9fa;
        overflow: hidden;
            border-radius: 8px;
        text-overflow: ellipsis;
            padding: 12px;
    }
            text-decoration: none;
            color: #333;
            transition: transform 0.3s, box-shadow 0.3s;
        }


         .org-card:hover {
    @media (max-width: 768px) {
             transform: translateY(-5px);
         .org-grid {
            box-shadow: 0 6px 16px rgba(0,0,0,0.1);
             grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
         }
         }
         .org-img {
         .org-img {
             width: 80px;
             width: 60px;
             height: 80px;
             height: 60px;
            object-fit: cover;
            border-radius: 6px;
            margin-right: 16px;
            border: 1px solid #eee;
        }
 
        .org-name {
            font-size: 18px;
            font-weight: 600;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
         }
         }
    }
</style>


        /* 响应式适配 */
        @media (max-width: 768px) {
            .org-grid {
                grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
            }
            .org-img {
                width: 60px;
                height: 60px;
            }
        }
    </style>
</head>
</head>
<body>
<body>
     <div class="container">
     <div class="container">
        <!-- 标题栏 -->
         <div class="title-bar">
         <div class="title-bar">
             <span class="title-text">主角势力</span>
             <span class="title-text">主角势力</span>
         </div>
         </div>
        <!-- 搜索框 -->
         <input type="text" class="search-box" placeholder="搜索组织">
         <input type="text" class="search-box" placeholder="搜索组织">
        <!-- 组织网格 -->
         <div class="org-grid" id="orgGrid">
         <div class="org-grid" id="orgGrid">
            <!-- 卡片由JS动态生成,也可直接写死HTML -->
         </div>
         </div>
     </div>
     </div>
<script>
    const wikiDomain = "https://soka.cafe";
    const orgData = [
        { imgName: "", link: "创价学会", name: "创价学会" },
        { imgName: "", link: "日莲正宗", name: "日莲正宗" },
        { imgName: "", link: "富士大石寺显正会", name: "富士大石寺显正会" },
    ];


     <script>
     const orgGrid = document.getElementById("orgGrid");
        // 组织数据:替换imgUrl为你的图片路径,link为跳转链接,name为组织名称
        const orgData = [
            { imgUrl: "文件:三代.jpg", link: "创价学会", name: "创价学会" },
            { imgUrl: "images/.png", link: "日莲正宗", name: "日莲正宗" },
            { imgUrl: "images/.png", link: "富士大石寺显正会", name: "富士大石寺显正会" },
            { imgUrl: "images/.png", link: "。", name: "" },
        ];


         // 获取网格容器
    function getWikiImageUrl(imgName) {
        const orgGrid = document.getElementById("orgGrid");
         return `${wikiDomain}/Special:FilePath/${encodeURIComponent(imgName)}`;
    }


        // 生成组织卡片
    function renderOrgCards() {
        function renderOrgCards() {
        orgData.forEach(org => {
            orgData.forEach(org => {
            const card = document.createElement("a");
                const card = document.createElement("a");
            card.className = "org-card";
                card.className = "org-card";
            card.href = `${wikiDomain}/index.php?title=${encodeURIComponent(org.link)}`;
                card.href = org.link; // 跳转链接
                card.target = "_blank"; // 新标签页打开(可选)


                const img = document.createElement("img");
            const img = document.createElement("img");
                img.className = "org-img";
            img.className = "org-img";
                img.src = org.imgUrl;
            img.src = getWikiImageUrl(org.imgName);
                img.alt = org.name;
            img.alt = org.name;
            img.onerror = function() {
                this.src = `${wikiDomain}/Special:FilePath/默认图片.png`;
            };


                const name = document.createElement("div");
            const name = document.createElement("div");
                name.className = "org-name";
            name.className = "org-name";
                name.textContent = org.name;
            name.textContent = org.name;


                card.appendChild(img);
            card.appendChild(img);
                card.appendChild(name);
            card.appendChild(name);
                orgGrid.appendChild(card);
            orgGrid.appendChild(card);
            });
        });
        }
    }


        // 搜索功能实现
    const searchBox = document.querySelector(".search-box");
        const searchBox = document.querySelector(".search-box");
    searchBox.addEventListener("input", function() {
        searchBox.addEventListener("input", function() {
        const keyword = this.value.toLowerCase().trim();
            const keyword = this.value.toLowerCase().trim();
        orgGrid.innerHTML = "";
            orgGrid.innerHTML = ""; // 清空现有卡片
        const filteredData = orgData.filter(org =>  
            const filteredData = orgData.filter(org =>  
            org.name.toLowerCase().includes(keyword)
                org.name.toLowerCase().includes(keyword)
        );
            );
        filteredData.forEach(org => {
            // 重新渲染筛选后的卡片
            const card = document.createElement("a");
            filteredData.forEach(org => {
            card.className = "org-card";
                const card = document.createElement("a");
            card.href = `${wikiDomain}/index.php?title=${encodeURIComponent(org.link)}`;
                card.className = "org-card";
                card.href = org.link;
                card.target = "_blank";


                const img = document.createElement("img");
            const img = document.createElement("img");
                img.className = "org-img";
            img.className = "org-img";
                img.src = org.imgUrl;
            img.src = getWikiImageUrl(org.imgName);
                img.alt = org.name;
            img.alt = org.name;
            img.onerror = function() {
                this.src = `${wikiDomain}/Special:FilePath/默认图片.png`;
            };


                const name = document.createElement("div");
            const name = document.createElement("div");
                name.className = "org-name";
            name.className = "org-name";
                name.textContent = org.name;
            name.textContent = org.name;


                card.appendChild(img);
            card.appendChild(img);
                card.appendChild(name);
            card.appendChild(name);
                orgGrid.appendChild(card);
            orgGrid.appendChild(card);
            });
         });
         });
    });


        // 初始化渲染
    renderOrgCards();
        renderOrgCards();
</script>
    </script>
</body>
</body>
</html>
</html>

2026年1月6日 (二) 23:16的版本

整体页面

主角势力









</tabber> |-|历史上的星期=

【星期日】池田大作发表演讲《光荣属于战斗的学生部》

1968年9月8日,在创价学会第11届学生部大会中,池田大作面对一万数千名学生发表了历时1小时17分钟的演讲——《光荣属于战斗的学生部》,为创价学会推动中日邦交正常化作出重要贡献。

【星期日】第二次宗门事件正式拉开帷幕


第二次宗门事件,是创价学会与日莲正宗之间的矛盾已彻底无法调和的情况下所展开的最终决战。


|-|活动公告=

久本的虚拟化身“Paru”悬浮在宗教都市的圣殿中,脚下是由数以百万记的信徒们的祈祷所化作成的铁链。 在这片虚无的大地中,一道裂痕撕开了穹顶,《激突!美食赛跑!》的音乐,轰鸣而至……

</tabber>





字体测试

字体测试

字体测试
































表格测试

申请号 CN951080741 申请日期 1995-07-28
公告号 CN1141833A 公布/公告日期 1997-02-05
发明人 周寿坤、王志泽、孙正江 申请(专利权)人 北京汇佳物产技术公司
专利代理人 何润华 专利代理机构 北京申翔知识产权服务公司专利代理部
专利类型 发明专利 主分类号 B23K3/047
住所 北京市8756信箱
法律状态 -
摘要 本发明是对另一在先专利(ZL 94 21966.X)的改进方案。在焊枪装置上的改进是取消了焊针尾丝,和用于连接尾丝的衔接器、退焊针尾丝的滑杆。导电通路的这一部分直接由焊针连接卡爪、大簧座、大簧、导电套与穿过壳体的外接电源线连接。大簧兼作导电线圈和复位弹簧使用,通电时使内套磁化,吸引大簧座位移并带动卡爪夹带焊针在瓷环卡爪中拉弧,断电后使焊针复位固结焊口。自动拉弧钎焊机包括焊枪、焊针和自控电路。自控电路至少设置定时电路,还可串联过流保护电路,低于规定电压自锁电路、闪光电路。