(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-user-user_spread_money"],{"01ea":function(e,t,a){"use strict";a.r(t);var n=a("5635"),r=a.n(n);for(var i in n)"default"!==i&&function(e){a.d(t,e,(function(){return n[e]}))}(i);t["default"]=r.a},1055:function(e,t,a){"use strict";var n=a("ea5e"),r=a.n(n);r.a},1460:function(e,t,a){"use strict";var n=a("4ea4");a("4160"),a("c975"),a("a9e3"),a("e25e"),a("ac1f"),a("5319"),a("1276"),a("498a"),a("159b"),Object.defineProperty(t,"__esModule",{value:!0}),t.silenceBindingSpread=u,t.isWeixin=o,t.parseQuery=c,t.default=t.VUE_APP_WS_URL=void 0;var r=a("7eca"),i=n(a("5a85"));function u(){var e=i.default.get("spread");e=parseInt(e),Number.isNaN(e)&&(e=0),e&&(0,r.spread)(e).then((function(e){console.log(e),i.default.clear("spread")})).catch((function(e){console.log(e)}))}function o(){return-1!==navigator.userAgent.toLowerCase().indexOf("micromessenger")}function c(){var e={},t=(location.href.split("?")[1]||"").trim().replace(/^(\?|#|&)/,"");return t?(t.split("&").forEach((function(t){var a=t.replace(/\+/g," ").split("="),n=decodeURIComponent(a.shift()),r=a.length>0?decodeURIComponent(a.join("=")):null;void 0===e[n]?e[n]=r:Array.isArray(e[n])?e[n].push(r):e[n]=[e[n],r]})),e):e}var s=Object({VUE_APP_INDEX_CSS_HASH:"2772579d",VUE_APP_NAME:"玲卿+",VUE_APP_PLATFORM:"h5",NODE_ENV:"production",BASE_URL:"/index/"}).VUE_APP_WS_URL||"ws://mmz.liuniu946.com:19003";t.VUE_APP_WS_URL=s;var d=c;t.default=d},"4d0b":function(e,t,a){var n=a("24fb");t=n(!1),t.push([e.i,'@charset "UTF-8";\n/* 页面左右间距 */\n/* 文字尺寸 */\n/*文字颜色*/\n/* 边框颜色 */\n/*颜色*/\n/* 图片加载中颜色 */\n/* 行为相关颜色 */\n/* 功能栏字体大小 */\n/*功能栏左侧小图标*/.sign-record .num[data-v-6117cc17]{color:red}.time[data-v-6117cc17]{margin:%?10?%;font-size:%?24?%;color:#606266}.list[data-v-6117cc17]{border-radius:%?10?%;background-color:#fff;padding:%?10?%;width:98%;margin:1%}.icon-jinbi1 uni-image[data-v-6117cc17]{opacity:.6;margin:%?40?%;width:%?120?%;height:%?120?%}.bg-color[data-v-6117cc17]{color:#fff;border-bottom-left-radius:%?20?%;border-bottom-right-radius:%?20?%;height:%?220?%;background-color:#303030!important}.commission-details .promoterHeader .headerCon .money[data-v-6117cc17]{margin:%?10?%;font-size:%?36?%}.commission-details .promoterHeader .headerCon .money .num[data-v-6117cc17]{font-family:Guildford Pro}.message[data-v-6117cc17]{font-size:%?18?%;color:#fc4141}.name[data-v-6117cc17]{margin:%?20?%}',""]),e.exports=t},5635:function(e,t,a){"use strict";var n=a("4ea4");a("99af"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a("7eca"),i=a("b587"),u=(a("95b6"),n(a("72ad"))),o={components:{emptyPage:u.default},data:function(){return{name:"佣金列表",type:0,page:1,limit:12,recordList:[],recordType:0,recordCount:0,status:!1,extractCount:0}},onLoad:function(e){},onShow:function(){this.type;uni.setNavigationBarTitle({title:"佣金列表"}),this.recordType=2,this.spreadInfo(),this.getRecordList()},methods:{spreadInfo:function(){var e=this;(0,r.spreadInfo)().then((function(t){e.recordCount=t.data.commissionCount,e.extractCount=t.data.extractCount}))},getRecordList:function(){console.log("0000");var e=this,t=e.page,a=e.limit,n=(e.status,e.recordType,e.recordList),r=[];(0,i.spreadCommission)({page:t,limit:a},3).then((function(t){var a=t.data.length;console.log(a);var i=t.data;r=n.concat(i),e.page+=1,e.$set(e,"recordList",r)})),console.log(n.length)}}};t.default=o},"5a85":function(e,t,a){"use strict";var n=a("4ea4");a("a9e3"),a("e25e"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(a("d4ec")),i=n(a("bee2")),u=function(){function e(t){(0,r.default)(this,e),this.cacheSetHandler=uni.setStorageSync,this.cacheGetHandler=uni.getStorageSync,this.cacheClearHandler=uni.removeStorageSync,this.cacheExpire="_expire_2019_12_17_18_44"}return(0,i.default)(e,[{key:"time",value:function(){return Math.round(new Date/1e3)}},{key:"setExpireCahe",value:function(e,t){t=void 0!==t?t:0,t&&this.cacheSetHandler(e+this.cacheExpire,this.time()+t)}},{key:"getExpireCahe",value:function(e,t){try{var a=this.cacheGetHandler(e+this.cacheExpire);if(a){var n=parseInt(a);return!(a&&a0?[n("v-uni-view",{key:a+"_0",staticClass:"time"},[e._v(e._s(t.time))]),e._l(t.list,(function(t,a){return n("v-uni-view",{staticClass:"list"},[n("v-uni-view",{staticClass:"item"},[n("v-uni-view",{staticClass:"listn"},[n("v-uni-view",{staticClass:"itemn acea-row row-between-wrapper"},[n("v-uni-view",[n("v-uni-view",{staticClass:"name line1"},[e._v(e._s(t.title))]),n("v-uni-view",{staticClass:"time"},[e._v(e._s(t.add_time))])],1),0==t.pm?n("v-uni-view",{staticClass:"num"},[e._v("-"+e._s(t.number))]):n("v-uni-view",{staticClass:"num font-color"},[e._v("+"+e._s(t.number))])],1)],1)],1)],1)}))]:e._e()})),0==e.recordList.length?n("v-uni-view",[n("emptyPage",{attrs:{title:"暂无记录~"}})],1):e._e()],2)],1)],1)},i=[]},e0d1:function(e,t,a){"use strict";var n=a("4ea4");a("99af"),a("4160"),a("c975"),a("d3b7"),a("e25e"),a("ac1f"),a("5319"),a("841c"),a("1276"),a("159b"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(a("5530")),i=n(a("d4ec")),u=n(a("bee2")),o=n(a("413e")),c=a("8639"),s=a("e6b7"),d=a("1460"),l=n(a("8ab5")),f=n(a("5a85")),h=function(){function e(){(0,i.default)(this,e),this.instance=o.default,this.status=!1,this.initConfig={}}return(0,u.default)(e,[{key:"isAndroid",value:function(){var e=navigator.userAgent;return e.indexOf("Android")>-1||e.indexOf("Adr")>-1}},{key:"wechat",value:function(){var e=this;return new Promise((function(t,a){(0,c.wechatConfig)().then((function(a){e.instance.config(a.data),e.initConfig=a.data,e.status=!0,e.instance.ready((function(){t(e.instance)}))})).catch((function(t){console.log(t),e.status=!1,a(t)}))}))}},{key:"verifyInstance",value:function(){var e=this;return new Promise((function(t,a){if(null!==e.instance||e.status)return t(e.instance);e.wechat().then((function(a){t(e.instance)})).catch((function(){return a()}))}))}},{key:"openAddress",value:function(){var e=this;return new Promise((function(t,a){e.wechat().then((function(n){e.toPromise(n.openAddress).then((function(e){t(e)})).catch((function(e){a(e)}))})).catch((function(e){a(e)}))}))}},{key:"pay",value:function(e){var t=this;return new Promise((function(a,n){t.wechat().then((function(r){t.toPromise(r.chooseWXPay,e).then((function(e){a(e)})).catch((function(e){n(e)}))})).catch((function(e){n(e)}))}))}},{key:"toPromise",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return new Promise((function(a,n){e((0,r.default)((0,r.default)({},t),{},{success:function(e){a(e)},fail:function(e){n(e)},complete:function(e){n(e)},cancel:function(e){n(e)}}))}))}},{key:"oAuth",value:function(){if(!uni.getStorageSync(s.WX_AUTH)||!l.default.state.app.token){var e=(0,d.parseQuery)(),t=e.code;return t?void 0:this.toAuth()}}},{key:"clearAuthStatus",value:function(){}},{key:"auth",value:function(e){return new Promise((function(t,a){var n=f.default.get(s.LOGINTYPE);(0,c.wechatAuth)(e,parseInt(f.default.get("spread")),n).then((function(a){var r=a.data,i=r.expires_time.substring(0,19);i=i.replace(/-/g,"/"),i=new Date(i).getTime();var u=Math.round(new Date/1e3);l.default.commit("LOGIN",{token:r.token,time:i-u}),f.default.set(s.WX_AUTH,e),f.default.clear(s.STATE_KEY),n&&f.default.clear(s.LOGINTYPE),t()})).catch(a)}))}},{key:"getAuthUrl",value:function(e){var t=encodeURIComponent("".concat(location.origin,"/pages/auth/index?back_url=")+encodeURIComponent(encodeURIComponent(uni.getStorageSync(s.BACK_URL)?uni.getStorageSync(s.BACK_URL):location.pathname+location.search)));uni.removeStorageSync(s.BACK_URL);var a=encodeURIComponent((""+Math.random()).split(".")[1]+"authorizestate");return uni.setStorageSync(s.STATE_KEY,a),"https://open.weixin.qq.com/connect/oauth2/authorize?appid=".concat(e,"&redirect_uri=").concat(t,"&response_type=code&scope=snsapi_userinfo&state=").concat(a,"#wechat_redirect")}},{key:"toAuth",value:function(){var e=this,t=this;this.wechat().then((function(a){location.href=e.getAuthUrl(t.initConfig.appId)}))}},{key:"wechatEvevt",value:function(e,t){var a=this;return new Promise((function(n,r){var i={fail:function(e){if(console.log(e,11111),a.instance)return r({is_ready:!0,wx:a.instance});a.verifyInstance().then((function(e){return r({is_ready:!0,wx:e})}))},success:function(e){return n(e,2222)}};Object.assign(i,t),a.wechat().then((function(t){"object"===typeof e?e.forEach((function(e){t[e]&&t[e](i)})):t[e]&&t[e](i)}))}))}},{key:"isWeixin",value:function(){return-1!==navigator.userAgent.toLowerCase().indexOf("micromessenger")}}]),e}(),p=new h;t.default=p},e6b7:function(e,t){e.exports={LOGIN_STATUS:"LOGIN_STATUS_TOKEN",UID:"UID",USER_INFO:"USER_INFO",EXPIRES_TIME:"EXPIRES_TIME",WX_AUTH:"WX_AUTH",STATE_KEY:"wx_authorize_state",LOGINTYPE:"loginType",BACK_URL:"login_back_url",STATE_R_KEY:"roution_authorize_state",LOGO_URL:"LOGO_URL",SUBSCRIBE_MESSAGE:"SUBSCRIBE_MESSAGE",TIPS_KEY:"TIPS_KEY",SPREAD:"spread",CACHE_LONGITUDE:"LONGITUDE",CACHE_LATITUDE:"LATITUDE"}},ea5e:function(e,t,a){var n=a("aec2");"string"===typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);var r=a("4f06").default;r("725ccf10",n,!0,{sourceMap:!1,shadowMode:!1})},f088:function(e,t,a){"use strict";var n;a.d(t,"b",(function(){return r})),a.d(t,"c",(function(){return i})),a.d(t,"a",(function(){return n}));var r=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("v-uni-view",{staticClass:"empty-box"},[a("v-uni-image",{attrs:{src:"/static/images/empty-box.png"}}),a("v-uni-view",{staticClass:"txt"},[e._v(e._s(e.title))])],1)},i=[]}}]);