This commit is contained in:
luyuan 2020-11-04 09:28:31 +08:00
commit b48b5c415f
Signed by: theluyuan
GPG Key ID: A7972FD973317FF3
39 changed files with 17 additions and 0 deletions

2
index.html Normal file
View File

@ -0,0 +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.3a7f66b4.js></script></body></html>

BIN
static/alarm.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 929 B

BIN
static/cancel.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 820 B

4
static/dsbridge.js Normal file
View File

@ -0,0 +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]})}}();module.exports=bridge;

BIN
static/filleted.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 199 B

BIN
static/homeA.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 82 B

BIN
static/homeB.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 82 B

BIN
static/homeC.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 291 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 85 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

BIN
static/img/my.e65c6993.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.5 KiB

File diff suppressed because one or more lines are too long

BIN
static/indexHead.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 85 KiB

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"],{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}}]);

BIN
static/leftPage.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

BIN
static/logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

BIN
static/middleHome.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 360 B

BIN
static/my.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.9 KiB

BIN
static/problem.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 734 B

BIN
static/recoid.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

BIN
static/rectangle.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 298 B

BIN
static/renovate.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

BIN
static/right.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 920 B

BIN
static/rightPage.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 KiB

BIN
static/scan.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.7 KiB

BIN
static/secede.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 248 B

BIN
static/submit.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.5 KiB

BIN
static/time.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 477 B

BIN
static/update.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 737 B

BIN
static/warn.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 614 B

BIN
static/zero.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 199 B

BIN
static/zeros.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 666 B

BIN
static/zu.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB