Skip to content

Commit

Permalink
ok
Browse files Browse the repository at this point in the history
  • Loading branch information
eelaix committed Jan 1, 2024
1 parent b0172d0 commit d57316a
Show file tree
Hide file tree
Showing 7 changed files with 19 additions and 14 deletions.
2 changes: 1 addition & 1 deletion docs/chargerbk.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<html xmlns="http://www.w3.org/1999/xhtml"><head><meta charset="utf-8"><meta name="keywords" content="充电桩,运营平台,运营管理系统,运营后台,运营管理平台,研发,销售,小牛充电,小牛充电桩,小牛新能源,深圳小牛新能源有限公司,小牛充电插件,电动汽车,纯电动汽车,充电,自有品牌,专属充电APP,场站规划,电站设计,施工建设,运营系统,运营指导,AWSIoT,NoSQL,DynamoDB,Lambda,APIGateway,IotThing,AmazonCloud,AmazonWebService,www.mosf.cn"><meta name="description" content="充电桩,运营平台,运营管理系统,运营后台,运营管理平台,研发,销售,小牛充电,小牛充电桩,小牛新能源,深圳小牛新能源有限公司,小牛充电插件,电动汽车,纯电动汽车,充电,自有品牌,专属充电APP,场站规划,电站设计,施工建设,运营系统,运营指导,AWSIoT,NoSQL,DynamoDB,Lambda,APIGateway,IotThing,AmazonCloud,AmazonWebService,www.mosf.cn"><meta name="viewport" content="width=device-width,initial-scale=1"><meta name="apple-mobile-web-app-capable" content="yes"><meta name="apple-mobile-web-app-status-bar-style" content="yes"><meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"><meta http-equiv="Cache-Control" content="no-cache,no-store,must-revalidate"><meta http-equiv="Pragma" content="no-cache"><meta http-equiv="Expires" content="0"><link rel="icon" href="favicon.ico"><title>Eddievolt ChargeHub</title><link href="css/chunk-common.5db241b8.css" rel="preload" as="style"><link href="css/chunk-vendors.b5fbd2ee.css" rel="preload" as="style"><link href="js/chargerbk.f6f0a94b.js" rel="preload" as="script"><link href="js/chunk-common.9745b4e6.js" rel="preload" as="script"><link href="js/chunk-vendors.3cef9dec.js" rel="preload" as="script"><link href="css/chunk-vendors.b5fbd2ee.css" rel="stylesheet"><link href="css/chunk-common.5db241b8.css" rel="stylesheet"></head><body><div id="app1"></div><script src="js/chunk-vendors.3cef9dec.js"></script><script src="js/chunk-common.9745b4e6.js"></script><script src="js/chargerbk.f6f0a94b.js"></script></body></html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><meta charset="utf-8"><meta name="keywords" content="充电桩,运营平台,运营管理系统,运营后台,运营管理平台,研发,销售,小牛充电,小牛充电桩,小牛新能源,深圳小牛新能源有限公司,小牛充电插件,电动汽车,纯电动汽车,充电,自有品牌,专属充电APP,场站规划,电站设计,施工建设,运营系统,运营指导,AWSIoT,NoSQL,DynamoDB,Lambda,APIGateway,IotThing,AmazonCloud,AmazonWebService,www.mosf.cn"><meta name="description" content="充电桩,运营平台,运营管理系统,运营后台,运营管理平台,研发,销售,小牛充电,小牛充电桩,小牛新能源,深圳小牛新能源有限公司,小牛充电插件,电动汽车,纯电动汽车,充电,自有品牌,专属充电APP,场站规划,电站设计,施工建设,运营系统,运营指导,AWSIoT,NoSQL,DynamoDB,Lambda,APIGateway,IotThing,AmazonCloud,AmazonWebService,www.mosf.cn"><meta name="viewport" content="width=device-width,initial-scale=1"><meta name="apple-mobile-web-app-capable" content="yes"><meta name="apple-mobile-web-app-status-bar-style" content="yes"><meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"><meta http-equiv="Cache-Control" content="no-cache,no-store,must-revalidate"><meta http-equiv="Pragma" content="no-cache"><meta http-equiv="Expires" content="0"><link rel="icon" href="favicon.ico"><title>Eddievolt ChargeHub</title><link href="css/chunk-common.5db241b8.css" rel="preload" as="style"><link href="css/chunk-vendors.b5fbd2ee.css" rel="preload" as="style"><link href="js/chargerbk.f6f0a94b.js" rel="preload" as="script"><link href="js/chunk-common.e70847cd.js" rel="preload" as="script"><link href="js/chunk-vendors.3cef9dec.js" rel="preload" as="script"><link href="css/chunk-vendors.b5fbd2ee.css" rel="stylesheet"><link href="css/chunk-common.5db241b8.css" rel="stylesheet"></head><body><div id="app1"></div><script src="js/chunk-vendors.3cef9dec.js"></script><script src="js/chunk-common.e70847cd.js"></script><script src="js/chargerbk.f6f0a94b.js"></script></body></html>
2 changes: 1 addition & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<html xmlns="http://www.w3.org/1999/xhtml"><head><meta charset="utf-8"><meta name="keywords" content="充电桩,运营平台,运营管理系统,运营后台,运营管理平台,研发,销售,小牛充电,小牛充电桩,小牛新能源,深圳小牛新能源有限公司,小牛充电插件,电动汽车,纯电动汽车,充电,自有品牌,专属充电APP,场站规划,电站设计,施工建设,运营系统,运营指导,AWSIoT,NoSQL,DynamoDB,Lambda,APIGateway,IotThing,AmazonCloud,AmazonWebService,www.mosf.cn"><meta name="description" content="充电桩,运营平台,运营管理系统,运营后台,运营管理平台,研发,销售,小牛充电,小牛充电桩,小牛新能源,深圳小牛新能源有限公司,小牛充电插件,电动汽车,纯电动汽车,充电,自有品牌,专属充电APP,场站规划,电站设计,施工建设,运营系统,运营指导,AWSIoT,NoSQL,DynamoDB,Lambda,APIGateway,IotThing,AmazonCloud,AmazonWebService,www.mosf.cn"><meta name="viewport" content="width=device-width,initial-scale=1"><meta name="apple-mobile-web-app-capable" content="yes"><meta name="apple-mobile-web-app-status-bar-style" content="yes"><meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"><meta http-equiv="Cache-Control" content="no-cache,no-store,must-revalidate"><meta http-equiv="Pragma" content="no-cache"><meta http-equiv="Expires" content="0"><link rel="icon" href="favicon.ico"><title>Eddievolt_ChargeHub</title><link href="css/chunk-common.5db241b8.css" rel="preload" as="style"><link href="css/chunk-vendors.b5fbd2ee.css" rel="preload" as="style"><link href="js/chunk-common.9745b4e6.js" rel="preload" as="script"><link href="js/chunk-vendors.3cef9dec.js" rel="preload" as="script"><link href="js/index.bd219759.js" rel="preload" as="script"><link href="css/chunk-vendors.b5fbd2ee.css" rel="stylesheet"><link href="css/chunk-common.5db241b8.css" rel="stylesheet"></head><body><div id="app1"></div><script src="js/chunk-vendors.3cef9dec.js"></script><script src="js/chunk-common.9745b4e6.js"></script><script src="js/index.bd219759.js"></script></body></html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><meta charset="utf-8"><meta name="keywords" content="充电桩,运营平台,运营管理系统,运营后台,运营管理平台,研发,销售,小牛充电,小牛充电桩,小牛新能源,深圳小牛新能源有限公司,小牛充电插件,电动汽车,纯电动汽车,充电,自有品牌,专属充电APP,场站规划,电站设计,施工建设,运营系统,运营指导,AWSIoT,NoSQL,DynamoDB,Lambda,APIGateway,IotThing,AmazonCloud,AmazonWebService,www.mosf.cn"><meta name="description" content="充电桩,运营平台,运营管理系统,运营后台,运营管理平台,研发,销售,小牛充电,小牛充电桩,小牛新能源,深圳小牛新能源有限公司,小牛充电插件,电动汽车,纯电动汽车,充电,自有品牌,专属充电APP,场站规划,电站设计,施工建设,运营系统,运营指导,AWSIoT,NoSQL,DynamoDB,Lambda,APIGateway,IotThing,AmazonCloud,AmazonWebService,www.mosf.cn"><meta name="viewport" content="width=device-width,initial-scale=1"><meta name="apple-mobile-web-app-capable" content="yes"><meta name="apple-mobile-web-app-status-bar-style" content="yes"><meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"><meta http-equiv="Cache-Control" content="no-cache,no-store,must-revalidate"><meta http-equiv="Pragma" content="no-cache"><meta http-equiv="Expires" content="0"><link rel="icon" href="favicon.ico"><title>Eddievolt_ChargeHub</title><link href="css/chunk-common.5db241b8.css" rel="preload" as="style"><link href="css/chunk-vendors.b5fbd2ee.css" rel="preload" as="style"><link href="js/chunk-common.e70847cd.js" rel="preload" as="script"><link href="js/chunk-vendors.3cef9dec.js" rel="preload" as="script"><link href="js/index.bd219759.js" rel="preload" as="script"><link href="css/chunk-vendors.b5fbd2ee.css" rel="stylesheet"><link href="css/chunk-common.5db241b8.css" rel="stylesheet"></head><body><div id="app1"></div><script src="js/chunk-vendors.3cef9dec.js"></script><script src="js/chunk-common.e70847cd.js"></script><script src="js/index.bd219759.js"></script></body></html>
2 changes: 0 additions & 2 deletions docs/js/chunk-common.9745b4e6.js

