当前位置:网站首页>[wechat applet] slide effect realization
[wechat applet] slide effect realization
2022-07-18 12:22:00 【Chang'an CC】
【 Wechat applet 】 Slide effect realization

<view style="height: {
{
276-headHeight}}px;" class="bgIndex">
<!-- <image src="/image/bgIndex.jpg" class="bgIndexImg"></image> -->
<!-- Slide start -->
<view class="banner">
<swiper indicator-dots="{
{indicator_dots}}" indicator-color="{
{indicator_color}}" indicator-active-color="{
{indicator_active_color}}" autoplay="{
{autoplay}}" interval="{
{interval}}" circular="{
{circular}}">
<swiper-item>
<image src="/image/bgIndex.jpg" class="bgIndexImg"></image>
</swiper-item>
<swiper-item>
<image src="/image/bgIndex.jpg" class="bgIndexImg"></image>
</swiper-item>
<!-- <swiper-item> <image src="/image/bgIndex.jpg" class="bgIndexImg"></image> </swiper-item> -->
</swiper>
</view>
<!-- Slide end -->
</view>
indicator_dots: true,
indicator_color: "#ffffff",
indicator_active_color: "#ff3b3b",
autoplay: true,
interval: 3000,
circular: true,
/* Set the position of three dots */
.banner {
width: 100%;
height: 100%;
}
.banner swiper {
width: 100%;
height: 100%;
}
.bgIndexImg {
width: 100%;
height: 100%;
display: block;
}
边栏推荐
- Why is private domain operation so popular? How can enterprises do their private domain operations well?
- Installing MySQL on Linux
- Build Detailed explanation of gradle configuration file (incomplete)
- Redis数据结构实战演练,看看微博、微信、购物车、抽奖小程序是如何使用的?
- GDB or delve debug Go program, check variable display < optimized out > solution
- Interview question 04.06 Successor DFS plus auxiliary variable traversal
- Reverse learning notes (I)
- 接口自动化测试:Postman实战教程
- pinctrl子系统和gpio子系统
- Leetcode 196 Delete duplicate email (2022.07.15)
猜你喜欢

Web programming interview question (2022)

Four reasons for programmers' headaches | daily anecdotes

【Jailhouse 文章】Bao: a modern lightweight embedded hypervisor(2020)

Image denoising using nlmeas

长安链介绍-01

C语言动态内存管理 —— 仅仅四个函数而已

2022 Chengdu / Hangzhou / Xiamen / Wuhan product manager certification enrollment brochure (NPDP)

What are the five common data types of redis? What is the corresponding data storage space? Take you to learn from scratch

【对象头】查看对象占用字节

TMUX usage
随机推荐
[jailhouse article] bao: a lightweight static partitioning hypervisor for modern multi core embedded
三個步驟,一天就搞定了MySQL,讓我順利拿下了天猫offer
thinkphp 代码执行 (CNVD-2018-24942)
UE4_ Ue5 play audio (play, stop function) (attached project)
Terraform命令行工具介绍、安装、使用
Luogu questionnaire - greed
私域运营为啥这么火?企业如何做好自己的私域运营呢?
Introduction to Chang'an chain-01
汉字风格迁移篇--基于生成对抗网络的无监督字体风格转换模型
社区峰会|Pulsar Summit 旧金山峰会议题亮点曝光!
JupyterLab安装
Simulation static method in mockito
Why is private domain operation so popular? How can enterprises do their private domain operations well?
Power bi---- DAX explanation
Detailed explanation of assembly language programming skills (with examples)
自动推理的逻辑01
我的两周年创作纪念日
Simulation of common functions in C language
HDOJ-2057(A + B Again)
这20道Redis经典面试题你还不会,面试官看都不看你一眼