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.
|
|
|
<script>
|
|
|
|
export default {
|
|
|
|
onLaunch: function() {
|
|
|
|
console.log('App Launch')
|
|
|
|
// 假设你想隐藏索引为1的tabBar页签
|
|
|
|
// uni.setTabBarItem({
|
|
|
|
// index: 1,
|
|
|
|
// visible:false,
|
|
|
|
// success: function () {
|
|
|
|
// console.log('TabBar item hidden successfully');
|
|
|
|
// },
|
|
|
|
// fail: function (err) {
|
|
|
|
// console.error('Failed to hide TabBar item:', err);
|
|
|
|
// }
|
|
|
|
// });
|
|
|
|
uni.hideTabBar()
|
|
|
|
},
|
|
|
|
onShow: function() {
|
|
|
|
console.log('App Show')
|
|
|
|
},
|
|
|
|
onHide: function() {
|
|
|
|
console.log('App Hide')
|
|
|
|
}
|
|
|
|
}
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<style lang="scss" >
|
|
|
|
uni-toast{
|
|
|
|
z-index: 99999999999999999!important;
|
|
|
|
}
|
|
|
|
.uni-picker-container{
|
|
|
|
z-index: 99999!important;
|
|
|
|
}
|
|
|
|
/* placeholder的样式 */
|
|
|
|
.uni-input-placeholder{
|
|
|
|
color: #B4BAC9!important;
|
|
|
|
}
|
|
|
|
.uni-textarea-placeholder{
|
|
|
|
color: #B4BAC9!important;
|
|
|
|
}
|
|
|
|
//
|
|
|
|
/*每个页面公共css */
|
|
|
|
@import "./common/css/css.css";
|
|
|
|
@import "./common/css/global.scss";
|
|
|
|
/*每个页面公共css */
|
|
|
|
@import "@/uni_modules/uview-ui/index.scss";
|
|
|
|
page {
|
|
|
|
background: #F6F8FA;
|
|
|
|
}
|
|
|
|
|
|
|
|
.custom_bg {
|
|
|
|
background: linear-gradient( 135deg, #5282CC 0%, #1246B3 100%);
|
|
|
|
color: #ffffff;
|
|
|
|
}
|
|
|
|
.uni-system-preview-image{
|
|
|
|
z-index: 1000000!important;
|
|
|
|
}
|
|
|
|
</style>
|