You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 lines
15 KiB
1 lines
15 KiB
{"version":3,"sources":["webpack:///F:/zhaoshang/zhaoshangMiniApp_uni/components/Tabbar.vue?b8fa","webpack:///F:/zhaoshang/zhaoshangMiniApp_uni/components/Tabbar.vue?c6f2","webpack:///F:/zhaoshang/zhaoshangMiniApp_uni/components/Tabbar.vue?1b24","webpack:///F:/zhaoshang/zhaoshangMiniApp_uni/components/Tabbar.vue?33d6","uni-app:///components/Tabbar.vue","webpack:///F:/zhaoshang/zhaoshangMiniApp_uni/components/Tabbar.vue?9d4b","webpack:///F:/zhaoshang/zhaoshangMiniApp_uni/components/Tabbar.vue?2d9f"],"names":[],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAA+H;AAC/H;AAC0D;AACL;AACsC;;;AAG3F;AAC+M;AAC/M,gBAAgB,uNAAU;AAC1B,EAAE,4EAAM;AACR,EAAE,6FAAM;AACR,EAAE,sGAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,iGAAU;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;AAAkzB,CAAgB,k0BAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACmCt0B;AACA,gBADA;AAEA;AACA,kBADA,EAFA;;AAKA,MALA,kBAKA;AACA;AACA;AACA;AACA,qCADA;AAEA,0FAFA;AAGA,qDAHA;AAIA,kBAJA,EADA;;AAOA;AACA,gDADA;AAEA,0FAFA;AAGA,sDAHA;AAIA,kBAJA,EAPA,CADA;;;AAeA;AACA,0DADA;AAEA;AACA,0FAHA;AAIA,qDAJA;AAKA,mBALA,EAfA;;AAsBA;AACA;AACA,kDADA;AAEA,0FAFA;AAGA,yDAHA;AAIA,mBAJA,EADA;;AAOA;AACA,0CADA;AAEA,0FAFA;AAGA,qDAHA;AAIA,kBAJA,EAPA,CAtBA;;;;AAqCA,GA3CA;AA4CA,QA5CA,oBA4CA;;AAEA,GA9CA;AA+CA;AACA,aADA,qBACA,IADA,EACA;AACA;AACA;AACA,sBADA;;AAGA,KANA;AAOA,UAPA,kBAOA,IAPA,EAOA;AACA;AACA,0BADA;;AAGA,KAXA,EA/CA,E;;;;;;;;;;;;;ACnCA;AAAA;AAAA;AAAA;AAA0/C,CAAgB,k9CAAG,EAAC,C;;;;;;;;;;;ACA9gD;AACA,OAAO,KAAU,EAAE,kBAKd","file":"components/Tabbar.js","sourcesContent":["import { render, staticRenderFns, recyclableRender, components } from \"./Tabbar.vue?vue&type=template&id=343c9679&scoped=true&\"\nvar renderjs\nimport script from \"./Tabbar.vue?vue&type=script&lang=js&\"\nexport * from \"./Tabbar.vue?vue&type=script&lang=js&\"\nimport style0 from \"./Tabbar.vue?vue&type=style&index=0&id=343c9679&lang=less&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\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 \"343c9679\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"components/Tabbar.vue\"\nexport default component.exports","export * from \"-!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\templateLoader.js??vue-loader-options!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--16-0!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\template.js!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-uni-app-loader\\\\page-meta.js!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./Tabbar.vue?vue&type=template&id=343c9679&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 \"-!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./Tabbar.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./Tabbar.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view class=\"tabbar\">\r\n\t\t<view class=\"left between\">\r\n\t\t\t<view class=\"item\" @tap=\"changeTab(leftItem)\" v-for=\"(leftItem, tabIndex) in tabLeft\" :key=\"tabIndex\">\r\n\t\t\t\t<view class=\"icon\">\r\n\t\t\t\t\t<image :src=\"leftItem.iconPath\" mode=\"widthFix\"></image>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"text\"><!-- style=\"padding-bottom: 12rpx;\" -->\r\n\t\t\t\t\t{{leftItem.text}}\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"line\" v-if=\"leftItem.pagePath == pagePath\" >\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t\t<view class=\"center\">\r\n\t\t\t<view class=\"circle\" @tap=\"goPage(tabCenter)\">\r\n\t\t\t\t<image :src=\"tabCenter.iconPath\" mode=\"\"></image>\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t\t<view class=\"right between\">\r\n\t\t\t<view class=\"item\" @tap=\"changeTab(rightItem)\" v-for=\"(rightItem, tabIndex) in tabRight\" :key=\"tabIndex\">\r\n\t\t\t\t<view class=\"icon\">\r\n\t\t\t\t\t<image :src=\"rightItem.iconPath\" mode=\"widthFix\"></image>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"text\"><!-- style=\"padding-bottom: 12rpx;\" -->\r\n\t\t\t\t\t{{rightItem.text}}\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"line\" v-if=\"rightItem.pagePath == pagePath\" >\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t</view>\r\n</template>\r\n\r\n<script>\r\n\texport default {\r\n\t\tname: 'tabbar',\r\n\t\tprops: {\r\n\t\t\t\tpagePath: null\r\n\t\t},\r\n\t\tdata() {\r\n\t\t\treturn {\r\n\t\t\t\ttabLeft: [\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tpagePath: \"/pages/home/index\",\r\n\t\t\t\t\t\ticonPath: \"https://qiniu.upload.gznl.top/0d3be4ab-2be4-4cb3-8282-78a32caff429.png\",\r\n\t\t\t\t\t\tselectedIconPath: \"static/img/home-light.png\",\r\n\t\t\t\t\t\ttext: \"首页\"\r\n\t\t\t\t\t}, \r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tpagePath: \"/pages/shop/GoodsClass/index\",\r\n\t\t\t\t\t\ticonPath: \"https://qiniu.upload.gznl.top/1c580541-2f2d-4263-b19b-5901ca957ea9.png\",\r\n\t\t\t\t\t\tselectedIconPath: \"static/img/class-light.png\",\r\n\t\t\t\t\t\ttext: \"分类\"\r\n\t\t\t\t\t}\r\n\t\t\t\t],\r\n\t\t\t\ttabCenter: {\r\n\t\t\t\t\tpagePath: \"/pages/shop/Store/StoreCon/index?id=24\",\r\n\t\t\t\t\t// pagePath: \"/pages/trends/index\",\r\n\t\t\t\t\ticonPath: \"https://qiniu.upload.gznl.top/1d320b8d-ba84-4748-8bab-0ccf8ca32799.png\",\r\n\t\t\t\t\tselectedIconPath: \"static/img/user-light.png\",\r\n\t\t\t\t\ttext: \"信息流\"\r\n\t\t\t\t},\r\n\t\t\t\ttabRight: [\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tpagePath: \"/pages/shop/ShoppingCart/index\",\r\n\t\t\t\t\t\ticonPath: \"https://qiniu.upload.gznl.top/e5ca60b3-aa57-42df-b7d8-a99fc10fb94b.png\",\r\n\t\t\t\t\t\tselectedIconPath: \"static/img/shopcart-light.png\",\r\n\t\t\t\t\t\ttext: \"购物车\"\r\n\t\t\t\t\t}, \r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tpagePath: \"/pages/user/User/index\",\r\n\t\t\t\t\t\ticonPath: \"https://qiniu.upload.gznl.top/ea3bd6d6-64d9-4c1d-b4f0-e9cbc43a7692.png\",\r\n\t\t\t\t\t\tselectedIconPath: \"static/img/user-light.png\",\r\n\t\t\t\t\t\ttext: \"我的\"\r\n\t\t\t\t\t}\r\n\t\t\t\t]\r\n\t\t\t}\r\n\t\t},\r\n\t\tonLoad() {\r\n\t\t\t\r\n\t\t},\r\n\t\tmethods: {\r\n\t\t\tchangeTab(item) {\r\n\t\t\t\tthis.page = item.pagePath;\r\n\t\t\t\tuni.switchTab({\r\n\t\t\t\t\turl: this.page\r\n\t\t\t\t})\r\n\t\t\t},\r\n\t\t\tgoPage(page) {\r\n\t\t\t\tuni.navigateTo({\r\n\t\t\t\t\turl: page.pagePath\r\n\t\t\t\t});\r\n\t\t\t}\r\n\t\t}\r\n\t\t\r\n\t}\r\n\t\r\n</script>\r\n\r\n<style lang=\"less\" scoped>\r\n\t.tabbar {\r\n\t\tposition: fixed;\r\n\t\tbottom: 0;\r\n\t\tleft: 0;\r\n\t\tz-index: 1000;\r\n\t\tdisplay: flex;\r\n\t\tjustify-content: center;\r\n\t\twidth: 100%;\r\n\t\t.between {\r\n\t\t\twidth: 40.7%;\r\n\t\t\t// width: 302rpx;\r\n\t\t\theight: 128rpx;\r\n\t\t\tbackground: #3BC1BC;\r\n\t\t\tdisplay: flex;\r\n\t\t\tjustify-content: space-around;\r\n\t\t\t.item {\r\n\t\t\t\twidth: 79rpx;\r\n\t\t\t\tpadding-top: 6rpx;\r\n\t\t\t\ttext-align: center;\r\n\t\t\t\t.icon {\r\n\t\t\t\t\twidth: 64rpx;\r\n\t\t\t\t\theight: 64rpx;\r\n\t\t\t\t\tpadding-left: 8rpx;\r\n\t\t\t\t\timage {\r\n\t\t\t\t\t\twidth: 64rpx;\r\n\t\t\t\t\t\theight: 64rpx;\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t\t.text {\r\n\t\t\t\t\tfont-size: 20rpx;\r\n\t\t\t\t\tfont-family: SF Pro Text;\r\n\t\t\t\t\tfont-weight: 500;\r\n\t\t\t\t\tline-height: 24rpx;\r\n\t\t\t\t\tcolor: #FFFFFF;\r\n\t\t\t\t\tpadding-bottom: 12rpx;\r\n\t\t\t\t}\r\n\t\t\t\t.line {\r\n\t\t\t\t\tbackground-color: #FFFFFF;\r\n\t\t\t\t\theight: 6rpx;\r\n\t\t\t\t\twidth: 79rpx;\r\n\t\t\t\t\tborder-radius: 5rpx;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t\t.left {\r\n\t\t\tborder-radius: 0rpx 20rpx 0rpx 0rpx;\r\n\t\t}\r\n\t\t.right {\r\n\t\t\tborder-radius: 20rpx 0rpx 0rpx 0rpx;\r\n\t\t}\r\n\t\t.center {\r\n\t\t\twidth: 18.6%;\r\n\t\t\t/* width: 146rpx; */\r\n\t\t\theight: 128rpx;\r\n\t\t\tbackground:radial-gradient(143rpx at top,transparent 50%,#3BC1BC 50%);\r\n\t\t\t/* background:radial-gradient(148rpx at top,transparent 50%,#3BC1BC 50%); */\r\n\t\t\tposition: relative;\r\n\t\t\t.circle {\r\n\t\t\t\twidth: 110rpx;\r\n\t\t\t\theight: 110rpx;\r\n\t\t\t\tbackground: #3BC1BC;\r\n\t\t\t\tborder-radius: 50%;\r\n\t\t\t\tposition: absolute;\r\n\t\t\t\ttop: -55rpx;\r\n\t\t\t\tleft: 15rpx;\r\n\t\t\t\tbox-shadow: 0rpx 0rpx 24rpx rgba(0, 0, 0, 0.15);\r\n\t\t\t\timage {\r\n\t\t\t\t\twidth: 100%;\r\n\t\t\t\t\theight: 100%;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n</style>\r\n","import mod from \"-!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--10-oneOf-1-0!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--10-oneOf-1-1!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--10-oneOf-1-2!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--10-oneOf-1-3!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\less-loader\\\\dist\\\\cjs.js??ref--10-oneOf-1-4!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--10-oneOf-1-5!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./Tabbar.vue?vue&type=style&index=0&id=343c9679&lang=less&scoped=true&\"; export default mod; export * from \"-!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--10-oneOf-1-0!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--10-oneOf-1-1!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--10-oneOf-1-2!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--10-oneOf-1-3!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\less-loader\\\\dist\\\\cjs.js??ref--10-oneOf-1-4!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--10-oneOf-1-5!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./Tabbar.vue?vue&type=style&index=0&id=343c9679&lang=less&scoped=true&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1632968029564\n var cssReload = require(\"D:/Program Files/HBuilderX.3.1.13.20210514/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":""} |