This commit is contained in:
Your Name 2020-11-12 14:41:21 +08:00
parent c1ab240f25
commit 6230505f2d
12 changed files with 13 additions and 13 deletions

View File

@ -1,2 +1,2 @@
<!DOCTYPE html><html lang=zh-CN><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><title>Greens</title><script src=./static/dsbridge.js></script><script>var coverSupport = 'CSS' in window && typeof CSS.supports === 'function' && (CSS.supports('top: env(a)') || CSS.supports('top: constant(a)'))
document.write('<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0' + (coverSupport ? ', viewport-fit=cover' : '') + '" />')</script><link rel=stylesheet href=/static/index.5ca1c9cc.css></head><body><noscript><strong>Please enable JavaScript to continue.</strong></noscript><div id=app></div><script src=/static/js/chunk-vendors.6b368212.js></script><script src=/static/js/index.1b83bca8.js></script></body></html>
document.write('<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0' + (coverSupport ? ', viewport-fit=cover' : '') + '" />')</script><link rel=stylesheet href=/static/index.58d5e7ce.css></head><body><noscript><strong>Please enable JavaScript to continue.</strong></noscript><div id=app></div><script src=/static/js/chunk-vendors.cfb20cce.js></script><script src=/static/js/index.087b05c3.js></script></body></html>

View File

