连云港陪玩陪聊
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 lines
19 KiB

(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)})))()},changeTabs:function(t){this.current=t,this.page=1,this.recordList=[],this.userRecordList()},userWallet:function(){var t=this;return(0,r.default)((0,n.default)().mark((function e(){var a,i,s;return(0,n.default)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,t.$api.userWallet({userId:uni.getStorageSync("userInfo").id,type:1});case 2:a=e.sent,i=a.code,s=a.data,200==i&&(t.info=s);case 6:case"end":return e.stop()}}),e)})))()}}};e.default=o},"18bd":function(t,e,a){var i=a("0086");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=a("967d").default;n("ddbc29aa",i,!0,{sourceMap:!1,shadowMode:!1})},"24b2":function(t,e,a){"use strict";a.d(e,"b",(function(){return n})),a.d(e,"c",(function(){return s})),a.d(e,"a",(function(){return i}));var i={uIcon:a("1a39").default},n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-view",{},[a("v-uni-view",{staticClass:"u-navbar",class:{"u-navbar-fixed":t.isFixed,"u-border-bottom":t.borderBottom},style:[t.navbarStyle]},[a("v-uni-view",{staticClass:"u-status-bar",style:{height:t.statusBarHeight+"px"}}),a("v-uni-view",{staticClass:"u-navbar-inner",style:[t.navbarInnerStyle]},[t.isBack?a("v-uni-view",{staticClass:"u-back-wrap",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.goBack.apply(void 0,arguments)}}},[a("v-uni-view",{staticClass:"u-icon-wrap"},[a("u-icon",{attrs:{name:t.backIconName,color:t.backIconColor,size:t.backIconSize}})],1),t.backText?a("v-uni-view",{staticClass:"u-icon-wrap u-back-text u-line-1",style:[t.backTextStyle]},[t._v(t._s(t.backText))]):t._e()],1):t._e(),t.title?a("v-uni-view",{staticClass:"u-navbar-content-title",style:[t.titleStyle]},[a("v-uni-view",{staticClass:"u-title u-line-1",style:{color:t.titleColor,fontSize:t.titleSize+"rpx",fontWeight:t.titleBold?"bold":"normal"}},[t._v(t._s(t.title))])],1):t._e(),a("v-uni-view",{staticClass:"u-slot-content"},[t._t("default")],2),a("v-uni-view",{staticClass:"u-slot-right"},[t._t("right")],2)],1)],1),t.isFixed&&!t.immersive?a("v-uni-view",{staticClass:"u-navbar-placeholder",style:{width:"100%",height:Number(t.navbarHeight)+t.statusBarHeight+"px"}}):t._e()],1)},s=[]},"30f7":function(t,e,a){"use strict";a("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},a("7a76"),a("c9b5")},4733:function(t,e,a){"use strict";a("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){if(Array.isArray(t))return(0,i.default)(t)};var i=function(t){return t&&t.__esModule?t:{default:t}}(a("8d0b"))},"56ef":function(t,e,a){"use strict";a.r(e);var i=a("a50c"),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},"5bf7":function(t,e,a){"use strict";a.d(e,"b",(function(){return n})),a.d(e,"c",(function(){return s})),a.d(e,"a",(function(){return i}));var i={uNavbar:a("db36").default,uTabs:a("f7c4").default},n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"task"},[i("v-uni-view",{staticClass:"task-navbar"},[i("u-navbar",{attrs:{title:"我的钱包","back-icon-color":"#333333","title-color":"#333333",background:t.background}})],1),i("v-uni-view",{staticClass:"task-hd"},[i("v-uni-view",{staticClass:"a"},[i("v-uni-view",{staticClass:"fl"},[t._v("我的账户:")]),i("v-uni-view",{staticClass:"fr"},[i("v-uni-view",{staticClass:"li"},[i("v-uni-view",{staticClass:"txt"},[i("v-uni-text",[t._v(t._s(t.info.totalCoins))]),t._v("个"),i("v-uni-view",{staticClass:"zhe"},[t._v("约"+t._s((t.info.totalCoins/t.info.transMoneyBill).toFixed(1))+"元")])],1),i("v-uni-view",{staticClass:"txt1"},[t._v("金币")])],1),i("v-uni-view",{staticClass:"li"},[i("v-uni-view",{staticClass:"txt"},[i("v-uni-text",[t._v(t._s(t.info.totalMoney))]),t._v("元")],1),i("v-uni-view",{staticClass:"txt1"},[t._v("余额")])],1)],1)],1),i("v-uni-view",{staticClass:"a"},[i("v-uni-view",{staticClass:"fl"},[t._v("今日收益:")]),i("v-uni-view",{staticClass:"fr"},[i("v-uni-view",{staticClass:"li"},[i("v-uni-view",{staticClass:"txt"},[i("v-uni-text",[t._v(t._s(t.info.nowCoins))]),t._v("个"),i("v-uni-view",{staticClass:"zhe"},[t._v("约"+t._s((t.info.nowCoins/t.info.transMoneyBill).toFixed(1))+"元")])],1),i("v-uni-view",{staticClass:"txt1"},[t._v("金币")])],1),i("v-uni-view",{staticClass:"li"},[i("v-uni-view",{staticClass:"txt"},[i("v-uni-text",[t._v(t._s(t.info.nowMoney))]),t._v("元")],1),i("v-uni-view",{staticClass:"txt1"},[t._v("余额")])],1)],1)],1),i("v-uni-view",{staticClass:"c"},[i("v-uni-view",{staticClass:"fl"},[t._v(t._s(t.info.transMoneyBill)+"金币=1元")]),i("v-uni-view",{staticClass:"fr"},[i("v-uni-view",{staticClass:"btn",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.openPage(1)}}},[t._v("提现")]),i("v-uni-view",{staticClass:"btn",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.openPage(2)}}},[t._v("充值")])],1)],1)],1),i("v-uni-view",{staticClass:"task-bd"},[i("v-uni-view",{staticClass:"tab"},[i("u-tabs",{attrs:{list:t.list,"bg-color":"transparent","active-color":"#222222","inactive-color":"#666666","font-size":"30","active-item-style":t.activeStyle,"bar-height":"10","bar-width":"60"},on:{change:function(e){arguments[0]=e=t.$handleEvent(e),t.changeTabs.apply(void 0,arguments)}},model:{value:t.current,callback:function(e){t.current=e},expression:"current"}})],1),i("v-uni-view",{staticClass:"list"},[t._l(t.recordList,(function(e,a){return i("v-uni-view",{key:a,staticClass:"item"},[i("v-uni-view",{staticClass:"a"},[i("v-uni-view",{staticClass:"fl"},[t._v(t._s(e.title)),i("v-uni-view",{staticClass:"status"},[t._v("审核中")]),i("v-uni-view",{staticClass:"status-01"},[t._v("已拒绝")]),i("v-uni-view",{staticClass:"status-02"},[t._v("已打款")]),i("v-uni-view",{staticClass:"txt"},[t._v(t._s(1==e.status?"-":"+")),i("v-uni-text",[t._v(t._s(e.coins))]),t._v(t._s(1==e.danwei?"金币":"元"))],1)],1),i("v-uni-view",{staticClass:"fr"},[t._v(t._s(e.createTime)),i("v-uni-text",[t._v("退款")]),5==e.type?i("v-uni-view",{staticClass:"tui"},[t._v(t._s(e.remark))]):t._e()],1),e.refuseReason?i("v-uni-view",{staticClass:"err"},[t._v("拒绝原因:"+t._s(e.refuseReason))]):t._e()],1)],1)})),0==t.total?i("v-uni-view",{staticClass:"empty"},[i("v-uni-image",{attrs:{src:a("7d86")}}),i("v-uni-view",{staticClass:"txt"},[t._v("暂无数据")])],1):t._e()],2)],1),i("unverified",{attrs:{isPopup:t.isPopup}})],1)},s=[]},"67f8":function(t,e,a){"use strict";a.r(e);var i=a("5bf7"),n=a("0574");for(var s in n)["default"].indexOf(s)<0&&function(t){a.d(e,t,(function(){return n[t]}))}(s);a("ee8f");var r=a("828b"),o=Object(r["a"])(n["default"],i["b"],i["c"],!1,null,"8bf8ee3c",null,!1,i["a"],void 0);e["default"]=o.exports},"75fb":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/* 文章场景相关 */.task[data-v-8bf8ee3c]{background:url(https://api.lyiyuan.cn/profile/upload/static/task-bg.png) top no-repeat;background-size:100% auto;overflow:hidden;min-height:100vh}.task .empty[data-v-8bf8ee3c]{padding:%?150?% 0;text-align:center;font-weight:500;font-size:%?28?%;color:#222}.task .empty uni-image[data-v-8bf8ee3c]{display:block;width:%?460?%;height:%?400?%;margin:0 auto}.task-hd[data-v-8bf8ee3c]{width:%?700?%;height:%?395?%;background:linear-gradient(90deg,#17150e,#373632);border-radius:%?20?%;margin:0 auto;padding:0 %?20?% 0 %?35?%;box-sizing:border-box}.task-hd .a[data-v-8bf8ee3c]{width:100%;display:flex;align-items:flex-start;padding-top:%?40?%}.task-hd .a .fl[data-v-8bf8ee3c]{font-weight:500;font-size:%?30?%;color:#e7d4b8;line-height:%?60?%;margin-right:%?35?%}.task-hd .a .fr[data-v-8bf8ee3c]{flex:1}.task-hd .a .fr .li[data-v-8bf8ee3c]{width:40%;position:relative;float:left}.task-hd .a .fr .li[data-v-8bf8ee3c]:first-child{width:60%}.task-hd .a .fr .li .txt[data-v-8bf8ee3c]{font-weight:500;font-size:%?24?%;color:#e7d4b8;display:flex;align-items:center;text-align:center}.task-hd .a .fr .li .txt uni-text[data-v-8bf8ee3c]{font-size:%?44?%}.task-hd .a .fr .li .txt1[data-v-8bf8ee3c]{font-weight:500;font-size:%?24?%;color:#e7d4b8;margin-left:%?30?%}.task-hd .a .fr .li .zhe[data-v-8bf8ee3c]{min-width:%?84?%;padding:0 %?10?%;line-height:%?44?%;text-align:center;background:#fed0a7;border-radius:%?10?%;font-weight:500;font-size:%?24?%;color:#693a16;margin-left:%?20?%;position:relative}.task-hd .a .fr .li .zhe[data-v-8bf8ee3c]::after{content:"";width:0;height:0;border:%?10?% solid transparent;border-right:%?10?% solid #fed0a7;position:absolute;left:%?-18?%;top:%?10?%;z-index:2}.task-hd .c[data-v-8bf8ee3c]{padding-top:%?30?%;border-top:1px solid #43423f;margin-top:%?30?%;display:flex;align-items:center;justify-content:space-between}.task-hd .c .fl[data-v-8bf8ee3c]{font-weight:500;font-size:%?24?%;color:rgba(231,212,184,.6)}.task-hd .c .fr[data-v-8bf8ee3c]{display:flex;align-items:center;justify-content:flex-end}.task-hd .c .fr .btn[data-v-8bf8ee3c]{width:%?120?%;line-height:%?60?%;background:#fed0a7;border-radius:%?60?%;text-align:center;font-weight:500;font-size:%?24?%;color:#693a16;margin-left:%?20?%}.task-bd .tab[data-v-8bf8ee3c]{margin-top:%?20?%;overflow:hidden}.task-bd .list[data-v-8bf8ee3c]{padding:0 %?25?% %?25?%;overflow:hidden}.task-bd .list .item[data-v-8bf8ee3c]{width:100%;background:#fff;border-radius:%?20?%;padding:%?30?%;box-sizing:border-box;margin-top:%?20?%;position:relative}.task-bd .list .item .err[data-v-8bf8ee3c]{font-weight:500;font-size:%?24?%;color:#fc2c2c;margin-top:%?10?%}.task-bd .list .item .fr[data-v-8bf8ee3c]{font-weight:500;font-size:%?24?%;color:#999;margin-top:%?10?%}.task-bd .list .item .fr uni-text[data-v-8bf8ee3c]{position:absolute;right:0;bottom:0;z-index:1;width:%?100?%;height:%?44?%;background:linear-gradient(0deg,#000,#3d3b38);border-radius:%?20?% 0 %?20?% 0;line-height:%?44?%;text-align:center;display:block;font-size:%?20?%;color:#fff}.task-bd .list .item .fr .tui[data-v-8bf8ee3c]{font-weight:500;font-size:%?24?%;color:#999;float:right}.task-bd .list .item .fl[data-v-8bf8ee3c]{font-weight:500;font-size:%?28?%;color:#222;display:flex;align-items:center;justify-content:space-between}.task-bd .list .item .fl .status[data-v-8bf8ee3c]{width:%?80?%;line-height:%?36?%;background:#ffa643;border-radius:%?10?%;text-align:center;margin-left:%?10?%;font-weight:500;font-size:%?20?%;color:#fff}.task-bd .list .item .fl .status-01[data-v-8bf8ee3c]{width:%?80?%;line-height:%?36?%;background:#fc2c2c;border-radius:%?10?%;text-align:center;margin-left:%?10?%;font-weight:500;font-size:%?20?%;color:#fff}.task-bd .list .item .fl .status-02[data-v-8bf8ee3c]{width:%?80?%;line-height:%?36?%;background:#222;border-radius:%?10?%;text-align:center;margin-left:%?10?%;font-weight:500;font-size:%?20?%;color:#fff}.task-bd .list .item .fl .txt[data-v-8bf8ee3c]{font-weight:500;font-size:%?24?%;color:#222}.task-bd .list .item .fl .txt uni-text[data-v-8bf8ee3c]{font-size:%?30?%}',""]),t.exports=e},"7d86":function(t,e,a){t.exports=a.p+"static/empty.png"},a50c:function(t,e,a){"use strict";a("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,a("64aa");var i=uni.getSystemInfoSync(),n={},s={name:"u-navbar",props:{height:{type:[String,Number],default:""},backIconColor:{type:String,default:"#606266"},backIconName:{type:String,default:"nav-back"},backIconSize:{type:[String,Number],default:"44"},backText:{type:String,default:""},backTextStyle:{type:Object,default:function(){return{color:"#606266"}}},title:{type:String,default:""},titleWidth:{type:[String,Number],default:"250"},titleColor:{type:String,default:"#606266"},titleBold:{type:Boolean,default:!1},titleSize:{type:[String,Number],default:32},isBack:{type:[Boolean,String],default:!0},background:{type:Object,default:function(){return{background:"#ffffff"}}},isFixed:{type:Boolean,default:!0},immersive:{type:Boolean,default:!1},borderBottom:{type:Boolean,default:!0},zIndex:{type:[String,Number],default:""},customBack:{type:Function,default:null}},data:function(){return{menuButtonInfo:n,statusBarHeight:i.statusBarHeight}},computed:{navbarInnerStyle:function(){var t={};return t.height=this.navbarHeight+"px",t},navbarStyle:function(){var t={};return t.zIndex=this.zIndex?this.zIndex:this.$u.zIndex.navbar,Object.assign(t,this.background),t},titleStyle:function(){var t={};return t.left=(i.windowWidth-uni.upx2px(this.titleWidth))/2+"px",t.right=(i.windowWidth-uni.upx2px(this.titleWidth))/2+"px",t.width=uni.upx2px(this.titleWidth)+"px",t},navbarHeight:function(){return this.height?this.height:44}},created:function(){},methods:{goBack:function(){"function"===typeof this.customBack?this.customBack.bind(this.$u.$parent.call(this))():uni.navigateBack()}}};e.default=s},a52f:function(t,e,a){var i=a("75fb");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=a("967d").default;n("89ff2d34",i,!0,{sourceMap:!1,shadowMode:!1})},b2bf:function(t,e,a){"use strict";var i=a("18bd"),n=a.n(i);n.a},b7c7:function(t,e,a){"use strict";a("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return(0,i.default)(t)||(0,n.default)(t)||(0,s.default)(t)||(0,r.default)()};var i=o(a("4733")),n=o(a("d14d")),s=o(a("5d6b")),r=o(a("30f7"));function o(t){return t&&t.__esModule?t:{default:t}}},d14d:function(t,e,a){"use strict";a("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){if("undefined"!==typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)},a("01a2"),a("e39c"),a("bf0f"),a("844d"),a("18f7"),a("de6c"),a("08eb")},db36:function(t,e,a){"use strict";a.r(e);var i=a("24b2"),n=a("56ef");for(var s in n)["default"].indexOf(s)<0&&function(t){a.d(e,t,(function(){return n[t]}))}(s);a("b2bf");var r=a("828b"),o=Object(r["a"])(n["default"],i["b"],i["c"],!1,null,"928a20ca",null,!1,i["a"],void 0);e["default"]=o.exports},ee8f:function(t,e,a){"use strict";var i=a("a52f"),n=a.n(i);n.a}}]);