1 line
10 KiB
Plaintext
1 line
10 KiB
Plaintext
{"version":3,"sources":["webpack:///D:/鲁班家具小程序/luban-mall/components/nav-tab/nav-tab.vue?4d5c","webpack:///D:/鲁班家具小程序/luban-mall/components/nav-tab/nav-tab.vue?9077","webpack:///D:/鲁班家具小程序/luban-mall/components/nav-tab/nav-tab.vue?9831","webpack:///D:/鲁班家具小程序/luban-mall/components/nav-tab/nav-tab.vue?2bdf","uni-app:///components/nav-tab/nav-tab.vue","webpack:///D:/鲁班家具小程序/luban-mall/components/nav-tab/nav-tab.vue?ca9f","webpack:///D:/鲁班家具小程序/luban-mall/components/nav-tab/nav-tab.vue?aa1b"],"names":[],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAgI;AAChI;AAC2D;AACL;AACqC;;;AAG3F;AACoL;AACpL,gBAAgB,2LAAU;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;AAAyrB,CAAgB,urBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;ACW7sB;AACA,iBADA;AAEA;AACA;AACA,iBADA;AAEA;AACA;AACA,OAJA,EADA;;AAOA;AACA,kBADA;AAEA,qBAFA,EAPA;AAUA;AACA;AACA,kBADA;AAEA,gBAFA,EAXA,EAFA;;;AAkBA,MAlBA,kBAkBA;AACA;AACA,qBADA,CACA;AADA;AAGA,GAtBA;AAuBA;AACA;AACA,YAFA,oBAEA,KAFA,EAEA,EAFA,EAEA;AACA;AACA;AACA;AACA;AACA;AACA,KARA,EAvBA,E;;;;;;;;;;;;ACXA;AAAA;AAAA;AAAA;AAAsgC,CAAgB,g+BAAG,EAAC,C;;;;;;;;;;;ACA1hC;AACA,OAAO,KAAU,EAAE,kBAKd","file":"components/nav-tab/nav-tab.js","sourcesContent":["import { render, staticRenderFns, recyclableRender, components } from \"./nav-tab.vue?vue&type=template&id=2197f1dc&scoped=true&\"\nvar renderjs\nimport script from \"./nav-tab.vue?vue&type=script&lang=js&\"\nexport * from \"./nav-tab.vue?vue&type=script&lang=js&\"\nimport style0 from \"./nav-tab.vue?vue&type=style&index=0&id=2197f1dc&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../HBuilderX-app开发版/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 \"2197f1dc\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"components/nav-tab/nav-tab.vue\"\nexport default component.exports","export * from \"-!../../../../HBuilderX-app开发版/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../HBuilderX-app开发版/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--16-0!../../../../HBuilderX-app开发版/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../HBuilderX-app开发版/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../HBuilderX-app开发版/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../HBuilderX-app开发版/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./nav-tab.vue?vue&type=template&id=2197f1dc&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-app开发版/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../HBuilderX-app开发版/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../HBuilderX-app开发版/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../HBuilderX-app开发版/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../HBuilderX-app开发版/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./nav-tab.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../HBuilderX-app开发版/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../HBuilderX-app开发版/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../HBuilderX-app开发版/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../HBuilderX-app开发版/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../HBuilderX-app开发版/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./nav-tab.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view class=\"pull-nav-btns\" :class=\"type=='radio'?'search-btns':''\">\r\n\t\t<view @tap=\"chooseEv(index,item.id)\" :class=\"currentIndex==index?'radio-btn active':'radio-btn'\" v-for=\"(item,index) in list\" v-if=\"type=='radio'\">\r\n\t\t\t<view class=\"radio\"></view>\r\n\t\t\t<text>{{item.name}}</text>\r\n\t\t</view>\r\n\t\t<view @tap=\"chooseEv(index,item.id)\" :class=\"currentIndex==index?'btn active':'btn'\" v-for=\"(item,index) in list\" v-if=\"type=='list' && index<=maxNum\">{{item.name}}</view>\r\n\t</view>\n</template>\n\n<script>\r\n\texport default {\r\n\t\tname:'nav-tab',\r\n\t\tprops:{\r\n\t\t\tlist:{\r\n\t\t\t\ttype:Array,\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\ttype:{\r\n\t\t\t\ttype:String,\r\n\t\t\t\tdefault:'list'\r\n\t\t\t}, //展现方式\r\n\t\t\tmaxNum:{\r\n\t\t\t\ttype:Number,\r\n\t\t\t\tdefault:2\r\n\t\t\t}\r\n\t\t},\r\n\t\tdata(){\r\n\t\t\treturn {\r\n\t\t\t\tcurrentIndex:0, //当前位置\r\n\t\t\t}\r\n\t\t},\r\n\t\tmethods:{\r\n\t\t\t// 导航选择事件\r\n\t\t\tchooseEv(index,id) {\r\n\t\t\t\tif(this.currentIndex !== index){\r\n\t\t\t\t\tthis.currentIndex = index;\r\n\t\t\t\t\t// 抛出事件\r\n\t\t\t\t\tthis.$emit('chooseEv',index,id)\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t}\n</script>\n\n<style scoped>\r\n\t.pull-nav-btns {\r\n\t\tdisplay: flex;\r\n\t\tjustify-content: center;\r\n\t\talign-items: center;\r\n\t\tpadding: 25rpx 0;\r\n\t}\r\n\t\r\n\t.pull-nav-btns .btn {\r\n\t\twidth: 220rpx;\r\n\t\theight: 66rpx;\r\n\t\tmargin: 0 25rpx;\r\n\t\tborder-radius: 10rpx;\r\n\t\tline-height: 66rpx;\r\n\t\ttext-align: center;\r\n\t\tfont-size: 30rpx;\r\n\t\tcolor: #000000;\r\n\t}\r\n\t\r\n\t.pull-nav-btns .btn:first-child{\r\n\t\tmargin-left: 0;\r\n\t}\r\n\t\r\n\t.pull-nav-btns .btn:last-child{\r\n\t\tmargin-right: 0;\r\n\t}\r\n\t\r\n\t.pull-nav-btns .btn.active {\r\n\t\tbackground-color: #0073bc;\r\n\t\tcolor: #FFFFFF;\r\n\t}\r\n\t.pull-nav-btns.search-btns{\r\n\t\tjustify-content: flex-start;\r\n\t\tpadding: 8rpx 0 20rpx;\r\n\t}\r\n\t.pull-nav-btns .radio-btn {\r\n\t\tdisplay: flex;\r\n\t\talign-items: center;\r\n\t\tmargin-left: 40rpx;\r\n\t\tline-height: 66rpx;\r\n\t\tfont-size: 30rpx;\r\n\t\tcolor: #000000;\r\n\t}\r\n\t.pull-nav-btns .radio-btn .radio{\r\n\t\tbox-sizing: border-box;\r\n\t\twidth: 24rpx;\r\n\t\theight: 24rpx;\r\n\t\tmargin-right: 12rpx;\r\n\t\tborder: 2rpx solid #333333;\r\n\t\tborder-radius: 100%;\r\n\t}\r\n\t.pull-nav-btns .radio-btn:first-child{\r\n\t\tmargin-left: 0;\r\n\t}\t\r\n\t\r\n\t.pull-nav-btns .radio-btn.active .radio{\r\n\t\tborder: 8rpx solid #0073bc;\r\n\t}\r\n</style>","import mod from \"-!../../../../HBuilderX-app开发版/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../HBuilderX-app开发版/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../../HBuilderX-app开发版/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../HBuilderX-app开发版/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--6-oneOf-1-2!../../../../HBuilderX-app开发版/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-3!../../../../HBuilderX-app开发版/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../HBuilderX-app开发版/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./nav-tab.vue?vue&type=style&index=0&id=2197f1dc&scoped=true&lang=css&\"; export default mod; export * from \"-!../../../../HBuilderX-app开发版/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../HBuilderX-app开发版/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../../HBuilderX-app开发版/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../HBuilderX-app开发版/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--6-oneOf-1-2!../../../../HBuilderX-app开发版/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-3!../../../../HBuilderX-app开发版/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../HBuilderX-app开发版/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./nav-tab.vue?vue&type=style&index=0&id=2197f1dc&scoped=true&lang=css&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1657587679750\n var cssReload = require(\"D:/HBuilderX-app开发版/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":""} |