Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
mini-program
/
zhwy
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit f9908fe0
authored
Sep 25, 2023
by
匡雅琴
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
家生活页面
1 parent
8f622f43
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
4 deletions
app.json
packageIndex/pages/homeLife/index.json
packageIndex/pages/homeLife/index.wxml
app.json
View file @
f9908fe
...
@@ -59,7 +59,8 @@
...
@@ -59,7 +59,8 @@
{
{
"root"
:
"packageIndex"
,
"root"
:
"packageIndex"
,
"pages"
:
[
"pages"
:
[
"pages/carLife/index"
"pages/carLife/index"
,
"pages/homeLife/index"
]
]
},
},
{
{
...
...
packageIndex/pages/homeLife/index.json
View file @
f9908fe
{
{
"usingComponents"
:
{
"usingComponents"
:
{
"main-title"
:
"../../components/MainTitle/MainTitle"
,
"main-title"
:
"../../components/MainTitle/MainTitle"
,
"menu-box"
:
"../../components/MenuBox/MenuBox"
"menu-box"
:
"../../components/MenuBox/MenuBox"
,
"money-saving-tips"
:
"../../components/MoneySavingTips/MoneySavingTips"
},
},
"navigationBarTitleText"
:
"家生活"
"navigationBarTitleText"
:
"家生活"
}
}
\ No newline at end of file
\ No newline at end of file
packageIndex/pages/homeLife/index.wxml
View file @
f9908fe
<view class="homelife-box">
<view class="homelife-box">
<glsx-image webp src="home/homelife_bg.png" class="homelife-img"></glsx-image>
<glsx-image webp src="home/homelife_bg.png" class="homelife-img"></glsx-image>
<main-title title="娱乐推荐"></main-title>
<view class="title-box">
<main-title title="娱乐推荐"></main-title>
</view>
<menu-box menuList="{{recreationMenu}}"></menu-box>
<menu-box menuList="{{recreationMenu}}"></menu-box>
<main-title title="美食推荐"></main-title>
<view class="title-box">
<main-title title="美食推荐"></main-title>
</view>
<menu-box menuList="{{foodMenu}}"></menu-box>
<menu-box menuList="{{foodMenu}}"></menu-box>
</view>
</view>
<money-saving-tips></money-saving-tips>
\ No newline at end of file
\ No newline at end of file
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment