1 line
11 KiB
Plaintext
1 line
11 KiB
Plaintext
{"version":3,"sources":["webpack:///D:/chenq/chen/uniapp(兼小程序)/dengrui/components/footTab.vue?91e0","webpack:///D:/chenq/chen/uniapp(兼小程序)/dengrui/components/footTab.vue?7f82","webpack:///D:/chenq/chen/uniapp(兼小程序)/dengrui/components/footTab.vue?83cb","webpack:///D:/chenq/chen/uniapp(兼小程序)/dengrui/components/footTab.vue?88b8","uni-app:///components/footTab.vue","webpack:///D:/chenq/chen/uniapp(兼小程序)/dengrui/components/footTab.vue?1a91","webpack:///D:/chenq/chen/uniapp(兼小程序)/dengrui/components/footTab.vue?3fa7"],"names":[],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAoH;AACpH;AAC2D;AACL;AACa;;;AAGnE;AACgL;AAChL,gBAAgB,uLAAU;AAC1B,EAAE,6EAAM;AACR,EAAE,kFAAM;AACR,EAAE,2FAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,sFAAU;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;AAAqqB,CAAgB,mqBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACkBzrB;AACA,iBADA;AAEA;AACA;AACA,kBADA;AAEA,gBAFA,EADA;;AAKA;AACA,kBADA;AAEA,8CAFA,EALA,EAFA;;;AAYA,MAZA,kBAYA;AACA;AACA;AACA;AACA,oDADA;AAEA,oDAFA;AAGA,4DAHA;AAIA,oBAJA,EADA;;AAOA;AACA,kDADA;AAEA,uDAFA;AAGA,8DAHA;AAIA,oBAJA,EAPA;;AAaA;AACA,4DADA;AAEA,mDAFA;AAGA,2DAHA;AAIA,qBAJA,EAbA;;AAmBA;AACA,wCADA;AAEA,kDAFA;AAGA,yDAHA;AAIA,oBAJA,EAnBA;;;AA0BA;AA3BA;AA6BA,GA1CA;AA2CA;AACA,cADA,sBACA,KADA,EACA;AACA;AACA;AACA;AACA;AACA;AACA,KAPA,EA3CA,E;;;;;;;;;;;;;AClBA;AAAA;AAAA;AAAA;AAAk9B,CAAgB,46BAAG,EAAC,C;;;;;;;;;;;ACAt+B;AACA,OAAO,KAAU,EAAE,kBAKd","file":"components/footTab.js","sourcesContent":["import { render, staticRenderFns, recyclableRender, components } from \"./footTab.vue?vue&type=template&id=32c6715c&\"\nvar renderjs\nimport script from \"./footTab.vue?vue&type=script&lang=js&\"\nexport * from \"./footTab.vue?vue&type=script&lang=js&\"\nimport style0 from \"./footTab.vue?vue&type=style&index=0&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 null,\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"components/footTab.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!./footTab.vue?vue&type=template&id=32c6715c&\"","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!./footTab.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!./footTab.vue?vue&type=script&lang=js&\"","<template>\n <view>\n <view style=\"height: 56px;font-size: 10px;border-top: 1rpx solid #FFFFFF;background-color: #FFFFFF;\r\n position: fixed;bottom: 0;left: 0;right: 0;display: flex;justify-content: space-around;align-items: center;z-index: 10;\">\r\n <view v-if=\"userType=='personal' && index!=2\" :style=\"{width:(userType=='personal')?'33.3%':'25%'}\" @tap=\"choosefoot(index)\" v-for=\"(item,index) in tabArr\" :key=\"index\" style=\"display: flex;justify-content: center;flex-direction: column;align-items: center;\">\r\n <image v-if=\"current==index\" :src=\"item.selectedIconPath\" style=\"width: 22px;height: 22px;\"></image>\r\n <image v-else :src=\"item.iconPath\" style=\"width: 22px;height: 22px;\"></image>\r\n <view :class=\"current==index?'footactive':'footmo'\" style=\"margin-top: 4px;\">{{item.text}}</view>\r\n </view>\r\n\t\t\t<view v-if=\"userType!='personal'\" @tap=\"choosefoot(index)\" v-for=\"(item,index) in tabArr\" :key=\"index\" style=\"display: flex;justify-content: center;flex-direction: column;align-items: center;\">\r\n\t\t\t <image v-if=\"current==index\" :src=\"item.selectedIconPath\" style=\"width: 22px;height: 22px;\"></image>\r\n\t\t\t <image v-else :src=\"item.iconPath\" style=\"width: 22px;height: 22px;\"></image>\r\n\t\t\t <view :class=\"current==index?'footactive':'footmo'\" style=\"margin-top: 4px;\">{{item.text}}</view>\r\n\t\t\t</view>\r\n </view>\n </view>\n</template>\n<script>\n export default {\n name:'footTab',\r\n\t\tprops:{\r\n\t\t\tcurrent:{\r\n\t\t\t\ttype:Number,\r\n\t\t\t\tdefault:0\r\n\t\t\t},\r\n\t\t\tuserType:{\r\n\t\t\t\ttype:String,\r\n\t\t\t\tdefault:uni.getStorageSync('user_type')\r\n\t\t\t}\r\n\t\t},\n data() {\n return {\r\n tabArr:[\r\n {\r\n 'pagePath': 'pages/tabbar/homePage/homePage',\r\n 'iconPath': '../static/img/tabbar/pagem.png',\r\n 'selectedIconPath': '../static/img/tabbar/pageh.png',\r\n 'text': '首页'\r\n },\r\n {\r\n 'pagePath': 'pages/tabbar/product/product',\r\n 'iconPath': '../static/img/tabbar/productm.png',\r\n 'selectedIconPath': '../static/img/tabbar/product.png',\r\n 'text': '产品'\r\n },\r\n {\r\n 'pagePath': 'pages/tabbar/shoppingCart/shoppingCart',\r\n 'iconPath': '../static/img/tabbar/chem.png',\r\n 'selectedIconPath': '../static/img/tabbar/chem.png',\r\n 'text': '购物车'\r\n },\r\n {\r\n 'pagePath': 'pages/tabbar/my/my',\r\n 'iconPath': '../static/img/tabbar/mym.png',\r\n 'selectedIconPath': '../static/img/tabbar/my.png',\r\n 'text': '我的'\r\n },\r\n ],\r\n // current:0\r\n };\n },\r\n methods:{\r\n choosefoot(index){\r\n\t\t\t\tif(index==0) uni.reLaunch({url:'/pages/tabbar/homePage/homePage'})\r\n\t\t\t\tif(index==1) uni.reLaunch({url:'/pages/tabbar/product/product'})\r\n\t\t\t\tif(index==2) uni.reLaunch({url:'/pages/tabbar/shoppingCart/shoppingCart'})\r\n\t\t\t\tif(index==3) uni.reLaunch({url:'/pages/tabbar/my/my'})\r\n // this.current = index\r\n }\r\n }\n }\n</script>\n\n<style>\n.footactive{color: #214995;}\r\n.footmo{color: #aaaeb7;}\n</style>\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!./footTab.vue?vue&type=style&index=0&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!./footTab.vue?vue&type=style&index=0&lang=css&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1632729154393\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":""} |