hengmei-two/unpackage/dist/dev/.sourcemap/mp-weixin/components/cate-items/cate-pu.js.map

1 line
11 KiB
Plaintext

{"version":3,"sources":["webpack:///D:/chenq/chen/hengmei/hengmei/components/cate-items/cate-pu.vue?4dfa","webpack:///D:/chenq/chen/hengmei/hengmei/components/cate-items/cate-pu.vue?ea13","webpack:///D:/chenq/chen/hengmei/hengmei/components/cate-items/cate-pu.vue?6541","webpack:///D:/chenq/chen/hengmei/hengmei/components/cate-items/cate-pu.vue?5fab","uni-app:///components/cate-items/cate-pu.vue","webpack:///D:/chenq/chen/hengmei/hengmei/components/cate-items/cate-pu.vue?5662","webpack:///D:/chenq/chen/hengmei/hengmei/components/cate-items/cate-pu.vue?8abe"],"names":["name","props","isaaaa","type","default","isCenter","activeb","activec","newcateList","title","newbmo","newcmo","newfmo","newRadius","isMinW","newMinWidth","newCurrent","data","current","methods","choosecate"],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAgI;AAChI;AAC2D;AACL;AACqC;;;AAG3F;AACmL;AACnL,gBAAgB,uLAAU;AAC1B,EAAE,6EAAM;AACR,EAAE,8FAAM;AACR,EAAE,uGAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,kGAAU;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;AAAorB,CAAgB,mqBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gBCgCxsB;EACAA;EACAC;IACAC;MACAC;MACAC;IACA;IACAC;MACAF;MACAC;IACA;IACAE;MAAA;MACAH;MACAC;IACA;IACAG;MAAA;MACAJ;MACAC;IACA;IACAI;MAAA;MACAL;MACAC;QACA,QACA;UAAAK;QAAA,GACA;UAAAA;QAAA,GACA;UAAAA;QAAA,GACA;UAAAA;QAAA,GACA;UAAAA;QAAA,EACA;MACA;IACA;IACAC;MAAA;MACAP;MACAC;IACA;IACAO;MAAA;MACAR;MACAC;IACA;IACAQ;MAAA;MACAT;MACAC;IACA;IACAS;MAAA;MACAV;MACAC;IACA;IACAU;MAAA;MACAX;MACAC;IACA;IACAW;MAAA;MACAZ;MACAC;IACA;;IACAY;MAAA;MACAb;MACAC;IACA;EAEA;EACAa;IACA;MACAC;IACA;EACA;EACAC;IACAC;MAAA;MACA;MACA;IACA;EACA;AACA;AAAA,4B;;;;;;;;;;;;ACxGA;AAAA;AAAA;AAAA;AAA+/B,CAAgB,o8BAAG,EAAC,C;;;;;;;;;;;ACAnhC;AACA,OAAO,KAAU,EAAE,kBAKd","file":"components/cate-items/cate-pu.js","sourcesContent":["import { render, staticRenderFns, recyclableRender, components } from \"./cate-pu.vue?vue&type=template&id=ec088d1e&scoped=true&\"\nvar renderjs\nimport script from \"./cate-pu.vue?vue&type=script&lang=js&\"\nexport * from \"./cate-pu.vue?vue&type=script&lang=js&\"\nimport style0 from \"./cate-pu.vue?vue&type=style&index=0&id=ec088d1e&scoped=true&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 \"ec088d1e\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"components/cate-items/cate-pu.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!./cate-pu.vue?vue&type=template&id=ec088d1e&scoped=true&\"","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!./cate-pu.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!./cate-pu.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view>\r\n\t\t<scroll-view scroll-x v-if=\"isaaaa==0\">\r\n\t\t\t<view class=\"\" :class=\"isCenter?'disac':'disjb'\">\r\n\t\t\t\t<view @tap=\"choosecate(index)\" v-if=\"item.title!='仿真设计'\"\r\n\t\t\t\t\t:style=\"{\r\n\t\t\t\t\t\tbackground : newCurrent==index ? activeb:newbmo,\r\n\t\t\t\t\t\tfontSize:newfmo+'px',\r\n\t\t\t\t\t\tborderRadius:newRadius+'px',\r\n\t\t\t\t\t\tminWidth:isMinW ? newMinWidth+'px':'',\r\n\t\t\t\t\t\tcolor : newCurrent==index ? activec:newcmo}\" \r\n\t\t\t\t\tclass=\"flexs cateitem\" :class=\"(!isCenter && newcateList.length<=3)?'maright0':''\"\r\n\t\t\t\t\tv-for=\"(item,index) in newcateList\" :key=\"index\">{{item.title}}</view>\r\n\t\t\t</view>\r\n\t\t</scroll-view>\r\n\t\t<scroll-view scroll-x v-else>\r\n\t\t\t<view class=\"disac\">\r\n\t\t\t\t<view @tap=\"choosecate(index)\" v-if=\"item.title!='仿真设计'\"\r\n\t\t\t\t\t:style=\"{\r\n\t\t\t\t\t\tbackground : newCurrent==index ? activeb:newbmo,\r\n\t\t\t\t\t\tfontSize:newfmo+'px',\r\n\t\t\t\t\t\tborderRadius:newRadius+'px',\r\n\t\t\t\t\t\tminWidth:isMinW ? newMinWidth+'px':'',\r\n\t\t\t\t\t\tcolor : newCurrent==index ? activec:newcmo}\" \r\n\t\t\t\t\tclass=\"flexs cateitem\"\r\n\t\t\t\t\tv-for=\"(item,index) in newcateList\" :key=\"index\">{{item.title}}</view>\r\n\t\t\t</view>\r\n\t\t</scroll-view>\r\n\t</view>\r\n</template>\r\n\r\n<script>\r\n\texport default {\r\n\t\tname:\"cate-pu\",\r\n\t\tprops:{\r\n\t\t\tisaaaa:{\r\n\t\t\t\ttype:Number,\r\n\t\t\t\tdefault:0\r\n\t\t\t},\r\n\t\t\tisCenter:{\r\n\t\t\t\ttype:Boolean,\r\n\t\t\t\tdefault:true\r\n\t\t\t},\r\n\t\t\tactiveb:{//选中背景色\r\n\t\t\t\ttype:String,\r\n\t\t\t\tdefault:'#3875F6'\r\n\t\t\t},\r\n\t\t\tactivec:{//选中字体颜色\r\n\t\t\t\ttype:String,\r\n\t\t\t\tdefault:'#FFFFFF'\r\n\t\t\t},\r\n\t\t\tnewcateList:{//分类列表\r\n\t\t\t\ttype:Array,\r\n\t\t\t\tdefault:function(){\r\n\t\t\t\t\treturn [\r\n\t\t\t\t\t\t{title:'热门问题'},\r\n\t\t\t\t\t\t{title:'病种'},\r\n\t\t\t\t\t\t{title:'案例日记'},\r\n\t\t\t\t\t\t{title:'效果模拟'},\r\n\t\t\t\t\t\t{title:'效果模拟'},\r\n\t\t\t\t\t]\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\tnewbmo:{//默认背景色\r\n\t\t\t\ttype:String,\r\n\t\t\t\tdefault:'#FFFFFF'\r\n\t\t\t},\r\n\t\t\tnewcmo:{//默认字体颜色\r\n\t\t\t\ttype:String,\r\n\t\t\t\tdefault:'#333333'\r\n\t\t\t},\r\n\t\t\tnewfmo:{//默认字体大小\r\n\t\t\t\ttype:String,\r\n\t\t\t\tdefault:'15'\r\n\t\t\t},\r\n\t\t\tnewRadius:{//圆角\r\n\t\t\t\ttype:String,\r\n\t\t\t\tdefault:'10'\r\n\t\t\t},\r\n\t\t\tisMinW:{//是否使用最小宽度\r\n\t\t\t\ttype:Boolean,\r\n\t\t\t\tdefault:false\r\n\t\t\t},\r\n\t\t\tnewMinWidth:{//最小宽度\r\n\t\t\t\ttype:String,\r\n\t\t\t\tdefault:'52'//49\r\n\t\t\t},\r\n\t\t\tnewCurrent:{//默认选中\r\n\t\t\t\ttype:Number,\r\n\t\t\t\tdefault:0\r\n\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\t\tcurrent:0,\r\n\t\t\t};\r\n\t\t},\r\n\t\tmethods:{\r\n\t\t\tchoosecate(index){//二级分类选择\r\n\t\t\t\t// console.log('二级分类:',index);\r\n\t\t\t\tthis.$emit('choosecateEv',index)\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n</script>\r\n\r\n<style scoped>\r\n.catetwomo{background-color: #FFFFFF;color: #4D4D4D;}\r\n.disac{display: flex;align-items: center;}\r\n.flexs{flex-shrink: 0;}\r\n.cateitem{padding: 16rpx 20rpx;text-align: center;margin-right: 20rpx;}\r\n.maright0{margin-right: 0!important;}\r\n</style>\r\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!./cate-pu.vue?vue&type=style&index=0&id=ec088d1e&scoped=true&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!./cate-pu.vue?vue&type=style&index=0&id=ec088d1e&scoped=true&lang=css&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1672826680694\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":""}