更新记录

1.0.0(2021-01-11) 下载此版本

初次提交


平台兼容性

前言

简介: 1.单项选择,二选一,选择框,自定义图标颜色,自定义多组关联,还是多组不关联。传入值,即可使用,图标位置随便定义

有疑问

微信搜索“慢慢向好”小程序,找客服反馈,相应问题。

素材

图片资源

示例项目可直接运行

开始使用

下载源码解压,复制/components 下的组件至项目根目录的 /components 文件夹下

index.vuescript加入如下部分:

import ayswitchR from '@/components/ay-switch/ay-switch-round.vue'
    import ayswitch from '@/components/ay-switch/ay-switch.vue'
    export default {
        components: {
            ayswitchR,
            ayswitch
        },
        data() {
            return {
                themeColor:'#33CCCC',
                val:'',
                list:[{
                    name:'选项1',
                    val:'1',
                    switch:true,
                },
                {
                    name:'选项2',
                    val:'2',
                    switch:false,
                },
                {
                    name:'选项3',
                    val:'3',
                    switch:false,
                }],
                list2:[{
                    name:'选项1',
                    val:'1',
                    switch:true,
                },
                {
                    name:'选项2',
                    val:'2',
                    switch:false,
                },
                {
                    name:'选项3',
                    val:'3',
                    switch:false,
                }],

            }
        },

        onLoad() {
            let that = this;

        },
        methods: {
            switchFun_Group(e){
                let that = this;
                that.val = e.item.val ;
                that.list.forEach(item=>{
                    let index = that.list.indexOf(item) ;
                    if(index!==e.index){
                        item.switch = false ;
                    }else{
                        item.switch = true ;
                    }
                })
            },

            async switchFun(e) {
                let that = this;
                let item = e.item;
                let index = e.index;
                let isSwitch = item.switch;//false 已挂起 true 开通的

                let tip = '' ;
                if(isSwitch){
                    tip = '确认关闭吗?';
                }else{
                    tip = '确认开启吗?';
                }
                uni.showModal({
                    title: '提醒',
                    content:  tip ,
                    success(res) {
                        if (res.confirm) {
                            if(isSwitch){

                            }else{

                            }
                            that.list2[index].switch = !isSwitch;

                        } else if (res.cancel) {

                        }
                    }
                })

            },
        }

    }

index.vuetemplate加入如下部分:

<view>
        <view class="cf-hengSpace-B itemBox" style="margin-top: 40upx;">只能选一项,第1种:</view>
        <view class="cf-hengSpace-B itemBox" v-for="(item, index) in list" :key="index">
            <view>{{item.name}}</view>
            <ayswitchR :themeColor="themeColor" :isGroup="true" :index="index" :item="item" :switch="item.switch" @change="switchFun_Group" ></ayswitchR>
        </view>

        <view class="cf-hengSpace-B itemBox" style="margin-top: 40upx;">只能选一项,第2种:</view>

        <view class="cf-hengSpace-B itemBox"  v-for="(item, index) in list" :key="'2'+index">
            <view>{{item.name}}</view>
            <ayswitch :themeColor="themeColor" :isGroup="true" :index="index" :item="item" :switch="item.switch" @change="switchFun_Group"  ></ayswitch>
        </view>

        <view class="cf-hengSpace-B itemBox" style="margin-top: 40upx;">不关联选,第1种:</view>

        <view class="cf-hengSpace-B itemBox"  v-for="(item, index) in list2" :key="'3'+index">
            <view>{{item.name}}</view>
            <ayswitchR :themeColor="themeColor" :index="index" :item="item" :switch="item.switch" @change="switchFun" ></ayswitchR>
        </view>

        <view class="cf-hengSpace-B itemBox" style="margin-top: 40upx;">不关联选,第2种:</view>

        <view class="cf-hengSpace-B itemBox"  v-for="(item, index) in list2" :key="'4'+index">
            <view>{{item.name}}</view>
            <ayswitch :themeColor="themeColor" :index="index" :item="item" :switch="item.switch" @change="switchFun" ></ayswitch>
        </view>

    </view>

引入阿里矢量图,复制示例源码/style 下的/iconfont.css至项目根目录的 /style 文件夹下 如下部分:

