更新记录

1.0.3(2023-06-13)

增加预览二维码

1.0.2(2023-05-15)

增加点击事件

1.0.1(2023-05-14)

优化赋值

查看更多

平台兼容性

Vue2 Vue3
×
App 快应用 微信小程序 支付宝小程序 百度小程序 字节小程序 QQ小程序
HBuilderX 3.1.0 × × × × ×
钉钉小程序 快手小程序 飞书小程序 京东小程序
× × × ×
H5-Safari Android Browser 微信浏览器(Android) QQ浏览器(Android) Chrome IE Edge Firefox PC-Safari
× × × × ×

liu-beautiful-slide适用于uni-app项目的轮播图、3D轮播、堆叠轮播(超好看)组件

本组件目前兼容微信小程序、H5

本组件是超好看、超好用的3D轮播、堆叠轮播,支持任何图片数量、点击、自动轮播、手动轮播(走过路过千万不要错过)

--- 扫码预览、关注我们 ---

扫码关注公众号,查看更多插件信息,预览插件效果!

使用方式

<template>
    <view class="page-main">
        <liu-beautiful-slide :swiperList="swiperList" :bgUrl="bgUrl" :autoplay="autoplay" :interval="interval"
            @change="change" @click="click"></liu-beautiful-slide>
    </view>
</template>

<script>
    export default {
        data() {
            return {
                autoplay: true,
                interval: 3000,
                bgUrl: "https://cdn.pixabay.com/photo/2020/09/05/19/38/landscape-5547401_1280.png",
                swiperList: [{
                    picUrl: 'https://cdn.pixabay.com/photo/2020/05/19/13/32/cartoon-5190837_1280.jpg',
                    title: '思考'
                }, {
                    picUrl: 'https://cdn.pixabay.com/photo/2020/05/19/13/35/cartoon-5190860_1280.jpg',
                    title: '雨天'
                }, {
                    picUrl: 'https://cdn.pixabay.com/photo/2021/07/22/11/25/rabbit-6485072_1280.jpg',
                    title: '兔子'
                }, {
                    picUrl: 'https://cdn.pixabay.com/photo/2022/03/31/14/53/camp-7103189_1280.png',
                    title: '日落'
                }, {
                    picUrl: 'https://cdn.pixabay.com/photo/2022/11/29/19/05/boho-7625140_1280.jpg',
                    title: '植物'
                }, {
                    picUrl: 'https://cdn.pixabay.com/photo/2022/08/25/23/06/woman-7411414_1280.png',
                    title: '时尚'
                }, {
                    picUrl: 'https://cdn.pixabay.com/photo/2023/03/07/12/45/child-7835677_1280.jpg',
                    title: '生活'
                }]
            }
        },
        methods: {
            change(e) {
                console.log('当前轮播信息:', e)
            },
            //点击轮播
            click(e) {
                console.log('点击轮播', e)
            }
        }
    }
</script>

属性说明

名称 类型 默认值 描述
swiperList Array [] 轮播数据源
bgUrl String 背景图片(非必传)
autoplay Boolean true 是否自动轮播
interval Number 5000 轮播自动切换时间间隔(autoplay为true时生效)
vibrate Boolean true 点击轮播是否有触感振动(自动轮播不生效)
@change Function 轮播回调
@click Function 点击轮播

隐私、权限声明

1. 本插件需要申请的系统权限列表:

2. 本插件采集的数据、发送的服务器地址、以及数据用途说明:

3. 本插件是否包含广告,如包含需详细说明广告表达方式、展示频率:

许可协议

1、本插件可免费下载使用;

2、未经许可,严禁复制本插件派生同类插件上传插件市场;

3、未经许可,严禁在插件市场恶意复制抄袭本插件进行违规获利;

4、对本软件的任何使用都必须遵守这些条款,违反这些条款的个人或组织将面临法律追究。

使用中有什么不明白的地方,就向插件作者提问吧~ 我要提问