1 line
22 KiB
Plaintext
1 line
22 KiB
Plaintext
{"version":3,"sources":["webpack:///./src/components/NavBottom.vue","webpack:///./src/components/NavBottom.vue?941b","webpack:///./src/components/NavBottom.vue?fb04","webpack:///./src/views/mine/Transactiondetail.vue?e421","webpack:///./src/views/mine/Transactiondetail.vue","webpack:///./src/views/mine/Transactiondetail.vue?be54","webpack:///./src/views/mine/Transactiondetail.vue?5eed","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","query","ifwithdrawal","accountinfo","money","type","sn","created_at","toinfo","source","sourcetitle","livetime","count","amount","sxf","statusname","remark","typename","account","components","NavBottom","id","ifsale","selected"],"mappings":"2OACSA,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,KAAO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KAAK,CAAEJ,KAAM,gBAAiBO,MAAO,CAAEsB,SAAU,KAEzD1B,GAAA,KAAOC,KAAK,CACVJ,KAAMC,IAMZ,SAASa,EAAOa,GACdxB,GAAA,KAAOC,KAAK,CAACJ,KAAM,qBAAsBO,MAAO,CAACoB,GAAIA,KAGvD,OAxCA,uBAAS,yCAAC,iGACRpB,EAAML,MAAM,kBAAWK,OACpB,kBAAWA,MAAMC,aAFZ,gCAGkB,iBAAY,kBAAWD,MAAMoB,IAH/C,OAGNlB,EAAYP,MAHN,8CAKkB,gBAAgB,kBAAWK,MAAMoB,IALnD,OAKNlB,EAAYP,MALN,oDAwCH,CACLO,cACAF,QACAjB,QACAG,MACAqB,a,UCxDN,GAAOT,OAAS,GAChB,GAAOC,UAAY,kBAEJ,iB,6DCRf,W","file":"js/chunk-ef207110.3414d58c.js","sourcesContent":["<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!./Transactiondetail.vue?vue&type=style&index=0&id=4709ef0e&lang=scss&scoped=true\"","<template>\n <div class=\"transaction\">\n \n <div class=\"mingxilist\" v-if=\"query.ifwithdrawal!=1\">\n <div class=\"tabs\">\n <div class=\"beforetab\">{{lan.$t('jiaoyimingxixiangqing')}}</div>\n </div>\n <div class=\"detail\">\n <div class=\"infoitem\">\n <div class=\"left\">{{lan.$t('jine')}}</div>\n <div class=\"right\">{{accountinfo.money}}</div>\n </div>\n\n <div class=\"infoitem\">\n <div class=\"left\">{{lan.$t('leixing')}}</div>\n <div class=\"right\" v-if=\"accountinfo.type==1\">{{lan.$t('zhiboshouru')}}</div>\n <div class=\"right\" v-if=\"accountinfo.type==2\">{{lan.$t('tixian')}}</div>\n <div class=\"right\" v-if=\"accountinfo.type==3\">{{lan.$t('houtaichongzhi')}}</div>\n\n </div>\n\n <div class=\"infoitem\">\n <div class=\"left\">{{lan.$t('liushuihao')}}</div>\n <div class=\"right\">{{accountinfo.sn}}</div>\n </div>\n\n <div class=\"infoitem\">\n <div class=\"left\">{{lan.$t('riqi')}}</div>\n <div class=\"right\">{{accountinfo.created_at}}</div>\n </div>\n\n <div class=\"infoitem\" v-if=\"accountinfo.type != 2\">\n <div class=\"left\">{{lan.$t('laiyuan')}}</div>\n <div class=\"right\" style=\"cursor:pointer\" @click=\"toinfo(accountinfo.source)\">{{accountinfo.sourcetitle}}</div>\n </div>\n <div class=\"infoitem\" v-if=\"accountinfo.type != 2\">\n <div class=\"left\">{{lan.$t('shijishichang')}}</div>\n <div class=\"right\">{{accountinfo.livetime}}</div>\n </div>\n <div class=\"infoitem\" v-if=\"accountinfo.type != 2\">\n <div class=\"left\">{{lan.$t('shijirenshu')}}</div>\n <div class=\"right\">{{accountinfo.count}}</div>\n </div>\n <div class=\"back\" @click=\"navto(1,2)\">{{lan.$t('fanhui')}}</div>\n \n </div>\n <NavBottom class=\"navbottom\"></NavBottom>\n </div>\n \n <div class=\"mingxilist\" v-if=\"query.ifwithdrawal==1\">\n <div class=\"tabs\">\n <div class=\"beforetab\">{{lan.$t('tixianjiluxiangqing')}}</div>\n </div>\n <div class=\"detail\">\n <div class=\"infoitem\">\n <div class=\"left\">{{lan.$t('tixianjine')}}</div>\n <div class=\"right\">{{accountinfo.amount}}</div>\n </div>\n <div class=\"infoitem\">\n <div class=\"left\">{{lan.$t('daozhangjine')}}</div>\n <div class=\"right\">{{accountinfo.money}}</div>\n </div>\n <div class=\"infoitem\">\n <div class=\"left\">{{lan.$t('shouxufei')}}</div>\n <div class=\"right\">{{accountinfo.sxf}}</div>\n </div>\n <div class=\"infoitem\">\n <div class=\"left\">{{lan.$t('tixianzhuangtai')}}</div>\n <div class=\"right\" style=\"color: red;\" >{{accountinfo.statusname}}</div>\n <!-- <div class=\"right\" v-if=\"accountinfo.status==1\">直播收入</div>\n <div class=\"right\" v-if=\"accountinfo.status==2\">提现</div>\n <div class=\"right\" v-if=\"accountinfo.status==3\">后台充值</div> -->\n\n </div>\n <div class=\"infoitem\">\n <div class=\"left\">{{lan.$t('yuanyinmiaoshu')}}</div>\n <div class=\"right\">{{accountinfo.remark}}</div>\n </div>\n <div class=\"infoitem\">\n <div class=\"left\">{{lan.$t('liushuihao')}}</div>\n <div class=\"right\">{{accountinfo.sn}}</div>\n </div>\n <div class=\"infoitem\">\n <div class=\"left\">{{lan.$t('mingcheng')}}</div>\n <div class=\"right\">{{accountinfo.typename}}</div>\n </div>\n <div class=\"infoitem\">\n <div class=\"left\">{{lan.$t('riqi')}}</div>\n <div class=\"right\">{{accountinfo.created_at}}</div>\n </div>\n\n <div class=\"infoitem\">\n <div class=\"left\">{{lan.$t('shoukuanzhanghu')}}</div>\n <div class=\"right\">{{accountinfo.typename}} {{accountinfo.account}}</div>\n </div>\n \n <div style=\"display:flex\">\n <div class=\"back\" @click=\"navto(2)\">{{lan.$t('fanhui')}}</div>\n <div class=\"back fail\" @click=\"navto(3)\">{{lan.$t('shensu')}}</div>\n </div>\n \n </div>\n <NavBottom class=\"navbottom\"></NavBottom>\n </div>\n </div>\n</template>\n\n<script lang=\"ts\">\nimport { defineComponent, onMounted, ref } from \"vue\";\nimport NavBottom from \"@/components/NavBottom.vue\";\nimport { transactioninfo, withdrawlxq } from '@/api';\nimport { useRoute } from 'vue-router';\nimport router from '@/router';\nimport { useI18n } from '@/utils/i18n';\nexport default defineComponent({\n name: \"Transactiondetail\",\n components: {\n NavBottom\n },\n setup() {\n const lan: any = useI18n();\n const accountinfo=ref<any>({});\n const query=ref({})\n onMounted(async () => {\n query.value=useRoute().query\n if(useRoute().query.ifwithdrawal){\n accountinfo.value=await withdrawlxq(useRoute().query.id)\n }else{\n accountinfo.value=await transactioninfo(useRoute().query.id)\n }\n \n })\n function navto(index: number,id?: number) {\n let url = \"\";\n switch (index) {\n case 1:\n \n url = \"/mine/wallet\"\n console.log(url)\n break;\n case 2:\n url = \"/mine/transaction\";\n break;\n }\n if(id){\n router.push({\n path: url,\n query:{ifsale:id }\n });\n }else if(index==3){\n router.push({ path: \"/mine/aboutus\", query: { selected: 3 } });\n }else{\n router.push({\n path: url\n });\n }\n \n }\n\n function toinfo(id: string){\n router.push({path: '/regime/livedetail', query: {id: id}})\n }\n\n return {\n accountinfo,\n query,\n navto,\n lan,\n toinfo\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 .tabs {\n display: flex;\n flex-wrap: nowrap;\n padding-top: 35px;\n padding-left: 40px;\n }\n .beforetab {\n color: #121212;\n font-size: 13px;\n line-height: 35px;\n font-weight: bold;\n margin-right: 57px;\n }\n }\n .detail{\n margin-top: 34px;\n .infoitem{\n width: 310px;\n display: flex;\n justify-content: space-between;\n color: #404040;\n font-size: 12px;\n margin-bottom: 40px;\n margin-left: 63px;\n .left{\n color: #808080;\n }\n .right{\n width: 225px;\n }\n }\n .back{\n width: 63px;\n height:23px;\n background: #08AE98;\n font-size: 10px;\n color: white;\n text-align:center;\n line-height: 23px;\n border-radius: 3px;\n margin-top: 57px;\n margin-left: 63px;\n }\n .fail{\n background: #D12C2E;\n }\n }\n .navbottom{\n padding-top: 75px;\n padding-bottom: 30px;\n }\n \n}\n</style>","\nimport { defineComponent, onMounted, ref } from \"vue\";\nimport NavBottom from \"@/components/NavBottom.vue\";\nimport { transactioninfo, withdrawlxq } from '@/api';\nimport { useRoute } from 'vue-router';\nimport router from '@/router';\nimport { useI18n } from '@/utils/i18n';\nexport default defineComponent({\n name: \"Transactiondetail\",\n components: {\n NavBottom\n },\n setup() {\n const lan: any = useI18n();\n const accountinfo=ref<any>({});\n const query=ref({})\n onMounted(async () => {\n query.value=useRoute().query\n if(useRoute().query.ifwithdrawal){\n accountinfo.value=await withdrawlxq(useRoute().query.id)\n }else{\n accountinfo.value=await transactioninfo(useRoute().query.id)\n }\n \n })\n function navto(index: number,id?: number) {\n let url = \"\";\n switch (index) {\n case 1:\n \n url = \"/mine/wallet\"\n console.log(url)\n break;\n case 2:\n url = \"/mine/transaction\";\n break;\n }\n if(id){\n router.push({\n path: url,\n query:{ifsale:id }\n });\n }else if(index==3){\n router.push({ path: \"/mine/aboutus\", query: { selected: 3 } });\n }else{\n router.push({\n path: url\n });\n }\n \n }\n\n function toinfo(id: string){\n router.push({path: '/regime/livedetail', query: {id: id}})\n }\n\n return {\n accountinfo,\n query,\n navto,\n lan,\n toinfo\n };\n },\n});\n","import { render } from \"./Transactiondetail.vue?vue&type=template&id=4709ef0e&scoped=true&bindings={}\"\nimport script from \"./Transactiondetail.vue?vue&type=script&lang=ts\"\nexport * from \"./Transactiondetail.vue?vue&type=script&lang=ts\"\n\nimport \"./Transactiondetail.vue?vue&type=style&index=0&id=4709ef0e&lang=scss&scoped=true\"\nscript.render = render\nscript.__scopeId = \"data-v-4709ef0e\"\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\""],"sourceRoot":""} |