卡厄思
梦
境
菜单
首页
回到首页
WIKI工具
全站样式
全站JS
修改导航栏
测试
沙盒
可视化管理器
战斗员管理器
卡牌管理器
伙伴管理器
装备管理器
词典管理器
图鉴
战斗员
伙伴
装备
怪物卡牌
中立卡牌
词典
小工具
配队模拟器
节奏榜生成器
搜索
链入页面
相关更改
特殊页面
页面信息
最近更改
登录
模板
查看“︁轮播图”︁的源代码
←
模板:轮播图
因为以下原因,您没有权限编辑该页面:
您请求的操作仅限属于该用户组的用户执行:
用户
您可以查看和复制此页面的源代码。
<includeonly> <div class="carousel-container" style="width: 100%; height: 280px; position: relative; overflow: hidden; background: #f0f0f0;" data-autoplay="{{{自动播放|1}}}" data-interval="{{{间隔|4000}}}"> <div class="carousel-wrapper" style="display: flex; height: 100%; transition: transform 0.5s ease;"> {{#if:{{{图1|}}}| <div class="carousel-slide" style="min-width: 100%; height: 100%; position: relative;"> [[File:{{{图1}}}|center|class=carousel-img|link={{{图1跳转|}}}]] </div> }} {{#if:{{{图2|}}}| <div class="carousel-slide" style="min-width: 100%; height: 100%; position: relative;"> [[File:{{{图2}}}|center|class=carousel-img|link={{{图2跳转|}}}]] </div> }} {{#if:{{{图3|}}}| <div class="carousel-slide" style="min-width: 100%; height: 100%; position: relative;"> [[File:{{{图3}}}|center|class=carousel-img|link={{{图3跳转|}}}]] </div> }} {{#if:{{{图4|}}}| <div class="carousel-slide" style="min-width: 100%; height: 100%; position: relative;"> [[File:{{{图4}}}|center|class=carousel-img|link={{{图4跳转|}}}]] </div> }} </div> <!-- 标题遮罩层 --> <div class="carousel-titles-overlay"> <div class="carousel-titles-wrapper" style="position: relative; display: flex; align-items: center; padding: 0 50px;"> <!-- 左切换按钮 --> <div class="carousel-btn carousel-prev" style="position: absolute; left: 30px; top:40%; transform: translateY(-50%); cursor: pointer; z-index: 20; opacity: 0.85; transition: all 0.3s;">[[File:swiper_button_left.png|10px|link=]]</div> <!-- 标题容器 --> <div class="carousel-titles-container" style="display: flex; justify-content: center; align-items: flex-end; gap: 12px; margin: 0 auto; max-width: calc(100% - 120px);"> {{#if:{{{图1标题|}}}| <div class="carousel-title-item active" data-slide="0" style="flex: 1; max-width: 200px; cursor: pointer; min-width: 0;"> <div class="title-text" style="color: white; font-size: 13px; padding: 6px 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: center;">{{{图1标题}}}</div> <div class="title-indicator" style="height: 2px; background: #ff6600; margin-top: 6px; transition: all 0.3s;"></div> </div> }} {{#if:{{{图2标题|}}}| <div class="carousel-title-item" data-slide="1" style="flex: 1; max-width: 200px; cursor: pointer; min-width: 0;"> <div class="title-text" style="color: white; font-size: 13px; padding: 6px 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: center; opacity: 0.7;">{{{图2标题}}}</div> <div class="title-indicator" style="height: 2px; background: transparent; margin-top: 6px; transition: all 0.3s;"></div> </div> }} {{#if:{{{图3标题|}}}| <div class="carousel-title-item" data-slide="2" style="flex: 1; max-width: 200px; cursor: pointer; min-width: 0;"> <div class="title-text" style="color: white; font-size: 13px; padding: 6px 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: center; opacity: 0.7;">{{{图3标题}}}</div> <div class="title-indicator" style="height: 2px; background: transparent; margin-top: 6px; transition: all 0.3s;"></div> </div> }} {{#if:{{{图4标题|}}}| <div class="carousel-title-item" data-slide="3" style="flex: 1; max-width: 200px; cursor: pointer; min-width: 0;"> <div class="title-text" style="color: white; font-size: 13px; padding: 6px 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: center; opacity: 0.7;">{{{图4标题}}}</div> <div class="title-indicator" style="height: 2px; background: transparent; margin-top: 6px; transition: all 0.3s;"></div> </div> }} </div> <!-- 右切换按钮 --> <div class="carousel-btn carousel-next" style="position: absolute; right: 30px; top: 40%; transform: translateY(-50%); cursor: pointer; z-index: 20; opacity: 0.85; transition: all 0.3s;">[[File:swiper_button_right.png|10px|link=]]</div> </div> </div> </div> </includeonly><noinclude> {{面包屑|模板}} {{轮播图 |图1=banner_001.jpg |图1标题=2025年10月22日确定全球上线! |图2=banner_002.jpg |图2标题=事前登录正式开放 |图3=banner_003.jpg |图3标题=《卡厄思夢境》官方社群媒体资讯 }} [[分类:模板]] </noinclude>
该页面使用的模板:
模板:提示
(
查看源代码
)
模板:轮播图
(
查看源代码
)
模板:面包屑
(
查看源代码
)
返回
模板:轮播图
。