beelink/dist/js/chunk-04e3a2fa.4e5bf138.js.map
2020-11-30 17:21:35 +08:00

1 line
19 KiB
Plaintext

{"version":3,"sources":["webpack:///./src/views/mine/Transaction.vue?500f","webpack:///./src/components/NavBottom.vue","webpack:///./src/components/NavBottom.vue?941b","webpack:///./src/components/NavBottom.vue?fb04","webpack:///./src/components/NavBottom.vue?4087","webpack:///./src/views/mine/Transaction.vue","webpack:///./src/views/mine/Transaction.vue?87bd","webpack:///./src/views/mine/Transaction.vue?e17d"],"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","onChange","placeholder","withdrawallist","data","i","j","typename","account","created_at","statusname","money","withdrawalid","total","current","page","showLessItems","pagechange","components","NavBottom","dates","e","dateString","bdate","edate","id","query","ifwithdrawal"],"mappings":"kHAAA,W,sLCCSA,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,mBA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AS,wCAAC,8GACmB,kBADnB,OACRO,EAAeP,MADP,mDA2CH,CACLO,iBACAF,WACAjB,QACAiC,aACA9B,U,UC3DN,EAAOY,OAAS,EAChB,EAAOC,UAAY,kBAEJ,gB","file":"js/chunk-04e3a2fa.4e5bf138.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!./Transaction.vue?vue&type=style&index=0&id=2266c561&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: \"视频管理\",\r\n // route: \"/regime/video\"\r\n // },\r\n // {\r\n // name: \"订阅者管理\",\r\n // route: \"/regime/subscriber\"\r\n // },\r\n // {\r\n // name: \"个人中心\",\r\n // route: \"/mine/archives\"\r\n // }\r\n // ]\r\n function navto(url: string){\r\n nowroute.value=url\r\n router.push(url)\r\n \r\n }\r\n \r\n\r\n return {\r\n navArray,\r\n navto,\r\n nowroute,\r\n lan\r\n }\r\n }\r\n})\r\n</script>\r\n\r\n<style lang=\"scss\" scoped>\r\n.nav-bottom {\r\n width: 100%;\r\n display: flex;\r\n flex-direction: column;\r\n justify-content: center;\r\n align-items: center;\r\n .nav-container {\r\n display: flex;\r\n align-items: center;\r\n margin-bottom: 10px;\r\n font-size: 10px;\r\n font-weight: 500;\r\n color: #404040;\r\n .nav-item {\r\n padding: 0 14px;\r\n position: relative;\r\n cursor: pointer;\r\n &:not(:last-child)::after {\r\n content: \"\";\r\n position: absolute;\r\n right: 0px;\r\n top: 50%;\r\n width: 1px;\r\n height: 10px;\r\n background: #404040;\r\n transform: translate(0, -50%);\r\n }\r\n }\r\n\r\n .nav-item:hover{\r\n color: #06C7AE;\r\n }\r\n .active{\r\n color: #06C7AE;\r\n }\r\n }\r\n .copyright {\r\n font-size: 9px;\r\n font-weight: 500;\r\n color: #808080;\r\n }\r\n}\r\n</style>","\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: \"视频管理\",\r\n // route: \"/regime/video\"\r\n // },\r\n // {\r\n // name: \"订阅者管理\",\r\n // route: \"/regime/subscriber\"\r\n // },\r\n // {\r\n // name: \"个人中心\",\r\n // route: \"/mine/archives\"\r\n // }\r\n // ]\r\n function navto(url: string){\r\n nowroute.value=url\r\n router.push(url)\r\n \r\n }\r\n \r\n\r\n return {\r\n navArray,\r\n navto,\r\n nowroute,\r\n lan\r\n }\r\n }\r\n})\r\n","import { render } from \"./NavBottom.vue?vue&type=template&id=6dd528d6&scoped=true&bindings={}\"\nimport script from \"./NavBottom.vue?vue&type=script&lang=ts\"\nexport * from \"./NavBottom.vue?vue&type=script&lang=ts\"\n\nimport \"./NavBottom.vue?vue&type=style&index=0&id=6dd528d6&lang=scss&scoped=true\"\nscript.render = render\nscript.__scopeId = \"data-v-6dd528d6\"\n\nexport default script","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!./NavBottom.vue?vue&type=style&index=0&id=6dd528d6&lang=scss&scoped=true\"","<template>\r\n <div class=\"transaction\">\r\n \r\n <div class=\"mingxilist\">\r\n <div class=\"mingxitop\">\r\n <div><span class=\"tabtitle\">{{lan.$t(\"mingxichaxun\")}}</span>\r\n</div>\r\n <a-range-picker @change=\"onChange\" class=\"choosedate\" :placeholder=\"[lan.$t('kaishiriqi'), lan.$t('jieshuriqi')]\"/>\r\n </div>\r\n <div>\r\n <table class=\"table\">\r\n <thead>\r\n <tr class=\"head\">\r\n <th>{{lan.$t('zhanghu')}}</th>\r\n <th>{{lan.$t('tijiaoriqi')}}</th>\r\n <th>{{lan.$t('zhuangtai')}}</th>\r\n <th>{{lan.$t('jine')}}</th>\r\n <th>{{lan.$t('caozuo')}}</th>\r\n </tr>\r\n </thead>\r\n <tbody>\r\n <tr v-for=\"(i,j) in withdrawallist.data\" :key=\"j\">\r\n <td>{{i.typename}}&nbsp;&nbsp;&nbsp;&nbsp;{{i.account}}</td>\r\n <td>{{i.created_at}}</td>\r\n <td class=\"moneyadd\">{{i.statusname}}</td>\r\n <td>\r\n \r\n {{i.money}}\r\n </td>\r\n <td @click=\"navto(3,i.withdrawalid)\">{{lan.$t('chakanxiangqing')}}</td>\r\n </tr>\r\n \r\n \r\n </tbody>\r\n </table>\r\n <template v-if=\"!withdrawallist.total\">\r\n <a-empty />\r\n </template>\r\n <div class=\"pages\">\r\n <a-pagination v-if=\"withdrawallist.total\" v-model:current=\"page\" :total=\"withdrawallist.total\" :showLessItems=\"true\" @change=\"pagechange\"/>\r\n </div>\r\n </div>\r\n <NavBottom class=\"navbottom\"></NavBottom>\r\n </div>\r\n \r\n </div>\r\n</template>\r\n\r\n<script lang=\"ts\">\r\nimport { defineComponent, onMounted, ref } from \"vue\";\r\nimport NavBottom from \"@/components/NavBottom.vue\";\r\nimport { withdrawal } from '@/api';\r\nimport router from '@/router';\r\nimport { useI18n } from '@/utils/i18n';\r\nexport default defineComponent({\r\n name: \"Transaction\",\r\n components: {\r\n NavBottom\r\n },\r\n setup() {\r\n const lan: any = useI18n();\r\n const withdrawallist =ref<any>({})\r\n const dates=ref<Array<string>>([\"\",\"\"])\r\n const page = ref(1);\r\n onMounted(async () => {\r\n withdrawallist.value=await withdrawal()\r\n console.log(withdrawallist.value) \r\n })\r\n async function onChange(e: any,dateString: string){\r\n console.log(dateString)\r\n dates.value[0]=dateString[0]\r\n dates.value[1]=dateString[1]\r\n withdrawallist.value=await withdrawal({bdate:dates.value[0],edate:dates.value[1]})\r\n }\r\n function navto(index: number,id?: number) {\r\n let url = \"\";\r\n switch (index) {\r\n case 1:\r\n \r\n url = \"/mine/addaccount\"\r\n console.log(url)\r\n break;\r\n case 2:\r\n url = \"/mine/cashout\";\r\n break;\r\n case 3:\r\n url = \"/mine/transactionxq\"\r\n }\r\n if(id){\r\n router.push({\r\n path: url,\r\n query:{id:id,ifwithdrawal:1}\r\n });\r\n }else{\r\n router.push({\r\n path: url\r\n });\r\n }\r\n \r\n }\r\n\r\n async function pagechange(e: any) {\r\n console.log(e)\r\n page.value=e\r\n withdrawallist.value=await withdrawal({bdate:dates.value[0],edate:dates.value[1],page:e});\r\n }\r\n \r\n return {\r\n withdrawallist,\r\n onChange,\r\n navto,\r\n pagechange,\r\n lan\r\n };\r\n },\r\n});\r\n</script>\r\n<style lang=\"scss\" scoped>\r\n.transaction ::v-deep(.ant-breadcrumb) > span:last-child {\r\n color: #08ae98;\r\n}\r\n.transaction{\r\n .mingxilist {\r\n width: 1150px;\r\n // height: 533px;\r\n background: white;\r\n border-radius: 18px;\r\n margin-top: 18px;\r\n .mingxitop {\r\n display: flex;\r\n justify-content: space-between;\r\n align-items: center;\r\n padding-top: 18px;\r\n padding-right: 40px;\r\n .tabtitle {\r\n width: 60px;\r\n margin-right: 30px;\r\n margin-left: 40px;\r\n font-weight: bold;\r\n }\r\n .tabs {\r\n display: flex;\r\n align-items: center;\r\n flex-shrink: 0;\r\n font-size: 13px;\r\n font-weight: bold;\r\n color: #111;\r\n padding: 11px 0;\r\n \r\n > div {\r\n margin-right: 38px;\r\n cursor: pointer;\r\n text-align: center;\r\n width: 40px;\r\n font-size:11px;\r\n }\r\n .on {\r\n color: #08ae98;\r\n position: relative;\r\n &::before {\r\n content: \"\";\r\n display: block;\r\n position: absolute;\r\n bottom: -6px;\r\n left: 8px;\r\n width: 25px;\r\n height: 1px;\r\n background-color: #08ae98;\r\n }\r\n }\r\n }\r\n }\r\n }\r\n .table {\r\n width: 1150px;\r\n max-height: 365px;\r\n text-align: center;\r\n color: #343434;\r\n font-size: 12px;\r\n margin-top: 13px;\r\n tr {\r\n width: 1150px;\r\n height: 40px;\r\n // border-bottom: 1px solid red;\r\n }\r\n tr:nth-child(even) {\r\n //偶数行\r\n background: #f7fcfc;\r\n }\r\n .head {\r\n width: 1150px;\r\n height: 43px;\r\n color: white;\r\n background: #08ae98;\r\n }\r\n .moneyadd {\r\n color: #08ae98;\r\n }\r\n .moneyreverse {\r\n color: #d22d2e;\r\n }\r\n }\r\n .navbottom{\r\n padding-top: 75px;\r\n padding-bottom: 30px;\r\n }\r\n}\r\n.pages {\r\n display: flex;\r\n justify-content: center;\r\n margin-top: 46px;\r\n padding-bottom: 28px;\r\n ::v-deep(.ant-pagination-next) > .ant-pagination-item-link,\r\n ::v-deep(.ant-pagination-prev) > .ant-pagination-item-link,\r\n ::v-deep(.ant-pagination-item),\r\n ::v-deep(.ant-pagination-jump-next-custom-icon),\r\n ::v-deep(.ant-pagination-jump-prev-custom-icon) {\r\n border: 1px solid #08ae98;\r\n }\r\n ::v-deep(.ant-pagination-item-active) a {\r\n color: #fff;\r\n }\r\n ::v-deep(.ant-pagination-item-active) {\r\n background-color: #08ae98;\r\n }\r\n }\r\n</style>","\r\nimport { defineComponent, onMounted, ref } from \"vue\";\r\nimport NavBottom from \"@/components/NavBottom.vue\";\r\nimport { withdrawal } from '@/api';\r\nimport router from '@/router';\r\nimport { useI18n } from '@/utils/i18n';\r\nexport default defineComponent({\r\n name: \"Transaction\",\r\n components: {\r\n NavBottom\r\n },\r\n setup() {\r\n const lan: any = useI18n();\r\n const withdrawallist =ref<any>({})\r\n const dates=ref<Array<string>>([\"\",\"\"])\r\n const page = ref(1);\r\n onMounted(async () => {\r\n withdrawallist.value=await withdrawal()\r\n console.log(withdrawallist.value) \r\n })\r\n async function onChange(e: any,dateString: string){\r\n console.log(dateString)\r\n dates.value[0]=dateString[0]\r\n dates.value[1]=dateString[1]\r\n withdrawallist.value=await withdrawal({bdate:dates.value[0],edate:dates.value[1]})\r\n }\r\n function navto(index: number,id?: number) {\r\n let url = \"\";\r\n switch (index) {\r\n case 1:\r\n \r\n url = \"/mine/addaccount\"\r\n console.log(url)\r\n break;\r\n case 2:\r\n url = \"/mine/cashout\";\r\n break;\r\n case 3:\r\n url = \"/mine/transactionxq\"\r\n }\r\n if(id){\r\n router.push({\r\n path: url,\r\n query:{id:id,ifwithdrawal:1}\r\n });\r\n }else{\r\n router.push({\r\n path: url\r\n });\r\n }\r\n \r\n }\r\n\r\n async function pagechange(e: any) {\r\n console.log(e)\r\n page.value=e\r\n withdrawallist.value=await withdrawal({bdate:dates.value[0],edate:dates.value[1],page:e});\r\n }\r\n \r\n return {\r\n withdrawallist,\r\n onChange,\r\n navto,\r\n pagechange,\r\n lan\r\n };\r\n },\r\n});\r\n","import { render } from \"./Transaction.vue?vue&type=template&id=2266c561&scoped=true&bindings={}\"\nimport script from \"./Transaction.vue?vue&type=script&lang=ts\"\nexport * from \"./Transaction.vue?vue&type=script&lang=ts\"\n\nimport \"./Transaction.vue?vue&type=style&index=0&id=2266c561&lang=scss&scoped=true\"\nscript.render = render\nscript.__scopeId = \"data-v-2266c561\"\n\nexport default script"],"sourceRoot":""}