连云港陪玩陪聊
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-withdrawal-inde...

1 lines
12 KiB

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-users-withdrawal-index"],{"08f4":function(t,n,e){"use strict";e.r(n);var a=e("b825"),i=e("bb8a6");for(var o in i)["default"].indexOf(o)<0&&function(t){e.d(n,t,(function(){return i[t]}))}(o);e("5fb6");var s=e("828b"),d=Object(s["a"])(i["default"],a["b"],a["c"],!1,null,"3a645be1",null,!1,a["a"],void 0);n["default"]=d.exports},"0a93":function(t,n){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEIAAABCCAYAAADjVADoAAAAAXNSR0IArs4c6QAABztJREFUeF7lm3XIbUUXh59rYxd2t9jYftgtBmKhKCo2gmJhYYCf8X02IipiIwoGYrdid3d3J3a7H5n7su84Z+/Z+5z7nve8d/1z48yeNfPbMyt+a+0xjH9ZBtgO2ABYGpg0U+X3wGPAzcCVwIeZz7UaNqbVU/UPOe9mwGHAqvXDa0f8DNwK/A94pHZ0iwHjA4g1gf8Xb3KlFuvJeeRG4ADgjZzBuWN6CcQMwNnA9rnKuxj3A3ACcBLwZxfzDD3aKyAWBW4B5s9Y1KfA48ArwOvAj+GZKYGFC3uwGLAiMGvGXF6XnYAvMsZWDukFEMsBdwIzVmh6tTCU1wIea0H4rWbhGlSv1hbAVsACFeMFcz3gvW7A6BaItYDrgWk6LMJFHg1cBfzRcqGTAduGeTwxKdGjuJbWdqMbIFYA7gGmTqzMe6vB/C/gfe6FTFWcpCOL+Q4p5p0kMeH7wUO1crNtgZgXeAKYObGgr8IbvKsXu0/M8Z8QV8yV+O1JwN9/aaq7DRDe3/sL47hyQtnbRRC0STCETdfSZPycwS5pWGM5D9i7yWSObQPE4cF1xbq8n2sAHzddRMvxuusHgcUTz28I3N5k3qZAzBHedmwcvwUMpd9torwHY+cBngOmi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ulBP3E+xjfDfKWIjtcrRAIQB21CkGwdU/ttmjzpCdpCB8JoeFzuGTmn4/qH/abYOh3YQgRAAeRVjnDiJrKx92sFiZVlKbqEIEO+hLnIkSioNl7O0Q69jBppDzIzEzVatye6cRaIBZs9SeB1lNALhhmcv7dhqnLyrheoJBghLfp9EXTzmEhZ/KmOZ0XYilg+dPOU33zM6f5BshJ2+cTKmUTfHqZTRdiLkKdaJdmzqcMGEBITJnUXgctO7RR1df23bwmg6Ean+jexC9WgBYvpAxsa9XUPEy4RyNVJEkPS/gZR/1spoOBF+F2IfVyxVTPe/Bg86ELY72l5oEaksdv9KzPpnlgwyENY8HujQcCqNYH9XtgwqENZCLT3EbUJu/I7w/Vg2CA4cRCAMo21uLfdAjN209JsdwHXlgoG2ERK4+4bPH1K86jehua2qQtbxlPT7ROj/DYltRvkyVMCeTazWLwUtJVqvTIku0jpI3AKZfT36CYRdsfZK24s1VkyVdYXmB/7dtoAdQ0efJyIlegbLiDJQraVfQHgK/A6sk37JFXs0Ul8HlTdrt59gWR7sSvoFRKoxtOlGzglNI5XMU+6k/QDCLNE3WG5XzF2v42z0sBPYGKJn0g8gdG9tGlVlzs8I7cSdCsCtgekHEHXdMGXDafhsL4Vxw1OAFfXxIv0Awo3Y4O7x7iQ2i9m4IjU/LNIvIOQN/Oom1f6jOzSjfGhYEAhK+gWE6qXULC3apmi4bGOXpTj7IYb9G5B+AjGcL7xW19/BL0RSxb/k3QAAAABJRU5ErkJggg=="},"1dbb":function(t,n,e){var a=e("2672");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var i=e("967d").default;i("da261d8a",a,!0,{sourceMap:!1,shadowMode:!1})},2672:function(t,n,e){var a=e("c86c");n=a(!1),n.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/* 文章场景相关 */.add[data-v-3a645be1]{overflow:hidden;padding-bottom:%?110?%}.add-content[data-v-3a645be1]{padding:0 %?25?%;overflow:hidden}.add-content .content[data-v-3a645be1]{background:#fff;border-radius:%?20?%;padding:%?30?%;box-sizing:border-box;margin-top:%?20?%;overflow:hidden}.add-content .content .box[data-v-3a645be1]{display:flex;align-items:center;padding:%?20?% 0;box-sizing:border-box;border-bottom:1px solid #e6e6e6}.add-content .content .box uni-input[data-v-3a645be1]{flex:1;height:%?60?%;font-size:%?30?%;color:#212121}.add-content .content .box .all[data-v-3a645be1]{font-weight:500;font-size:%?30?%;color:#222}.add-content .content .remark[data-v-3a645be1]{margin-top:%?20?%}.add-content .content .remark .p[data-v-3a645be1]{padding:%?10?% 0;font-weight:500;font-size:%?22?%;color:#222}.add-content .content .remark .p uni-text[data-v-3a645be1]{margin-left:%?30?%}.add-content .content .chat[data-v-3a645be1]{display:flex;align-items:center;justify-content:center}.add-content .content .chat uni-image[data-v-3a645be1]{width:%?66?%;height:%?66?%;margin-right:%?20?%}.add-content .content .chat .info .name[data-v-3a645be1]{font-weight:500;font-size:%?30?%;color:#222}.add-content .content .chat .info .date[data-v-3a645be1]{font-weight:500;font-size:%?24?%;color:#999}.add-content .content .list .item[data-v-3a645be1]{font-weight:500;font-size:%?30?%;color:#999;margin-top:%?25?%}.add-content .content .list .item[data-v-3a645be1]:first-child{border-bottom:1px solid #e6e6e6;padding-bottom:%?25?%}.add-content .title[data-v-3a645be1]{font-size:%?30?%;color:#333}.add-content .rule[data-v-3a645be1]{background:#edeeef;border-radius:%?20?%;padding:%?30?%;box-sizing:border-box;margin-top:%?20?%;overflow:hidden}.add-content .rule .list[data-v-3a645be1]{margin-top:%?20?%}.add-content .rule .list .item[data-v-3a645be1]{padding:%?5?% 0;font-weight:500;font-size:%?24?%;color:#222}.add-fd[data-v-3a645be1]{background-color:#f3f4f5;width:100%;padding:%?30?% %?25?%;box-sizing:border-box;position:fixed;left:0;bottom:0;z-index:22}.add-fd .btn[data-v-3a645be1]{width:100%;line-height:%?98?%;background:linear-gradient(0deg,#000,#3d3b38);box-shadow:0 %?4?% %?18?% 0 rgba(42,41,39,.34);border-radius:%?98?%;text-align:center;font-weight:400;font-size:%?30?%;color:#fff}',""]),t.exports=n},"5fb6":function(t,n,e){"use strict";var a=e("1dbb"),i=e.n(a);i.a},b7ee:function(t,n,e){"use strict";e("6a54");var a=e("f5bd").default;Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0,e("64aa"),e("dd2b");var i=a(e("2634")),o=a(e("2fdc")),s={data:function(){return{money:"",info:{},userInfo:{}}},onLoad:function(){this.userInfo=uni.getStorageSync("userInfo"),this.userWallet()},methods:{userWallet:function(){var t=this;return(0,o.default)((0,i.default)().mark((function n(){var e,a,o;return(0,i.default)().wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.next=2,t.$api.userWallet({userId:uni.getStorageSync("userInfo").id,type:1});case 2:e=n.sent,a=e.code,o=e.data,200==a&&(t.info=o);case 6:case"end":return n.stop()}}),n)})))()},getConfigData:function(){var t=this;return(0,o.default)((0,i.default)().mark((function n(){var e,a;return(0,i.default)().wrap((function(n){while(1)switch(n.prev=n.next){case 0:return e=t,n.next=3,e.$api.getConfigData({dictType:"CONFIG_CUSTOMER_SERVICE_USERID"});case 3:a=n.sent,a.data.content&&e.toChat(a.data.content);case 5:case"end":return n.stop()}}),n)})))()},toChat:function(t){var n=this;return(0,o.default)((0,i.default)().mark((function e(){var a,o,s;return(0,i.default)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,n.$api.findZegoToken({userId:uni.getStorageSync("userInfo").id,sellerId:t});case 2:a=e.sent,o=a.code,s=a.data,200==o&&(uni.setStorageSync("chatToken",s.token),uni.navigateTo({url:"/pages/users/chat/index?id="+t+"&roomId="+s.roomId}));case 6:case"end":return e.stop()}}),e)})))()},toReg:function(){var t=this;return(0,o.default)((0,i.default)().mark((function n(){var e,a,o,s;return(0,i.default)().wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(e=t,e.money){n.next=4;break}return uni.showToast({icon:"none",position:"bottom",title:"提现金额不能为空!"}),n.abrupt("return");case 4:if(!(e.money<=0)){n.next=7;break}return uni.showToast({icon:"none",position:"bottom",title:"提现金额最低0.01元!"}),n.abrupt("return");case 7:if(!(Number((t.info.totalCoins/t.info.transMoneyBill*(100-t.info.withdrawal)/100).toFixed(2))+Number(t.info.totalMoney)<Number(e.money))){n.next=10;break}return uni.showToast({icon:"none",position:"bottom",title:"提现金额大于总金额!"}),n.abrupt("return");case 10:return n.next=12,e.$api.withdrawal({userId:uni.getStorageSync("userInfo").id,username:e.userInfo.realname,phone:e.userInfo.account,money:e.money,coins:e.info.totalCoins});case 12:a=n.sent,o=a.code,a.data,s=a.msg,200==o?(uni.showToast({title:"提交成功"}),setTimeout((function(){}),2e3)):uni.showToast({icon:"none",position:"bottom",title:s});case 17:case"end":return n.stop()}}),n)})))()},tabItem:function(t){this.tabIndex=t},toDel:function(t){this.imgurl.splice(t,1)}}};n.default=s},b825:function(t,n,e){"use strict";e.d(n,"b",(function(){return a})),e.d(n,"c",(function(){return i})),e.d(n,"a",(function(){}));var a=function(){var t=this,n=t.$createElement,a=t._self._c||n;return a("v-uni-view",{staticClass:"add"},[a("v-uni-view",{staticClass:"add-content"},[a("v-uni-view",{staticClass:"content"},[a("v-uni-view",{staticClass:"title"},[t._v("提现金额")]),a("v-uni-view",{staticClass:"box"},[a("v-uni-input",{attrs:{placeholder:"请输入提现金额"},model:{value:t.money,callback:function(n){t.money=n},expression:"money"}}),a("v-uni-view",{staticClass:"all"},[t._v("全部提现")])],1),a("v-uni-view",{staticClass:"remark"},[a("v-uni-view",{staticClass:"p"},[t._v("可提现金额:"+t._s(Number((t.info.totalCoins/t.info.transMoneyBill).toFixed(2))+Number(t.info.totalMoney))+"元,包含:金币折算"+t._s((t.info.totalCoins/t.info.transMoneyBill).toFixed(2))+"元+账户余额"+t._s(t.info.totalMoney)+"元")]),a("v-uni-view",{staticClass:"p"},[t._v("实际到账:"+t._s(Number((t.info.totalCoins/t.info.transMoneyBill*(100-t.info.withdrawal)/100).toFixed(2))+Number(t.info.totalMoney))+"元"),a("v-uni-text",[t._v("手续费("+t._s(t.info.withdrawal)+"%):"+t._s((t.info.totalCoins/t.info.transMoneyBill*t.info.withdrawal/100).toFixed(2))+"元")])],1)],1)],1),a("v-uni-view",{staticClass:"content"},[a("v-uni-view",{staticClass:"title"},[t._v("提现方式(支付宝)")]),a("v-uni-view",{staticClass:"list"},[a("v-uni-view",{staticClass:"item"},[t._v("账号:"+t._s(t.userInfo.account))]),a("v-uni-view",{staticClass:"item"},[t._v("姓名:"+t._s(t.userInfo.realname))])],1)],1),a("v-uni-view",{staticClass:"rule"},[a("v-uni-view",{staticClass:"title"},[t._v("提现规则:")]),a("v-uni-view",{staticClass:"list"},[a("v-uni-view",{staticClass:"item"},[t._v("1、提现收取"+t._s(t.info.withdrawal)+"%的手续费;")]),a("v-uni-view",{staticClass:"item"},[t._v("2、金币的换算规则:"+t._s(t.info.transMoneyBill)+"金币=1元;")]),a("v-uni-view",{staticClass:"item"},[t._v("3、每次提现,预计到账时间24小时,如有问题请联系下方客服,客服会在24小时内为您解决")])],1)],1),a("v-uni-view",{staticClass:"content"},[a("v-uni-view",{staticClass:"title"},[t._v("有疑问?")]),a("v-uni-view",{staticClass:"chat",on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.getConfigData()}}},[a("v-uni-image",{attrs:{src:e("0a93")}}),a("v-uni-view",{staticClass:"info"},[a("v-uni-view",{staticClass:"name"},[t._v("在线客服")]),a("v-uni-view",{staticClass:"date"},[t._v("9:00-18:00")])],1)],1)],1)],1),a("v-uni-view",{staticClass:"add-fd"},[a("v-uni-view",{staticClass:"btn",on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.toReg()}}},[t._v("提现(手续费"+t._s((t.info.totalCoins/t.info.transMoneyBill*t.info.withdrawal/100).toFixed(2))+"元)")])],1)],1)},i=[]},bb8a6:function(t,n,e){"use strict";e.r(n);var a=e("b7ee"),i=e.n(a);for(var o in a)["default"].indexOf(o)<0&&function(t){e.d(n,t,(function(){return a[t]}))}(o);n["default"]=i.a}}]);