dengrui/unpackage/dist/dev/.sourcemap/mp-weixin/components/li-switch.js.map

1 line
9.8 KiB
Plaintext

{"version":3,"sources":["webpack:///D:/chenq/chen/uniapp(兼小程序)/dengrui/components/li-switch.vue?45e1","webpack:///D:/chenq/chen/uniapp(兼小程序)/dengrui/components/li-switch.vue?7f11","webpack:///D:/chenq/chen/uniapp(兼小程序)/dengrui/components/li-switch.vue?7e03","webpack:///D:/chenq/chen/uniapp(兼小程序)/dengrui/components/li-switch.vue?0f17","uni-app:///components/li-switch.vue","webpack:///D:/chenq/chen/uniapp(兼小程序)/dengrui/components/li-switch.vue?d258","webpack:///D:/chenq/chen/uniapp(兼小程序)/dengrui/components/li-switch.vue?6dea"],"names":[],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAsH;AACtH;AAC6D;AACL;AACa;;;AAGrE;AACgL;AAChL,gBAAgB,uLAAU;AAC1B,EAAE,+EAAM;AACR,EAAE,oFAAM;AACR,EAAE,6FAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,wFAAU;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;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACRA;AAAA;AAAA;AAAA;AAAuqB,CAAgB,qqBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACgB3rB;AACA;AACA;AACA,kBADA;AAEA,wBAFA,EADA;;AAKA;AACA,mBADA;AAEA,mBAFA,EALA;;AASA;AACA,kBADA;AAEA,mBAFA,EATA;;AAaA;AACA,kBADA;AAEA,mBAFA,EAbA;;AAiBA;AACA,kBADA;AAEA,iBAFA,EAjBA;;AAqBA;AACA,kBADA;AAEA,iBAFA,EArBA;;AAyBA;AACA,kBADA;AAEA,mBAFA,EAzBA,EADA;;;AA+BA,MA/BA,kBA+BA;AACA;;;AAGA,GAnCA;AAoCA;AACA;AACA;AACA,6BADA;;AAGA,KALA,EApCA,E;;;;;;;;;;;;AChBA;AAAA;AAAA;AAAA;AAAo9B,CAAgB,86BAAG,EAAC,C;;;;;;;;;;;ACAx+B;AACA,OAAO,KAAU,EAAE,kBAKd","file":"components/li-switch.js","sourcesContent":["import { render, staticRenderFns, recyclableRender, components } from \"./li-switch.vue?vue&type=template&id=42b8a0d9&\"\nvar renderjs\nimport script from \"./li-switch.vue?vue&type=script&lang=js&\"\nexport * from \"./li-switch.vue?vue&type=script&lang=js&\"\nimport style0 from \"./li-switch.vue?vue&type=style&index=0&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../HbuilderX/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 null,\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"components/li-switch.vue\"\nexport default component.exports","export * from \"-!../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--16-0!../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./li-switch.vue?vue&type=template&id=42b8a0d9&\"","var components\nvar render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./li-switch.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./li-switch.vue?vue&type=script&lang=js&\"","<template>\r\n <view>\r\n <view class=\"switch_box row-b-c\"\r\n :style=\"{backgroundColor: checked? bg :'',width: width+'rpx',height: height+'rpx',borderRadius: 20.5+ 'px'}\"\r\n @tap=\"changeSwitch\">\r\n <view class=\"switch_text c-white\" :class=\"checked?['to_left']:['_right','c-black']\"\r\n :style=\"{fontSize: size + 'rpx'}\">{{checked?checked_text:check_text}}\r\n </view>\r\n <view class=\"round switch-qiu\" :style=\"{left: checked?'100%':0,marginLeft:checked?'-'+34+'rpx':'',width:30+'rpx',\r\n\t\theight: 30+'rpx',borderRadius:30+'rpx'}\">\r\n </view>\r\n </view>\r\n </view>\r\n</template>\r\n\r\n<script>\r\n export default {\r\n props: {\r\n bg: {\r\n type: String,\r\n default: '#ff7800'\r\n },\r\n checked: {\r\n type: Boolean,\r\n default: true\r\n },\r\n width: {\r\n type: String,\r\n default: '90'\r\n },\r\n height: {\r\n type: String,\r\n default: '40'\r\n },\r\n check_text: {\r\n type: String,\r\n default: ''\r\n },\r\n checked_text: {\r\n type: String,\r\n default: ''\r\n },\r\n size: {\r\n type: String,\r\n default: '20'\r\n }\r\n },\r\n data() {\r\n return {\r\n\r\n }\r\n },\r\n methods: {\r\n changeSwitch: function(e) {\r\n this.$emit('change', {\r\n checked: this.checked\r\n })\r\n }\r\n }\r\n }\r\n</script>\r\n\r\n<style>\r\n .row-c-c {\r\n display: flex;\r\n justify-content: center;\r\n align-items: center;\r\n }\r\n .c-white {\r\n color: #FFFFFF;\r\n }\r\n .c-black {\r\n color: #666666;\r\n }\r\n .switch_box {\r\n position: relative;\r\n border: 1rpx solid #EEEEEE;\r\n background-color: #F5F5F5;\r\n transition: all 0.4s;\r\n }\r\n .round {\r\n position: absolute;\r\n background-color: #FFFFFF;\r\n transition: all 0.4s;\r\n }\r\n .to_left {\r\n left: 0;\r\n margin-left: 0;\r\n }\r\n .to_right {\r\n left: 100%;\r\n margin-left: -50rpx;\r\n }\r\n .switch_text {\r\n position: absolute;\r\n padding: 0 20rpx;\r\n }\r\n ._right {\r\n right: 0;\r\n }\r\n</style>\n","import mod from \"-!../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--6-oneOf-1-2!../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-3!../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./li-switch.vue?vue&type=style&index=0&lang=css&\"; export default mod; export * from \"-!../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--6-oneOf-1-2!../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-3!../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./li-switch.vue?vue&type=style&index=0&lang=css&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1642492104781\n var cssReload = require(\"D:/HbuilderX/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":""}