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