[AI Generated]: feat(*): 项目升级为 miniprogram/ 标准布局并新增登录及配网页面骨架

This commit is contained in:
17792275749
2026-05-11 14:19:30 +08:00
parent 497b6d9a56
commit f7e7f7c561
201 changed files with 24115 additions and 6139 deletions
@@ -0,0 +1,4 @@
Page({
data: {},
onLoad() {}
})
@@ -0,0 +1,3 @@
{
"usingComponents": {}
}
@@ -0,0 +1 @@
<view class="page">connectedDevice 占位</view>
@@ -0,0 +1,4 @@
Page({
data: {},
onLoad() {}
})
@@ -0,0 +1,3 @@
{
"usingComponents": {}
}
@@ -0,0 +1 @@
<view class="page">connectedWifi 占位</view>
+3
View File
@@ -0,0 +1,3 @@
{
"usingComponents": {}
}
+5
View File
@@ -0,0 +1,5 @@
Page({
data: {},
onLoad() {},
})
+3
View File
@@ -0,0 +1,3 @@
<view class="container">
<text>数据</text>
</view>
+6
View File
@@ -0,0 +1,6 @@
.container {
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
}
@@ -0,0 +1,3 @@
{
"usingComponents": {}
}
+5
View File
@@ -0,0 +1,5 @@
Page({
data: {},
onLoad() {},
})
@@ -0,0 +1,3 @@
<view class="container">
<text>设备</text>
</view>
@@ -0,0 +1,6 @@
.container {
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
}
+3
View File
@@ -0,0 +1,3 @@
{
"usingComponents": {}
}
+5
View File
@@ -0,0 +1,5 @@
Page({
data: {},
onLoad() {},
})
+3
View File
@@ -0,0 +1,3 @@
<view class="container">
<text>首页</text>
</view>
+6
View File
@@ -0,0 +1,6 @@
.container {
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
}
+12
View File
@@ -0,0 +1,12 @@
Page({
data: {
loading: false,
},
/* 微信一键登录 */
onLogin() {
wx.navigateTo({
url: '/pages/connectedDevice/connectedDevice'
})
}
})
+4
View File
@@ -0,0 +1,4 @@
{
"navigationStyle": "custom",
"usingComponents": {}
}
+56
View File
@@ -0,0 +1,56 @@
.bg {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
width: 100%;
height: 100%;
z-index: 1;
}
.login {
position: relative;
z-index: 2;
width: 100%;
height: 100vh;
box-sizing: border-box;
padding: 300rpx 85rpx 88rpx;
display: flex;
flex-direction: column;
.title {
color: #FFFFFF;
width: 100%;
height: 80rpx;
font-size: 80rpx;
text-align: center;
font-weight: bold;
line-height: 80rpx;
margin-bottom: 48rpx;
}
.subTitle {
color: #FFFFFF;
width: 100%;
height: 40rpx;
font-size: 40rpx;
line-height: 40rpx;
font-weight: 500;
text-align: center;
}
.loginBtn {
color: #FFFFFF;
width: 100%;
height: 88rpx;
line-height: 88rpx;
font-size: 32rpx;
font-weight: bold;
text-align: center;
background: #252535;
border-radius: 44rpx;
border: 2rpx solid #FFFFFF;
margin-top: auto;
}
}
+9
View File
@@ -0,0 +1,9 @@
<view class="bg">
<image src="/images/login/bg.jpg" />
</view>
<view class="login">
<view class="title">智能体重秤</view>
<view class="subTitle">设备智联 · 掌握健康</view>
<view class="loginBtn" bind:tap="onLogin">微信一键登录</view>
</view>
+3
View File
@@ -0,0 +1,3 @@
{
"usingComponents": {}
}
+5
View File
@@ -0,0 +1,5 @@
Page({
data: {},
onLoad() {},
})
+3
View File
@@ -0,0 +1,3 @@
<view class="container">
<text>我的</text>
</view>
+6
View File
@@ -0,0 +1,6 @@
.container {
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
}
@@ -0,0 +1,4 @@
Page({
data: {},
onLoad() {}
})
@@ -0,0 +1,3 @@
{
"usingComponents": {}
}
@@ -0,0 +1 @@
<view class="page">searchDevice 占位</view>
@@ -0,0 +1,4 @@
Page({
data: {},
onLoad() {}
})
@@ -0,0 +1,3 @@
{
"usingComponents": {}
}
@@ -0,0 +1 @@
<view class="page">supplementPersonal 占位</view>