css样式中 /*
page{
padding-top:24rpx;
padding-top:34rpx;
}
.vue页面中 <!–
<template>
<view>NFC扫码</view>
</template>
js中 //
//
if(this.$u.comFun.platform() == 'official'){
console.log('公众号')
this.checkWeChatCode();
}
//
pages.json 中 //
"globalStyle": {
//
"navigationStyle":"custom",
//
"navigationBarTextStyle": "black",
"navigationBarTitleText": ""
},
page.json页面中 json文件中 API 的条件编译 生命周期中 methods方法中 //
//page.json页面中
//json文件中
//API 的条件编译
//生命周期中
//methods方法中
mounted(){
//
//APP更新
this.checkUpdate();
//
}