时味苏州
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.

60 lines
1.2 KiB

3 years ago
<script>
export default {
onLaunch: function() {
console.warn('当前组件仅支持 uni_modules 目录结构 ,请升级 HBuilderX 到 3.1.0 版本以上!')
console.log('App Launch')
2 months ago
2 months ago
// 1审核 默认进审核
1 week ago
// #ifdef MP-WEIXIN
2 months ago
uni.setStorageSync('SHFlag', false)
2 months ago
this.Post({id:2388},'/api/multimedia/detail').then(res => {
2 months ago
if (res && res.data) {
1 month ago
// let SHFlag = res.data.company_name == 1 ? true : false
let SHFlag = res.data.ext_link == 1 ? true : false
2 months ago
uni.setStorageSync('SHFlag', SHFlag)
2 months ago
return
} else {
2 months ago
uni.setStorageSync('SHFlag', false)
2 months ago
}
2 months ago
});
1 week ago
// #endif
3 years ago
},
onShow: function() {
console.log('App Show')
},
onHide: function() {
console.log('App Hide')
}
}
</script>
<style lang="scss">
/*每个页面公共css */
@import '@/uni_modules/uni-scss/index.scss';
@import "@/static/css/base.css";
/* #ifndef APP-NVUE */
// 设置整个项目的背景色
page {
background-color: #f5f5f5;
}
/* #endif */
6 days ago
/* #ifdef H5 */
.uni-body{
line-height: normal;
}
body{
line-height: normal !important;
}
/* #endif */
3 years ago
.example-info {
font-size: 14px;
color: #333;
padding: 10px;
}
</style>