代码拉取完成,页面将自动刷新
<!-- <script src="https://cdn.bootcdn.net/ajax/libs/fastclick/1.0.6/fastclick.js"></script> -->
<script src="https://cdn.bootcdn.net/ajax/libs/fastclick/1.0.6/fastclick.min.js"></script>
<script>
import global from './api/global.js'
import update from '@/tool/update'
export default {
onLaunch: async function(options) {
this.$api.getJobConfig().then(res => {
if (res.code == 1) {
uni.setStorageSync('config', res.data)
}
})
// #ifdef APP-PLUS
update.checkUpdate()
// #endif
},
onShow: function() {},
onHide: function() {}
};
</script>
<style lang="scss">
@import 'static/colorui/main.css';
@import 'static/colorui/icon.css';
@import 'static/font/shopro-icon.css';
/*每个页面公共css */
@import './static/css/common.scss';
@import './static/css/hao.scss';
@import './static/fonts/iconfonts.css';
// 其他scss集成在uni.scss,(变量,class,minix)
page {
-webkit-overflow-scrolling: touch; //ios滑动不流畅
// height: 100%;
background: #f6f6f6;
width: 100%;
font-size: 30upx;
// font-family: NotoSansHans-Bold;
font-family: PingFang SC;
color: #333;
overflow-x: hidden;
}
// uni-tabbar /deep/ .uni-tabbar {
// border-top-left-radius: 25px !important;
// border-top-right-radius: 25px !important;
// background-color: #FFFFFF !important;
// }
// /deep/ uni-tabbar .uni-tabbar__icon.uni-tabbar__icon__diff {
// width: 20px;
// height: 20px;
// }
::-webkit-scrollbar {
width: 0;
height: 0;
color: transparent;
display: none;
}
.topPlace {
width: 100%;
height: var(--status-bar-height);
background: $zhuse;
}
uni-radio .uni-radio-input-checked {
background-color: #1774ED !important;
border-color: #1774ED !important;
}
</style>
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。