init
This commit is contained in:
6
app/src/pages/home/index.js
Normal file
6
app/src/pages/home/index.js
Normal file
@@ -0,0 +1,6 @@
|
||||
Page({
|
||||
data: {
|
||||
title: "K12Study 小程序骨架",
|
||||
description: "这里先放首页占位,后续可扩展为家长端或学生端入口。"
|
||||
}
|
||||
});
|
||||
3
app/src/pages/home/index.json
Normal file
3
app/src/pages/home/index.json
Normal file
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"navigationBarTitleText": "首页"
|
||||
}
|
||||
6
app/src/pages/home/index.wxml
Normal file
6
app/src/pages/home/index.wxml
Normal file
@@ -0,0 +1,6 @@
|
||||
<view class="page">
|
||||
<view class="card">
|
||||
<view>{{title}}</view>
|
||||
<view style="margin-top: 16rpx; color: #64748b;">{{description}}</view>
|
||||
</view>
|
||||
</view>
|
||||
3
app/src/pages/home/index.wxss
Normal file
3
app/src/pages/home/index.wxss
Normal file
@@ -0,0 +1,3 @@
|
||||
view {
|
||||
line-height: 1.6;
|
||||
}
|
||||
6
app/src/pages/profile/index.js
Normal file
6
app/src/pages/profile/index.js
Normal file
@@ -0,0 +1,6 @@
|
||||
Page({
|
||||
data: {
|
||||
title: "我的",
|
||||
description: "这里预留账号中心、学校切换、消息入口等能力。"
|
||||
}
|
||||
});
|
||||
3
app/src/pages/profile/index.json
Normal file
3
app/src/pages/profile/index.json
Normal file
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"navigationBarTitleText": "我的"
|
||||
}
|
||||
6
app/src/pages/profile/index.wxml
Normal file
6
app/src/pages/profile/index.wxml
Normal file
@@ -0,0 +1,6 @@
|
||||
<view class="page">
|
||||
<view class="card">
|
||||
<view>{{title}}</view>
|
||||
<view style="margin-top: 16rpx; color: #64748b;">{{description}}</view>
|
||||
</view>
|
||||
</view>
|
||||
3
app/src/pages/profile/index.wxss
Normal file
3
app/src/pages/profile/index.wxss
Normal file
@@ -0,0 +1,3 @@
|
||||
view {
|
||||
line-height: 1.6;
|
||||
}
|
||||
Reference in New Issue
Block a user