@ -1,4 +1,4 @@
var bridge={default:this,call:function(b,a,c){var e="";"function"==typeof a&&(c=a,a={});a={data:void 0===a?null:a};if("function"==typeof c){var g="dscb"+window.dscb++;window[g]=c;a._dscbstub=g}a=JSON.stringify(a);if(window._dsbridge)e=_dsbridge.call(b,a);else if(window._dswk||-1!=navigator.userAgent.indexOf("_dsbridge"))e=prompt("_dsbridge="+b,a);return JSON.parse(e||"{}").data},register:function(b,a,c){c=c?window._dsaf:window._dsf;window._dsInit||(window._dsInit=!0,setTimeout(function(){bridge.call("_dsb.dsinit")},
0));"object"==typeof a?c._obs[b]=a:c[b]=a},registerAsyn:function(b,a){this.register(b,a,!0)},hasNativeMethod:function(b,a){return this.call("_dsb.hasNativeMethod",{name:b,type:a||"all"})},disableJavascriptDialogBlock:function(b){this.call("_dsb.disableJavascriptDialogBlock",{disable:!1!==b})}};
!function(){if(!window._dsf){var b={_dsf:{_obs:{}},_dsaf:{_obs:{}},dscb:0,dsBridge:bridge,close:function(){bridge.call("_dsb.closePage")},_handleMessageFromNative:function(a){var e=JSON.parse(a.data),b={id:a.callbackId,complete:!0},c=this._dsf[a.method],d=this._dsaf[a.method],h=function(a,c){b.data=a.apply(c,e);bridge.call("_dsb.returnValue",b)},k=function(a,c){e.push(function(a,c){b.data=a;b.complete=!1!==c;bridge.call("_dsb.returnValue",b)});a.apply(c,e)};if(c)h(c,this._dsf);else if(d)k(d,this._dsaf);
else if(c=a.method.split("."),!(2>c.length)){a=c.pop();var c=c.join("."),d=this._dsf._obs,d=d[c]||{},f=d[a];f&&"function"==typeof f?h(f,d):(d=this._dsaf._obs,d=d[c]||{},(f=d[a])&&"function"==typeof f&&k(f,d))}}},a;for(a in b)window[a]=b[a];bridge.register("_hasJavascriptMethod",function(a,b){b=a.split(".");if(2>b.length)return!(!_dsf[b]&&!_dsaf[b]);a=b.pop();b=b.join(".");return(b=_dsf._obs[b]||_dsaf._obs[b])&&!!b[a]})}}();
else if(c=a.method.split("."),!(2>c.length)){a=c.pop();var c=c.join("."),d=this._dsf._obs,d=d[c]||{},f=d[a];f&&"function"==typeof f?h(f,d):(d=this._dsaf._obs,d=d[c]||{},(f=d[a])&&"function"==typeof f&&k(f,d))}}},a;for(a in b)window[a]=b[a];bridge.register("_hasJavascriptMethod",function(a,b){b=a.split(".");if(2>b.length)return!(!_dsf[b]&&!_dsaf[b]);a=b.pop();b=b.join(".");return(b=_dsf._obs[b]||_dsaf._obs[b])&&!!b[a]})}}();module.exports=bridge;

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-log-log-log"],{"144b":function(t,i,n){t.exports=n.p+"static/img/submit.b43d6dad.png"},"1f97":function(t,i,n){"use strict";var e;n.d(i,"b",(function(){return a})),n.d(i,"c",(function(){return o})),n.d(i,"a",(function(){return e}));var a=function(){var t=this,i=t.$createElement,e=t._self._c||i;return e("v-uni-view",{staticClass:"body"},[e("v-uni-view",{staticClass:"middle-box"},[e("v-uni-view",{staticClass:"middle"},[e("v-uni-view",{staticClass:"index-titl"},[t._v("绿能管理中心")]),e("v-uni-view",{staticClass:"index-text"},[t._v("请输入后台为您配置的账号和密码")])],1),e("v-uni-view",{staticClass:"middle-btm"},[e("v-uni-view",{staticClass:"btm-text"},[t._v("账号")]),e("v-uni-image",{staticClass:"my-icon",attrs:{src:n("dd76"),mode:""}}),e("v-uni-input",{staticClass:"uni-input",attrs:{type:"text",focus:!0,placeholder:"请输入账号"},model:{value:t.loginname,callback:function(i){t.loginname=i},expression:"loginname"}}),e("v-uni-view",{staticClass:"btm-text"},[t._v("密码")]),e("v-uni-image",{staticClass:"submit-icon",attrs:{src:n("144b"),mode:""}}),e("v-uni-input",{staticClass:"uni-input",attrs:{type:"password",focus:!0,placeholder:"请输入密码"},model:{value:t.password,callback:function(i){t.password=i},expression:"password"}})],1),e("v-uni-view",{staticClass:"btn-row"},[e("v-uni-button",{staticClass:"primary",attrs:{type:"primary"},on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.bindLogin.apply(void 0,arguments)}}},[t._v("登录")])],1)],1)],1)},o=[]},"33d3":function(t,i,n){"use strict";n.r(i);var e=n("c9f4"),a=n.n(e);for(var o in e)"default"!==o&&function(t){n.d(i,t,(function(){return e[t]}))}(o);i["default"]=a.a},3837:function(t,i,n){var e=n("24fb");i=e(!1),i.push([t.i,"uni-page-body[data-v-7c6efe96]{width:100%;height:100%;background-color:#61cad7}.body[data-v-7c6efe96]{position:relative;top:50%;margin-top:-200px}\r\n/* input内图标 */.middle-btm[data-v-7c6efe96]{position:relative}.my-icon[data-v-7c6efe96],.submit-icon[data-v-7c6efe96]{width:22px;height:22px;position:absolute;top:48px;margin-left:15px\n}.submit-icon[data-v-7c6efe96]{position:absolute;top:152px}.middle-box[data-v-7c6efe96]{width:80%;background-color:#fff;width:500px;margin:0 auto;padding:%?28?% 0 %?28?% %?40?%}.middle[data-v-7c6efe96]{margin-bottom:40px}.index-titl[data-v-7c6efe96]{color:#61cad7;font-size:30px}.index-text[data-v-7c6efe96]{color:#999;font-size:18px;\r\n\t/* font-weight: bold; */margin-top:9px}.uni-input[data-v-7c6efe96]{min-height:50px;border:2px solid #999;width:80%;margin-bottom:20px;padding-left:45px}.btm-text[data-v-7c6efe96]{font-size:20px;color:#666;font-weight:700;margin-bottom:5px}.btn-row[data-v-7c6efe96]{width:90%;margin-top:30px}.primary[data-v-7c6efe96]{min-height:50px;background:#61cad7}body.?%PAGE?%[data-v-7c6efe96]{background-color:#61cad7}",""]),t.exports=i},ba5a:function(t,i,n){var e=n("3837");"string"===typeof e&&(e=[[t.i,e,""]]),e.locals&&(t.exports=e.locals);var a=n("4f06").default;a("199a2aba",e,!0,{sourceMap:!1,shadowMode:!1})},c9f4:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var e={data:function(){return{loginname:"",password:"",hotel_id:""}},methods:{bindLogin:function(){var t=this,i=this.loginname,n=this.password;""!=i.length?""!=n.length?t.$get("v1/equipment/register/entlogin",{loginname:t.loginname,password:t.password}).then((function(t){200==t.code&&(uni.setStorageSync("hotel_id",t.data.hotel_id),uni.showToast({success:function(){uni.navigateTo({url:"../../index/index"})}}))})):uni.showToast({title:"请填写密码",icon:"none"}):uni.showToast({title:"请填写用户名",icon:"none"})}}};i.default=e},cbf2:function(t,i,n){"use strict";var e=n("ba5a"),a=n.n(e);a.a},dd76:function(t,i,n){t.exports=n.p+"static/img/my.e65c6993.png"},e8b7:function(t,i,n){"use strict";n.r(i);var e=n("1f97"),a=n("33d3");for(var o in a)"default"!==o&&function(t){n.d(i,t,(function(){return a[t]}))}(o);n("cbf2");var s,c=n("f0c5"),d=Object(c["a"])(a["default"],e["b"],e["c"],!1,null,"7c6efe96",null,!1,e["a"],s);i["default"]=d.exports}}]);

View File

@ -1 +0,0 @@
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-log-log-log"],{3387:function(t,i,e){t.exports=e.p+"static/img/my.e65c6993.png"},5863:function(t,i,e){"use strict";var n,a=function(){var t=this,i=t.$createElement,n=t._self._c||i;return n("v-uni-view",{staticClass:"body"},[n("v-uni-view",{staticClass:"middle-box"},[n("v-uni-view",{staticClass:"middle"},[n("v-uni-view",{staticClass:"index-titl"},[t._v("绿能管理中心")]),n("v-uni-view",{staticClass:"index-text"},[t._v("请输入后台为您配置的账号和密码")])],1),n("v-uni-view",{staticClass:"middle-btm"},[n("v-uni-view",{staticClass:"btm-text"},[t._v("账号")]),n("v-uni-image",{staticClass:"my-icon",attrs:{src:e("3387"),mode:""}}),n("v-uni-input",{staticClass:"uni-input",attrs:{type:"text",focus:!0,placeholder:"请输入账号"},model:{value:t.loginname,callback:function(i){t.loginname=i},expression:"loginname"}}),n("v-uni-view",{staticClass:"btm-text"},[t._v("密码")]),n("v-uni-image",{staticClass:"submit-icon",attrs:{src:e("cbe1"),mode:""}}),n("v-uni-input",{staticClass:"uni-input",attrs:{type:"password",focus:!0,placeholder:"请输入密码"},model:{value:t.password,callback:function(i){t.password=i},expression:"password"}})],1),n("v-uni-view",{staticClass:"btn-row"},[n("v-uni-button",{staticClass:"primary",attrs:{type:"primary"},on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.bindLogin.apply(void 0,arguments)}}},[t._v("登录")])],1)],1)],1)},o=[];e.d(i,"b",(function(){return a})),e.d(i,"c",(function(){return o})),e.d(i,"a",(function(){return n}))},"7e9d":function(t,i,e){var n=e("24fb");i=n(!1),i.push([t.i,"uni-page-body[data-v-7c6efe96]{width:100%;height:100%;background-color:#61cad7}.body[data-v-7c6efe96]{position:relative;top:50%;margin-top:-200px}\r\n/* input内图标 */.middle-btm[data-v-7c6efe96]{position:relative}.my-icon[data-v-7c6efe96],.submit-icon[data-v-7c6efe96]{width:22px;height:22px;position:absolute;top:48px;margin-left:15px\n}.submit-icon[data-v-7c6efe96]{position:absolute;top:152px}.middle-box[data-v-7c6efe96]{width:80%;background-color:#fff;width:500px;margin:0 auto;padding:%?28?% 0 %?28?% %?40?%}.middle[data-v-7c6efe96]{margin-bottom:40px}.index-titl[data-v-7c6efe96]{color:#61cad7;font-size:30px}.index-text[data-v-7c6efe96]{color:#999;font-size:18px;\r\n\t/* font-weight: bold; */margin-top:9px}.uni-input[data-v-7c6efe96]{min-height:50px;border:2px solid #999;width:80%;margin-bottom:20px;padding-left:45px}.btm-text[data-v-7c6efe96]{font-size:20px;color:#666;font-weight:700;margin-bottom:5px}.btn-row[data-v-7c6efe96]{width:90%;margin-top:30px}.primary[data-v-7c6efe96]{min-height:50px;background:#61cad7}body.?%PAGE?%[data-v-7c6efe96]{background-color:#61cad7}",""]),t.exports=i},"95b5":function(t,i,e){"use strict";e.r(i);var n=e("e117"),a=e.n(n);for(var o in n)"default"!==o&&function(t){e.d(i,t,(function(){return n[t]}))}(o);i["default"]=a.a},a531:function(t,i,e){"use strict";var n=e("a95c"),a=e.n(n);a.a},a95c:function(t,i,e){var n=e("7e9d");"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var a=e("4f06").default;a("12bf9a12",n,!0,{sourceMap:!1,shadowMode:!1})},b271:function(t,i,e){"use strict";e.r(i);var n=e("5863"),a=e("95b5");for(var o in a)"default"!==o&&function(t){e.d(i,t,(function(){return a[t]}))}(o);e("a531");var s,c=e("f0c5"),d=Object(c["a"])(a["default"],n["b"],n["c"],!1,null,"7c6efe96",null,!1,n["a"],s);i["default"]=d.exports},cbe1:function(t,i,e){t.exports=e.p+"static/img/submit.b43d6dad.png"},e117:function(t,i,e){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var n={data:function(){return{loginname:"",password:"",hotel_id:""}},methods:{bindLogin:function(){var t=this,i=this.loginname,e=this.password;""!=i.length?""!=e.length?t.$get("v1/equipment/register/entlogin",{loginname:t.loginname,password:t.password}).then((function(t){200==t.code&&(uni.setStorageSync("hotel_id",t.data.hotel_id),uni.showToast({success:function(){uni.navigateTo({url:"../../index/index"})}}))})):uni.showToast({title:"请填写密码",icon:"none"}):uni.showToast({title:"请填写用户名",icon:"none"})}}};i.default=n}}]);