(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-my-channel"],{"0d511":function(t,e,i){"use strict";i("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("c975");var a={name:"bar-title",props:{bgColor:{type:String,default:""},isBack:{type:Boolean,default:!0},backText:{type:String,default:""},fixed:{type:Boolean,default:!0},shadow:{type:Boolean,default:!1},title:{type:String,default:""}},data:function(){return{isWechatBrowser:!1}},methods:{BackPage:function(){uni.navigateBack()},leftTap:function(){this.$emit("leftTap")},contentTap:function(){this.$emit("contentTap")},rightTap:function(){this.$emit("rightTap")}},created:function(){uni.setNavigationBarTitle({title:this.title}),this.isWechatBrowser=navigator.userAgent.toLocaleLowerCase().indexOf("micromessenger")>0},watch:{title:function(t){uni.setNavigationBarTitle({title:t})}}};e.default=a},1265:function(t,e,i){"use strict";var a=i("f550"),n=i.n(a);n.a},5115:function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return n})),i.d(e,"a",(function(){}));var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",[i("bar-title",{attrs:{bgColor:"bg-white",isBack:!0,title:"源主"}},[i("template",{attrs:{slot:"content"},slot:"content"},[t._v("源主")]),i("template",{attrs:{slot:"right"},slot:"right"})],2),i("v-uni-view",{staticClass:"cu-form-group sm-border margin-top"},[i("v-uni-view",{staticClass:"title"},[t._v("手机号")]),i("v-uni-input",{model:{value:t.mobile,callback:function(e){t.mobile=e},expression:"mobile"}})],1),i("v-uni-view",{staticClass:"cu-form-group code"},[i("v-uni-view",{staticClass:"title"},[t._v("验证码")]),i("v-uni-input",{model:{value:t.code,callback:function(e){t.code=e},expression:"code"}}),t.state?i("v-uni-text",{staticClass:"text-orange text-btn"},[t._v(t._s(t.currentTime)+"s")]):i("v-uni-text",{staticClass:"text-orange text-btn",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.checking.apply(void 0,arguments)}}},[t._v("发送验证码")])],1),i("v-uni-view",{staticClass:"text-sm text-gray padding-sm"},[t._v("验证码将会发送到您的手机号中~")]),i("v-uni-view",{staticClass:"bg-white wecanui-footer-fixed foot-pb"},[i("v-uni-view",{staticClass:"flex flex-direction padding-sm"},[i("v-uni-button",{staticClass:"cu-btn bg-red",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.bind.apply(void 0,arguments)}}},[t._v("绑定")])],1)],1)],1)},n=[]},"5a30":function(t,e,i){var a=i("7ed5");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("4f06").default;n("e9abf2d4",a,!0,{sourceMap:!1,shadowMode:!1})},6675:function(t,e,i){"use strict";var a=i("5a30"),n=i.n(a);n.a},"713c":function(t,e,i){"use strict";i.r(e);var a=i("e88e"),n=i("df75a");for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);i("6675");var r=i("f0c5"),c=Object(r["a"])(n["default"],a["b"],a["c"],!1,null,"1b7fdbfe",null,!1,a["a"],void 0);e["default"]=c.exports},"76ed":function(t,e,i){var a=i("24fb");e=a(!1),e.push([t.i,".cu-form-group[data-v-6a9544ee]{position:relative}.cu-form-group uni-input[data-v-6a9544ee]{text-align:right;padding-right:0}.cu-form-group.code .text-btn[data-v-6a9544ee]{margin-left:%?27.27?%}",""]),t.exports=e},"7ed5":function(t,e,i){var a=i("24fb");e=a(!1),e.push([t.i,".zaiui-bar-title-box .cu-bar[data-v-1b7fdbfe]{padding-top:0;min-height:calc(0px + %?101?%)}.zaiui-bar-title-box .cu-bar .content[data-v-1b7fdbfe]{top:0}.zaiui-bar-title-box .cu-bar .content .cu-tag[data-v-1b7fdbfe]{position:relative;top:%?-2.72?%;padding:0 %?5.45?%}.zaiui-bar-title-box .cu-bar .content .cu-tag uni-text[data-v-1b7fdbfe]{position:relative;top:%?2?%}.zaiui-bar-title-box .cu-bar.fixed.no-shadow[data-v-1b7fdbfe]{box-shadow:inherit}.zaiui-bar-title-box .cu-bar.bg-white[data-v-1b7fdbfe]{color:#333}.zaiui-bar-title-box .zaiui-seat-height[data-v-1b7fdbfe]{width:100%;height:calc(0px + %?101?%)}",""]),t.exports=e},"87ab":function(t,e,i){"use strict";i.r(e);var a=i("d54e"),n=i.n(a);for(var o in a)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(o);e["default"]=n.a},b27f:function(t,e,i){"use strict";i("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("a9e3"),i("d401"),i("d3b7"),i("25f0"),i("e25e"),i("c975"),i("ac1f"),i("5319");var a={strLeng:function(t){if(t){for(var e=t.length,i=0,a=0;a128?i+=2:i+=1;return i}return 0},getPageNum:function(t,e){var i=Number(t)/Number(e);if(i%1!==0){var a=i.toString(),n=parseInt(a.substring(0,a.indexOf("."))),o=a.replace(/\d+\.(\d*)/,"$1");o>0&&(i=n+1)}return i},setBarColor:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];t?uni.setNavigationBarColor({frontColor:"#000000",backgroundColor:"#FAFAFA"}):uni.setNavigationBarColor({frontColor:"#ffffff",backgroundColor:"#FAFAFA"})},zaiui_log:function(t){}},n=a;e.default=n},be7c:function(t,e,i){"use strict";i.r(e);var a=i("5115"),n=i("87ab");for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);i("1265");var r=i("f0c5"),c=Object(r["a"])(n["default"],a["b"],a["c"],!1,null,"6a9544ee",null,!1,a["a"],void 0);e["default"]=c.exports},d54e:function(t,e,i){"use strict";i("7a82");var a=i("ee27").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("ac1f"),i("00b4"),i("498a"),i("466d");var n=a(i("713c")),o=a(i("b27f")),r={components:{barTitle:n.default},data:function(){return{state:!1,totalTime:60,recordingTime:0,currentTime:0,code:"",mobile:""}},onLoad:function(){},onReady:function(){o.default.setBarColor(!0),uni.pageScrollTo({scrollTop:0,duration:0})},methods:{checking:function(){var t=this;this.mobile&&/^1\d{10}$/.test(this.mobile.trim())?(this.currentTime=this.totalTime,this.state=!0,this.checkingTime(),this.reqByuser({url:"?l=client.sms",data:{mobile:this.mobile,type:1},success:function(e){if(1==e.data.status){var i=e.data.data.match(/::(\d*)/);t.code=i?i[1]:""}else t.error=e.data.msg}})):uni.showToast({icon:"error",title:"手机号码不正确"})},checkingTime:function(){var t=this;this.state&&this.currentTime>0&&this.recordingTime<=this.totalTime?(this.recordingTime=this.recordingTime+1,this.currentTime=this.totalTime-this.recordingTime,setTimeout((function(){t.checkingTime()}),1e3)):(this.state=!1,this.recordingTime=0,this.currentTime=this.totalTime)},bind:function(){this.mobile&&/^1\d{10}$/.test(this.mobile.trim())?this.code?this.reqByuser({url:"?l=client.bind",data:{mobile:this.mobile,code:this.code},success:function(t){1==t.data.status?(uni.showToast({icon:"success",title:"绑定成功"}),setTimeout((function(){uni.navigateBack()}),2e3)):uni.showToast({icon:"error",title:t.data.msg})}}):uni.showToast({icon:"error",title:"请输入验证码"}):uni.showToast({icon:"error",title:"手机号码不正确"})}}};e.default=r},df75a:function(t,e,i){"use strict";i.r(e);var a=i("0d511"),n=i.n(a);for(var o in a)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(o);e["default"]=n.a},e88e:function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return n})),i.d(e,"a",(function(){}));var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"zaiui-bar-title-box",style:t.isWechatBrowser?"display: none;":""},[i("v-uni-view",{staticClass:"cu-bar",class:[t.fixed?"fixed":"",t.shadow?"":"no-shadow",t.bgColor]},[t.isBack?i("v-uni-view",{staticClass:"action",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.BackPage.apply(void 0,arguments)}}},[i("v-uni-text",{staticClass:"cuIcon-back"}),i("v-uni-text",[t._v(t._s(t.backText))])],1):t._e(),t.isBack?t._e():i("v-uni-view",{staticClass:"action",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.leftTap.apply(void 0,arguments)}}},[t._t("left")],2),i("v-uni-view",{staticClass:"content",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.contentTap.apply(void 0,arguments)}}},[t._t("content")],2),i("v-uni-view",{staticClass:"action",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.rightTap.apply(void 0,arguments)}}},[t._t("right")],2)],1),t.fixed?i("v-uni-view",{staticClass:"zaiui-seat-height"}):t._e()],1)},n=[]},f550:function(t,e,i){var a=i("76ed");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("4f06").default;n("3abfceab",a,!0,{sourceMap:!1,shadowMode:!1})}}]);