cultivationApp/App.vue

83 lines
1.3 KiB
Vue
Raw Normal View History

2023-10-17 11:00:41 +08:00
<script>
export default {
onLaunch: function() {
2024-01-31 11:16:49 +08:00
uni.hideTabBar()
2023-11-30 17:51:39 +08:00
2023-10-17 11:00:41 +08:00
},
onShow: function() {
console.log('App Show')
2023-11-30 17:51:39 +08:00
2023-10-17 11:00:41 +08:00
},
onHide: function() {
console.log('App Hide')
}
}
2023-10-30 19:09:40 +08:00
// ngrok http 5173
2023-10-17 11:00:41 +08:00
</script>
2023-10-17 16:02:55 +08:00
<style lang="scss">
@import "uview-plus/index.scss";
2024-01-31 11:16:49 +08:00
page{
background-color: $theme-bg-color;
}
2023-12-13 15:57:20 +08:00
2023-10-20 18:45:15 +08:00
.card {
position: relative;
2023-11-30 17:51:39 +08:00
2023-10-20 18:45:15 +08:00
background-color: #fff;
box-sizing: border-box;
padding: 20rpx 20rpx;
2023-10-20 18:45:15 +08:00
border-radius: 21.03rpx 21.03rpx 21.03rpx 21.03rpx;
margin: 0 auto;
2023-10-20 18:45:15 +08:00
margin-bottom: 40rpx;
font-size: 29.79rpx;
2023-12-14 11:27:14 +08:00
box-shadow: 1rpx 1rpx 10rpx 1rpx rgba(0, 0, 0, 0.1);
2023-10-20 18:45:15 +08:00
.card-li {
2023-11-30 17:51:39 +08:00
2023-10-20 18:45:15 +08:00
margin-bottom: 17rpx;
}
}
2023-11-21 18:54:33 +08:00
// .content {
// padding: 20rpx 28.5rpx;
// background-color: #F4F4F4;
// min-height: 100vh;
// }
2023-10-23 09:00:12 +08:00
2023-10-23 17:57:19 +08:00
.more-jt {
display: flex;
align-items: center;
}
2023-11-30 17:51:39 +08:00
.u-action-sheet__item-wrap {
overflow: auto;
max-height: 30vh !important;
}
2023-10-23 17:57:19 +08:00
2023-12-13 15:57:20 +08:00
view {
box-sizing: border-box;
}
2023-12-13 18:55:18 +08:00
.te {
2023-12-14 11:27:14 +08:00
width: 30vw;
2023-12-13 18:55:18 +08:00
/* 容器宽度 */
white-space: nowrap;
/* 文字不换行 */
overflow: hidden;
/* 超出部分隐藏 */
text-overflow: ellipsis;
/* 超出部分显示省略号 */
}
2023-12-13 15:57:20 +08:00
// .uni-tabbar .uni-tabbar__icon {
// width: 80rpx !important;
// height: 80rpx !important;
// }
2023-10-17 11:00:41 +08:00
/*每个页面公共css */
2023-10-17 16:02:55 +08:00
</style>