征信小程序
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

1 lines
14 KiB

{"version":3,"sources":["uni-app:///main.js","webpack:///D:/work/2024-11-28 征信/zhengxinApplets/pages/user/wallet.vue?28db","webpack:///D:/work/2024-11-28 征信/zhengxinApplets/pages/user/wallet.vue?7b46","webpack:///D:/work/2024-11-28 征信/zhengxinApplets/pages/user/wallet.vue?96f9","webpack:///D:/work/2024-11-28 征信/zhengxinApplets/pages/user/wallet.vue?4fb5","uni-app:///pages/user/wallet.vue","webpack:///D:/work/2024-11-28 征信/zhengxinApplets/pages/user/wallet.vue?bc2c","webpack:///D:/work/2024-11-28 征信/zhengxinApplets/pages/user/wallet.vue?9d00"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","createPage","Page","data","userInfo","list","offset","total","mounted","onReachBottom","uni","title","that","setTimeout","onShow","methods","arrayUnique","hash","getList","limit","token","code","msg","getUserInfo","icon","openPage","url"],"mappings":";;;;;;;;;;;;;AAAA;AAGA;AACA;AAHA;AACAA,EAAE,CAACC,iCAAiC,GAAGC,mBAAmB;AAG1DC,UAAU,CAACC,eAAI,CAAC,C;;;;;;;;;;;;;ACLhB;AAAA;AAAA;AAAA;AAAA;AAAA;AAA+H;AAC/H;AAC0D;AACL;AACsC;;;AAG3F;AAC+K;AAC/K,gBAAgB,sLAAU;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;AAA+pB,CAAgB,6pBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;eCgCnrB;EACAC;IACA;MACAC;MACAC;MACAC;MACAC;IACA;EACA;EACAC;IACA;EACA;EACAC;IACA;IACAC;MACAC;IACA;IACA;MACAC;MACAC;QACAD;MACA;IACA;EACA;EACAE;IACA;EACA;EACAC;IACA;IACAC;MACA;MACA;QACAC,mBACA,KACAA;QACA;MACA;IACA;IACAC;MAAA;MAAA;QAAA;QAAA;UAAA;YAAA;cAAA;gBAAA;gBAAA,OACA;kBACAZ;kBACAa;kBACAC;gBACA;cAAA;gBAAA;gBAJAC;gBAAAlB;gBAAAmB;gBAKA;kBACAZ;gBACA;gBACA;kBACA;kBACA;gBACA;cAAA;cAAA;gBAAA;YAAA;UAAA;QAAA;MAAA;IACA;IACA;IACAa;MAAA;MAAA;QAAA;QAAA;UAAA;YAAA;cAAA;gBAAA;gBAAA,OACA;kBAAAH;gBAAA;cAAA;gBAAA;gBAAAC;gBAAAlB;gBAAAmB;gBACA;kBACA;gBACA;kBACAZ;oBACAC;oBACAa;kBACA;gBACA;cAAA;cAAA;gBAAA;YAAA;UAAA;QAAA;MAAA;IACA;IACAC;MACAf;QACAgB;MACA;IACA;EACA;AACA;AAAA,2B;;;;;;;;;;;;;ACtGA;AAAA;AAAA;AAAA;AAAkxC,CAAgB,wsCAAG,EAAC,C;;;;;;;;;;;ACAtyC;AACA,OAAO,KAAU,EAAE,kBAKd","file":"pages/user/wallet.js","sourcesContent":["import 'uni-pages';\n// @ts-ignore\nwx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;\nimport Vue from 'vue'\nimport Page from './pages/user/wallet.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./wallet.vue?vue&type=template&id=3b16d854&scoped=true&\"\nvar renderjs\nimport script from \"./wallet.vue?vue&type=script&lang=js&\"\nexport * from \"./wallet.vue?vue&type=script&lang=js&\"\nimport style0 from \"./wallet.vue?vue&type=style&index=0&id=3b16d854&scoped=true&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../ruanjian/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 \"3b16d854\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pages/user/wallet.vue\"\nexport default component.exports","export * from \"-!../../../../../ruanjian/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../ruanjian/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--17-0!../../../../../ruanjian/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../ruanjian/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../ruanjian/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../ruanjian/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./wallet.vue?vue&type=template&id=3b16d854&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 \"-!../../../../../ruanjian/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../ruanjian/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--13-1!../../../../../ruanjian/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../ruanjian/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../ruanjian/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./wallet.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../ruanjian/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../ruanjian/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--13-1!../../../../../ruanjian/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../ruanjian/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../ruanjian/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./wallet.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view class=\"wallet\">\r\n\t\t<view class=\"a\">\r\n\t\t\t<view class=\"fl\">总资产(元)<text>{{userInfo.money}}</text></view>\r\n\t\t\t<view class=\"fr\" @click=\"openPage()\">提现</view>\r\n\t\t</view>\r\n\t\t<view class=\"b\">\r\n\t\t\t<view class=\"title\">收入明细</view>\r\n\t\t\t<view class=\"list\">\r\n\t\t\t\t<view class=\"item\" v-for=\"(a,i) in list\" :key=\"i\">\r\n\t\t\t\t\t<view class=\"hd\">用户查看事件<text>+{{a.money}}</text></view>\r\n\t\t\t\t\t<view class=\"bd\">\r\n\t\t\t\t\t\t<view class=\"dd\">\r\n\t\t\t\t\t\t\t<view class=\"l\">事件标题</view>\r\n\t\t\t\t\t\t\t<view class=\"r\">{{a.memo}}</view>\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t<view class=\"dd\">\r\n\t\t\t\t\t\t\t<view class=\"l\">支付时间</view>\r\n\t\t\t\t\t\t\t<view class=\"r\">{{a.createtime}}</view>\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t\t<view class=\"empty\" v-if=\"total == 0\">\r\n\t\t\t\t<image src=\"https://www.lijkj.cn/static/empty.png\"></image>\r\n\t\t\t\t<view class=\"txt\">暂无数据 ~</view>\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t</view>\r\n</template>\r\n\r\n<script>\r\n\texport default {\r\n\t\tdata() {\r\n\t\t\treturn {\r\n\t\t\t\tuserInfo: {},\r\n\t\t\t\tlist: [],\r\n\t\t\t\toffset: 1,\r\n\t\t\t\ttotal: 1,\r\n\t\t\t};\r\n\t\t},\r\n\t\tmounted() {\r\n\t\t\tthis.getList();\r\n\t\t},\r\n\t\tonReachBottom() {\r\n\t\t\tconst that = this;\r\n\t\t\tuni.showLoading({\r\n\t\t\t\ttitle: \"加载中\"\r\n\t\t\t})\r\n\t\t\tif(that.list.length <= that.total){\r\n\t\t\t\tthat.offset ++\r\n\t\t\t\tsetTimeout(()=>{\r\n\t\t\t\t\tthat.getList(1)\r\n\t\t\t\t},1000)\r\n\t\t\t}\r\n\t\t},\r\n\t\tonShow() {\r\n\t\t\tthis.getUserInfo();\r\n\t\t},\r\n\t\tmethods:{\r\n\t\t\t//数组对象去重\r\n\t\t\tarrayUnique (arr, name) {\r\n\t\t\t\tvar hash = {};\r\n\t\t\t\treturn arr.reduce(function (item, next) {\r\n\t\t\t\t\thash[next[name]]\r\n\t\t\t\t\t\t? \"\"\r\n\t\t\t\t\t\t: (hash[next[name]] = true && item.push(next));\r\n\t\t\t\t\treturn item;\r\n\t\t\t\t}, []);\r\n\t\t\t},\r\n\t\t\tasync getList(type) {\r\n\t\t\t\tconst { code, data, msg } = await this.$api.getshourulist({\r\n\t\t\t\t\toffset: this.offset,\r\n\t\t\t\t\tlimit: 20,\r\n\t\t\t\t\ttoken: uni.getStorageSync(\"token\")\r\n\t\t\t\t})\r\n\t\t\t\tif(type==1){\r\n\t\t\t\t\tuni.hideLoading();\r\n\t\t\t\t}\r\n\t\t\t\tif(code == 1){\r\n\t\t\t\t\tthis.list = this.arrayUnique([...this.list,...data.rows],'id');\r\n\t\t\t\t\tthis.total = data.total;\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\t//获取用户信息\r\n\t\t\tasync getUserInfo() {\r\n\t\t\t\tconst { code, data , msg } = await this.$api.getMemberInfo({token: uni.getStorageSync(\"token\")});\r\n\t\t\t\tif(code == 1){\r\n\t\t\t\t\tthis.userInfo = data.user;\r\n\t\t\t\t}else{\r\n\t\t\t\t\tuni.showToast({\r\n\t\t\t\t\t\ttitle: msg,\r\n\t\t\t\t\t\ticon: \"none\",\r\n\t\t\t\t\t})\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\topenPage() {\r\n\t\t\t\tuni.navigateTo({\r\n\t\t\t\t\turl: \"/pages/user/withdrawal\"\r\n\t\t\t\t})\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n</script>\r\n\r\n<style scoped lang=\"scss\">\r\n.wallet{\r\n\tpadding: 0 25rpx 25rpx;\r\n\toverflow: hidden;\r\n\t.empty{\r\n\t\tpadding: 150rpx 0;\r\n\t\ttext-align: center;\r\n\t\tfont-size: 26rpx;\r\n\t\tcolor: #666;\r\n\t\timage{\r\n\t\t\twidth: 460rpx;\r\n\t\t\theight: 400rpx;\r\n\t\t\tmargin-bottom: 30rpx;\r\n\t\t}\r\n\t}\r\n\t.b{\r\n\t\t.title{\r\n\t\t\tpadding: 25rpx 0;\r\n\t\t\tfont-weight: 500;\r\n\t\t\tfont-size: 32rpx;\r\n\t\t\tcolor: #222222;\r\n\t\t}\r\n\t\t.item{\r\n\t\t\twidth: 100%;\r\n\t\t\theight: 210rpx;\r\n\t\t\tbackground: #FFFFFF;\r\n\t\t\tbox-shadow: 0px 3rpx 10rpx 0px rgba(9,44,39,0.05);\r\n\t\t\tborder-radius: 20rpx;\r\n\t\t\tpadding: 30rpx;\r\n\t\t\tbox-sizing: border-box;\r\n\t\t\tmargin-top: 20rpx;\r\n\t\t\t&:first-child{\r\n\t\t\t\tmargin-top: 0;\r\n\t\t\t}\r\n\t\t\t.hd{\r\n\t\t\t\tdisplay: flex;\r\n\t\t\t\talign-items: center;\r\n\t\t\t\tjustify-content: space-between;\r\n\t\t\t\tfont-weight: 500;\r\n\t\t\t\tfont-size: 28rpx;\r\n\t\t\t\tcolor: #333333;\r\n\t\t\t\ttext{\r\n\t\t\t\t\tfont-weight: 500;\r\n\t\t\t\t\tfont-size: 28rpx;\r\n\t\t\t\t\tcolor: #D80C0C;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\t.bd{\r\n\t\t\t\tmargin-top: 10rpx;\r\n\t\t\t\toverflow: hidden;\r\n\t\t\t\t.dd{\r\n\t\t\t\t\tpadding: 13rpx 0;\r\n\t\t\t\t\tdisplay: flex;\r\n\t\t\t\t\talign-items: center;\r\n\t\t\t\t\t.l{\r\n\t\t\t\t\t\twidth: 160rpx;\r\n\t\t\t\t\t\tfont-weight: 500;\r\n\t\t\t\t\t\tfont-size: 28rpx;\r\n\t\t\t\t\t\tcolor: #999999;\r\n\t\t\t\t\t}\r\n\t\t\t\t\t.r{\r\n\t\t\t\t\t\tflex: 1;\r\n\t\t\t\t\t\tfont-weight: 500;\r\n\t\t\t\t\t\tfont-size: 28rpx;\r\n\t\t\t\t\t\tcolor: #333333;\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}\r\n\t.a{\r\n\t\twidth: 100%;\r\n\t\theight: 180rpx;\r\n\t\tbackground: #00C6A9;\r\n\t\tborder-radius: 20rpx;\r\n\t\tpadding: 40rpx 50rpx;\r\n\t\tbox-sizing: border-box;\r\n\t\tmargin-top: 20rpx;\r\n\t\tdisplay: flex;\r\n\t\talign-items: flex-start;\r\n\t\tjustify-content: space-between;\r\n\t\t.fl{\r\n\t\t\tfont-weight: 400;\r\n\t\t\tfont-size: 24rpx;\r\n\t\t\tcolor: #FFFFFF;\r\n\t\t\ttext-align: left;\r\n\t\t\tline-height: 50rpx;\r\n\t\t\ttext{\r\n\t\t\t\tdisplay: block;\r\n\t\t\t\tfont-weight: 400;\r\n\t\t\t\tfont-size: 48rpx;\r\n\t\t\t\tcolor: #FFFFFF;\r\n\t\t\t\tmargin-top: 10rpx;\r\n\t\t\t}\r\n\t\t}\r\n\t\t.fr{\r\n\t\t\twidth: 160rpx;\r\n\t\t\tline-height: 50rpx;\r\n\t\t\ttext-align: center;\r\n\t\t\tbackground: #FFFFFF;\r\n\t\t\tborder-radius: 50px;\r\n\t\t\tborder: 1px solid #FFFFFF;\r\n\t\t\tfont-weight: 400;\r\n\t\t\tfont-size: 24rpx;\r\n\t\t\tcolor: #00C6A9;\r\n\t\t\ttext-align: center;\r\n\t\t}\r\n\t}\r\n}\r\n</style>\r\n","import mod from \"-!../../../../../ruanjian/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../ruanjian/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../ruanjian/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../ruanjian/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../ruanjian/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../ruanjian/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../ruanjian/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../ruanjian/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../ruanjian/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./wallet.vue?vue&type=style&index=0&id=3b16d854&scoped=true&lang=scss&\"; export default mod; export * from \"-!../../../../../ruanjian/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../ruanjian/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../ruanjian/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../ruanjian/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../ruanjian/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../ruanjian/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../ruanjian/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../ruanjian/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../ruanjian/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./wallet.vue?vue&type=style&index=0&id=3b16d854&scoped=true&lang=scss&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1732785827954\n var cssReload = require(\"D:/ruanjian/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":""}