官方社群在线客服官方频道防骗查询货币工具

BBS论坛(十八)

BBS论坛(十八)伊伊
2025年01月14日📖 4 分钟
LIKE.TG 社交媒体链接LIKE.TG 社交媒体链接LIKE.TG 社交媒体链接LIKE.TG 社交媒体链接
Fansoso粉丝充值系统

LIKE.TG | 发现全球营销软件&服务汇聚顶尖互联网营销和AI营销产品,提供一站式出海营销解决方案。唯一官网:www.like.tg

18.首页轮播图实现

(1)front/css/front_base.css

代码语言:javascript
复制
.main-container{ width: 990px; margin: 0 auto; overflow: hidden; } .lg-container{ width: 730px; float:left; } .sm-container{ width: 250px; float:right; }

(2)front_base.html

代码语言:javascript
复制
<link rel="stylesheet" href="{{ url_for('static',filename='front/css/front_base.css') }}"> <div class="main-container"> {% block body %} {% endblock %} </div>

(3)front_index.html

代码语言:javascript
复制
{% extends "front/front_base.html" %} {% block title %} 仙剑论坛 {% endblock %} {% block head %} <link rel="stylesheet" href="{{ static('front/css/front_index.css') }}"> {% endblock %} {% block body %} <div class="lg-container"> <div id="carousel-example-generic" class="carousel slide index-banner" data-ride="carousel"> <!-- 指示器 --> <ol class="carousel-indicators"> <li data-target="#carousel-example-generic" data-slide-to="0" class="active"></li> <li data-target="#carousel-example-generic" data-slide-to="1"></li> <li data-target="#carousel-example-generic" data-slide-to="2"></li> </ol> <!-- 轮播图--> <div class="carousel-inner" role="listbox"> <div class="item active"> <img src="https://static-image.xfz.cn/1512989310_955.jpg" alt="..."> <div class="carousel-caption"> ... </div> </div> <div class="item"> <img src="https://static-image.xfz.cn/1528079965_535.jpeg" alt="..."> <div class="carousel-caption"> ... </div> </div> ... </div> <!-- Controls --> <a class="left carousel-control" href="#carousel-example-generic" role="button" data-slide="prev"> <span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span> <span class="sr-only">Previous</span> </a> <a class="right carousel-control" href="#carousel-example-generic" role="button" data-slide="next"> <span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span> <span class="sr-only">Next</span> </a> </div> </div> <div class="sm-container"> </div> {% endblock %}

(4)front/css/front_index.css

代码语言:javascript
复制
.index-banner{ border-radius: 10px; overflow: hidden; height: 190px; } .index-banner img{ height: 190px; }
官方客服

LIKE.TG汇集全球营销软件&服务,助力出海企业营销增长。提供最新的“私域营销获客”“跨境电商”“全球客服”“金融支持”“web3”等一手资讯新闻。

点击【联系客服】 🎁 免费领 1G 住宅代理IP/proxy, 即刻体验 WhatsApp、LINE、Telegram、Twitter、ZALO、Instagram、signal等获客系统,社媒账号购买 & 粉丝引流自助服务或关注【LIKE.TG出海指南频道】【LIKE.TG生态链-全球资源互联社区】连接全球出海营销资源。


Banner广告
Banner广告
Banner广告
Banner广告
全球峰会
Server deployment