2020-11-30 09:38:01 +08:00
|
|
|
{"version":3,"sources":["webpack:///./src/views/mine/Cashoutdetail.vue?0ddb","webpack:///./src/components/NavBottom.vue","webpack:///./src/components/NavBottom.vue?941b","webpack:///./src/components/NavBottom.vue?fb04","webpack:///./src/views/mine/Cashoutdetail.vue","webpack:///./src/views/mine/Cashoutdetail.vue?45dc","webpack:///./src/views/mine/Cashoutdetail.vue?19a5","webpack:///./src/components/NavBottom.vue?4087"],"names":["class","style","color","navArray","item","index","key","navto","route","nowroute","lan","$t","name","props","Object","setup","routes","path","url","value","router","push","render","__scopeId","components","NavBottom"],"mappings":"kHAAA,W,6JCCSA,MAAM,c,yFAAX,yBAOM,MAPN,EAOM,CANF,yBAIM,OAJDA,MAAM,gBAAiBC,MAAO,EAAAC,O,6BAC/B,yBAEM,2CAFuB,EAAAC,UAAQ,SAAxBC,EAAMC,G,gCAAnB,yBAEM,OAFkCC,IAAKD,EAAOL,MAAM,WAAY,QAAK,mBAAE,EAAAO,MAAMH,EAAKI,S,CACrF,yBAA4E,OAAtER,MAAOI,EAAKI,OAAO,EAAAC,SAAQ,a,6BAAgB,EAAAC,IAAIC,GAAGP,EAAKQ,OAAI,I,4BAGxE,yBAAiE,OAA5DZ,MAAM,YAAaC,MAAO,EAAAC,O,6BAAS,EAAAQ,IAAIC,GAAE,oB,oCCDvC,+BAAgB,CAC3BE,MAAM,CACFX,MAAOY,QAEXC,MAJ2B,WAKvB,IAAML,EAAW,iBAMXM,EAAO,iBACPP,EAAS,iBAAYO,EAAOC,MAE3Bd,EAAuB,CAC1B,CACIS,KAAM,cACNJ,MAAO,gBAEX,CACII,KAAM,eACNJ,MAAO,iBAEX,CACII,KAAM,mBACNJ,MAAO,sBAEX,CACII,KAAM,gBACNJ,MAAO,mBAqBf,SAASD,EAAMW,GACXT,EAASU,MAAMD,EACfE,EAAA,KAAOC,KAAKH,GAKhB,MAAO,CACHf,WACAI,QACAE,WACAC,U,UC9DZ,EAAOY,OAAS,EAChB,EAAOC,UAAY,kBAEJ,U,4JCPRvB,MAAM,e,GAECA,MAAM,c,+pDAFlB,yBAwDM,MAxDN,EAwDM,CAtDC,yBAoDC,MApDD,EAoDC,CAnDJ,EAkDA,yBAAyC,GAA9BA,MAAM,qB,wBClDR,+BAAgB,CAC7BY,KAAM,gBACNY,WAAY,CACRC,YAAA,MAEJV,MAL6B,WAM3B,IAAML,EAAW,iBACjB,MAAO,CACTA,U,UCPF,EAAOY,OAAS,EAChB,EAAOC,UAAY,kBAEJ,gB,6DCRf,W","file":"js/chunk-68091c98.6bc9c5f0.js","sourcesContent":["export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader-v16/dist/index.js??ref--0-1!./Cashoutdetail.vue?vue&type=style&index=0&id=d91c5628&lang=scss&scoped=true\"","<template>\r\n <div class=\"nav-bottom\">\r\n <div class=\"nav-container\" :style=\"color\">\r\n <div v-for=\"(item, index) in navArray\" :key=\"index\" class=\"nav-item\" @click=\"navto(item.route)\">\r\n <div :class=\"item.route==nowroute?'active':''\">{{lan.$t(item.name) }}</div> \r\n </div>\r\n </div>\r\n <div class=\"copyright\" :style=\"color\">{{lan.$t(\"banquan\")}}</div>\r\n </div>\r\n</template>\r\n\r\n<script lang=\"ts\">\r\nimport router from '@/router';\r\nimport { useI18n } from '@/utils/i18n';\r\nimport { defineComponent, onMounted, ref } from 'vue';\r\nimport { useRoute } from 'vue-router';\r\n\r\nexport default defineComponent({\r\n props:{\r\n color: Object\r\n }, \r\n setup(){\r\n const lan: any = useI18n();\r\n interface Nav{\r\n name: string;\r\n route: string;\r\n }\r\n \r\n const routes=useRoute()\r\n const nowroute=ref<string>(routes.path)\r\n console.log(routes.path)\r\n const navArray: Array<Nav> = [\r\n {\r\n name: 'zhiboguanli',\r\n route: \"/regime/live\"\r\n },\r\n {\r\n name: 'shipinguanli',\r\n route: \"/regime/video\"\r\n },\r\n {\r\n name: 'dingyuezheguanli',\r\n route: \"/regime/subscriber\"\r\n },\r\n {\r\n name: 'gerenzhongxin',\r\n route: \"/mine/archives\"\r\n }\r\n ]\r\n // const navArray: Array<Nav> = [\r\n // {\r\n // name: \"直播管理\",\r\n // route: \"/regime/live\"\r\n // },\r\n // {\r\n // name
|