feat: 新增首页、设备、数据、我的页面及底部 tabBar 导航

扩展应用结构,接入底部导航;完善个人信息页提交文案与校验代码风格。

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
17792275749
2026-08-17 13:46:52 +08:00
co-authored by Claude Sonnet 4.6
parent 83d909b95b
commit b264205cf4
36 changed files with 1039 additions and 37 deletions
@@ -0,0 +1,4 @@
{
"component": true,
"usingComponents": {}
}
@@ -0,0 +1,18 @@
.empty {
display: flex;
flex-direction: column;
align-items: center;
padding-top: 80rpx;
.empty-icon {
width: 193rpx;
height: 138rpx;
margin-bottom: 30rpx;
}
.empty-text {
color: #808080;
font-size: 28rpx;
line-height: 28rpx;
}
}
@@ -0,0 +1,21 @@
// emptyData.ts
Component({
properties: {
text: {
type: String,
value: '暂无数据'
},
iconSrc: {
type: String,
value: '/images/emptyData.png'
},
containerStyle: {
type: String,
value: ''
},
textStyle: {
type: String,
value: ''
}
}
})
@@ -0,0 +1,6 @@
<view class="empty" style="{{containerStyle}}">
<view class="empty-icon">
<image src="{{iconSrc}}" mode="aspectFit" />
</view>
<view class="empty-text" style="{{textStyle}}">{{text}}</view>
</view>