You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
573 B
26 lines
573 B
<script>
|
|
export default {
|
|
onLaunch: function() {
|
|
console.log('App Launch')
|
|
this.Post({type: "SHFlag"},'/api/public_service/getKumgangHeadImgList').then(res => {
|
|
// let SHFlag = res.data[0].image === "1" ? true : false
|
|
try {
|
|
let SHFlag = res.data[0].title == 1 ? true : false
|
|
uni.setStorageSync('SHFlag', SHFlag)
|
|
} catch(e) {}
|
|
});
|
|
|
|
},
|
|
onShow: function() {
|
|
console.log('App Show')
|
|
},
|
|
onHide: function() {
|
|
console.log('App Hide')
|
|
}
|
|
}
|
|
</script>
|
|
|
|
<style>
|
|
/*每个页面公共css */
|
|
@import "@/static/css/base.css";
|
|
</style>
|
|
|