odf_new/odf-uniapp/App.vue
zpc 7e260a1d57 feat(odf-uniapp): Refactor global background styling to use centralized page background
- Replace individual page background images with global page background in App.vue
- Update pages.json global styles to use transparent colors for navigation and backgrounds
- Remove redundant bg-image elements and styles from all page components
- Set global page background with login_bg.png image, cover sizing, and fixed attachment
- Simplify individual page styling by removing duplicate background color declarations
- Consolidate background management to single source of truth in App.vue for consistent theming
2026-04-04 00:20:24 +08:00

25 lines
431 B
Vue

<script>
export default {
onLaunch: function() {
console.log('App Launch')
},
onShow: function() {
console.log('App Show')
},
onHide: function() {
console.log('App Hide')
}
}
</script>
<style>
/*每个页面公共css */
page {
background-image: url('/static/images/login_bg.png');
background-size: cover;
background-position: center;
background-attachment: fixed;
min-height: 100vh;
}
</style>