@font-face {font-family: "iconfont";
  src: url('//at.alicdn.com/t/font_1948714_il5313vfqpj.eot?t=1610368813681'); /* IE9 */
  src: url('//at.alicdn.com/t/font_1948714_il5313vfqpj.eot?t=1610368813681#iefix') format('embedded-opentype'), /* IE6-IE8 */
  url('data:application/x-font-woff2;charset=utf-8;base64,d09GMgABAAAAABiUAAsAAAAAK1QAABhEAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHEIGVgCJQgq+JLFcATYCJAOBNAtcAAQgBYRtB4QVG+UjZQRsHADNZt8rsv//lEDHGBzdIa0SDkfjHpNakHii46Tj7LCHRS7c0lWvvclEE5NwQpDJ1D5pliCb5T8Sih8zbuXAwmEFGx15UZwdR8y+QymJqmHrvQ+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40Q8pjui3+RSwhR94KskIlk+ABrGySYIbYofPURlMhUH1F4WWyWVdffaW/gUv0WRSbo32H3JBJrXuVj/zf4Agl2FRjn5Tq1Mu86T2hgnEyGrOPIKtXWDe/L1culfLzvJ08xyVwVS3+KD6y9RomdzB63Pi1/+Cl2iyZJ2fU/+HXPDI1bpbaaAfkbTW2ZbQcvSbSmSn6MqZJ7UnMkSnl9XMH2oEW7uQQ52/l2RbTlfs6q+YNjNx5VuvfXROQ4UICTIUqNCg36961wgMHBZsgpRIZXKFUqXWaHV6g9FktlhtdofT5fZ4ff6xwxwMejG09eTd09kdeA1Mvj0Bho79UHGC+wtLU4KYK7Z/YdafvWErpCsassp8szQQBL/6mGZEbeXsEYkha4cxLhKSP6jYeLwYKvDeA54M+SglwBXIcFQV3latMTRcQPMM9B5ZxEYu0MzUdTNiaRNra0HyiOt3K7gGbM4o3mAbESrX8L0ZhlduKPkg7OQkOTTkk7RDDaTxRLXacNGPbmpk4snQr5OrcFNYivCr5RjBVqyrSP86GA6yH7CKoZ4iHkBHJGj+W8tbFULSSVZZL0pZ1Coq7RUvDXS0fuiNPTyeeID1syvaCQ1tCH0IPEHjZX6liy9GPqPHI4PsuwEAAA==') format('woff2'),
  url('//at.alicdn.com/t/font_1948714_il5313vfqpj.woff?t=1610368813681') format('woff'),
  url('//at.alicdn.com/t/font_1948714_il5313vfqpj.ttf?t=1610368813681') format('truetype'), /* chrome, firefox, opera, Safari, Android, iOS 4.2+ */
  url('//at.alicdn.com/t/font_1948714_il5313vfqpj.svg?t=1610368813681#iconfont') format('svg'); /* iOS 4.1- */
}

.iconfont {
  font-family: "iconfont" !important;
  font-size: 16px;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.icon-kaiguan3:before {
  content: "\e6da";
}

.icon-kaiguan4:before {
  content: "\e6db";
}

.icon-xuanzhong:before {
  content: "\e607";
}

.icon-weixuan:before {
  content: "\e65d";
}

.icon-time:before {
  content: "\e619";
}

.icon-you:before {
  content: "\e600";
}

.icon-shuazi:before {
  content: "\e62a";
}

.icon-shuazi1:before {
  content: "\e610";
}

.icon-baocun-tianchong:before {
  content: "\e82b";
}

.icon-chehui:before {
  content: "\e66b";
}

.icon-bianji-cuxiantiao-fill:before {
  content: "\e69e";
}

.icon-qingkong:before {
  content: "\e629";
}

.icon-yanse:before {
  content: "\e886";
}

.icon-beiwanglushili:before {
  content: "\e612";
}

.icon-shijian:before {
  content: "\e631";
}

.icon-icon-eye-open:before {
  content: "\e60c";
}

.icon-icon-eye-close:before {
  content: "\e60f";
}

.icon-icon-1:before {
  content: "\e6e0";
}

.icon-jisuan:before {
  content: "\e643";
}

.icon-tongji1:before {
  content: "\e61d";
}

.icon-shezhi:before {
  content: "\e654";
}

.icon-xiugai:before {
  content: "\e698";
}

.icon-liebiao:before {
  content: "\e611";
}

.icon-add:before {
  content: "\e604";
}

.icon-shenghuofuwu:before {
  content: "\e681";
}

.icon-jingqu:before {
  content: "\e61e";
}

.icon-dianhua:before {
  content: "\e76a";
}

.icon-xiaoxi:before {
  content: "\e79c";
}

.icon-zhoumomanmanzuo:before {
  content: "\e7d5";
}

.icon-sousuo:before {
  content: "\e62c";
}

.icon-collection-b:before {
  content: "\e60d";
}

.icon-daohangdizhi:before {
  content: "\e65f";
}

.icon-like-line:before {
  content: "\e634";
}

.icon-like-s:before {
  content: "\e635";
}

.icon-tubiaozhizuo-:before {
  content: "\e605";
}

.icon-shoucang:before {
  content: "\e6a7";
}

.icon-ziyuan1:before {
  content: "\e618";
}

.icon-back:before {
  content: "\e602";
}

.icon-wode1:before {
  content: "\e658";
}

.icon-fs-funding:before {
  content: "\e60e";
}

.icon-home:before {
  content: "\e63f";
}

.icon-gupiao:before {
  content: "\e614";
}

.icon-xiangzuo:before {
  content: "\e6b0";
}

.icon-xiangyou:before {
  content: "\e65a";
}

页面App.vue 引入css

    <style>
        /*每个页面公共css */
        @import './style/iconfont.css';
    </style>

隐私、权限声明

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

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

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

许可协议

MIT协议

暂无用户评论。

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