u-checkbox.js.map 20 KB

1
  1. {"version":3,"sources":["webpack:///D:/星火篮球维护/代码/小程序销售端/spark-sale/uview-ui/components/u-checkbox/u-checkbox.vue?e4b2","webpack:///D:/星火篮球维护/代码/小程序销售端/spark-sale/uview-ui/components/u-checkbox/u-checkbox.vue?95a4","webpack:///D:/星火篮球维护/代码/小程序销售端/spark-sale/uview-ui/components/u-checkbox/u-checkbox.vue?cff9","webpack:///D:/星火篮球维护/代码/小程序销售端/spark-sale/uview-ui/components/u-checkbox/u-checkbox.vue?85da","uni-app:///uview-ui/components/u-checkbox/u-checkbox.vue","webpack:///D:/星火篮球维护/代码/小程序销售端/spark-sale/uview-ui/components/u-checkbox/u-checkbox.vue?3e90","webpack:///D:/星火篮球维护/代码/小程序销售端/spark-sale/uview-ui/components/u-checkbox/u-checkbox.vue?4210"],"names":[],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAmI;AACnI;AAC8D;AACL;AACsC;;;AAG/F;AACqK;AACrK,gBAAgB,+KAAU;AAC1B,EAAE,gFAAM;AACR,EAAE,iGAAM;AACR,EAAE,0GAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,qGAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA,aAAa,uMAEN;AACP;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AChDA;AAAA;AAAA;AAAA;AAAomB,CAAgB,8nBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;ACcxnB;;;;;;;;;;;;;;AAcA;AACA,oBADA;AAEA;AACA;AACA;AACA,4BADA;AAEA,iBAFA,EAFA;;AAMA;AACA;AACA,kBADA;AAEA,iBAFA,EAPA;;AAWA;AACA;AACA,mBADA;AAEA,oBAFA,EAZA;;AAgBA;AACA;AACA,6BADA;AAEA,iBAFA,EAjBA;;AAqBA;AACA;AACA,6BADA;AAEA,iBAFA,EAtBA;;AA0BA;AACA;AACA,kBADA;AAEA,iBAFA,EA3BA;;AA+BA;AACA;AACA,4BADA;AAEA,iBAFA,EAhCA;;AAoCA;AACA;AACA,4BADA;AAEA,iBAFA,EArCA;;AAyCA;AACA;AACA,4BADA;AAEA,iBAFA,EA1CA,EAFA;;;AAiDA,MAjDA,kBAiDA;AACA;AACA,2BADA;AAEA,mBAFA;;AAIA,GAtDA;AAuDA,SAvDA,qBAuDA;AACA;AACA;AACA;AACA;AACA,GA5DA;AA6DA;AACA;AACA,cAFA,wBAEA;AACA;AACA,KAJA;AAKA;AACA,mBANA,6BAMA;AACA;AACA,KARA;AASA;AACA,gBAVA,0BAUA;AACA;AACA,KAZA;AAaA;AACA,oBAdA,8BAcA;AACA;AACA,KAhBA;AAiBA;AACA,iBAlBA,2BAkBA;AACA;AACA,KApBA;AAqBA;AACA,WAtBA,qBAsBA;AACA;AACA,KAxBA;AAyBA,aAzBA,uBAyBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAnCA;AAoCA;AACA,aArCA,uBAqCA;AACA;AACA,KAvCA;AAwCA,aAxCA,uBAwCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAhDA;AAiDA,iBAjDA,2BAiDA;AACA;AACA;AACA;;AAEA;AACA;;;;;;AAMA;AACA;AACA;;;;;AAKA;AACA;AACA,KAtEA,EA7DA;;AAqIA;AACA,gBADA,0BACA;AACA;AACA;AACA;AACA,KALA;AAMA,UANA,oBAMA;AACA;AACA;AACA;AACA,KAVA;AAWA,aAXA,uBAWA;AACA;AACA,0BADA;AAEA,uBAFA;;AAIA;AACA;AACA;AACA;AACA,OAFA,EAEA,EAFA;AAGA,KArBA;AAsBA;AACA,YAvBA,sBAuBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAFA;AAGA;AACA;AACA;AACA;AACA;AACA,OAHA,MAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KA7CA,EArIA,E;;;;;;;;;;;;AC5BA;AAAA;AAAA;AAAA;AAA8nC,CAAgB,wmCAAG,EAAC,C;;;;;;;;;;;ACAlpC;AACA,OAAO,KAAU,EAAE,kBAKd","file":"uview-ui/components/u-checkbox/u-checkbox.js","sourcesContent":["import { render, staticRenderFns, recyclableRender, components } from \"./u-checkbox.vue?vue&type=template&id=54acf820&scoped=true&\"\nvar renderjs\nimport script from \"./u-checkbox.vue?vue&type=script&lang=js&\"\nexport * from \"./u-checkbox.vue?vue&type=script&lang=js&\"\nimport style0 from \"./u-checkbox.vue?vue&type=style&index=0&id=54acf820&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!E:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\runtime\\\\componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"54acf820\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"uview-ui/components/u-checkbox/u-checkbox.vue\"\nexport default component.exports","export * from \"-!E:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\templateLoader.js??vue-loader-options!E:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--16-0!E:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\template.js!E:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-uni-app-loader\\\\page-meta.js!E:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!E:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./u-checkbox.vue?vue&type=template&id=54acf820&scoped=true&\"","var components\ntry {\n components = {\n uIcon: function() {\n return import(\n /* webpackChunkName: \"uview-ui/components/u-icon/u-icon\" */ \"@/uview-ui/components/u-icon/u-icon.vue\"\n )\n }\n }\n} catch (e) {\n if (\n e.message.indexOf(\"Cannot find module\") !== -1 &&\n e.message.indexOf(\".vue\") !== -1\n ) {\n console.error(e.message)\n console.error(\"1. 排查组件名称拼写是否正确\")\n console.error(\n \"2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom\"\n )\n console.error(\n \"3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件\"\n )\n } else {\n throw e\n }\n}\nvar render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n var s0 = _vm.__get_style([_vm.checkboxStyle])\n\n var s1 = _vm.__get_style([_vm.iconStyle])\n\n var g0 = _vm.$u.addUnit(_vm.labelSize)\n _vm.$mp.data = Object.assign(\n {},\n {\n $root: {\n s0: s0,\n s1: s1,\n g0: g0\n }\n }\n )\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!E:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!E:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!E:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!E:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!E:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./u-checkbox.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!E:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!E:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!E:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!E:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!E:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./u-checkbox.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view class=\"u-checkbox\" :style=\"[checkboxStyle]\">\r\n\t\t<view class=\"u-checkbox__icon-wrap\" @tap=\"toggle\" :class=\"[iconClass]\" :style=\"[iconStyle]\">\r\n\t\t\t<u-icon class=\"u-checkbox__icon-wrap__icon\" name=\"checkbox-mark\" :size=\"checkboxIconSize\" :color=\"iconColor\"/>\r\n\t\t</view>\r\n\t\t<view class=\"u-checkbox__label\" @tap=\"onClickLabel\" :style=\"{\r\n\t\t\tfontSize: $u.addUnit(labelSize)\r\n\t\t}\">\r\n\t\t\t<slot />\r\n\t\t</view>\r\n\t</view>\r\n</template>\r\n\r\n<script>\r\n\t/**\r\n\t * checkbox 复选框\r\n\t * @description 该组件需要搭配checkboxGroup组件使用,以便用户进行操作时,获得当前复选框组的选中情况。\r\n\t * @tutorial https://www.uviewui.com/components/checkbox.html\r\n\t * @property {String Number} icon-size 图标大小,单位rpx(默认20)\r\n\t * @property {String Number} label-size label字体大小,单位rpx(默认28)\r\n\t * @property {String Number} name checkbox组件的标示符\r\n\t * @property {String} shape 形状,见官网说明(默认circle)\r\n\t * @property {Boolean} disabled 是否禁用\r\n\t * @property {Boolean} label-disabled 是否禁止点击文本操作checkbox\r\n\t * @property {String} active-color 选中时的颜色,如设置CheckboxGroup的active-color将失效\r\n\t * @event {Function} change 某个checkbox状态发生变化时触发,回调为一个对象\r\n\t * @example <u-checkbox v-model=\"checked\" :disabled=\"false\">天涯</u-checkbox>\r\n\t */\r\n\texport default {\r\n\t\tname: \"u-checkbox\",\r\n\t\tprops: {\r\n\t\t\t// checkbox的名称\r\n\t\t\tname: {\r\n\t\t\t\ttype: [String, Number],\r\n\t\t\t\tdefault: ''\r\n\t\t\t},\r\n\t\t\t// 形状,square为方形,circle为原型\r\n\t\t\tshape: {\r\n\t\t\t\ttype: String,\r\n\t\t\t\tdefault: ''\r\n\t\t\t},\r\n\t\t\t// 是否为选中状态\r\n\t\t\tvalue: {\r\n\t\t\t\ttype: Boolean,\r\n\t\t\t\tdefault: false\r\n\t\t\t},\r\n\t\t\t// 是否禁用\r\n\t\t\tdisabled: {\r\n\t\t\t\ttype: [String, Boolean],\r\n\t\t\t\tdefault: ''\r\n\t\t\t},\r\n\t\t\t// 是否禁止点击提示语选中复选框\r\n\t\t\tlabelDisabled: {\r\n\t\t\t\ttype: [String, Boolean],\r\n\t\t\t\tdefault: ''\r\n\t\t\t},\r\n\t\t\t// 选中状态下的颜色,如设置此值,将会覆盖checkboxGroup的activeColor值\r\n\t\t\tactiveColor: {\r\n\t\t\t\ttype: String,\r\n\t\t\t\tdefault: ''\r\n\t\t\t},\r\n\t\t\t// 图标的大小,单位rpx\r\n\t\t\ticonSize: {\r\n\t\t\t\ttype: [String, Number],\r\n\t\t\t\tdefault: ''\r\n\t\t\t},\r\n\t\t\t// label的字体大小,rpx单位\r\n\t\t\tlabelSize: {\r\n\t\t\t\ttype: [String, Number],\r\n\t\t\t\tdefault: ''\r\n\t\t\t},\r\n\t\t\t// 组件的整体大小\r\n\t\t\tsize: {\r\n\t\t\t\ttype: [String, Number],\r\n\t\t\t\tdefault: ''\r\n\t\t\t},\r\n\t\t},\r\n\t\tdata() {\r\n\t\t\treturn {\r\n\t\t\t\tparentDisabled: false,\r\n\t\t\t\tnewParams: {},\r\n\t\t\t};\r\n\t\t},\r\n\t\tcreated() {\r\n\t\t\t// 支付宝小程序不支持provide/inject,所以使用这个方法获取整个父组件,在created定义,避免循环应用\r\n\t\t\tthis.parent = this.$u.$parent.call(this, 'u-checkbox-group');\r\n\t\t\t// 如果存在u-checkbox-group,将本组件的this塞进父组件的children中\r\n\t\t\tthis.parent && this.parent.children.push(this);\r\n\t\t},\r\n\t\tcomputed: {\r\n\t\t\t// 是否禁用,如果父组件u-checkbox-group禁用的话,将会忽略子组件的配置\r\n\t\t\tisDisabled() {\r\n\t\t\t\treturn this.disabled !== '' ? this.disabled : this.parent ? this.parent.disabled : false;\r\n\t\t\t},\r\n\t\t\t// 是否禁用label点击\r\n\t\t\tisLabelDisabled() {\r\n\t\t\t\treturn this.labelDisabled !== '' ? this.labelDisabled : this.parent ? this.parent.labelDisabled : false;\r\n\t\t\t},\r\n\t\t\t// 组件尺寸,对应size的值,默认值为34rpx\r\n\t\t\tcheckboxSize() {\r\n\t\t\t\treturn this.size ? this.size : (this.parent ? this.parent.size : 34);\r\n\t\t\t},\r\n\t\t\t// 组件的勾选图标的尺寸,默认20\r\n\t\t\tcheckboxIconSize() {\r\n\t\t\t\treturn this.iconSize ? this.iconSize : (this.parent ? this.parent.iconSize : 20);\r\n\t\t\t},\r\n\t\t\t// 组件选中激活时的颜色\r\n\t\t\telActiveColor() {\r\n\t\t\t\treturn this.activeColor ? this.activeColor : (this.parent ? this.parent.activeColor : 'primary');\r\n\t\t\t},\r\n\t\t\t// 组件的形状\r\n\t\t\telShape() {\r\n\t\t\t\treturn this.shape ? this.shape : (this.parent ? this.parent.shape : 'square');\r\n\t\t\t},\r\n\t\t\ticonStyle() {\r\n\t\t\t\tlet style = {};\r\n\t\t\t\t// 既要判断是否手动禁用,还要判断用户v-model绑定的值,如果绑定为false,那么也无法选中\r\n\t\t\t\tif (this.elActiveColor && this.value && !this.isDisabled) {\r\n\t\t\t\t\tstyle.borderColor = this.elActiveColor; \r\n\t\t\t\t\tstyle.backgroundColor = this.elActiveColor;\r\n\t\t\t\t}\r\n\t\t\t\tstyle.width = this.$u.addUnit(this.checkboxSize);\r\n\t\t\t\tstyle.height = this.$u.addUnit(this.checkboxSize);\r\n\t\t\t\treturn style;\r\n\t\t\t},\r\n\t\t\t// checkbox内部的勾选图标,如果选中状态,为白色,否则为透明色即可\r\n\t\t\ticonColor() {\r\n\t\t\t\treturn this.value ? '#ffffff' : 'transparent';\r\n\t\t\t},\r\n\t\t\ticonClass() {\r\n\t\t\t\tlet classes = [];\r\n\t\t\t\tclasses.push('u-checkbox__icon-wrap--' + this.elShape);\r\n\t\t\t\tif (this.value == true) classes.push('u-checkbox__icon-wrap--checked');\r\n\t\t\t\tif (this.isDisabled) classes.push('u-checkbox__icon-wrap--disabled');\r\n\t\t\t\tif (this.value && this.isDisabled) classes.push('u-checkbox__icon-wrap--disabled--checked');\r\n\t\t\t\t// 支付宝小程序无法动态绑定一个数组类名,否则解析出来的结果会带有\",\",而导致失效\r\n\t\t\t\treturn classes.join(' ');\r\n\t\t\t},\r\n\t\t\tcheckboxStyle() {\r\n\t\t\t\tlet style = {};\r\n\t\t\t\tif(this.parent && this.parent.width) {\r\n\t\t\t\t\tstyle.width = this.parent.width;\r\n\t\t\t\t\t// #ifdef MP\r\n\t\t\t\t\t// 各家小程序因为它们特殊的编译结构,使用float布局\r\n\t\t\t\t\tstyle.float = 'left';\r\n\t\t\t\t\t// #endif\r\n\t\t\t\t\t// #ifndef MP\r\n\t\t\t\t\t// H5和APP使用flex布局\r\n\t\t\t\t\tstyle.flex = `0 0 ${this.parent.width}`;\r\n\t\t\t\t\t// #endif\r\n\t\t\t\t}\r\n\t\t\t\tif(this.parent && this.parent.wrap) {\r\n\t\t\t\t\tstyle.width = '100%';\r\n\t\t\t\t\t// #ifndef MP\r\n\t\t\t\t\t// H5和APP使用flex布局,将宽度设置100%,即可自动换行\r\n\t\t\t\t\tstyle.flex = '0 0 100%';\r\n\t\t\t\t\t// #endif\r\n\t\t\t\t}\r\n\t\t\t\treturn style;\r\n\t\t\t}\r\n\t\t},\r\n\t\tmethods: {\r\n\t\t\tonClickLabel() {\r\n\t\t\t\tif (!this.isLabelDisabled && !this.isDisabled) {\r\n\t\t\t\t\tthis.setValue();\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\ttoggle() {\r\n\t\t\t\tif (!this.isDisabled) {\r\n\t\t\t\t\tthis.setValue();\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\temitEvent() {\r\n\t\t\t\tthis.$emit('change', {\r\n\t\t\t\t\tvalue: !this.value,\r\n\t\t\t\t\tname: this.name\r\n\t\t\t\t})\r\n\t\t\t\t// 执行父组件u-checkbox-group的事件方法\r\n\t\t\t\t// 等待下一个周期再执行,因为this.$emit('input')作用于父组件,再反馈到子组件内部,需要时间\r\n\t\t\t\tsetTimeout(() => {\r\n\t\t\t\t\tif(this.parent && this.parent.emitEvent) this.parent.emitEvent();\r\n\t\t\t\t}, 80);\r\n\t\t\t},\r\n\t\t\t// 设置input的值,这里通过input事件,设置通过v-model绑定的组件的值\r\n\t\t\tsetValue() {\r\n\t\t\t\t// 判断是否超过了可选的最大数量\r\n\t\t\t\tlet checkedNum = 0;\r\n\t\t\t\tif(this.parent && this.parent.children) {\r\n\t\t\t\t\t// 只要父组件的某一个子元素的value为true,就加1(已有的选中数量)\r\n\t\t\t\t\tthis.parent.children.map(val => {\r\n\t\t\t\t\t\tif (val.value) checkedNum++;\r\n\t\t\t\t\t})\r\n\t\t\t\t}\r\n\t\t\t\t// 如果原来为选中状态,那么可以取消\r\n\t\t\t\tif (this.value == true) {\r\n\t\t\t\t\tthis.emitEvent();\r\n\t\t\t\t\tthis.$emit('input', !this.value);\r\n\t\t\t\t} else {\r\n\t\t\t\t\t// 如果超出最多可选项,提示\r\n\t\t\t\t\tif(this.parent && checkedNum >= this.parent.max) {\r\n\t\t\t\t\t\treturn this.$u.toast(`最多可选${this.parent.max}项`);\r\n\t\t\t\t\t}\r\n\t\t\t\t\t// 如果原来为未选中状态,需要选中的数量少于父组件中设置的max值,才可以选中\r\n\t\t\t\t\tthis.emitEvent();\r\n\t\t\t\t\tthis.$emit('input', !this.value);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t};\r\n</script>\r\n\r\n<style lang=\"scss\" scoped>\r\n\t@import \"../../libs/css/style.components.scss\";\r\n\r\n\t.u-checkbox {\r\n\t\t/* #ifndef APP-NVUE */\r\n\t\tdisplay: inline-flex;\r\n\t\t/* #endif */\r\n\t\talign-items: center;\r\n\t\toverflow: hidden;\r\n\t\tuser-select: none;\r\n\t\tline-height: 1.8;\r\n\t\t\r\n\t\t&__icon-wrap {\r\n\t\t\tcolor: $u-content-color;\r\n\t\t\tflex: none;\r\n\t\t\tdisplay: -webkit-flex;\r\n\t\t\t@include vue-flex;\r\n\t\t\talign-items: center;\r\n\t\t\tjustify-content: center;\r\n\t\t\tbox-sizing: border-box;\r\n\t\t\twidth: 42rpx;\r\n\t\t\theight: 42rpx;\r\n\t\t\tcolor: transparent;\r\n\t\t\ttext-align: center;\r\n\t\t\ttransition-property: color, border-color, background-color;\r\n\t\t\tfont-size: 20px;\r\n\t\t\tborder: 1px solid #c8c9cc;\r\n\t\t\ttransition-duration: 0.2s;\r\n\t\t\t\r\n\t\t\t/* #ifdef MP-TOUTIAO */\r\n\t\t\t// 头条小程序兼容性问题,需要设置行高为0,否则图标偏下\r\n\t\t\t&__icon {\r\n\t\t\t\tline-height: 0;\r\n\t\t\t}\r\n\t\t\t/* #endif */\r\n\t\t\t\r\n\t\t\t&--circle {\r\n\t\t\t\tborder-radius: 100%;\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\t&--square {\r\n\t\t\t\tborder-radius: 6rpx;\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\t&--checked {\r\n\t\t\t\tcolor: #fff;\r\n\t\t\t\tbackground-color: $u-type-primary;\r\n\t\t\t\tborder-color: $u-type-primary;\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\t&--disabled {\r\n\t\t\t\tbackground-color: #ebedf0;\r\n\t\t\t\tborder-color: #c8c9cc;\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\t&--disabled--checked {\r\n\t\t\t\tcolor: #c8c9cc !important;\r\n\t\t\t}\r\n\t\t}\r\n\t\r\n\t\t&__label {\r\n\t\t\tword-wrap: break-word;\r\n\t\t\tmargin-left: 10rpx;\r\n\t\t\tmargin-right: 24rpx;\r\n\t\t\tcolor: $u-content-color;\r\n\t\t\tfont-size: 30rpx;\r\n\t\t\t\r\n\t\t\t&--disabled {\r\n\t\t\t\tcolor: #c8c9cc;\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n</style>\r\n","import mod from \"-!E:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!E:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-1!E:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!E:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-2!E:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!E:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\sass-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-4!E:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!E:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!E:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./u-checkbox.vue?vue&type=style&index=0&id=54acf820&lang=scss&scoped=true&\"; export default mod; export * from \"-!E:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!E:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-1!E:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!E:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-2!E:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!E:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\sass-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-4!E:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!E:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!E:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./u-checkbox.vue?vue&type=style&index=0&id=54acf820&lang=scss&scoped=true&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1631763038638\n var cssReload = require(\"E:/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js\")(module.id, {\"hmr\":true,\"publicPath\":\"../../\",\"locals\":false});\n module.hot.dispose(cssReload);\n module.hot.accept(undefined, cssReload);\n }\n "],"sourceRoot":""}