tm-button.js.map 35 KB

1
  1. {"version":3,"sources":["webpack:///D:/yzm/worknew/wardrobe/tm-vuetify/components/tm-button/tm-button.vue?466c","webpack:///D:/yzm/worknew/wardrobe/tm-vuetify/components/tm-button/tm-button.vue?c730","webpack:///D:/yzm/worknew/wardrobe/tm-vuetify/components/tm-button/tm-button.vue?8d41","webpack:///D:/yzm/worknew/wardrobe/tm-vuetify/components/tm-button/tm-button.vue?261a","uni-app:///tm-vuetify/components/tm-button/tm-button.vue","webpack:///D:/yzm/worknew/wardrobe/tm-vuetify/components/tm-button/tm-button.vue?8c96","webpack:///D:/yzm/worknew/wardrobe/tm-vuetify/components/tm-button/tm-button.vue?a826"],"names":[],"mappings":"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KAjCA;AAkCA;AACA;AACA;AACA;AACA;AACA;AACA,OANA;AAOA;AACA;AACA,OATA,EAlCA;;AA6CA;AACA;AACA;AACA;AACA,KAjDA;AAkDA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,OAnBA,EAlDA;;AAuEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,OAbA,EAvEA;;AAsFA;AACA;AACA;AACA;AACA,OAFA,MAEA;AACA;AACA,OAFA,MAEA;AACA;AACA,OAFA,MAEA;AACA;AACA,OAFA,MAEA;AACA;AACA,OAFA,MAEA;AACA;AACA;AACA,KArGA;AAsGA;AACA;AACA;AACA;AACA;AACA;AACA,OAFA,MAEA;AACA;AACA,OAFA,MAEA;AACA;AACA,OAFA,MAEA;AACA;AACA,OAFA,MAEA;AACA;AACA,OAFA,MAEA;AACA;AACA;AACA,KAvHA;AAwHA;AACA;AACA;AACA;AACA;AACA;AACA,OAFA,MAEA;AACA;AACA,OAFA,MAEA;AACA;AACA,OAFA,MAEA;AACA;AACA,OAFA,MAEA;AACA;AACA,OAFA,MAEA;AACA;AACA;AACA,KAzIA;AA0IA;AACA;AACA;AACA;AACA;AACA;AACA,OAFA,MAEA;AACA;AACA,OAFA,MAEA;AACA;AACA,OAFA,MAEA;AACA;AACA,OAFA,MAEA;AACA;AACA,OAFA,MAEA;AACA;AACA;AACA,KA3JA;AA4JA;AACA;AACA;AACA,KA/JA,EA5KA;;AA6UA,MA7UA,kBA6UA;AACA;AACA,qBADA;AAEA,wBAFA;AAGA,qBAHA;AAIA,8BAJA;;AAMA,GApVA;AAqVA;AACA,kBADA,0BACA,GADA,EACA;AACA;AACA,KAHA;AAIA,WAJA,qBAIA;AACA;AACA;AACA;;AAEA;AACA,0BADA;AAEA,oBAFA;AAGA;AACA;AACA;AACA;AACA;AACA,2CADA,EACA,aADA,EACA,UADA;;AAGA;AACA;AACA;AACA,yCADA,EACA,aADA,EACA,UADA;;AAGA;AACA;AACA;AACA;AACA,WAnBA;AAoBA;AACA;AACA;AACA;AACA,yCADA,EACA,aADA,EACA,UADA;;AAGA;AACA;AACA;AACA,0BADA;;AAGA,WA/BA;;;AAkCA;;AAEA;AACA;AACA;AACA;AACA,kBADA;;AAGA;AACA,KApDA;AAqDA,WArDA,qBAqDA;AACA;AACA,KAvDA;AAwDA,SAxDA,mBAwDA;AACA;AACA,KA1DA;AA2DA,kBA3DA,4BA2DA;AACA;AACA,KA7DA;AA8DA,eA9DA,yBA8DA;AACA;AACA,KAhEA;AAiEA,aAjEA,uBAiEA;AACA;AACA,KAnEA;AAoEA,eApEA,yBAoEA;AACA;AACA,KAtEA,EArVA,E;;;;;;;;;;;;;ACnIA;AAAA;AAAA;AAAA;AAAy8C,CAAgB,+3CAAG,EAAC,C;;;;;;;;;;;ACA79C;AACA,OAAO,KAAU,EAAE,kBAKd","file":"tm-vuetify/components/tm-button/tm-button.js","sourcesContent":["import { render, staticRenderFns, recyclableRender, components } from \"./tm-button.vue?vue&type=template&id=dae977ca&scoped=true&\"\nvar renderjs\nimport script from \"./tm-button.vue?vue&type=script&lang=js&\"\nexport * from \"./tm-button.vue?vue&type=script&lang=js&\"\nimport style0 from \"./tm-button.vue?vue&type=style&index=0&id=dae977ca&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../exe/HBuilderX.3.4.7.20220422/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 \"dae977ca\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"tm-vuetify/components/tm-button/tm-button.vue\"\nexport default component.exports","export * from \"-!../../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--16-0!../../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./tm-button.vue?vue&type=template&id=dae977ca&scoped=true&\"","var components\ntry {\n components = {\n tmIcons: function() {\n return import(\n /* webpackChunkName: \"tm-vuetify/components/tm-icons/tm-icons\" */ \"@/tm-vuetify/components/tm-icons/tm-icons.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 if (_vm.$scope.data.scopedSlotsCompiler === \"augmented\") {\n _vm.$setScopedSlotsParams(\"icon\", {\n data: {\n icon: _vm.icon,\n size: _vm.icon_size.upx,\n fab: _vm.fab\n }\n })\n _vm.$setScopedSlotsParams(\"default\", {\n data: _vm.label\n })\n }\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!../../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./tm-button.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./tm-button.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view class=\"tm-button \" :class=\"[block ? 'd-block' : 'd-inline-block ']\">\r\n\t\t<view\r\n\t\t\tclass=\"flex-center tm-button-btn fulled-height\"\r\n\t\t\t:class=\"[block ? '' : customDense_puted ? '' : 'ma-10', block ? 'd-block' : 'd-inline-block', black_tmeme ? 'bk' : '', customStyle]\"\r\n\t\t>\r\n\t\t<!-- @getuserinfo=\"getuserinfo\" -->\r\n\t\t\t<button\r\n\t\t\t\t@contact=\"contact\"\r\n\t\t\t\t@error=\"error\"\r\n\t\t\t\t@getphonenumber=\"getphonenumber\"\r\n\t\t\t\t@launchapp=\"launchapp\"\r\n\t\t\t\t@opensetting=\"opensetting\"\r\n\t\t\t\t@click=\"onclick\"\r\n\t\t\t\t@longpress=\"$emit('longpress', $event)\"\r\n\t\t\t\t@touchcancel=\"$emit('touchcancel', $event)\"\r\n\t\t\t\t@touchend=\"$emit('touchend', $event)\"\r\n\t\t\t\t@touchstart=\"$emit('touchstart', $event)\"\r\n\t\t\t\t:disabled=\"disabled\"\r\n\t\t\t\t:loading=\"loading\"\r\n\t\t\t\t:open-type=\"openType\"\r\n\t\t\t\t:hover-start-time=\"hoverStartTime\"\r\n\t\t\t\t:hover-stay-time=\"hoverStaySime\"\r\n\t\t\t\t:hover-stop-propagation=\"hoverStopPropagation\"\r\n\t\t\t\t:send-message-img=\"sendMessageImg\"\r\n\t\t\t\t:send-message-path=\"sendMessagePath\"\r\n\t\t\t\t:send-message-title=\"sendMessageTitle\"\r\n\t\t\t\t:show-message-card=\"showMessageCard\"\r\n\t\t\t\t:class=\"[\r\n\t\t\t\t\t\r\n\t\t\t\t\tshowValue ? 'showValue' : '',\r\n\t\t\t\t\ttitl ? 'text-' + color_tmeme : '',\r\n\t\t\t\t\tvertical ? 'flex-col flex-center' : 'flex-center',\r\n\t\t\t\t\tblack_tmeme ? 'bk' : '',\r\n\t\t\t\t\tdisabled ? color_tmeme + ' grey-lighten-2' : color_tmeme,\r\n\t\t\t\t\tblock ? '' : sizes,\r\n\t\t\t\t\ttext || titl ? '' : bgcolor ? 'shadow-' + shadow : 'shadow-' + shadowthemeName + '-' + shadow,\r\n\t\t\t\t\tflat ? 'flat' : '',\r\n\t\t\t\t\ttext ? 'text ' : '',\r\n\t\t\t\t\tplan ? 'plan outlined' : '',\r\n\t\t\t\t\ttitl ? 'titl' : '',\r\n\t\t\t\t\t\r\n\t\t\t\t\tfab?'rounded':'round-' + round,\r\n\t\t\t\t\tcustomClass_puted\r\n\t\t\t\t]\"\r\n\t\t\t\t:style=\"{\r\n\t\t\t\t\tbackground: bgcolor ? bgcolor + ' !important' : 'default',\r\n\t\t\t\t\twidth: widths != 0 && widths != 'inherit' ? widths : 'inherit',\r\n\t\t\t\t\theight: heights,\r\n\t\t\t\t\tlineHeight: 'inherit'\r\n\t\t\t\t}\"\r\n\t\t\t>\r\n\t\t\t\t<slot name=\"icon\" :data=\"{ icon: icon, size: icon_size.upx, fab: fab }\">\r\n\t\t\t\t\t<block v-if=\"vtype == true\">\r\n\t\t\t\t\t\t<text\r\n\t\t\t\t\t\t\tv-if=\"!fab && icon\"\r\n\t\t\t\t\t\t\t:class=\"[`${prefx_computed} ${icon}`, fontColor ? `text-${colors.color}` : '', black_tmeme ? 'opacity-6' : '', 'px-12']\"\r\n\t\t\t\t\t\t\t:style=\"{\r\n\t\t\t\t\t\t\t\tfontSize: `${icon_size.px}px`,\r\n\t\t\t\t\t\t\t\tlineHeight:'normal'\r\n\t\t\t\t\t\t\t}\"\r\n\t\t\t\t\t\t></text>\r\n\t\t\t\t\t\t<text\r\n\t\t\t\t\t\t\tv-if=\"fab && icon && !loading && !titl\"\r\n\t\t\t\t\t\t\t:class=\"[`${prefx_computed} ${icon}`, fontColor ? `text-${colors.color}` : '', black_tmeme ? 'opacity-6' : '']\"\r\n\t\t\t\t\t\t\t:style=\"{\r\n\t\t\t\t\t\t\t\tfontSize: `${icon_size.px}px`,\r\n\t\t\t\t\t\t\t\tlineHeight:'normal'\r\n\t\t\t\t\t\t\t}\"\r\n\t\t\t\t\t\t></text>\r\n\t\t\t\t\t\t<text\r\n\t\t\t\t\t\t\tv-if=\"fab && icon && !loading && titl\"\r\n\t\t\t\t\t\t\t:class=\"[`${prefx_computed} ${icon}`, fontColor ? `text-${color_tmeme}` : '', black_tmeme ? 'opacity-6' : '']\"\r\n\t\t\t\t\t\t\t:style=\"{\r\n\t\t\t\t\t\t\t\tfontSize: `${icon_size.px}px`,\r\n\t\t\t\t\t\t\t\tlineHeight:'normal'\r\n\t\t\t\t\t\t\t}\"\r\n\t\t\t\t\t\t></text>\r\n\t\t\t\t\t</block>\r\n\t\t\t\t\t<block v-if=\"vtype == false\"><tm-icons :size=\"icon_size.upx\" :name=\"icon\"></tm-icons></block>\r\n\t\t\t\t</slot>\r\n\r\n\t\t\t\t<view v-if=\"!fab || showValue\" class=\"d-inline-block tm-button-label flex-shrink\" :style=\"{ fontSize: font_size }\" :class=\"[fontColor ? `text-${colors.color}` : '']\">\r\n\t\t\t\t\t<slot name=\"default\" :data=\"label\">{{ label }}</slot>\r\n\t\t\t\t</view>\r\n\t\t\t</button>\r\n\t\t</view>\r\n\t</view>\r\n</template>\r\n\r\n<script>\r\n/**\r\n * 按钮\r\n * @description 注意,按钮功能同原生按钮功能,所有属性都有。\r\n * @property {Function} contact\r\n * @property {Function} error\r\n * @property {Function} getphonenumber\r\n * @property {Function} getuserinfo\r\n * @property {Function} opensetting\r\n * @property {Function} click\r\n * @property {Boolean} disabled = [true|false] 是否禁用\r\n * @property {Boolean} loading = [true|false] 是否加载中\r\n * @property {String} open-type = [contact|getPhoneNumber|getUserInfo|launchapp|share|openSetting] 同原生btn相同,//当等于getUserProfile时,自动获取微信授权。\r\n * @property {Boolean} block = [true|false] 是否独占一行\r\n * @property {Boolean} show-value = [true|false] fab模式是隐藏文字的。如果这个设置为true,不管在什么情况下都会显示文字。\r\n * @property {String} url = [] 默认\"\",如果提供将会跳转连接。\r\n * @property {String} size = [xs|s|m|n|l|g] 默认\"n\",按钮尺寸大小。\r\n * @property {Number|String} font-size = [] 默认 0,自定义文字大小,默认使用主题size的大小。\r\n * @property {Number|String} icon-size = [] upx单位默认 0,自定义图标大小,默认使用主题size的大小。\r\n * @property {String} icon = [] 单位默认 \"\",自定义按钮图标。\r\n * @property {String} item-class = [] 默认 \"\",按钮自定样式类。\r\n * @property {String|Number} shadow = [] 默认 5,按钮投影\r\n * @property {String} font-color = [] 默认主题颜色,自定文字颜色\r\n * @property {String} bgcolor = [] 默认主题颜色,自定义-背景颜色\r\n * @property {String} theme = [] 默认 primary,主题颜色\r\n * @property {Boolean|String} black = [true|false] 默认 false, 暗黑模式\r\n * @property {Boolean|String} flat = [true|false] 默认 false, 去除所有投影圆角效果,扁平模式。\r\n * @property {Boolean|String} text = [true|false] 默认 false, 文本模式。背景减淡。文字使用主题色。\r\n * @property {Boolean|String} plan = [true|false] 默认 false, 镂空。\r\n * @property {Boolean|String} fab = [true|false] 默认 false, 圆模式。\r\n * @property {Boolean|String} dense = [true|false] 默认 false, 是否去除外间隙。\r\n * @property {Boolean|String} titl = [true|false] 默认 false, 无背景,无边框,只保留按钮区域和文字颜色或者图标颜色。\r\n * @property {String} label = [] 默认 \"\", 按钮文字也可以使用插槽模式直接写在组件内部。\r\n * @property {String|Number} width = [] 默认 \"\", 按钮宽, 单位px ,可以是百分比 如果不设置block为true时,此项设置无效。\r\n * @property {String|Number} height = [] 默认 \"\", 按钮高, 单位px ,可以是百分比如果不设置block为true时,此项设置无效。\r\n * @property {String|Number} round = [] 默认 2, 圆角\r\n * @property {String|Number} navtie-type = [form] 默认 :'', 可选值form,提供此属性为form时,事件会被表单接替,会触发表单提交事件。\r\n * @property {String} userProfileError = ['auto'] 默认:'auto' 仅open-type='getUserProfile'时有效,当微信授权失败提示的信息,默认为auto,如果非auto将显示自定义错误提示。如果为'',将不显示错误提示。\r\n * @example <tm-button>确定</tm-button>\r\n */\r\nimport tmIcons from '@/tm-vuetify/components/tm-icons/tm-icons.vue';\r\nexport default {\r\n\tcomponents: { tmIcons },\r\n\tname: 'tm-button',\r\n\tprops: {\r\n\t\thoverStartTime:20,\r\n\t\thoverStaySime:70,\r\n\t\tappParameter:String,\r\n\t\thoverStopPropagation:{\r\n\t\t\ttype:Boolean,\r\n\t\t\tdefault:false\r\n\t\t},\r\n\t\tsessionFrom:String,\r\n\t\tsendMessageTitle:String,\r\n\t\tsendMessagePath:String,\r\n\t\tsendMessageImg:String,\r\n\t\tshowMessageCard:String,\r\n\t\tnavtieType: {\r\n\t\t\ttype: String,\r\n\t\t\tdefault: '' //form\r\n\t\t},\r\n\t\t// 内联还是独占一行的块状100%,默认内联样式。\r\n\t\tblock: {\r\n\t\t\ttype: String | Boolean,\r\n\t\t\tdefault: false\r\n\t\t},\r\n\t\t// fab模式是隐藏文字的。如果这个设置为true,不管在什么情况下都会显示文字。\r\n\t\tshowValue: {\r\n\t\t\ttype: String | Boolean,\r\n\t\t\tdefault: false\r\n\t\t},\r\n\t\tdisabled: {\r\n\t\t\ttype: String | Boolean,\r\n\t\t\tdefault: false\r\n\t\t},\r\n\t\tloading: {\r\n\t\t\ttype: String | Boolean,\r\n\t\t\tdefault: false\r\n\t\t},\r\n\t\turl: {\r\n\t\t\ttype: String,\r\n\t\t\tdefault: ''\r\n\t\t},\r\n\t\t// xs,s,n,l,g\r\n\t\tsize: {\r\n\t\t\ttype: String,\r\n\t\t\tdefault: 'n'\r\n\t\t},\r\n\r\n\t\t// 文字大小。\r\n\t\tfontSize: {\r\n\t\t\ttype: Number | String,\r\n\t\t\tdefault: 0\r\n\t\t},\r\n\r\n\t\t// 图标大小。\r\n\t\ticonSize: {\r\n\t\t\ttype: Number | String,\r\n\t\t\tdefault: 0\r\n\t\t},\r\n\t\t// icon-cog-fill\r\n\t\ticon: {\r\n\t\t\ttype: String,\r\n\t\t\tdefault: ''\r\n\t\t},\r\n\t\t// 按钮自定样式类。\r\n\t\titemClass: {\r\n\t\t\ttype: String,\r\n\t\t\tdefault: ''\r\n\t\t},\r\n\t\t// 同原生btn相同。contact|getPhoneNumber|getUserInfo|launchapp|share|openSetting\r\n\t\t//当等于getUserProfile时,自动获取微信授权。\r\n\t\topenType: {\r\n\t\t\ttype: String,\r\n\t\t\tdefault: ''\r\n\t\t},\r\n\t\tshadow: {\r\n\t\t\ttype: Number | String,\r\n\t\t\tdefault: 4\r\n\t\t},\r\n\t\tvertical: {\r\n\t\t\ttype: Boolean | String,\r\n\t\t\tdefault: false\r\n\t\t},\r\n\t\t// 自定义-文字颜色。\r\n\t\tfontColor: {\r\n\t\t\ttype: String,\r\n\t\t\tdefault: ''\r\n\t\t},\r\n\t\t// 自定义-背景颜色\r\n\t\tbgcolor: {\r\n\t\t\ttype: String | Array,\r\n\t\t\tdefault: ''\r\n\t\t},\r\n\t\t// 主题颜色\r\n\t\ttheme: {\r\n\t\t\ttype: String,\r\n\t\t\tdefault: 'primary'\r\n\t\t},\r\n\t\t//优先级最高: 优先级1\r\n\t\tblack: {\r\n\t\t\ttype: Boolean | String,\r\n\t\t\tdefault: null\r\n\t\t},\r\n\t\t// 优先级高:优先级2\r\n\t\tflat: {\r\n\t\t\ttype: Boolean | String,\r\n\t\t\tdefault: null\r\n\t\t},\r\n\t\t// 优先级高:文本模式。背景减淡。文字使用主题色。\r\n\t\ttext: {\r\n\t\t\ttype: Boolean | String,\r\n\t\t\tdefault: false\r\n\t\t},\r\n\t\t// 优先级高:镂空。\r\n\t\tplan: {\r\n\t\t\ttype: Boolean | String,\r\n\t\t\tdefault: false\r\n\t\t},\r\n\t\t// 圆模式。\r\n\t\tfab: {\r\n\t\t\ttype: Boolean | String,\r\n\t\t\tdefault: false\r\n\t\t},\r\n\t\t// 无背景,无边框,只保留按钮区域和文字颜色或者图标颜色。\r\n\t\ttitl: {\r\n\t\t\ttype: Boolean | String,\r\n\t\t\tdefault: false\r\n\t\t},\r\n\t\tlabel: {\r\n\t\t\ttype: String,\r\n\t\t\tdefault: ''\r\n\t\t},\r\n\t\t// 如果不设置block为true时,此项设置无效。\r\n\t\twidth: {\r\n\t\t\ttype: String | Number,\r\n\t\t\tdefault: NaN\r\n\t\t},\r\n\t\t// 如果不设置block为true时,此项设置无效。\r\n\t\theight: {\r\n\t\t\ttype: String | Number,\r\n\t\t\tdefault: NaN\r\n\t\t},\r\n\t\t// 圆角\r\n\t\tround: {\r\n\t\t\ttype: String | Number,\r\n\t\t\tdefault: 3\r\n\t\t},\r\n\t\tdense: {\r\n\t\t\ttype: Boolean | String,\r\n\t\t\tdefault: false\r\n\t\t},\r\n\t\t// 跟随主题色的改变而改变。\r\n\t\tfllowTheme: {\r\n\t\t\ttype: Boolean | String,\r\n\t\t\tdefault: true\r\n\t\t},\r\n\t\t//当微信授权失败提示的信息,默认为auto,如果非auto将显示自定义错误提示。如果为'',将不显示错误提示。\r\n\t\tuserProfileError:{\r\n\t\t\ttype:String,\r\n\t\t\tdefault:'auto'\r\n\t\t}\r\n\t},\r\n\tcreated() {\r\n\t\tthis.customClass_puted = this.itemClass;\r\n\t\tthis.customDense_puted = this.dense;\r\n\t\tthis.color_tmeme = this.theme;\r\n\t},\r\n\twatch: {\r\n\t\ttheme: function() {\r\n\t\t\tthis.color_tmeme = this.theme;\r\n\t\t}\r\n\t},\r\n\tcomputed: {\r\n\t\tprefx_computed() {\r\n\t\t\tlet prefix = this.icon.split('-')[0];\r\n\t\t\tif (prefix == 'icon') return 'iconfont';\r\n\t\t\tif (prefix == 'mdi') return 'mdi';\r\n\r\n\t\t\treturn prefix;\r\n\t\t},\r\n\t\tcustomDense_puted: {\r\n\t\t\tget: function() {\r\n\t\t\t\treturn this.customDense;\r\n\t\t\t},\r\n\t\t\tset: function(val) {\r\n\t\t\t\tthis.customDense = val;\r\n\t\t\t}\r\n\t\t},\r\n\t\tcustomClass_puted: {\r\n\t\t\tget: function() {\r\n\t\t\t\treturn this.customClass;\r\n\t\t\t},\r\n\t\t\tset: function(val) {\r\n\t\t\t\tthis.customClass = val;\r\n\t\t\t}\r\n\t\t},\r\n\t\tvtype: function() {\r\n\t\t\tif (this.icon[0] == '.' || this.icon[0] == '/' || this.icon.substring(0, 4) == 'http' || this.icon.substring(0, 5) == 'https' || this.icon.substring(0, 3) == 'ftp') {\r\n\t\t\t\treturn false;\r\n\t\t\t}\r\n\t\t\treturn true;\r\n\t\t},\r\n\t\tblack_tmeme: function() {\r\n\t\t\tif (this.black !== null) return this.black;\r\n\t\t\treturn this.$tm.vx.state().tmVuetify.black;\r\n\t\t},\r\n\t\tcolor_tmeme: {\r\n\t\t\tget: function() {\r\n\t\t\t\tif (this.$tm.vx.state().tmVuetify.color !== null && this.$tm.vx.state().tmVuetify.color && this.fllowTheme) {\r\n\t\t\t\t\treturn this.$tm.vx.state().tmVuetify.color;\r\n\t\t\t\t}\r\n\t\t\t\treturn this.color_tmeme_computed;\r\n\t\t\t},\r\n\t\t\tset: function(val) {\r\n\t\t\t\tthis.color_tmeme_computed = val;\r\n\t\t\t}\r\n\t\t},\r\n\t\t// 投影的颜色名字。\r\n\t\tshadowthemeName: function() {\r\n\t\t\tif (!this.theme) return 'none';\r\n\t\t\treturn this.color_tmeme;\r\n\t\t},\r\n\t\twidths: {\r\n\t\t\tget: function() {\r\n\t\t\t\tlet w;\r\n\r\n\t\t\t\tif (typeof this.width === 'undefined') {\r\n\t\t\t\t\treturn 'auto';\r\n\t\t\t\t}\r\n\t\t\t\tlet item = this.$TestUnit(this.width);\r\n\r\n\t\t\t\tif (item) {\r\n\t\t\t\t\tif (item.type == 'string') {\r\n\t\t\t\t\t\tw = item.value;\r\n\t\t\t\t\t}\r\n\t\t\t\t\tif (item.type == 'number') {\r\n\t\t\t\t\t\tw = item.value + 'px';\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\r\n\t\t\t\treturn w;\r\n\t\t\t}\r\n\t\t},\r\n\t\theights: {\r\n\t\t\tget: function() {\r\n\t\t\t\tlet item = this.$TestUnit(this.height);\r\n\t\t\t\tif (item) {\r\n\t\t\t\t\tif (item.type == 'string') {\r\n\t\t\t\t\t\treturn item.value;\r\n\t\t\t\t\t}\r\n\t\t\t\t\tif (item.type == 'number') {\r\n\t\t\t\t\t\treturn item.value + 'px';\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\r\n\t\t\t\treturn 'auto';\r\n\t\t\t}\r\n\t\t},\r\n\t\tsizes: function() {\r\n\t\t\tif (!isNaN(this.width) || !isNaN(this.height)) return;\r\n\t\t\tif (this.size == 'xs') {\r\n\t\t\t\treturn this.fab ? 'fabxs text-size-xs rounded' : 'wxs round-1 text-size-xs';\r\n\t\t\t} else if (this.size == 's') {\r\n\t\t\t\treturn this.fab ? 'fabs text-size-xs rounded' : 'ws round-1 text-size-s';\r\n\t\t\t} else if (this.size == 'm') {\r\n\t\t\t\treturn this.fab ? 'fabm text-size-xs rounded' : 'wm round-1 text-size-n';\r\n\t\t\t} else if (this.size == 'n') {\r\n\t\t\t\treturn this.fab ? 'fabn text-size-xs rounded' : 'wn round-1 text-size-n';\r\n\t\t\t} else if (this.size == 'l') {\r\n\t\t\t\treturn this.fab ? 'fabl text-size-xs rounded' : 'wl round-2 text-size-g';\r\n\t\t\t} else if (this.size == 'g') {\r\n\t\t\t\treturn this.fab ? 'fabg text-size-xs rounded' : 'wg round-3 text-size-g';\r\n\t\t\t}\r\n\t\t},\r\n\t\tfont_size: function() {\r\n\t\t\tif (this.fontSize > 0) {\r\n\t\t\t\treturn this.fontSize + 'rpx';\r\n\t\t\t}\r\n\t\t\tif (this.size == 'xs') {\r\n\t\t\t\treturn uni.upx2px(20) + 'px';\r\n\t\t\t} else if (this.size == 's') {\r\n\t\t\t\treturn uni.upx2px(22) + 'px';\r\n\t\t\t} else if (this.size == 'm') {\r\n\t\t\t\treturn uni.upx2px(24) + 'px';\r\n\t\t\t} else if (this.size == 'n') {\r\n\t\t\t\treturn uni.upx2px(28) + 'px';\r\n\t\t\t} else if (this.size == 'l') {\r\n\t\t\t\treturn uni.upx2px(32) + 'px';\r\n\t\t\t} else if (this.size == 'g') {\r\n\t\t\t\treturn uni.upx2px(36) + 'px';\r\n\t\t\t}\r\n\t\t},\r\n\t\ticon_size: function() {\r\n\t\t\tif (this.iconSize) {\r\n\t\t\t\treturn { px: uni.upx2px(this.iconSize), upx: this.iconSize };\r\n\t\t\t}\r\n\t\t\tif (this.size == 'xs') {\r\n\t\t\t\treturn { px: uni.upx2px(20), upx: 20 };\r\n\t\t\t} else if (this.size == 's') {\r\n\t\t\t\treturn { px: uni.upx2px(22), upx: 22 };\r\n\t\t\t} else if (this.size == 'm') {\r\n\t\t\t\treturn { px: uni.upx2px(24), upx: 24 };\r\n\t\t\t} else if (this.size == 'n') {\r\n\t\t\t\treturn { px: uni.upx2px(28), upx: 28 };\r\n\t\t\t} else if (this.size == 'l') {\r\n\t\t\t\treturn { px: uni.upx2px(32), upx: 32 };\r\n\t\t\t} else if (this.size == 'g') {\r\n\t\t\t\treturn { px: uni.upx2px(36), upx: 36 };\r\n\t\t\t}\r\n\t\t},\r\n\t\tdefaultfontsize: function() {\r\n\t\t\tif (this.iconSize) {\r\n\t\t\t\treturn this.iconSize;\r\n\t\t\t}\r\n\t\t\tif (this.size == 'xs') {\r\n\t\t\t\treturn uni.upx2px(20);\r\n\t\t\t} else if (this.size == 's') {\r\n\t\t\t\treturn uni.upx2px(22);\r\n\t\t\t} else if (this.size == 'm') {\r\n\t\t\t\treturn uni.upx2px(24);\r\n\t\t\t} else if (this.size == 'n') {\r\n\t\t\t\treturn uni.upx2px(28);\r\n\t\t\t} else if (this.size == 'l') {\r\n\t\t\t\treturn uni.upx2px(32);\r\n\t\t\t} else if (this.size == 'g') {\r\n\t\t\t\treturn uni.upx2px(36);\r\n\t\t\t}\r\n\t\t},\r\n\t\tcolors: function() {\r\n\t\t\tlet color = this.$TestColor(this.fontColor);\r\n\t\t\treturn color;\r\n\t\t}\r\n\t},\r\n\tdata() {\r\n\t\treturn {\r\n\t\t\tcustomClass: '',\r\n\t\t\tcustomDense: false,\r\n\t\t\tcustomStyle: '',\r\n\t\t\tcolor_tmeme_computed: ''\r\n\t\t};\r\n\t},\r\n\tmethods: {\r\n\t\tsetConfigStyle(val) {\r\n\t\t\tthis.customStyle = val;\r\n\t\t},\r\n\t\tonclick() {\r\n\t\t\tlet t = this;\r\n\t\t\tthis.$emit('click', ...arguments);\r\n\t\t\tif(this.openType=='getUserInfo' || this.openType == 'getUserProfile'){\r\n\t\t\t\t// #ifdef MP-WEIXIN\r\n\t\t\t\tuni.getUserProfile({\r\n\t\t\t\t desc: '需要获取用户信息',\r\n\t\t\t\t lang: 'zh',\r\n\t\t\t\t complete: function (userProfile) {\r\n\t\t\t\t\t\tif(userProfile.errMsg !='getUserProfile:ok'){\r\n\t\t\t\t\t\t\tif(t.userProfileError==''||t.userProfileError=='true') return;\r\n\t\t\t\t\t\t\tif(t.userProfileError!='auto'){\r\n\t\t\t\t\t\t\t\tuni.showToast({\r\n\t\t\t\t\t\t\t\t\ttitle:t.userProfileError,icon:'error',mask:true\r\n\t\t\t\t\t\t\t\t})\r\n\t\t\t\t\t\t\t\treturn;\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\tuni.showToast({\r\n\t\t\t\t\t\t\t\ttitle:userProfile.errMsg,icon:'error',mask:true\r\n\t\t\t\t\t\t\t})\r\n\t\t\t\t\t\t\treturn;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t t.$emit('getUserInfo', userProfile);\r\n\t\t\t\t t.$emit('getUserProfile', userProfile);\r\n\t\t\t\t },\r\n\t\t\t\t\tfail: (error) => {\r\n\t\t\t\t\t\tif(t.userProfileError==''||t.userProfileError=='true') return;\r\n\t\t\t\t\t\tif(t.userProfileError!='auto'){\r\n\t\t\t\t\t\t\tuni.showToast({\r\n\t\t\t\t\t\t\t\ttitle:t.userProfileError,icon:'error',mask:true\r\n\t\t\t\t\t\t\t})\r\n\t\t\t\t\t\t\treturn;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\tuni.showToast({\r\n\t\t\t\t\t\t\ttitle:error\r\n\t\t\t\t\t\t})\r\n\t\t\t\t\t}\r\n\t\t\t\t});\r\n\t\t\t\t// #endif\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\tif (this.url !== '' && typeof this.url === 'string') {\r\n\t\t\t\tlet url = this.url;\r\n\t\t\t\tif (url[0] !== '/') url = '/' + url;\r\n\t\t\t\tuni.navigateTo({\r\n\t\t\t\t\turl: url\r\n\t\t\t\t});\r\n\t\t\t}\r\n\t\t},\r\n\t\tcontact() {\r\n\t\t\tthis.$emit('contact', ...arguments);\r\n\t\t},\r\n\t\terror() {\r\n\t\t\tthis.$emit('error', ...arguments);\r\n\t\t},\r\n\t\tgetphonenumber() {\r\n\t\t\tthis.$emit('getphonenumber', ...arguments);\r\n\t\t},\r\n\t\tgetuserinfo() {\r\n\t\t\tthis.$emit('getuserinfo', ...arguments);\r\n\t\t},\r\n\t\tlaunchapp() {\r\n\t\t\tthis.$emit('launchapp', ...arguments);\r\n\t\t},\r\n\t\topensetting() {\r\n\t\t\tthis.$emit('opensetting', ...arguments);\r\n\t\t}\r\n\t}\r\n};\r\n</script>\r\n\r\n<style lang=\"scss\" scoped>\r\n.tm-button {\r\n\tvertical-align: middle;\r\n\t.tm-button-btn button {\r\n\t\tbackground: none;\r\n\t\tborder: none;\r\n\t\twidth: 100%;\r\n\t\theight: auto;\r\n\t\tline-height: 88upx;\r\n\t\theight: 88upx;\r\n\t\tvertical-align: middle;\r\n\t\t// #ifdef H5\r\n\t\ttransition: all 0.3s;\r\n\t\t// #endif\r\n\t\t.tm-button-label {\r\n\t\t\tvertical-align: middle;\r\n\t\t}\r\n\t\t&::after {\r\n\t\t\tborder: none;\r\n\t\t}\r\n\t\t&.fabxs {\r\n\t\t\twidth: 48upx;\r\n\t\t\theight: 48upx !important;\r\n\t\t\tline-height: 48upx;\r\n\t\t\ttext-align: center;\r\n\t\t\tpadding: 0 !important;\r\n\t\t}\r\n\t\t&.fabs {\r\n\t\t\twidth: 64upx;\r\n\t\t\theight: 64upx !important;\r\n\t\t\tline-height: 64upx;\r\n\t\t\ttext-align: center;\r\n\t\t\tpadding: 0 !important;\r\n\t\t}\r\n\t\t&.fabm {\r\n\t\t\twidth: 90upx;\r\n\t\t\theight: 90upx !important;\r\n\t\t\tline-height: 90upx;\r\n\t\t\ttext-align: center;\r\n\t\t\tpadding: 0 !important;\r\n\t\t}\r\n\t\t&.fabn {\r\n\t\t\twidth: 110upx;\r\n\t\t\theight: 110upx !important;\r\n\t\t\tline-height: 110upx;\r\n\t\t\ttext-align: center;\r\n\t\t\tpadding: 0 !important;\r\n\t\t}\r\n\t\t&.fabl {\r\n\t\t\twidth: 140upx;\r\n\t\t\theight: 140upx !important;\r\n\t\t\tline-height: 140upx;\r\n\t\t\ttext-align: center;\r\n\t\t\tpadding: 0 !important;\r\n\t\t}\r\n\t\t&.fabg {\r\n\t\t\twidth: 180upx;\r\n\t\t\theight: 180upx !important;\r\n\t\t\tline-height: 180upx;\r\n\t\t\ttext-align: center;\r\n\t\t\tpadding: 0 !important;\r\n\t\t}\r\n\r\n\t\t&.wxs {\r\n\t\t\tmin-width: 64upx;\r\n\t\t\theight: 36upx !important;\r\n\t\t\t// line-height: 24upx;\r\n\t\t\ttext-align: center;\r\n\t\t\t// padding: 0 !important;\r\n\t\t\tpadding: 0 12upx;\r\n\t\t}\r\n\t\t&.ws {\r\n\t\t\tmin-width: 90upx;\r\n\t\t\theight: 48upx !important;\r\n\t\t\t\r\n\t\t\t// line-height: 24upx;\r\n\t\t\ttext-align: center;\r\n\t\t\tpadding: 0 16upx;\r\n\t\t}\r\n\t\t&.wm {\r\n\t\t\tmin-width: 140upx;\r\n\t\t\theight: 64upx !important;\r\n\t\t\t// line-height: 88upx;\r\n\t\t\ttext-align: center;\r\n\t\t\tpadding: 0 24upx;\r\n\t\t}\r\n\t\t&.wn {\r\n\t\t\tmin-width: 240upx;\r\n\t\t\theight: 72upx !important;\r\n\t\t\t// line-height: 88upx;\r\n\t\t\ttext-align: center;\r\n\t\t\t// padding: 0 !important;\r\n\t\t\tpadding: 0 32upx;\r\n\t\t}\r\n\t\t&.wl {\r\n\t\t\tmin-width: 280upx;\r\n\t\t\theight: 72upx !important;\r\n\t\t\t// line-height: 88upx;\r\n\t\t\ttext-align: center;\r\n\t\t\tpadding: 0 32upx;\r\n\t\t}\r\n\t\t&.wg {\r\n\t\t\tmin-width: 400upx;\r\n\t\t\theight: 76upx !important;\r\n\t\t\t// line-height: 88upx;\r\n\t\t\ttext-align: center;\r\n\t\t\tpadding: 0 32upx;\r\n\t\t}\r\n\r\n\t\t&.plan {\r\n\t\t\tbox-shadow: none !important;\r\n\t\t\t// background: transparent !important;\r\n\t\t\tborder-width: 1px !important;\r\n\t\t\tborder-style: solid;\r\n\t\t}\r\n\t\t&.titl {\r\n\t\t\tbox-shadow: none !important;\r\n\t\t\tbackground: transparent !important;\r\n\t\t\tborder: none;\r\n\t\t}\r\n\t\t&:active,\r\n\t\t&:focus {\r\n\t\t\topacity: 0.64;\r\n\t\t}\r\n\t\t&.showValue {\r\n\t\t\tline-height: inherit !important;\r\n\t\t}\r\n\r\n\t\t&.noGutter {\r\n\t\t\tmin-width: 0 !important;\r\n\t\t\tmargin: 0 !important;\r\n\t\t\tpadding: 0 !important;\r\n\t\t\toverflow: unset !important;\r\n\t\t}\r\n\t}\r\n\t&.d-block {\r\n\t\tbutton {\r\n\t\t\t// padding: 30upx 0;\r\n\t\t\tfont-size: 32upx;\r\n\t\t\t&.plan {\r\n\t\t\t\tbox-shadow: none !important;\r\n\t\t\t\tbackground: transparent !important;\r\n\t\t\t\tborder-width: 1px !important;\r\n\t\t\t\tborder-style: solid;\r\n\t\t\t}\r\n\t\t}\r\n\t\t&.showValue {\r\n\t\t\tline-height: inherit !important;\r\n\t\t}\r\n\t}\r\n\t&.d-inline-block {\r\n\t\tvertical-align: middle;\r\n\t}\r\n}\r\n</style>\r\n","import mod from \"-!../../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./tm-button.vue?vue&type=style&index=0&id=dae977ca&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./tm-button.vue?vue&type=style&index=0&id=dae977ca&lang=scss&scoped=true&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1678780470134\n var cssReload = require(\"D:/yzm/exe/HBuilderX.3.4.7.20220422/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":""}