flying-monkey/App.vue

47 lines
1.0 KiB
Vue
Raw Normal View History

<script>
export default {
globalData:{
projectname:'', // 项目名称
lat:'', // 公司地址维度
lng:'' // 公司地址经度
},
// 优先于show方法
onLaunch: function() {
// 配置全局域名
2022-03-16 00:58:52 +00:00
uni.setStorageSync('hostapi','http://maintain.7and5.cn');
// 设置主色调
uni.setStorageSync('publicColor','#000000');
},
onShow: function() {
if(uni.getStorageSync('phone_active')){
// 刷新token
this.$toolAll.tools.refreshToken();
}
},
onHide: function() {
}
};
</script>
<style>
/*每个页面公共css */
/* 阿里巴巴矢量图标库 start */
@import url("./commons/icon-font.css");
/* 阿里巴巴矢量图标库 end */
2022-03-16 00:58:52 +00:00
/* 项目基础样式 start */
@import url("./commons/base.css");
2022-03-16 00:58:52 +00:00
/* 项目基础样式 end */
/* 项目页面样式 start */
@import url("./commons/flying-monkey.css");
/* 项目页面样式 end */
/* 动画样式 start */
@import url("./commons/animate.min.css");
/* 动画样式 end */
page {background-color: rgba(255, 255, 255, 1);}
</style>