c-button.js.map 8.1 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,wLAEN;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,kBADA;AAEA,uBAFA,EAbA;;AAiBA;AACA,mBADA;AAEA,oBAFA,EAjBA;;AAqBA;AACA,kBADA;AAEA,aAFA,sBAEA;AACA;AACA,OAJA,EArBA,EAFA;;;AA8BA,MA9BA,kBA8BA;AACA;AACA,GAhCA;AAiCA;AACA,kBADA,4BACA;;;;AAIA,UAJA,CAGA,IAHA,CAGA,IAHA,2BAGA,EAHA;;AAMA;;AAEA;AACA;AACA;AACA,sCADA;AAEA,gCAFA;AAGA,0BAHA;AAIA;;AAEA;AACA;AACA,+CADA;AAEA,gCAFA;AAGA,0BAHA;AAIA;;AAEA;AACA;AACA,gBAjBA;;AAmBA,KA5BA,EAjCA;;AA+DA;AACA;AACA,SAFA,iBAEA,CAFA,EAEA;AACA;AACA,KAJA;;AAMA,kBANA,0BAMA,CANA,EAMA;AACA;AACA,KARA,EA/DA,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: \"uview-ui/components/u-button/u-button\" */ \"@/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 type=\"primary\" :shape=\"shape\" :open-type=\"openType\" @getphonenumber=\"getPhoneNumber\" hover-class=\"none\" :disabled=\"disabled\" :custom-style=\"getCustomStyle\"\r\n\t\t\t@click=\"click\">\r\n\t\t\t{{text}}\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},\n\t\t\topenType: {\n\t\t\t\ttype: String,\n\t\t\t\tdefault: ''\n\t\t\t},\r\n\t\t\tshape: {\r\n\t\t\t\ttype: String,\r\n\t\t\t\tdefault: 'square'\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},\r\n\t\tdata() {\r\n\t\t\treturn {}\r\n\t\t},\r\n\t\tcomputed: {\r\n\t\t\tgetCustomStyle() {\r\n\r\n\t\t\t\tconst {\r\n\t\t\t\t\ttype = ''\r\n\t\t\t\t} = this;\n\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',\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)\",\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},\n\t\t\t\n\t\t\tgetPhoneNumber(e) {\n\t\t\t\tthis.$emit(\"getPhoneNumber\", e)\n\t\t\t}\r\n\t\t}\r\n\t}\r\n</script>\r\n\r\n<style lang=\"scss\">\n\t\n</style>\n"],"sourceRoot":""}