1 Star 0 Fork 1K

login2014 / HC小区业主版

forked from java110 / HC小区业主版 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
App.vue 922 Bytes
一键复制 编辑 原始数据 按行查看 历史
java110 提交于 2022-04-08 15:34 . 手机端加入综合缴费功能
<script>
//app.js
import context from './lib/java110/Java110Context.js'
const loginFactory = context.factory.login;
const userFactory = context.factory.user;
import {reciveMessage} from './api/webView/webViewApi.js'
export default {
// 小程序启动生命周期
onLaunch: function() {
let that = this; // 检查登录状态
//loginFactory.checkLoginStatus(); // 获取用户地理位置
userFactory.getUserLocation();
// #ifdef H5
window.addEventListener("message", reciveMessage);
// #endif
uni.onTabBarMidButtonTap(()=>{
uni.navigateTo({
url:"/pages/openDoorByQrCode/openDoorByQrCode",
animationType:'slide-in-bottom'
})
})
},
// app全局数据
globalData: {
userInfo: null
},
methods: {}
};
</script>
<style>
@import "./app.css";
/* #ifdef H5 */
uni-page-head {
display: none;
}
/* #endif */
</style>
微信
1
https://gitee.com/wahahhhhh/WechatOwnerService.git
git@gitee.com:wahahhhhh/WechatOwnerService.git
wahahhhhh
WechatOwnerService
HC小区业主版
master

搜索帮助

53164aa7 5694891 3bd8fe86 5694891