更新记录

1.0.1(2021-02-27)(2021-02-27)

添加 示例项目


平台兼容性

组件开篇

3D旋转木马Btn 支持: 目前仅支持uni-App 支持btn数量: 目前仅支持6个; 可以自己扩展,需要修改setStyle方法,自己计算元素位置及偏移度数

使用方法

<template>
    <view class="wrap">
        <btnIndex :dataList="list" class="rotaBtn" :leftAndright1Deg="15" :leftAndright2Deg="25"
         @change="changeHandle" @gotoHandle="gotoHandle"/>
    </view>
</template>
 <script>
    import btnIndex from '@/components/peng-3DRotateBtn'
    export default {
        components:{btnIndex},
        data() {
            return {
                list: []
            }
        },
        methods: {
            // 旋转事件
            changeHandle(index){
                console.log(index, 'index')
            },
            // 点击事件
            gotoHandle(index){
                console.log(index, 'index')
            },
        }
    }
 </script>
<style scoped>

</style>

隐私、权限声明

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

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

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

许可协议

MIT协议

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