文件
shanghaipeiwan/pwuniapp/App.vue

44 行
952 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 lang="scss">
/* 全局暗黑电竞基础重置 */
page {
background-color: #0A0F1D;
color: #F8FAFC;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'PingFang SC', sans-serif;
box-sizing: border-box;
-webkit-font-smoothing: antialiased;
}
view, text, image, input, button {
box-sizing: border-box;
}
/* 触控反馈标准类 (满足 UI/UX Pro Max 规范) */
.btn-active:active, .card-active:active {
transform: scale(0.98);
opacity: 0.9;
transition: transform 100ms ease-out, opacity 100ms ease-out;
}
/* 隐藏移动端滚动条 */
::-webkit-scrollbar {
display: none;
width: 0;
height: 0;
color: transparent;
}
</style>