95.8f2d42ffc7edcf2923b6.1706754571694+.js 2.0 KB

1
  1. webpackJsonp([95],{"2vzK":function(t,e){},otmJ:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s=i("TIfe"),o={name:"guide",data:function(){return{isShow:!1,imgLsit:[]}},mounted:function(){this.isShow=Object(s.i)()},methods:{loginAll:function(){this.$socketApiTow.sendData({type:"tp_mb",qr_code:this.$route.query.code},this.onmessageWS)},onmessageWS:function(t){var e=this;"tp_mb"==t.type&&1==t.code&&(this.$toast("已登录"),this.$socketApiTow.closewebsocket(),setTimeout(function(){e.routeback()},500)),"error"==t.type&&this.$toast(t.msg)},loginAll2:function(){var t=this;this.$toast("已取消"),setTimeout(function(){t.routeback()},500)},routeback:function(){this.$router.replace({path:"/home"})}}},n={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",[i("van-nav-bar",{attrs:{title:"扫码登录","left-text":"返回","left-arrow":""},on:{"click-left":t.routeback}}),t._v(" "),i("div",{staticClass:"body_com"},[t.isShow?i("div",[t._m(0),t._v(" "),t._m(1),t._v(" "),i("div",{staticStyle:{margin:"0 0.4rem"}},[i("van-button",{attrs:{type:"info",block:""},on:{click:t.loginAll}},[t._v("授权登录")])],1),t._v(" "),i("div",{staticClass:"fontColorC footer",on:{click:t.loginAll2}},[t._v("取消登录")])]):i("div",[i("noData",{attrs:{detail_text:"暂无权限,请联系管理员"}})],1)])],1)},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"noData",staticStyle:{"text-align":"center"}},[e("img",{staticClass:"initImg",attrs:{mode:"scaleToFill",src:"static/images/logo2.png"}})])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"flex-box-v flex-center-center fontColorC",staticStyle:{"font-size":"0.28rem",margin:"0.4rem 0"}},[e("span",[this._v("网页版[功道云积分制]登录确认")]),this._v(" "),e("span",[this._v("请确认使用本人账号登录")])])}]};var a=i("VU/8")(o,n,!1,function(t){i("2vzK")},"data-v-69b6053f",null);e.default=a.exports}});