连云港陪玩陪聊
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.
chunwan/unpackage/dist/build/web/static/js/pages-users-wallet-index.eb...

1 line
19 KiB

1 month ago
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-users-wallet-index"],{"0086":function(t,e,a){var i=a("c86c");e=i(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 文字基本颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.u-navbar[data-v-928a20ca]{width:100%}.u-navbar-fixed[data-v-928a20ca]{position:fixed;left:0;right:0;top:0;z-index:991}.u-status-bar[data-v-928a20ca]{width:100%}.u-navbar-inner[data-v-928a20ca]{display:flex;flex-direction:row;justify-content:space-between;position:relative;align-items:center}.u-back-wrap[data-v-928a20ca]{display:flex;flex-direction:row;align-items:center;flex:1;flex-grow:0;padding:%?14?% %?14?% %?14?% %?24?%}.u-back-text[data-v-928a20ca]{padding-left:%?4?%;font-size:%?30?%}.u-navbar-content-title[data-v-928a20ca]{display:flex;flex-direction:row;align-items:center;justify-content:center;flex:1;position:absolute;left:0;right:0;height:%?60?%;text-align:center;flex-shrink:0}.u-navbar-centent-slot[data-v-928a20ca]{flex:1}.u-title[data-v-928a20ca]{line-height:%?60?%;font-size:%?32?%;flex:1}.u-navbar-right[data-v-928a20ca]{flex:1;display:flex;flex-direction:row;align-items:center;justify-content:flex-end}.u-slot-content[data-v-928a20ca]{flex:1;display:flex;flex-direction:row;align-items:center}',""]),t.exports=e},"0574":function(t,e,a){"use strict";a.r(e);var i=a("0e7c"),n=a.n(i);for(var s in i)["default"].indexOf(s)<0&&function(t){a.d(e,t,(function(){return i[t]}))}(s);e["default"]=n.a},"0e7c":function(t,e,a){"use strict";a("6a54");var i=a("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=i(a("2634")),s=i(a("b7c7")),r=i(a("2fdc"));a("473f"),a("bf0f"),a("aa9c"),a("64aa"),a("c223");var o={data:function(){return{isPopup:!1,current:0,list:[{name:"社交记录"},{name:"任务记录"},{name:"陪玩记录"},{name:"充值记录"},{name:"提现记录"},{name:"邀请记录"}],activeStyle:{fontSize:"35rpx"},background:{background:"url(https://api.lyiyuan.cn/profile/upload/static/task-bg.png) center top no-repeat",backgroundSize:"100 auto"},info:{},recordList:[],page:1,total:1}},onLoad:function(){this.userWallet(),this.userRecordList(),uni.$on("closeSharePopup",(function(t){that.isPopup=!1}))},onReachBottom:function(){var t=this;uni.showLoading({title:"加载中"}),t.page++,setTimeout((function(){t.userRecordList(1)}),1e3)},methods:{openPage:function(t){0!=uni.getStorageSync("userInfo").realnameFlag?1==t?uni.navigateTo({url:"/pages/users/withdrawal/index"}):uni.navigateTo({url:"/pages/users/recharge/index"}):this.isPopup=!0},arrayUnique:function(t,e){var a={};return t.reduce((function(t,i){return!a[i[e]]&&(a[i[e]]=t.push(i)),t}),[])},userRecordList:function(t){var e=this;return(0,r.default)((0,n.default)().mark((function a(){var i,r,o;return(0,n.default)().wrap((function(a){while(1)switch(a.prev=a.next){case 0:return a.next=2,e.$api.userRecordList({userId:uni.getStorageSync("userInfo").id,type:Number(e.current)+1,limit:20,page:e.page});case 2:i=a.sent,r=i.code,o=i.data,1==t&&uni.hideLoading(),200==r&&(e.total=o.total,e.recordList=e.arrayUnique([].concat((0,s.default)(e.recordList),(0,s.default)(o.list)),"id"));case 7:case"end":return a.stop()}}),a)})