c-button.js.map
8.5 KB
{"version":3,"sources":["webpack:////Users/linon/work/workai/yxly-teacher/components/c-button/c-button.vue?c75a","webpack:////Users/linon/work/workai/yxly-teacher/components/c-button/c-button.vue?0367","webpack:////Users/linon/work/workai/yxly-teacher/components/c-button/c-button.vue?638e","webpack:////Users/linon/work/workai/yxly-teacher/components/c-button/c-button.vue?f074","uni-app:///components/c-button/c-button.vue"],"names":[],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAqH;AACrH;AAC4D;AACL;;;AAGvD;AACgN;AAChN,gBAAgB,iNAAU;AAC1B,EAAE,8EAAM;AACR,EAAE,mFAAM;AACR,EAAE,4FAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,uFAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACtBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA,aAAa,6SAEN;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;AACA;AACA;AACA;;;;;;;;;;;;;;ACjCA;AAAA;AAAA;AAAA;AAAs0B,CAAgB,syBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;ACU11B;AACA,kBADA;AAEA;AACA;AACA,kBADA;AAEA,iBAFA,EADA;;AAKA;AACA,kBADA;AAEA,wBAFA,EALA;;AASA;AACA,kBADA;AAEA,iBAFA,EATA;;AAaA;AACA,mBADA;AAEA,oBAFA,EAbA;;AAiBA;AACA,kBADA;AAEA,aAFA,sBAEA;AACA;AACA,OAJA,EAjBA;;AAuBA;AACA,kBADA;AAEA,iBAFA,EAvBA,EAFA;;;;AA+BA,MA/BA,kBA+BA;AACA;AACA,GAjCA;;AAmCA;AACA;AACA;AACA;AACA;AACA,gBAHA;;AAKA,KAPA,EAnCA;;;AA6CA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AA5BA,GA7CA;AA2EA;AACA;AACA,SAFA,iBAEA,CAFA,EAEA;AACA;AACA,KAJA;;AAMA,kBANA,0BAMA,CANA,EAMA;AACA;AACA,KARA,EA3EA,E","file":"components/c-button/c-button.js","sourcesContent":["import { render, staticRenderFns, recyclableRender, components } from \"./c-button.vue?vue&type=template&id=ea46bcf8&\"\nvar renderjs\nimport script from \"./c-button.vue?vue&type=script&lang=js&\"\nexport * from \"./c-button.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../../Applications/HBuilderX.app/Contents/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/c-button/c-button.vue\"\nexport default component.exports","export * from \"-!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--16-0!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./c-button.vue?vue&type=template&id=ea46bcf8&\"","var components\ntry {\n components = {\n uButton: function() {\n return import(\n /* webpackChunkName: \"uni_modules/uview-ui/components/u-button/u-button\" */ \"@/uni_modules/uview-ui/components/u-button/u-button.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}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./c-button.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./c-button.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view class=\"u-button\">\r\n\t\t<u-button :text=\"text\" color=\"#0CB17A\" :plain=\"false\" :hairline=\"false\" :disabled=\"disabled\" :throttleTime=\"1500\"\r\n\t\t\ttype=\"info\" shape=\"circle\" :open-type=\"openType\" @getphonenumber=\"getPhoneNumber\"\r\n\t\t\t:custom-style=\"getCustomStyle\" @click=\"click\">\r\n\t\t</u-button>\r\n\t</view>\r\n</template>\r\n\r\n<script>\r\n\texport default {\r\n\t\tname: 'u-button',\r\n\t\tprops: {\r\n\t\t\ttext: {\r\n\t\t\t\ttype: String,\r\n\t\t\t\tdefault: ''\r\n\t\t\t},\r\n\t\t\ttype: {\r\n\t\t\t\ttype: String,\r\n\t\t\t\tdefault: 'confirm'\r\n\t\t\t},\r\n\t\t\topenType: {\r\n\t\t\t\ttype: String,\r\n\t\t\t\tdefault: ''\r\n\t\t\t},\r\n\t\t\tdisabled: {\r\n\t\t\t\ttype: Boolean,\r\n\t\t\t\tdefault: false\r\n\t\t\t},\r\n\t\t\tcustomStyle: {\r\n\t\t\t\ttype: Object,\r\n\t\t\t\tdefault () {\r\n\t\t\t\t\treturn {}\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\tcolor: {\r\n\t\t\t\ttype: String,\r\n\t\t\t\tdefault: ''\r\n\t\t\t},\r\n\r\n\t\t},\r\n\t\tdata() {\r\n\t\t\treturn {}\r\n\t\t},\r\n\r\n\t\twatch: {\r\n\t\t\tbuttonType: function(newVal, oldVal) {\r\n\t\t\t\tswitch (this.type) {\r\n\t\t\t\t\tcase 'confirm':\r\n\t\t\t\t\t\tthis.color = \"#0CB17A\";\r\n\t\t\t\t\t\tbreak;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t},\r\n\r\n\t\tcomputed: {\r\n\t\t\t// getCustomStyle() {\r\n\r\n\t\t\t// \tconst {\r\n\t\t\t// \t\ttype = ''\r\n\t\t\t// \t} = this;\r\n\r\n\t\t\t// \tlet style = {};\r\n\r\n\t\t\t// \tswitch (type) {\r\n\t\t\t// \t\tcase 'confirm':\r\n\t\t\t// \t\t\treturn Object.assign({}, {\r\n\t\t\t// \t\t\t\tbackgroundColor: '#FF001A',\r\n\t\t\t// \t\t\t\tborderRadius: '8rpx',\r\n\t\t\t// \t\t\t}, this.customStyle);\r\n\t\t\t// \t\t\tbreak;\r\n\r\n\t\t\t// \t\tcase 'cancel':\r\n\t\t\t// \t\t\treturn Object.assign({}, {\r\n\t\t\t// \t\t\t\tbackgroundColor: \"rgba(0,0,0,0.15)\",\r\n\t\t\t// \t\t\t\tborderRadius: '8rpx',\r\n\t\t\t// \t\t\t}, this.customStyle);\r\n\t\t\t// \t\t\tbreak;\r\n\r\n\t\t\t// \t\tcase 'custom':\r\n\t\t\t// \t\t\treturn Object.assign({}, this.customStyle);\r\n\t\t\t// \t\t\tbreak;\r\n\t\t\t// \t}\r\n\t\t\t// }\r\n\t\t},\r\n\t\tmethods: {\r\n\t\t\t// 按钮点击\r\n\t\t\tclick(e) {\r\n\t\t\t\tthis.$emit('click', e);\r\n\t\t\t},\r\n\r\n\t\t\tgetPhoneNumber(e) {\r\n\t\t\t\tthis.$emit(\"getPhoneNumber\", e)\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n</script>\r\n\r\n<style lang=\"scss\">\r\n\r\n</style>\n"],"sourceRoot":""}