This file was deleted.

1 change: 0 additions & 1 deletion docs/js/chunk-common.9745b4e6.js.map

This file was deleted.

2 changes: 2 additions & 0 deletions docs/js/chunk-common.e70847cd.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions docs/js/chunk-common.e70847cd.js.map

Large diffs are not rendered by default.

23 changes: 14 additions & 9 deletions vuebuild/src/Chargerbk.vue
Original file line number Diff line number Diff line change
Expand Up @@ -229,25 +229,30 @@
import { defaultpaystackid } from '@/config';
import { getUserPhoneNumber,observeUserPresence,getUserName,getUserAvatar,closeApp } from 'ayoba-microapp-api';
let avatarcallback = (avatar) => {this.ayoba_avatar = avatar;};
let onlinecallback = (online) => {this.ayoba_presence = online;};
let onlinecallback = (online) => {
this.ayoba_presence = online;
this.ayoba_msisdn = getUserPhoneNumber();
this.ayoba_selfjid = getURLParameter('jid');
};
let usernamecallback = (username) => {this.ayoba_nickname = username;};
export default {
name: 'chargerbk',
components: {
paystack
},
mounted() {
closeApp();
getUserAvatar(avatarcallback);
getUserName(usernamecallback);
observeUserPresence(onlinecallback);
let retry = 0;
do {
this.ayoba_msisdn = getUserPhoneNumber();
this.ayoba_selfjid = getURLParameter('jid');
} while (!this.ayoba_msisdn && retry<50);
if (!this.ayoba_msisdn) {
closeApp();
}
// let retry = 0;
// do {
// this.ayoba_msisdn = getUserPhoneNumber();
// this.ayoba_selfjid = getURLParameter('jid');
// } while (!this.ayoba_msisdn && retry<50);
// if (!this.ayoba_msisdn) {
// closeApp();
// }
this.fetchData();
},
computed: {
Expand Down

0 comments on commit d57316a

Please sign in to comment.