Commit 0ed47cf4 by Administrator

更改资讯banner接口

parent b33441e7
...@@ -31,4 +31,4 @@ if (!isPc) { ...@@ -31,4 +31,4 @@ if (!isPc) {
// //
// } // }
window.location.href = 'http://' + window.location.host + '/zbh5/#/home' window.location.href = 'http://' + window.location.host + '/zbh5/#/home'
}</script><link rel="shortcut icon" href=./logo.ico><link href=./static/css/main.d1f82064bf350a9e38fb88fb5ae31e6c.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src="https://v1.cnzz.com/z_stat.php?id=1279964973&web_id=1279964973"></script><script type=text/javascript src=./static/js/manifest.eaf0ef1bca9e12f99806.js></script><script type=text/javascript src=./static/js/vendor.0f904a2f9d54c2874bc3.js></script><script type=text/javascript src=./static/js/main.76182949ce44cf296be9.js></script></body></html> }</script><link rel="shortcut icon" href=./logo.ico><link href=./static/css/main.5d48a327d518906728fe78d95df2e5a4.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src="https://v1.cnzz.com/z_stat.php?id=1279964973&web_id=1279964973"></script><script type=text/javascript src=./static/js/manifest.aef78724a8650891267d.js></script><script type=text/javascript src=./static/js/vendor.0f904a2f9d54c2874bc3.js></script><script type=text/javascript src=./static/js/main.76182949ce44cf296be9.js></script></body></html>
\ No newline at end of file \ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
webpackJsonp([9],{"2NXm":function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var i=e("Dr8r"),s={name:"index",provide:function(){return{reload:this.reload}},data:function(){return{infoData:[],isTop:1,active:!0,showAll:!1,isShow:0,isshowRegAndLogin:!1,name:"",token:"",searchContent:""}},components:{"v-reg-login":e("wfk6").a},watch:{$route:function(t){this.name=t.name,this.getScroll()}},mounted:function(){if(this.name=this.$route.name,this.token=i.a.get("token"),this.getScroll(),this.token&&this.getInfo(),!i.a.get("deviceId")){var t=(new Date).getTime()+this.randomCoding()+"H5";i.a.set("deviceId",t)}},methods:{mouseOver:function(){this.showAll=!0},mouseLeave:function(){this.showAll=!1},showDialog:function(t){this.isShow=t},down:function(){window.open("http://dl.hszhibo.live")},goTop:function(){this.$refs.app.scrollTop=0,document.documentElement.scrollTop=0},randomCoding:function(){for(var t=[],n=0;n<3;n++){var e=Math.ceil(25*Math.random());t.push(String.fromCharCode(65+e))}return t.join("")},getInfo:function(){var t=this;this.$axios("post","/user/userInfo").then(function(n){200===n.code&&(t.infoData=n.data)})},mouseover:function(){clearTimeout(this.timer),this.isshow=!0},mouseleave:function(){var t=this;this.timer=setTimeout(function(){t.isshow=!1},100)},checkLogin:function(){this.isShow=1},checkReg:function(){this.isShow=2},getScroll:function(){"home"===this.name?(this.isTop=1,window.addEventListener("scroll",this.handleScroll,!0)):(window.removeEventListener("scroll",this.handleScroll),this.isTop=2)},handleScroll:function(){document.querySelector("#searchBar").scrollTop>40?this.isTop=2:"home"===this.name?this.isTop=1:this.isTop=2},destroyed:function(){window.removeEventListener("scroll",this.handleScroll)},reload:function(){this.active=!1,this.$nextTick(function(){this.active=!0})},toPage:function(t,n){n?this.$router.push({name:t,query:{num:n}}):this.$router.push({name:t}),this.isShow=0},toSearch:function(){var t=this.$router.resolve({path:"search",query:{name:this.searchContent}});window.open(t.href,"_blank")},toPageMy:function(t,n){i.a.get("token")?(this.$router.push({name:t,query:{num:n}}),this.reload()):this.isShow=1},loginOut:function(){var t=this;this.$axios("post","/user/loginOut").then(function(n){200===n.code&&(i.a.remove("token"),t.token="",t.isShow=0,t.$router.push({name:"home"}))})}}},a={render:function(){var t=this,n=t.$createElement,e=t._self._c||n;return e("div",{staticClass:"bg-home"},[e("v-reg-login",{attrs:{isShow:t.isShow},on:{dialogVisibleEvent:t.showDialog}}),t._v(" "),e("div",{ref:"app",staticClass:"content_box",attrs:{id:"searchBar"}},[e("div",{staticClass:"fx justify-center top-box"},[e("div",{staticClass:"logo duya-header-bd"},[e("div",{staticClass:"fx align-items justify-between",staticStyle:{width:"100%"}},[e("div",{staticClass:"fx align-items"},[e("img",{attrs:{src:"http://bucket.hszb66.cn/static/pc/logo1.png",width:"150px"},on:{click:function(n){return t.toPage("home")}}}),t._v(" "),e("div",{staticClass:"li ml-60",class:"home"===t.$route.name?"cl":"",on:{click:function(n){return t.toPage("home")}}},[t._v("首页")]),t._v(" "),e("div",{staticClass:"li",class:"score"===t.$route.name?"cl":"",on:{click:function(n){return t.toPage("score")}}},[t._v("\n 即时比分\n "),"score"!==t.$route.name?e("img",{staticClass:"ml-5",attrs:{src:"http://bucket.hszb66.cn/static/pc/xia.png",width:"6px"}}):t._e(),t._v(" "),"score"===t.$route.name?e("img",{staticClass:"ml-5",attrs:{src:"http://bucket.hszb66.cn/static/pc/xia2.png",width:"6px"}}):t._e()]),t._v(" "),e("div",[e("div",{staticClass:"li",class:"all"===t.$route.name||"room"===t.$route.name?"cl":"",on:{click:function(n){return t.toPage("all")}}},[t._v("\n 直播\n ")]),t._v(" "),t.showAll?e("div",{staticClass:"all-box"},[e("span",{staticClass:"all-div"},[t._v("足球")]),t._v(" "),e("span",{staticClass:"all-div ml-10"},[t._v("篮球")])]):t._e()]),t._v(" "),e("div",{staticClass:"li",class:"schedule"===t.$route.name?"cl":"",on:{click:function(n){return t.toPage("schedule")}}},[t._v("赛程")]),t._v(" "),e("div",{staticClass:"li",class:"infoCenter"===t.$route.name?"cl":"",on:{click:function(n){return t.toPage("infoCenter")}}},[t._v("前瞻")]),t._v(" "),e("div",{staticClass:"li",class:"new"===t.$route.name||"newDeatil"===t.$route.name?"cl":"",on:{click:function(n){return t.toPage("new")}}},[t._v("资讯")]),t._v(" "),e("div",{staticClass:"li",class:"hotRank"===t.$route.name||"hotBankDeatil"===t.$route.name||"expertsDeatil"===t.$route.name?"cl":"",on:{click:function(n){return t.toPage("hotRank")}}},[t._v("有料")]),t._v(" "),e("div",{staticClass:"cursor",class:"down"===t.$route.name?"c-ce":"c-33",on:{click:function(n){return t.toPage("down")}}},[t._v("\n App下载"),e("img",{staticClass:"hot-img",attrs:{src:"http://bucket.hszb66.cn/static/pc/hot.png"}})])]),t._v(" "),e("div",{staticClass:"fx align-items "},[e("div",{staticClass:"nav-bar-search input"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.searchContent,expression:"searchContent"}],attrs:{type:"text",id:"search",maxlength:"10",placeholder:"房间号/房间名/主播名",autocomplete:"off"},domProps:{value:t.searchContent},on:{input:function(n){n.target.composing||(t.searchContent=n.target.value)}}}),t._v(" "),e("i",{staticClass:"search-icon icon2",on:{click:t.toSearch}})]),t._v(" "),e("div",[t.token?t._e():e("img",{attrs:{src:"http://bucket.hszb66.cn/static/pc/login-img.png"},on:{click:t.checkLogin}})]),t._v(" "),t.token?e("div",{staticClass:"fx align-items"},[e("div",{staticClass:"cursor",class:1===t.isTop?"":"yellow"},[e("span",{staticClass:"cursor c-33",on:{click:function(n){return t.toPage("my",5)}}},[t._v("预约")]),t._v(" "),e("span",{staticClass:"cursor ml-10 c-33",on:{click:function(n){return t.toPage("my",4)}}},[t._v("关注")])]),t._v(" "),e("div",{staticClass:"ml-20",on:{click:function(n){return t.toPage("my")}}},[e("img",{staticClass:"header-img",attrs:{src:t.infoData.avatarUrl},on:{mouseover:t.mouseover,mouseleave:t.mouseleave}})]),t._v(" "),e("div",{staticClass:"cursor ml-30 c-33",class:1===t.isTop?"":"yellow",on:{click:t.loginOut}},[e("span",[t._v("退出")])])]):t._e()])])])]),t._v(" "),2===t.isTop&&"room"!==t.$route.name?e("div",{staticClass:"right-box"},[e("div",{on:{click:t.goTop}},[e("img",{attrs:{src:"http://bucket.hszb66.cn/static/pc/top.png"}})]),t._v(" "),e("div",{staticClass:"mt-5",on:{click:t.down}},[e("img",{attrs:{src:"http://bucket.hszb66.cn/static/pc/down.png"}})]),t._v(" "),e("div",{staticClass:"mt-5",on:{click:function(n){return t.toPageMy("my",6)}}},[e("img",{attrs:{src:"http://bucket.hszb66.cn/static/pc/yijian.png"}})])]):t._e(),t._v(" "),t.active?e("router-view",{staticClass:"index-wrapper"}):t._e()],1)],1)},staticRenderFns:[]};var o=e("VU/8")(s,a,!1,function(t){e("QhWu")},"data-v-8af35260",null);n.default=o.exports},HlX4:function(t,n,e){(t.exports=e("FZ+f")(!1)).push([t.i,"\n.yellow[data-v-7b1634fe]{\n color: #C93F45;\n}\n.header-modal[data-v-7b1634fe] {\n position: fixed;\n width: 100%;\n height: 100%;\n left: 0;\n top: 0;\n background: rgba(0,0,0,.7);\n z-index: 101;\n}\n.login-window[data-v-7b1634fe]{\n position: fixed;\n width: 400px;\n background: #fff;\n border-radius: 4px;\n top: 20%;\n left: 50%;\n -webkit-transform: translateX(-50%);\n transform: translateX(-50%);\n z-index: 102;\n}\n.reg-window[data-v-7b1634fe]{\n position: fixed;\n width: 400px;\n background: #fff;\n border-radius: 4px;\n top: 20%;\n left: 50%;\n -webkit-transform: translateX(-50%);\n transform: translateX(-50%);\n z-index: 102;\n}\n.angle[data-v-7b1634fe] {\n float: left;\n width: 28px;\n height: 28px;\n border-top-left-radius: 4px;\n}\n.close[data-v-7b1634fe] {\n float: right;\n width: 14px;\n height: 14px;\n margin-top: 20px;\n margin-right: 20px;\n cursor: pointer;\n}\n.window-inner[data-v-7b1634fe] {\n padding: 42px 50px 29px;\n}\n.txt-box[data-v-7b1634fe]{\n height: 30px;\n}\n.gou[data-v-7b1634fe]{\n width: 13px;\n opacity: 0.2;\n}\n.gou-cl[data-v-7b1634fe]{\n opacity: 1;\n}\n.ffb600[data-v-7b1634fe]{\n color: #C93F45;\n}\n.mt-50[data-v-7b1634fe]{\n margin-top: 50px;\n}\n.submit[data-v-7b1634fe]{\n width: 108px;\n height: 36px;\n padding-top: 7px;\n background: #efefef;\n border-radius: 4px;\n text-align: center;\n font-size: 16px;\n color: #777;\n cursor: default;\n}\n.btn-verify[data-v-7b1634fe]{\n width: 74px;\n height: 27px;\n font-size: 12px;\n text-align: center;\n padding-top: 5px;\n margin-bottom: 10px;\n background: #efefef;\n border-radius: 4px;\n cursor: pointer;\n}\n.active[data-v-7b1634fe] {\n background: -webkit-gradient(linear, left top, left bottom, from(#EA6A6D), to(#B1373C));\n background: linear-gradient(180deg, #EA6A6D 0%, #B1373C 100%);\n color: #FFFFFF;\n}\n.red[data-v-7b1634fe]{\n color: #C93F45;\n}\n.bd-bottom[data-v-7b1634fe] {\n border-bottom: 1px solid #bcbcbc;\n}\n",""])},QhWu:function(t,n,e){var i=e("bzWa");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);e("rjj0")("1889f220",i,!0,{})},bzWa:function(t,n,e){(t.exports=e("FZ+f")(!1)).push([t.i,"\n.bg-fff[data-v-8af35260]{\n background: #ffffff;\n}\n.top-box[data-v-8af35260]{\n -webkit-box-shadow: 0 2px 8px 0 hsl(0deg 0% 60% / 10%);\n box-shadow: 0 2px 8px 0 hsl(0deg 0% 60% / 10%);\n position: relative;\n background: #ffffff;\n}\n.index-wrapper[data-v-8af35260]{\n width: 100%;\n min-height: 100vh;\n}\n.logo[data-v-8af35260]{\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n line-height: 60px;\n /*padding: 0px 8%;*/\n}\n.bg-color1[data-v-8af35260]{\n background: rgba(2,1,24,.9);\n color: white;\n}\n.bg-color2[data-v-8af35260]{\n background: white;\n color: #4a4c5b;\n}\n.head[data-v-8af35260]{\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n background-color: #EA1A19;\n color: #FFFFFF;\n padding-left: 50px;\n height: 80px;\n font-size: 18px;\n margin: 10px 100px;\n}\n.li[data-v-8af35260]{\n padding: 0px 14px;\n line-height: 26px;\n cursor: pointer;\n text-align: center;\n margin-right: 10px;\n font-size: 14px;\n color: #333333;\n}\n.li[data-v-8af35260]:hover{\n background: -webkit-gradient(linear, left top, left bottom, from(#EA6A6D), to(#B1373C));\n background: linear-gradient(180deg, #EA6A6D 0%, #B1373C 100%);\n -webkit-box-shadow: 0px 2px 4px 0px #FFEDED;\n box-shadow: 0px 2px 4px 0px #FFEDED;\n color: #ffffff;\n border-radius: 3px;\n}\n.cl[data-v-8af35260]{\n background: -webkit-gradient(linear, left top, left bottom, from(#EA6A6D), to(#B1373C));\n background: linear-gradient(180deg, #EA6A6D 0%, #B1373C 100%);\n -webkit-box-shadow: 0px 2px 4px 0px #FFEDED;\n box-shadow: 0px 2px 4px 0px #FFEDED;\n color: #ffffff;\n border-radius: 3px;\n}\n.c-ce[data-v-8af35260]{\n color: #C93F45;\n}\n.bd-right[data-v-8af35260] {\n border-right: 1px solid white;\n}\n.content_box[data-v-8af35260] {\n /*background: #F9FBFF;*/\n background-image: url(\"http://bucket.hszb66.cn/live/bg2.png\");\n background-size: 100% auto;\n position: absolute;\n top: 0px;\n left: 0px;\n bottom: 0;\n width: 100%;\n -webkit-box-sizing: border-box;\n box-sizing: border-box;\n overflow: hidden;\n overflow-y: scroll;\n}\n.bg-home[data-v-8af35260]{\n overflow-x: hidden;\n}\n.right-box[data-v-8af35260]{\n position: fixed;\n top:50%;\n right: 10px;\n z-index: 10;\n}\n.header-img[data-v-8af35260]{\n width: 50px;\n height: 50px;\n border-radius: 50%;\n}\n.userInfo-box >div[data-v-8af35260]{\n line-height: 40px;\n text-align: center;\n cursor: pointer;\n}\n.hot-img[data-v-8af35260]{\n position: relative;\n top:-15px\n}\n.userInfo-box[data-v-8af35260]{\n position: fixed;\n top:10%;\n right: 11%;\n background: white;\n border: 1px solid #efefef;\n width: 100px;\n}\n.all-box[data-v-8af35260]{\n position: absolute;\n top:50px;\n background: #FFFFFF;\n border-radius: 3px;\n width: 150px;\n text-align: center;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n color: grey;z-index: 9;\n margin-left: -40px;\n}\n.all-div[data-v-8af35260]{\n border: 1px solid #efefef;\n padding: 3px 10px;\n border-radius: 3px;\n}\n.nav-bar-search[data-v-8af35260] {\n width: 184px;\n height: 32px;\n line-height: 32px;\n margin-right: 14px;\n border-radius: 18px;\n position: relative;\n -webkit-transition: width .3s ease;\n transition: width .3s ease;\n}\n.nav-bar-search input[type=text][data-v-8af35260] {\n caret-color: #ff9700;\n width: 100%;\n height: 100%;\n font-weight: 400;\n font-size: 12px;\n padding-left: 18px;\n padding-right: 15px;\n border-radius: 16px;\n outline: none;\n}\n.input[data-v-8af35260]{\n color: #666;\n background-color: #ececec;\n}\n.input input[data-v-8af35260]::-webkit-input-placeholder {\n /* 修改字体颜色 */\n color: #666;\n /* 修改字号,默认继承input */\n font-size: 12px;\n}\n.nav-bar-search .search-icon[data-v-8af35260] {\n width: 16px;\n height: 16px;\n position: absolute;\n right: 15px;\n top: 50%;\n -webkit-transform: translateY(-50%);\n transform: translateY(-50%);\n background-size: 100% 100%;\n cursor: pointer;\n}\n.icon1[data-v-8af35260]{\n background: url('http://bucket.hszb66.cn/static/pc/sousuo-icon.png') no-repeat;\n}\n.icon2[data-v-8af35260]{\n background: url('http://bucket.hszb66.cn/static/pc/sousuo-icon2.png') no-repeat;\n}\n",""])},eO5S:function(t,n,e){var i=e("HlX4");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);e("rjj0")("37a5d82b",i,!0,{})},wfk6:function(t,n,e){"use strict";var i=e("Dr8r"),s={name:"index",data:function(){return{isRead:!1,isGou:2,isEye:1,codeDisabled:!1,countdown:60,codeMsg:"获取验证码",timer:null,phone:"",smsCode:"",nickName:"",password:""}},props:["isShow"],methods:{toPage:function(t){this.$emit("dialogVisibleEvent",0),this.$router.push({name:t})},toMy:function(){this.$emit("dialogVisibleEvent",0),this.$router.push({name:"my",query:{pwd:1}})},checkLogin:function(){this.$emit("dialogVisibleEvent",1)},checkReg:function(){this.$emit("dialogVisibleEvent",2)},closeLogin:function(){this.$emit("dialogVisibleEvent",0)},closeReg:function(){this.$emit("dialogVisibleEvent",0)},checkGou:function(){1===this.isGou?(this.isGou=2,this.isRead=!1):this.isGou=1},checkEye:function(){1===this.isEye?this.isEye=2:this.isEye=1},sendSms:function(){var t=this;if(this.verificationPhone()){var n={phone:this.phone};this.$axios("post","/user/sendSms",n).then(function(n){200===n.code&&t.getCode()})}},verificationPhone:function(){return""===this.phone?(this.$message({type:"warning",message:"请输入手机号"}),!1):!!/^[1][3,4,5,6,7,8,9][0-9]{9}$/.test(this.phone)||(this.$message({type:"warning",message:"您输入的手机格式不正确"}),!1)},verificationPwd:function(){return""===this.password?(this.$message({type:"warning",message:"密码不可为空"}),!1):this.password.length>=6&&this.password.length<16||(this.$message({type:"warning",message:"请输入6-16位密码"}),!1)},verificationNull:function(){return""===this.smsCode?(this.$message({type:"warning",message:"请输入验证码"}),!1):""!==this.nickName||(this.$message({type:"warning",message:"请输入昵称"}),!1)},loginByPc:function(){var t=this;if(this.verificationPhone()&&this.verificationPwd())if(2===this.isGou){this.isRead=!1;var n={password:this.password,phone:this.phone};this.$axios("post","/user/loginByPc",n).then(function(n){200===n.code?(t.closeLogin(),i.a.set("token",n.data),t.token=i.a.get("token"),t.$router.push({name:"home"}),location.reload()):t.$message({type:"warning",message:n.msg})})}else this.isRead=!0},getCode:function(){var t=this;this.timer||(this.timer=setInterval(function(){t.countdown>0&&t.countdown<=60&&(t.countdown--,0!==t.countdown?(t.codeMsg=t.countdown+"S",t.codeDisabled=!0):(clearInterval(t.timer),t.codeMsg="获取验证码",t.countdown=60,t.timer=null,t.codeDisabled=!1))},1e3))},getReg:function(){var t=this;if(this.verificationPhone()&&this.verificationNull()&&this.verificationPwd())if(2===this.isGou){this.isRead=!1;var n={channelId:0,nickName:this.nickName,password:this.password,phone:this.phone,smsCode:this.smsCode};this.$axios("post","/user/registerByPc",n).then(function(n){200===n.code?(i.a.set("token",n.data),t.closeReg(),t.token=i.a.get("token"),t.$router.push({name:"home"}),location.reload()):t.$message({type:"warning",message:n.msg})})}else this.isRead=!0}}},a={render:function(){var t=this,n=t.$createElement,e=t._self._c||n;return e("div",[1===t.isShow||2===t.isShow?e("div",{staticClass:"header-modal"}):t._e(),t._v(" "),1===t.isShow?e("div",{staticClass:"login-window"},[e("div",[e("img",{staticClass:"angle",attrs:{src:"http://bucket.hszb66.cn/static/pc/angle.png"}}),t._v(" "),e("img",{staticClass:"close",attrs:{src:"http://bucket.hszb66.cn/static/pc/close.png"},on:{click:t.closeLogin}})]),t._v(" "),e("div",{staticClass:"window-inner"},[e("div",{staticClass:"fs-22 fw-700"},[t._v("登录")]),t._v(" "),e("div",{staticClass:"fx align-items txt-box mt-30 bd-bottom"},[e("div",[t._v("+86")]),t._v(" "),e("div",{staticClass:"fs-12 ml-10"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.phone,expression:"phone"}],attrs:{type:"text",placeholder:"请输入手机号码",maxlength:"11"},domProps:{value:t.phone},on:{input:function(n){n.target.composing||(t.phone=n.target.value)}}})])]),t._v(" "),e("div",{staticClass:"mt-30 txt-box bd-bottom fx align-items justify-between"},[e("div",{staticClass:"fs-12"},[1===t.isEye?e("input",{directives:[{name:"model",rawName:"v-model",value:t.password,expression:"password"}],attrs:{type:"password",placeholder:"请输入6-16位登录密码"},domProps:{value:t.password},on:{input:function(n){n.target.composing||(t.password=n.target.value)}}}):t._e(),t._v(" "),2===t.isEye?e("input",{directives:[{name:"model",rawName:"v-model",value:t.password,expression:"password"}],attrs:{type:"text",placeholder:"请输入6-16位登录密码"},domProps:{value:t.password},on:{input:function(n){n.target.composing||(t.password=n.target.value)}}}):t._e()]),t._v(" "),e("div",[1===t.isEye?e("img",{attrs:{src:"http://bucket.hszb66.cn/static/pc/pwd-yc.png",width:"30px"},on:{click:t.checkEye}}):t._e(),t._v(" "),2===t.isEye?e("img",{attrs:{src:"http://bucket.hszb66.cn/static/pc/yincan.png",width:"30px"},on:{click:t.checkEye}}):t._e()])]),t._v(" "),e("div",{staticClass:"fx justify-between align-items mt-20"},[e("div",[e("span",[e("img",{staticClass:"gou",class:1===t.isGou?"":"gou-cl",attrs:{src:"http://bucket.hszb66.cn/static/pc/gou.png"},on:{click:t.checkGou}})]),t._v(" "),e("span",{staticClass:"fs-12"},[t._v("登录即代表你已同意")]),t._v(" "),e("span",{staticClass:"fs-12 ffb600 cursor",on:{click:function(n){return t.toPage("agreement")}}},[t._v("《用户服务协议》")])]),t._v(" "),e("div",{staticClass:"fs-12 c-9 cursor",on:{click:t.toMy}},[t._v("忘记密码")])]),t._v(" "),t.isRead?e("div",{staticClass:"red fs-12"},[t._v("请仔细阅读并勾选协议")]):t._e(),t._v(" "),e("div",{staticClass:"fx justify-between mt-50"},[e("div",{staticClass:"cursor",on:{click:t.checkReg}},[e("a",[t._v("注册新账号")])]),t._v(" "),e("div",{staticClass:"submit",class:""!==t.phone&&""!==t.password&&2===t.isGou?"active":"",on:{click:t.loginByPc}},[t._v("登录")])])])]):t._e(),t._v(" "),2===t.isShow?e("div",{staticClass:"reg-window"},[e("div",[e("img",{staticClass:"angle",attrs:{src:"http://bucket.hszb66.cn/static/pc/angle.png"}}),t._v(" "),e("img",{staticClass:"close",attrs:{src:"http://bucket.hszb66.cn/static/pc/close.png"},on:{click:t.closeReg}})]),t._v(" "),e("div",{staticClass:"window-inner"},[e("div",{staticClass:"fs-22 fw-700"},[t._v("注册")]),t._v(" "),e("div",{staticClass:"fx align-items txt-box mt-30 bd-bottom"},[e("div",[t._v("+86")]),t._v(" "),e("div",{staticClass:"fs-12 ml-10"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.phone,expression:"phone"}],attrs:{type:"text",placeholder:"请输入手机号码",maxlength:"11"},domProps:{value:t.phone},on:{input:function(n){n.target.composing||(t.phone=n.target.value)}}})])]),t._v(" "),e("div",{staticClass:"fx align-items justify-between txt-box mt-30 bd-bottom"},[e("div",{staticClass:"fs-12"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.smsCode,expression:"smsCode"}],attrs:{type:"text",placeholder:"获取并输入验证码"},domProps:{value:t.smsCode},on:{input:function(n){n.target.composing||(t.smsCode=n.target.value)}}})]),t._v(" "),e("div",{staticClass:"btn-verify"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.codeMsg,expression:"codeMsg"}],staticClass:"getNumber",attrs:{type:"button",disabled:t.codeDisabled},domProps:{value:t.codeMsg},on:{click:t.sendSms,input:function(n){n.target.composing||(t.codeMsg=n.target.value)}}})])]),t._v(" "),e("div",{staticClass:"mt-30 txt-box bd-bottom"},[e("div",{staticClass:"fs-12"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.nickName,expression:"nickName"}],attrs:{type:"text",placeholder:"请输入用户名"},domProps:{value:t.nickName},on:{input:function(n){n.target.composing||(t.nickName=n.target.value)}}})])]),t._v(" "),e("div",{staticClass:"mt-30 txt-box bd-bottom fx align-items justify-between"},[e("div",{staticClass:"fs-12"},[1===t.isEye?e("input",{directives:[{name:"model",rawName:"v-model",value:t.password,expression:"password"}],attrs:{type:"password",placeholder:"请输入6-16位登录密码"},domProps:{value:t.password},on:{input:function(n){n.target.composing||(t.password=n.target.value)}}}):t._e(),t._v(" "),2===t.isEye?e("input",{directives:[{name:"model",rawName:"v-model",value:t.password,expression:"password"}],attrs:{type:"text",placeholder:"请输入6-16位登录密码"},domProps:{value:t.password},on:{input:function(n){n.target.composing||(t.password=n.target.value)}}}):t._e()]),t._v(" "),e("div",[1===t.isEye?e("img",{attrs:{src:"http://bucket.hszb66.cn/static/pc/pwd-yc.png",width:"30px"},on:{click:t.checkEye}}):t._e(),t._v(" "),2===t.isEye?e("img",{attrs:{src:"http://bucket.hszb66.cn/static/pc/yincan.png",width:"30px"},on:{click:t.checkEye}}):t._e()])]),t._v(" "),e("div",{staticClass:"mt-20"},[e("span",[e("img",{staticClass:"gou",class:1===t.isGou?"":"gou-cl",attrs:{src:"http://bucket.hszb66.cn/static/pc/gou.png"},on:{click:t.checkGou}})]),t._v(" "),e("span",{staticClass:"fs-12"},[t._v("我已阅读并同意")]),t._v(" "),e("span",{staticClass:"fs-12 ffb600 cursor",on:{click:function(n){return t.toPage("agreement")}}},[t._v("《用户服务协议》")])]),t._v(" "),t.isRead?e("div",{staticClass:"red fs-12"},[t._v("请仔细阅读并勾选协议")]):t._e(),t._v(" "),e("div",{staticClass:"fx justify-between mt-50"},[e("div",{staticClass:"cursor",on:{click:t.checkLogin}},[e("a",[t._v("登录账号")])]),t._v(" "),e("div",{staticClass:"submit",class:""!==t.password&&""!==t.phone&&""!==t.smsCode?"active":"",on:{click:t.getReg}},[t._v("注册")])])])]):t._e()])},staticRenderFns:[]};var o=e("VU/8")(s,a,!1,function(t){e("eO5S")},"data-v-7b1634fe",null);n.a=o.exports}});
\ No newline at end of file
webpackJsonp([9],{"2NXm":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n("Dr8r"),s={name:"index",provide:function(){return{reload:this.reload}},data:function(){return{infoData:[],isTop:1,active:!0,showAll:!1,isShow:0,isshowRegAndLogin:!1,name:"",token:"",searchContent:""}},components:{"v-reg-login":n("wfk6").a},watch:{$route:function(t){this.name=t.name,this.getScroll()}},mounted:function(){if(this.name=this.$route.name,this.token=i.a.get("token"),this.getScroll(),this.token&&this.getInfo(),!i.a.get("deviceId")){var t=(new Date).getTime()+this.randomCoding()+"H5";i.a.set("deviceId",t)}},methods:{mouseOver:function(){this.showAll=!0},mouseLeave:function(){this.showAll=!1},showDialog:function(t){this.isShow=t},down:function(){window.open("http://dl.hszhibo.live")},goTop:function(){this.$refs.app.scrollTop=0,document.documentElement.scrollTop=0},randomCoding:function(){for(var t=[],e=0;e<3;e++){var n=Math.ceil(25*Math.random());t.push(String.fromCharCode(65+n))}return t.join("")},getInfo:function(){var t=this;this.$axios("post","/user/userInfo").then(function(e){200===e.code&&(t.infoData=e.data)})},mouseover:function(){clearTimeout(this.timer),this.isshow=!0},mouseleave:function(){var t=this;this.timer=setTimeout(function(){t.isshow=!1},100)},checkLogin:function(){this.isShow=1},checkReg:function(){this.isShow=2},getScroll:function(){"home"===this.name?(this.isTop=1,window.addEventListener("scroll",this.handleScroll,!0)):(window.removeEventListener("scroll",this.handleScroll),this.isTop=2)},handleScroll:function(){document.querySelector("#searchBar").scrollTop>40?this.isTop=2:"home"===this.name?this.isTop=1:this.isTop=2},destroyed:function(){window.removeEventListener("scroll",this.handleScroll)},reload:function(){this.active=!1,this.$nextTick(function(){this.active=!0})},toPage:function(t,e){e?this.$router.push({name:t,query:{num:e}}):this.$router.push({name:t}),this.isShow=0},toSearch:function(){var t=this.$router.resolve({path:"search",query:{name:this.searchContent}});window.open(t.href,"_blank")},toPageMy:function(t,e){i.a.get("token")?(this.$router.push({name:t,query:{num:e}}),this.reload()):this.isShow=1},loginOut:function(){var t=this;this.$axios("post","/user/loginOut").then(function(e){200===e.code&&(i.a.remove("token"),t.token="",t.isShow=0,t.$router.push({name:"home"}))})}}},o={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"bg-home"},[n("v-reg-login",{attrs:{isShow:t.isShow},on:{dialogVisibleEvent:t.showDialog}}),t._v(" "),n("div",{ref:"app",staticClass:"content_box",attrs:{id:"searchBar"}},[n("div",{staticClass:"fx justify-center top-box"},[n("div",{staticClass:"logo duya-header-bd"},[n("div",{staticClass:"fx align-items justify-between",staticStyle:{width:"100%"}},[n("div",{staticClass:"fx align-items"},[n("img",{attrs:{src:"http://bucket.hszb66.cn/static/pc/logo1.png",width:"150px"},on:{click:function(e){return t.toPage("home")}}}),t._v(" "),n("div",{staticClass:"li ml-60",class:"home"===t.$route.name?"cl":"",on:{click:function(e){return t.toPage("home")}}},[t._v("首页")]),t._v(" "),n("div",{staticClass:"li",class:"score"===t.$route.name?"cl":"",on:{click:function(e){return t.toPage("score")}}},[t._v("\n 即时比分\n "),"score"!==t.$route.name?n("img",{staticClass:"ml-5",attrs:{src:"http://bucket.hszb66.cn/static/pc/xia.png",width:"6px"}}):t._e(),t._v(" "),"score"===t.$route.name?n("img",{staticClass:"ml-5",attrs:{src:"http://bucket.hszb66.cn/static/pc/xia2.png",width:"6px"}}):t._e()]),t._v(" "),n("div",[n("div",{staticClass:"li",class:"all"===t.$route.name||"room"===t.$route.name?"cl":"",on:{click:function(e){return t.toPage("all")}}},[t._v("\n 直播\n ")]),t._v(" "),t.showAll?n("div",{staticClass:"all-box"},[n("span",{staticClass:"all-div"},[t._v("足球")]),t._v(" "),n("span",{staticClass:"all-div ml-10"},[t._v("篮球")])]):t._e()]),t._v(" "),n("div",{staticClass:"li",class:"schedule"===t.$route.name?"cl":"",on:{click:function(e){return t.toPage("schedule")}}},[t._v("赛程")]),t._v(" "),n("div",{staticClass:"li",class:"infoCenter"===t.$route.name?"cl":"",on:{click:function(e){return t.toPage("infoCenter")}}},[t._v("前瞻")]),t._v(" "),n("div",{staticClass:"li",class:"new"===t.$route.name||"newDeatil"===t.$route.name?"cl":"",on:{click:function(e){return t.toPage("new")}}},[t._v("资讯")]),t._v(" "),n("div",{staticClass:"li",class:"hotRank"===t.$route.name||"hotBankDeatil"===t.$route.name||"expertsDeatil"===t.$route.name?"cl":"",on:{click:function(e){return t.toPage("hotRank")}}},[t._v("有料")]),t._v(" "),n("div",{staticClass:"cursor",class:"down"===t.$route.name?"c-ce":"c-33",on:{click:function(e){return t.toPage("down")}}},[t._v("\n App下载"),n("img",{staticClass:"hot-img",attrs:{src:"http://bucket.hszb66.cn/static/pc/hot.png"}})])]),t._v(" "),n("div",{staticClass:"fx align-items "},[n("div",{staticClass:"nav-bar-search input"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.searchContent,expression:"searchContent"}],attrs:{type:"text",id:"search",maxlength:"10",placeholder:"房间号/房间名/主播名",autocomplete:"off"},domProps:{value:t.searchContent},on:{input:function(e){e.target.composing||(t.searchContent=e.target.value)}}}),t._v(" "),n("i",{staticClass:"search-icon icon2",on:{click:t.toSearch}})]),t._v(" "),n("div",[t.token?t._e():n("img",{attrs:{src:"http://bucket.hszb66.cn/static/pc/login-img.png"},on:{click:t.checkLogin}})]),t._v(" "),t.token?n("div",{staticClass:"fx align-items"},[n("div",{staticClass:"cursor",class:1===t.isTop?"":"yellow"},[n("span",{staticClass:"cursor c-33",on:{click:function(e){return t.toPage("my",5)}}},[t._v("预约")]),t._v(" "),n("span",{staticClass:"cursor ml-10 c-33",on:{click:function(e){return t.toPage("my",4)}}},[t._v("关注")])]),t._v(" "),n("div",{staticClass:"ml-20",on:{click:function(e){return t.toPage("my")}}},[n("img",{staticClass:"header-img",attrs:{src:t.infoData.avatarUrl},on:{mouseover:t.mouseover,mouseleave:t.mouseleave}})]),t._v(" "),n("div",{staticClass:"cursor ml-30 c-33",class:1===t.isTop?"":"yellow",on:{click:t.loginOut}},[n("span",[t._v("退出")])])]):t._e()])])])]),t._v(" "),2===t.isTop&&"room"!==t.$route.name?n("div",{staticClass:"right-box"},[n("div",{on:{click:t.goTop}},[n("img",{attrs:{src:"http://bucket.hszb66.cn/static/pc/top.png"}})]),t._v(" "),n("div",{staticClass:"mt-5",on:{click:t.down}},[n("img",{attrs:{src:"http://bucket.hszb66.cn/static/pc/down.png"}})]),t._v(" "),n("div",{staticClass:"mt-5",on:{click:function(e){return t.toPageMy("my",6)}}},[n("img",{attrs:{src:"http://bucket.hszb66.cn/static/pc/yijian.png"}})])]):t._e(),t._v(" "),t.active?n("router-view",{staticClass:"index-wrapper"}):t._e()],1)],1)},staticRenderFns:[]};var a=n("VU/8")(s,o,!1,function(t){n("jrqn")},"data-v-cee199cc",null);e.default=a.exports},"6Iqd":function(t,e,n){(t.exports=n("FZ+f")(!1)).push([t.i,"\n.bg-fff[data-v-cee199cc]{\n background: #ffffff;\n}\n.top-box[data-v-cee199cc]{\n -webkit-box-shadow: 0 2px 8px 0 hsl(0deg 0% 60% / 10%);\n box-shadow: 0 2px 8px 0 hsl(0deg 0% 60% / 10%);\n position: relative;\n background: #ffffff;\n}\n.index-wrapper[data-v-cee199cc]{\n width: 100%;\n min-height: 100vh;\n min-width: 1320px;\n}\n.logo[data-v-cee199cc]{\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n line-height: 60px;\n /*padding: 0px 8%;*/\n}\n.bg-color1[data-v-cee199cc]{\n background: rgba(2,1,24,.9);\n color: white;\n}\n.bg-color2[data-v-cee199cc]{\n background: white;\n color: #4a4c5b;\n}\n.head[data-v-cee199cc]{\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n background-color: #EA1A19;\n color: #FFFFFF;\n padding-left: 50px;\n height: 80px;\n font-size: 18px;\n margin: 10px 100px;\n}\n.li[data-v-cee199cc]{\n padding: 0px 14px;\n line-height: 26px;\n cursor: pointer;\n text-align: center;\n margin-right: 10px;\n font-size: 14px;\n color: #333333;\n}\n.li[data-v-cee199cc]:hover{\n background: -webkit-gradient(linear, left top, left bottom, from(#EA6A6D), to(#B1373C));\n background: linear-gradient(180deg, #EA6A6D 0%, #B1373C 100%);\n -webkit-box-shadow: 0px 2px 4px 0px #FFEDED;\n box-shadow: 0px 2px 4px 0px #FFEDED;\n color: #ffffff;\n border-radius: 3px;\n}\n.cl[data-v-cee199cc]{\n background: -webkit-gradient(linear, left top, left bottom, from(#EA6A6D), to(#B1373C));\n background: linear-gradient(180deg, #EA6A6D 0%, #B1373C 100%);\n -webkit-box-shadow: 0px 2px 4px 0px #FFEDED;\n box-shadow: 0px 2px 4px 0px #FFEDED;\n color: #ffffff;\n border-radius: 3px;\n}\n.c-ce[data-v-cee199cc]{\n color: #C93F45;\n}\n.bd-right[data-v-cee199cc] {\n border-right: 1px solid white;\n}\n.content_box[data-v-cee199cc] {\n /*background: #F9FBFF;*/\n background-image: url(\"http://bucket.hszb66.cn/live/bg2.png\");\n background-size: 100% auto;\n position: absolute;\n top: 0px;\n left: 0px;\n bottom: 0;\n width: 100%;\n -webkit-box-sizing: border-box;\n box-sizing: border-box;\n overflow: hidden;\n overflow-y: scroll;\n}\n.bg-home[data-v-cee199cc]{\n overflow-x: hidden;\n}\n.right-box[data-v-cee199cc]{\n position: fixed;\n top:50%;\n right: 10px;\n z-index: 10;\n}\n.header-img[data-v-cee199cc]{\n width: 50px;\n height: 50px;\n border-radius: 50%;\n}\n.userInfo-box >div[data-v-cee199cc]{\n line-height: 40px;\n text-align: center;\n cursor: pointer;\n}\n.hot-img[data-v-cee199cc]{\n position: relative;\n top:-15px\n}\n.userInfo-box[data-v-cee199cc]{\n position: fixed;\n top:10%;\n right: 11%;\n background: white;\n border: 1px solid #efefef;\n width: 100px;\n}\n.all-box[data-v-cee199cc]{\n position: absolute;\n top:50px;\n background: #FFFFFF;\n border-radius: 3px;\n width: 150px;\n text-align: center;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n color: grey;z-index: 9;\n margin-left: -40px;\n}\n.all-div[data-v-cee199cc]{\n border: 1px solid #efefef;\n padding: 3px 10px;\n border-radius: 3px;\n}\n.nav-bar-search[data-v-cee199cc] {\n width: 184px;\n height: 32px;\n line-height: 32px;\n margin-right: 14px;\n border-radius: 18px;\n position: relative;\n -webkit-transition: width .3s ease;\n transition: width .3s ease;\n}\n.nav-bar-search input[type=text][data-v-cee199cc] {\n caret-color: #ff9700;\n width: 100%;\n height: 100%;\n font-weight: 400;\n font-size: 12px;\n padding-left: 18px;\n padding-right: 15px;\n border-radius: 16px;\n outline: none;\n}\n.input[data-v-cee199cc]{\n color: #666;\n background-color: #ececec;\n}\n.input input[data-v-cee199cc]::-webkit-input-placeholder {\n /* 修改字体颜色 */\n color: #666;\n /* 修改字号,默认继承input */\n font-size: 12px;\n}\n.nav-bar-search .search-icon[data-v-cee199cc] {\n width: 16px;\n height: 16px;\n position: absolute;\n right: 15px;\n top: 50%;\n -webkit-transform: translateY(-50%);\n transform: translateY(-50%);\n background-size: 100% 100%;\n cursor: pointer;\n}\n.icon1[data-v-cee199cc]{\n background: url('http://bucket.hszb66.cn/static/pc/sousuo-icon.png') no-repeat;\n}\n.icon2[data-v-cee199cc]{\n background: url('http://bucket.hszb66.cn/static/pc/sousuo-icon2.png') no-repeat;\n}\n",""])},HlX4:function(t,e,n){(t.exports=n("FZ+f")(!1)).push([t.i,"\n.yellow[data-v-7b1634fe]{\n color: #C93F45;\n}\n.header-modal[data-v-7b1634fe] {\n position: fixed;\n width: 100%;\n height: 100%;\n left: 0;\n top: 0;\n background: rgba(0,0,0,.7);\n z-index: 101;\n}\n.login-window[data-v-7b1634fe]{\n position: fixed;\n width: 400px;\n background: #fff;\n border-radius: 4px;\n top: 20%;\n left: 50%;\n -webkit-transform: translateX(-50%);\n transform: translateX(-50%);\n z-index: 102;\n}\n.reg-window[data-v-7b1634fe]{\n position: fixed;\n width: 400px;\n background: #fff;\n border-radius: 4px;\n top: 20%;\n left: 50%;\n -webkit-transform: translateX(-50%);\n transform: translateX(-50%);\n z-index: 102;\n}\n.angle[data-v-7b1634fe] {\n float: left;\n width: 28px;\n height: 28px;\n border-top-left-radius: 4px;\n}\n.close[data-v-7b1634fe] {\n float: right;\n width: 14px;\n height: 14px;\n margin-top: 20px;\n margin-right: 20px;\n cursor: pointer;\n}\n.window-inner[data-v-7b1634fe] {\n padding: 42px 50px 29px;\n}\n.txt-box[data-v-7b1634fe]{\n height: 30px;\n}\n.gou[data-v-7b1634fe]{\n width: 13px;\n opacity: 0.2;\n}\n.gou-cl[data-v-7b1634fe]{\n opacity: 1;\n}\n.ffb600[data-v-7b1634fe]{\n color: #C93F45;\n}\n.mt-50[data-v-7b1634fe]{\n margin-top: 50px;\n}\n.submit[data-v-7b1634fe]{\n width: 108px;\n height: 36px;\n padding-top: 7px;\n background: #efefef;\n border-radius: 4px;\n text-align: center;\n font-size: 16px;\n color: #777;\n cursor: default;\n}\n.btn-verify[data-v-7b1634fe]{\n width: 74px;\n height: 27px;\n font-size: 12px;\n text-align: center;\n padding-top: 5px;\n margin-bottom: 10px;\n background: #efefef;\n border-radius: 4px;\n cursor: pointer;\n}\n.active[data-v-7b1634fe] {\n background: -webkit-gradient(linear, left top, left bottom, from(#EA6A6D), to(#B1373C));\n background: linear-gradient(180deg, #EA6A6D 0%, #B1373C 100%);\n color: #FFFFFF;\n}\n.red[data-v-7b1634fe]{\n color: #C93F45;\n}\n.bd-bottom[data-v-7b1634fe] {\n border-bottom: 1px solid #bcbcbc;\n}\n",""])},eO5S:function(t,e,n){var i=n("HlX4");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);n("rjj0")("37a5d82b",i,!0,{})},jrqn:function(t,e,n){var i=n("6Iqd");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);n("rjj0")("0f6bcd62",i,!0,{})},wfk6:function(t,e,n){"use strict";var i=n("Dr8r"),s={name:"index",data:function(){return{isRead:!1,isGou:2,isEye:1,codeDisabled:!1,countdown:60,codeMsg:"获取验证码",timer:null,phone:"",smsCode:"",nickName:"",password:""}},props:["isShow"],methods:{toPage:function(t){this.$emit("dialogVisibleEvent",0),this.$router.push({name:t})},toMy:function(){this.$emit("dialogVisibleEvent",0),this.$router.push({name:"my",query:{pwd:1}})},checkLogin:function(){this.$emit("dialogVisibleEvent",1)},checkReg:function(){this.$emit("dialogVisibleEvent",2)},closeLogin:function(){this.$emit("dialogVisibleEvent",0)},closeReg:function(){this.$emit("dialogVisibleEvent",0)},checkGou:function(){1===this.isGou?(this.isGou=2,this.isRead=!1):this.isGou=1},checkEye:function(){1===this.isEye?this.isEye=2:this.isEye=1},sendSms:function(){var t=this;if(this.verificationPhone()){var e={phone:this.phone};this.$axios("post","/user/sendSms",e).then(function(e){200===e.code&&t.getCode()})}},verificationPhone:function(){return""===this.phone?(this.$message({type:"warning",message:"请输入手机号"}),!1):!!/^[1][3,4,5,6,7,8,9][0-9]{9}$/.test(this.phone)||(this.$message({type:"warning",message:"您输入的手机格式不正确"}),!1)},verificationPwd:function(){return""===this.password?(this.$message({type:"warning",message:"密码不可为空"}),!1):this.password.length>=6&&this.password.length<16||(this.$message({type:"warning",message:"请输入6-16位密码"}),!1)},verificationNull:function(){return""===this.smsCode?(this.$message({type:"warning",message:"请输入验证码"}),!1):""!==this.nickName||(this.$message({type:"warning",message:"请输入昵称"}),!1)},loginByPc:function(){var t=this;if(this.verificationPhone()&&this.verificationPwd())if(2===this.isGou){this.isRead=!1;var e={password:this.password,phone:this.phone};this.$axios("post","/user/loginByPc",e).then(function(e){200===e.code?(t.closeLogin(),i.a.set("token",e.data),t.token=i.a.get("token"),t.$router.push({name:"home"}),location.reload()):t.$message({type:"warning",message:e.msg})})}else this.isRead=!0},getCode:function(){var t=this;this.timer||(this.timer=setInterval(function(){t.countdown>0&&t.countdown<=60&&(t.countdown--,0!==t.countdown?(t.codeMsg=t.countdown+"S",t.codeDisabled=!0):(clearInterval(t.timer),t.codeMsg="获取验证码",t.countdown=60,t.timer=null,t.codeDisabled=!1))},1e3))},getReg:function(){var t=this;if(this.verificationPhone()&&this.verificationNull()&&this.verificationPwd())if(2===this.isGou){this.isRead=!1;var e={channelId:0,nickName:this.nickName,password:this.password,phone:this.phone,smsCode:this.smsCode};this.$axios("post","/user/registerByPc",e).then(function(e){200===e.code?(i.a.set("token",e.data),t.closeReg(),t.token=i.a.get("token"),t.$router.push({name:"home"}),location.reload()):t.$message({type:"warning",message:e.msg})})}else this.isRead=!0}}},o={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[1===t.isShow||2===t.isShow?n("div",{staticClass:"header-modal"}):t._e(),t._v(" "),1===t.isShow?n("div",{staticClass:"login-window"},[n("div",[n("img",{staticClass:"angle",attrs:{src:"http://bucket.hszb66.cn/static/pc/angle.png"}}),t._v(" "),n("img",{staticClass:"close",attrs:{src:"http://bucket.hszb66.cn/static/pc/close.png"},on:{click:t.closeLogin}})]),t._v(" "),n("div",{staticClass:"window-inner"},[n("div",{staticClass:"fs-22 fw-700"},[t._v("登录")]),t._v(" "),n("div",{staticClass:"fx align-items txt-box mt-30 bd-bottom"},[n("div",[t._v("+86")]),t._v(" "),n("div",{staticClass:"fs-12 ml-10"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.phone,expression:"phone"}],attrs:{type:"text",placeholder:"请输入手机号码",maxlength:"11"},domProps:{value:t.phone},on:{input:function(e){e.target.composing||(t.phone=e.target.value)}}})])]),t._v(" "),n("div",{staticClass:"mt-30 txt-box bd-bottom fx align-items justify-between"},[n("div",{staticClass:"fs-12"},[1===t.isEye?n("input",{directives:[{name:"model",rawName:"v-model",value:t.password,expression:"password"}],attrs:{type:"password",placeholder:"请输入6-16位登录密码"},domProps:{value:t.password},on:{input:function(e){e.target.composing||(t.password=e.target.value)}}}):t._e(),t._v(" "),2===t.isEye?n("input",{directives:[{name:"model",rawName:"v-model",value:t.password,expression:"password"}],attrs:{type:"text",placeholder:"请输入6-16位登录密码"},domProps:{value:t.password},on:{input:function(e){e.target.composing||(t.password=e.target.value)}}}):t._e()]),t._v(" "),n("div",[1===t.isEye?n("img",{attrs:{src:"http://bucket.hszb66.cn/static/pc/pwd-yc.png",width:"30px"},on:{click:t.checkEye}}):t._e(),t._v(" "),2===t.isEye?n("img",{attrs:{src:"http://bucket.hszb66.cn/static/pc/yincan.png",width:"30px"},on:{click:t.checkEye}}):t._e()])]),t._v(" "),n("div",{staticClass:"fx justify-between align-items mt-20"},[n("div",[n("span",[n("img",{staticClass:"gou",class:1===t.isGou?"":"gou-cl",attrs:{src:"http://bucket.hszb66.cn/static/pc/gou.png"},on:{click:t.checkGou}})]),t._v(" "),n("span",{staticClass:"fs-12"},[t._v("登录即代表你已同意")]),t._v(" "),n("span",{staticClass:"fs-12 ffb600 cursor",on:{click:function(e){return t.toPage("agreement")}}},[t._v("《用户服务协议》")])]),t._v(" "),n("div",{staticClass:"fs-12 c-9 cursor",on:{click:t.toMy}},[t._v("忘记密码")])]),t._v(" "),t.isRead?n("div",{staticClass:"red fs-12"},[t._v("请仔细阅读并勾选协议")]):t._e(),t._v(" "),n("div",{staticClass:"fx justify-between mt-50"},[n("div",{staticClass:"cursor",on:{click:t.checkReg}},[n("a",[t._v("注册新账号")])]),t._v(" "),n("div",{staticClass:"submit",class:""!==t.phone&&""!==t.password&&2===t.isGou?"active":"",on:{click:t.loginByPc}},[t._v("登录")])])])]):t._e(),t._v(" "),2===t.isShow?n("div",{staticClass:"reg-window"},[n("div",[n("img",{staticClass:"angle",attrs:{src:"http://bucket.hszb66.cn/static/pc/angle.png"}}),t._v(" "),n("img",{staticClass:"close",attrs:{src:"http://bucket.hszb66.cn/static/pc/close.png"},on:{click:t.closeReg}})]),t._v(" "),n("div",{staticClass:"window-inner"},[n("div",{staticClass:"fs-22 fw-700"},[t._v("注册")]),t._v(" "),n("div",{staticClass:"fx align-items txt-box mt-30 bd-bottom"},[n("div",[t._v("+86")]),t._v(" "),n("div",{staticClass:"fs-12 ml-10"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.phone,expression:"phone"}],attrs:{type:"text",placeholder:"请输入手机号码",maxlength:"11"},domProps:{value:t.phone},on:{input:function(e){e.target.composing||(t.phone=e.target.value)}}})])]),t._v(" "),n("div",{staticClass:"fx align-items justify-between txt-box mt-30 bd-bottom"},[n("div",{staticClass:"fs-12"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.smsCode,expression:"smsCode"}],attrs:{type:"text",placeholder:"获取并输入验证码"},domProps:{value:t.smsCode},on:{input:function(e){e.target.composing||(t.smsCode=e.target.value)}}})]),t._v(" "),n("div",{staticClass:"btn-verify"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.codeMsg,expression:"codeMsg"}],staticClass:"getNumber",attrs:{type:"button",disabled:t.codeDisabled},domProps:{value:t.codeMsg},on:{click:t.sendSms,input:function(e){e.target.composing||(t.codeMsg=e.target.value)}}})])]),t._v(" "),n("div",{staticClass:"mt-30 txt-box bd-bottom"},[n("div",{staticClass:"fs-12"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.nickName,expression:"nickName"}],attrs:{type:"text",placeholder:"请输入用户名"},domProps:{value:t.nickName},on:{input:function(e){e.target.composing||(t.nickName=e.target.value)}}})])]),t._v(" "),n("div",{staticClass:"mt-30 txt-box bd-bottom fx align-items justify-between"},[n("div",{staticClass:"fs-12"},[1===t.isEye?n("input",{directives:[{name:"model",rawName:"v-model",value:t.password,expression:"password"}],attrs:{type:"password",placeholder:"请输入6-16位登录密码"},domProps:{value:t.password},on:{input:function(e){e.target.composing||(t.password=e.target.value)}}}):t._e(),t._v(" "),2===t.isEye?n("input",{directives:[{name:"model",rawName:"v-model",value:t.password,expression:"password"}],attrs:{type:"text",placeholder:"请输入6-16位登录密码"},domProps:{value:t.password},on:{input:function(e){e.target.composing||(t.password=e.target.value)}}}):t._e()]),t._v(" "),n("div",[1===t.isEye?n("img",{attrs:{src:"http://bucket.hszb66.cn/static/pc/pwd-yc.png",width:"30px"},on:{click:t.checkEye}}):t._e(),t._v(" "),2===t.isEye?n("img",{attrs:{src:"http://bucket.hszb66.cn/static/pc/yincan.png",width:"30px"},on:{click:t.checkEye}}):t._e()])]),t._v(" "),n("div",{staticClass:"mt-20"},[n("span",[n("img",{staticClass:"gou",class:1===t.isGou?"":"gou-cl",attrs:{src:"http://bucket.hszb66.cn/static/pc/gou.png"},on:{click:t.checkGou}})]),t._v(" "),n("span",{staticClass:"fs-12"},[t._v("我已阅读并同意")]),t._v(" "),n("span",{staticClass:"fs-12 ffb600 cursor",on:{click:function(e){return t.toPage("agreement")}}},[t._v("《用户服务协议》")])]),t._v(" "),t.isRead?n("div",{staticClass:"red fs-12"},[t._v("请仔细阅读并勾选协议")]):t._e(),t._v(" "),n("div",{staticClass:"fx justify-between mt-50"},[n("div",{staticClass:"cursor",on:{click:t.checkLogin}},[n("a",[t._v("登录账号")])]),t._v(" "),n("div",{staticClass:"submit",class:""!==t.password&&""!==t.phone&&""!==t.smsCode?"active":"",on:{click:t.getReg}},[t._v("注册")])])])]):t._e()])},staticRenderFns:[]};var a=n("VU/8")(s,o,!1,function(t){n("eO5S")},"data-v-7b1634fe",null);e.a=a.exports}});
\ No newline at end of file
!function(e){var n=window.webpackJsonp;window.webpackJsonp=function(r,a,o){for(var f,d,i,u=0,b=[];u<r.length;u++)d=r[u],t[d]&&b.push(t[d][0]),t[d]=0;for(f in a)Object.prototype.hasOwnProperty.call(a,f)&&(e[f]=a[f]);for(n&&n(r,a,o);b.length;)b.shift()();if(o)for(u=0;u<o.length;u++)i=c(c.s=o[u]);return i};var r={},t={25:0};function c(n){if(r[n])return r[n].exports;var t=r[n]={i:n,l:!1,exports:{}};return e[n].call(t.exports,t,t.exports,c),t.l=!0,t.exports}c.e=function(e){var n=t[e];if(0===n)return new Promise(function(e){e()});if(n)return n[2];var r=new Promise(function(r,c){n=t[e]=[r,c]});n[2]=r;var a=document.getElementsByTagName("head")[0],o=document.createElement("script");o.type="text/javascript",o.charset="utf-8",o.async=!0,o.timeout=12e4,c.nc&&o.setAttribute("nonce",c.nc),o.src=c.p+"static/js/"+e+"."+{0:"b4ca599bfda7ac1c304f",1:"b7ff975b5424b7b1e70f",2:"3e1507b118ee89d36d6c",3:"30e2d0a49a66fd0d6a8e",4:"16720a66bfdb0ecf3ad0",5:"3b1c20657e5a87e7c49f",6:"50a655055e3fd3157122",7:"cbae7357c637d22d80ad",8:"2b01dff984ccbc42b8fd",9:"9649e4b5fa35e43fde7a",10:"adf8069f736e4eae1920",11:"c69bd8f58727e78e01c0",12:"2a06580d1d55afd241db",13:"a99277380f91ccc34b72",14:"20a50b81bc0add31f465",15:"13bb620d8e2d54caf4cf",16:"d52c9692f2d295a1e144",17:"6acf22d93d1204fcd364",18:"1869e79591ce0a66db09",19:"ccfe65387ec5884d61b6",20:"a1cee4de874738da3e36",21:"68e25b4c51c2d99e3448",22:"e4638b550df708d8f7d1"}[e]+".js";var f=setTimeout(d,12e4);function d(){o.onerror=o.onload=null,clearTimeout(f);var n=t[e];0!==n&&(n&&n[1](new Error("Loading chunk "+e+" failed.")),t[e]=void 0)}return o.onerror=o.onload=d,a.appendChild(o),r},c.m=e,c.c=r,c.d=function(e,n,r){c.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},c.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return c.d(n,"a",n),n},c.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},c.p="./",c.oe=function(e){throw console.error(e),e}}([]); !function(e){var n=window.webpackJsonp;window.webpackJsonp=function(r,a,o){for(var d,f,i,u=0,b=[];u<r.length;u++)f=r[u],t[f]&&b.push(t[f][0]),t[f]=0;for(d in a)Object.prototype.hasOwnProperty.call(a,d)&&(e[d]=a[d]);for(n&&n(r,a,o);b.length;)b.shift()();if(o)for(u=0;u<o.length;u++)i=c(c.s=o[u]);return i};var r={},t={25:0};function c(n){if(r[n])return r[n].exports;var t=r[n]={i:n,l:!1,exports:{}};return e[n].call(t.exports,t,t.exports,c),t.l=!0,t.exports}c.e=function(e){var n=t[e];if(0===n)return new Promise(function(e){e()});if(n)return n[2];var r=new Promise(function(r,c){n=t[e]=[r,c]});n[2]=r;var a=document.getElementsByTagName("head")[0],o=document.createElement("script");o.type="text/javascript",o.charset="utf-8",o.async=!0,o.timeout=12e4,c.nc&&o.setAttribute("nonce",c.nc),o.src=c.p+"static/js/"+e+"."+{0:"b4ca599bfda7ac1c304f",1:"b7ff975b5424b7b1e70f",2:"3e1507b118ee89d36d6c",3:"30e2d0a49a66fd0d6a8e",4:"16720a66bfdb0ecf3ad0",5:"3b1c20657e5a87e7c49f",6:"50a655055e3fd3157122",7:"34c7688b3d8a51f1f221",8:"e6f3422c7e95ab68d0ed",9:"1673d3c53571c3c84b3d",10:"adf8069f736e4eae1920",11:"c69bd8f58727e78e01c0",12:"2a06580d1d55afd241db",13:"a99277380f91ccc34b72",14:"20a50b81bc0add31f465",15:"13bb620d8e2d54caf4cf",16:"d52c9692f2d295a1e144",17:"6acf22d93d1204fcd364",18:"1869e79591ce0a66db09",19:"ccfe65387ec5884d61b6",20:"a1cee4de874738da3e36",21:"68e25b4c51c2d99e3448",22:"e4638b550df708d8f7d1"}[e]+".js";var d=setTimeout(f,12e4);function f(){o.onerror=o.onload=null,clearTimeout(d);var n=t[e];0!==n&&(n&&n[1](new Error("Loading chunk "+e+" failed.")),t[e]=void 0)}return o.onerror=o.onload=f,a.appendChild(o),r},c.m=e,c.c=r,c.d=function(e,n,r){c.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},c.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return c.d(n,"a",n),n},c.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},c.p="./",c.oe=function(e){throw console.error(e),e}}([]);
\ No newline at end of file \ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment