49 lines
949 B
Vue
49 lines
949 B
Vue
|
<script>
|
||
|
export default {
|
||
|
globalData:{
|
||
|
projectname:'', // 项目名称
|
||
|
lat:'', // 公司地址维度
|
||
|
lng:'' ,// 公司地址经度
|
||
|
hostapi:'https://www.baidu.com' // 域名配置
|
||
|
},
|
||
|
// 优先于show方法
|
||
|
onLaunch: function() {
|
||
|
|
||
|
},
|
||
|
onShow: function() {
|
||
|
if(uni.getStorageSync('token')){
|
||
|
|
||
|
}
|
||
|
},
|
||
|
onHide: function() {
|
||
|
|
||
|
}
|
||
|
};
|
||
|
</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: #f4f4f4;}
|
||
|
.textc{
|
||
|
color: #dd062f;
|
||
|
}
|
||
|
.backc{
|
||
|
background-color: #dd062f;
|
||
|
}
|
||
|
</style>
|