1 line
13 KiB
Plaintext
1 line
13 KiB
Plaintext
{"version":3,"sources":["webpack:///E:/Workspace/Work/lanan/lanan-repair/components/tabBar/tabBar.vue?4505","webpack:///E:/Workspace/Work/lanan/lanan-repair/components/tabBar/tabBar.vue?77ad","webpack:///E:/Workspace/Work/lanan/lanan-repair/components/tabBar/tabBar.vue?0332","webpack:///E:/Workspace/Work/lanan/lanan-repair/components/tabBar/tabBar.vue?43dd","uni-app:///components/tabBar/tabBar.vue","webpack:///E:/Workspace/Work/lanan/lanan-repair/components/tabBar/tabBar.vue?4da8","webpack:///E:/Workspace/Work/lanan/lanan-repair/components/tabBar/tabBar.vue?4d8e"],"names":["data","aindex","msgNum","identity","nowPageInterval","arr","text","props","msg","onLoad","console","onUnload","clearTimeout","mounted","methods","getbottom","url","method","res","getgogo","uni"],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAA+H;AAC/H;AAC0D;AACL;AACsC;;;AAG3F;AACmL;AACnL,gBAAgB,uLAAU;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;AAAmrB,CAAgB,kqBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;AC2BvsB;AACA;;;;;;;;;;;;;;;;;;;;;;;;;;;eAGA;EACAA;IACA;MACAC;MACAC;MACAC;MACAC;MACAC;QACAC;MACA,GACA;QACAA;MACA,GACA;QACAA;MACA;IAEA;EACA;EACAC;IACAC;EACA;EACAC;IACAC;EAEA;EACAC;IACA;MACAC;IACA;EACA;EACAC;IAIA;EAEA;EACAC;IACAC;MAAA;MAAA;QAAA;QAAA;UAAA;YAAA;cAAA;gBAAA,IACA;kBAAA;kBAAA;gBAAA;gBAAA;cAAA;gBAAA;gBAAA,OAGA;kBACAC;kBACAC;gBAEA;cAAA;gBAJAC;gBAKAR;gBACA;kBACA;gBACA;cAAA;cAAA;gBAAA;YAAA;UAAA;QAAA;MAAA;IACA;IACAS;MAGA;QACA;QACAC;UACAJ;QACA;MACA;MACA;QACA;QACAI;UACAJ;QACA;MACA;MACA;QACA;QACAI;UACAJ;QACA;MACA;IACA;EACA;AAEA;AAAA,2B;;;;;;;;;;;;;AC5GA;AAAA;AAAA;AAAA;AAAszC,CAAgB,itCAAG,EAAC,C;;;;;;;;;;;ACA10C;AACA,OAAO,KAAU,EAAE,kBAKd","file":"components/tabBar/tabBar.js","sourcesContent":["import { render, staticRenderFns, recyclableRender, components } from \"./tabBar.vue?vue&type=template&id=3bd8e2f8&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=3bd8e2f8&scoped=true&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../Developer/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 \"3bd8e2f8\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"components/tabBar/tabBar.vue\"\nexport default component.exports","export * from \"-!../../../../../../Developer/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../Developer/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--17-0!../../../../../../Developer/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../../Developer/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../Developer/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../Developer/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./tabBar.vue?vue&type=template&id=3bd8e2f8&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 \"-!../../../../../../Developer/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../Developer/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--13-1!../../../../../../Developer/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../Developer/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../Developer/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 \"-!../../../../../../Developer/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../Developer/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--13-1!../../../../../../Developer/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../Developer/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../Developer/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=\"bottoms\">\r\n\t\t<view class=\"box\" :class=\"{active: aindex == 1}\" @click=\"getgogo(1)\">\r\n\t\t\t<view class=\"imgs\">\r\n\t\t\t\t<image mode=\"aspectFit\" src=\"@/static/icons/tabbar/home.png\" v-show=\"aindex != 1\"></image>\r\n\t\t\t\t<image mode=\"aspectFit\" src=\"@/static/icons/tabbar/home-checked.png\" v-show=\"aindex == 1\"></image>\r\n\t\t\t</view>\r\n\t\t\t<view class=\"\">首页</view>\r\n\t\t</view>\r\n\t\t<view class=\"box\" :class=\"{active: aindex == 2}\" @click=\"getgogo(2)\">\r\n\t\t\t<view class=\"imgs\">\r\n\t\t\t\t<image mode=\"aspectFit\" src=\"@/static/icons/tabbar/order.png\" v-show=\"aindex != 2\"></image>\r\n\t\t\t\t<image mode=\"aspectFit\" src=\"@/static/icons/tabbar/order-checked.png\" v-show=\"aindex == 2\"></image>\r\n\t\t\t</view>\r\n\t\t\t<view class=\"\">订单</view>\r\n\t\t</view>\r\n\t\t<view class=\"box\" :class=\"{active: aindex == 3}\" @click=\"getgogo(3)\">\r\n\t\t\t<view class=\"imgs\">\r\n\t\t\t\t<image mode=\"aspectFit\" src=\"@/static/icons/tabbar/my.png\" v-show=\"aindex != 3\"></image>\r\n\t\t\t\t<image mode=\"aspectFit\" src=\"@/static/icons/tabbar/my-checked.png\" v-show=\"aindex == 3\"></image>\r\n\t\t\t</view>\r\n\t\t\t<view class=\"\">我的</view>\r\n\t\t</view>\r\n\t</view>\r\n</template>\r\n\r\n<script>\r\n\timport request from '../../utils/request';\r\n\timport {\r\n\t\tgetToken\r\n\t} from '@/utils/auth'\r\n\texport default {\r\n\t\tdata() {\r\n\t\t\treturn {\r\n\t\t\t\taindex: 1,\r\n\t\t\t\tmsgNum: null,\r\n identity: 'user',\r\n\t\t\t\tnowPageInterval: null,\r\n\t\t\t\tarr: [{\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\ttext: '消息'\r\n\t\t\t\t\t},\r\n\t\t\t\t\t{\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\tprops: {\r\n\t\t\tmsg: String|Number\r\n\t\t},\r\n\t\tonLoad() {\r\n\t\t\tconsole.log('tabbag', uni.getStorageSync('identity'));\r\n\r\n\t\t},\r\n\t\tonUnload() {\r\n\t\t\tif (this.nowPageInterval) {\r\n\t\t\t\tclearTimeout(this.nowPageInterval);\r\n\t\t\t}\r\n\t\t},\r\n\t\tmounted() {\r\n\t\t\t// #ifdef APP || H5\r\n\t\t\tthis.identity = uni.getStorageSync('identity');\r\n\t\t\t// #endif\r\n\t\t\tthis.aindex = this.msg\r\n\t\t\t\r\n\t\t},\r\n\t\tmethods: {\r\n\t\t\tasync getbottom() {\r\n\t\t\t\tif (!getToken()) {\r\n\t\t\t\t\treturn\r\n\t\t\t\t}\r\n\t\t\t\tlet res = await request({\r\n\t\t\t\t\turl: '/announcement/announcement/getOwnNoRead',\r\n\t\t\t\t\tmethod: 'get',\r\n\r\n\t\t\t\t})\r\n\t\t\t\tconsole.log('jitiao', res);\r\n\t\t\t\tif (res.code == 200) {\r\n\t\t\t\t\tthis.msgNum = res.data\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\tgetgogo(index) {\r\n\r\n\r\n\t\t\t\tif (index == 1) {\r\n\t\t\t\t\tthis.aindex = index\r\n\t\t\t\t\tuni.reLaunch({\r\n\t\t\t\t\t\turl: '/pages/home/home'\r\n\t\t\t\t\t})\r\n\t\t\t\t}\r\n\t\t\t\tif (index == 2) {\r\n\t\t\t\t\tthis.aindex = index\r\n\t\t\t\t\tuni.reLaunch({\r\n\t\t\t\t\t\turl: '/pages/orderList/orderList'\r\n\t\t\t\t\t})\r\n\t\t\t\t}\r\n\t\t\t\tif (index == 3) {\r\n\t\t\t\t\tthis.aindex = index\r\n\t\t\t\t\tuni.reLaunch({\r\n\t\t\t\t\t\turl: '/pages/my/my'\r\n\t\t\t\t\t})\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t}\r\n</script>\r\n\r\n<style scoped lang=\"scss\">\r\n\t.bottoms {\r\n\t\twidth: 100%;\r\n\t\t// position: fixed;\r\n\t\t// bottom: 0px;\r\n\t\tbackground: #fff;\r\n\t\tdisplay: flex;\r\n\t\tjustify-content: space-between;\r\n\t\tfont-size: 14px;\r\n\t\tfont-weight: 400;\r\n\t\tcolor: #FFFFFF;\r\n\t\tpadding: 12rpx 40rpx;\r\n\t\tbox-sizing: border-box;\r\n\t\tbox-shadow: 4rpx 2rpx 12rpx 0 #c3c3c3;\r\n\t\tposition: relative;\r\n\t\tz-index: 99;\r\n\t}\r\n\r\n\t.box {\r\n\t\tflex: 1;\r\n\t\twidth: 0;\r\n\t\tdisplay: flex;\r\n\t\tflex-direction: column;\r\n\t\talign-items: center;\r\n\t\tjustify-content: center;\r\n\t\tfont-size: 12px;\r\n\t\tcolor: #929292;\r\n\r\n\t\t&.active {\r\n\t\t\tcolor: #327DFB;\r\n\t\t}\r\n\t}\r\n\r\n\t.imgs {\r\n\t\tmargin: 0 auto;\r\n\t\twidth: 50rpx;\r\n\t\theight: 50rpx;\r\n\r\n\t\timage {\r\n\t\t\twidth: 100%;\r\n\t\t\theight: 100%;\r\n\t\t}\r\n\t}\r\n\r\n\t.hongdian {\r\n\t\twidth: 12px;\r\n\t\theight: 12px;\r\n\t\tbackground-color: crimson;\r\n\t\tborder-radius: 50%;\r\n\t\toverflow: hidden;\r\n\t\tposition: absolute;\r\n\t\ttop: -5px;\r\n\t\tright: -8px;\r\n\t\tz-index: 9999;\r\n\t\tdisplay: flex;\r\n\t\talign-items: center;\r\n\t\tjustify-content: center;\r\n\t\tcolor: white;\r\n\t\tfont-size: 2px;\r\n\t}\r\n</style>\r\n","import mod from \"-!../../../../../../Developer/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../Developer/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../Developer/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../Developer/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../../Developer/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../../Developer/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../Developer/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../../Developer/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../Developer/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./tabBar.vue?vue&type=style&index=0&id=3bd8e2f8&scoped=true&lang=scss&\"; export default mod; export * from \"-!../../../../../../Developer/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../Developer/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../Developer/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../Developer/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../../Developer/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../../Developer/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../Developer/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../../Developer/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../Developer/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./tabBar.vue?vue&type=style&index=0&id=3bd8e2f8&scoped=true&lang=scss&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1727161596839\n var cssReload = require(\"E:/Developer/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":""} |