2023-09-08 15:17:21 +08:00
|
|
|
<script>
|
2025-11-27 15:04:25 +08:00
|
|
|
import {
|
|
|
|
|
mapState
|
|
|
|
|
} from "vuex";
|
2023-09-08 15:17:21 +08:00
|
|
|
export default {
|
2025-04-03 16:29:29 +08:00
|
|
|
onTabItemClick(itemPath) {
|
|
|
|
|
// 例如,你可以在这里添加一个确认对话框
|
|
|
|
|
console.log("itemPath", itemPath)
|
|
|
|
|
},
|
2025-11-27 15:04:25 +08:00
|
|
|
computed: {
|
|
|
|
|
...mapState(["bleValue"]),
|
|
|
|
|
},
|
2023-09-08 15:17:21 +08:00
|
|
|
onLaunch: function() {
|
|
|
|
|
console.log('App Launch')
|
|
|
|
|
},
|
|
|
|
|
onShow: function() {
|
|
|
|
|
console.log('App Show')
|
|
|
|
|
},
|
|
|
|
|
onHide: function() {
|
|
|
|
|
console.log('App Hide')
|
2025-03-25 10:17:30 +08:00
|
|
|
},
|
2025-12-29 13:43:19 +08:00
|
|
|
methods: {}
|
2023-09-08 15:17:21 +08:00
|
|
|
}
|
|
|
|
|
</script>
|
|
|
|
|
|
2025-11-08 16:50:26 +08:00
|
|
|
<style lang="scss">
|
|
|
|
|
/* #ifndef APP-NVUE */
|
|
|
|
|
@import "/assets/common.scss";
|
|
|
|
|
@import "/assets/iconfont.css";
|
|
|
|
|
@import "/assets/iconfont-weapp-icon.css";
|
|
|
|
|
|
|
|
|
|
/* #endif*/
|
2023-09-08 15:17:21 +08:00
|
|
|
/*每个页面公共css */
|
|
|
|
|
.content {
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
align-items: center;
|
|
|
|
|
/* justify-content: center; */
|
2025-11-25 14:21:22 +08:00
|
|
|
background-color: #f7f7f7;
|
2023-09-08 15:17:21 +08:00
|
|
|
min-height: 100vh;
|
|
|
|
|
}
|
2025-04-02 09:49:39 +08:00
|
|
|
</style>
|