martial-arts/App.vue

44 lines
940 B
Vue

<script>
import toolAll from './jsFile/tools.js';
export default {
globalData:{
projectname:'', // 项目名称
lat:'', // 公司地址维度
lng:'' ,// 公司地址经度
hostapi:'https://chuanwujia.scdxtc.cn' // 域名配置
},
// 优先于show方法
onLaunch: ()=> {
toolAll.tools.currentContext();
},
onShow: ()=> {
if(uni.getStorageSync('token')){
}
},
onHide: ()=> {
}
};
</script>
<style>
/*每个页面公共css */
/* 阿里巴巴矢量图标库 start */
@import url("./commons/icon-font.css");
/* 阿里巴巴矢量图标库 end */
/* 项目基础样式 start */
@import url("./commons/base.css");
/* 项目基础样式 end */
/* 项目页面样式 start */
@import url("./commons/style.css");
/* 项目页面样式 end */
/* 动画样式 start */
@import url("./commons/animate.min.css");
/* 动画样式 end */
page {background-color: #fff6f5;}
</style>