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 57f40c71
authored
Sep 25, 2023
by
匡雅琴
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
文件位置调整
1 parent
f9908fe0
Show whitespace changes
Inline
Side-by-side
Showing
21 changed files
with
181 additions
and
10 deletions
packageIndex/components/MainTitle/MainTitle.js → components/MainTitle/MainTitle.js
packageIndex/components/MainTitle/MainTitle.json → components/MainTitle/MainTitle.json
packageIndex/components/MainTitle/MainTitle.wxml → components/MainTitle/MainTitle.wxml
packageIndex/components/MainTitle/MainTitle.wxss → components/MainTitle/MainTitle.wxss
packageIndex/components/MoneySavingTips/MoneySavingTips.js → components/MoneySavingTips/MoneySavingTips.js
packageIndex/components/MoneySavingTips/MoneySavingTips.json → components/MoneySavingTips/MoneySavingTips.json
packageIndex/components/MoneySavingTips/MoneySavingTips.wxml → components/MoneySavingTips/MoneySavingTips.wxml
packageIndex/components/MoneySavingTips/MoneySavingTips.wxss → components/MoneySavingTips/MoneySavingTips.wxss
packageIndex/pages/carLife/index.json
packageIndex/pages/homeLife/index.json
packageIndex/pages/homeLife/index.scss
pages/tab/equity/components/MenuBox/MenuBox.js
pages/tab/equity/components/MenuBox/MenuBox.json
pages/tab/equity/components/MenuBox/MenuBox.wxml
pages/tab/equity/components/MenuBox/MenuBox.wxss
pages/tab/equity/constant/constant.js
pages/tab/equity/index.js
pages/tab/equity/index.json
pages/tab/equity/index.scss
pages/tab/equity/index.wxml
pages/tab/index/index.json
packageIndex/
components/MainTitle/MainTitle.js
→
components/MainTitle/MainTitle.js
View file @
57f40c7
File moved
packageIndex/
components/MainTitle/MainTitle.json
→
components/MainTitle/MainTitle.json
View file @
57f40c7
File moved
packageIndex/
components/MainTitle/MainTitle.wxml
→
components/MainTitle/MainTitle.wxml
View file @
57f40c7
File moved
packageIndex/
components/MainTitle/MainTitle.wxss
→
components/MainTitle/MainTitle.wxss
View file @
57f40c7
File moved
packageIndex/
components/MoneySavingTips/MoneySavingTips.js
→
components/MoneySavingTips/MoneySavingTips.js
View file @
57f40c7
File moved
packageIndex/
components/MoneySavingTips/MoneySavingTips.json
→
components/MoneySavingTips/MoneySavingTips.json
View file @
57f40c7
File moved
packageIndex/
components/MoneySavingTips/MoneySavingTips.wxml
→
components/MoneySavingTips/MoneySavingTips.wxml
View file @
57f40c7
File moved
packageIndex/
components/MoneySavingTips/MoneySavingTips.wxss
→
components/MoneySavingTips/MoneySavingTips.wxss
View file @
57f40c7
File moved
packageIndex/pages/carLife/index.json
View file @
57f40c7
{
{
"usingComponents"
:
{
"usingComponents"
:
{
"main-title"
:
"../../components/MainTitle/MainTitle"
,
"main-title"
:
"../../
../
components/MainTitle/MainTitle"
,
"menu-box"
:
"../../components/MenuBox/MenuBox"
,
"menu-box"
:
"../../components/MenuBox/MenuBox"
,
"goods-swiper"
:
"../../components/GoodsSwiper/GoodsSwiper"
"goods-swiper"
:
"../../components/GoodsSwiper/GoodsSwiper"
},
},
...
...
packageIndex/pages/homeLife/index.json
View file @
57f40c7
{
{
"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"
"money-saving-tips"
:
"../../
../
components/MoneySavingTips/MoneySavingTips"
},
},
"navigationBarTitleText"
:
"家生活"
"navigationBarTitleText"
:
"家生活"
}
}
\ No newline at end of file
\ No newline at end of file
packageIndex/pages/homeLife/index.scss
View file @
57f40c7
...
@@ -9,5 +9,4 @@
...
@@ -9,5 +9,4 @@
.title-box
{
.title-box
{
margin
:
30rpx
0
20rpx
0
;
margin
:
30rpx
0
20rpx
0
;
}
}
}
\ No newline at end of file
\ No newline at end of file
}
pages/tab/equity/components/MenuBox/MenuBox.js
0 → 100644
View file @
57f40c7
Component
({
data
:
{},
properties
:
{
menuList
:
{
type
:
Array
,
value
:
[]
}
},
methods
:
{}
})
\ No newline at end of file
\ No newline at end of file
pages/tab/equity/components/MenuBox/MenuBox.json
0 → 100644
View file @
57f40c7
{
"component"
:
true
}
\ No newline at end of file
\ No newline at end of file
pages/tab/equity/components/MenuBox/MenuBox.wxml
0 → 100644
View file @
57f40c7
<view class="menu-box">
<view class="menu-item-box" wx:for="{{menuList}}" wx:key="index">
<view class="menu-item">
<glsx-image webp src="home/menu_icon/{{item.iconUrl}}" class="menu-item-icon"></glsx-image>
<view class="menu-item-text">
{{item.name}}
</view>
</view>
</view>
</view>
\ No newline at end of file
\ No newline at end of file
pages/tab/equity/components/MenuBox/MenuBox.wxss
0 → 100644
View file @
57f40c7
.menu-box {
background: #ffffff;
border-radius: 8rpx;
display: flex;
flex-wrap: wrap;
/* justify-content: space-around; */
padding: 30rpx 16rpx;
}
.menu-item-box {
width: 128rpx;
height: 116rpx;
text-align: center;
margin-right: 4rpx;
}
.menu-item-box:nth-child(4n) {
margin-right: 0;
}
.menu-item-icon {
width: 72rpx;
height: 72rpx;
}
.menu-item-text {
font-weight: 400;
font-size: 24rpx;
color: #282829;
text-align: center;
margin-top: 12rpx;
}
\ No newline at end of file
\ No newline at end of file
pages/tab/equity/constant/constant.js
0 → 100644
View file @
57f40c7
const
foodMenuList
=
[
{
iconUrl
:
'movie.png'
,
name
:
'星巴克'
},
{
iconUrl
:
'movie.png'
,
name
:
'瑞幸咖啡'
},
{
iconUrl
:
'movie.png'
,
name
:
'奈雪的茶'
},
{
iconUrl
:
'movie.png'
,
name
:
'麦当劳'
},
{
iconUrl
:
'movie.png'
,
name
:
'必胜客'
}
]
const
funMenuList
=
[
{
iconUrl
:
'movie.png'
,
name
:
'猫眼电影'
},
{
iconUrl
:
'movie.png'
,
name
:
'酷狗音乐'
},
{
iconUrl
:
'movie.png'
,
name
:
'爱奇艺'
},
{
iconUrl
:
'movie.png'
,
name
:
'哔哩哔哩'
},
{
iconUrl
:
'movie.png'
,
name
:
'Keep'
}
]
const
carMenuList
=
[
{
iconUrl
:
'movie.png'
,
name
:
'滴滴出行'
},
{
iconUrl
:
'movie.png'
,
name
:
'高德打车'
},
{
iconUrl
:
'movie.png'
,
name
:
'美团骑车'
},
{
iconUrl
:
'movie.png'
,
name
:
'青桔单车'
},
{
iconUrl
:
'movie.png'
,
name
:
'哈罗单车'
}
]
export
{
foodMenuList
,
funMenuList
,
carMenuList
}
\ No newline at end of file
\ No newline at end of file
pages/tab/equity/index.js
View file @
57f40c7
import
{
foodMenuList
,
funMenuList
,
carMenuList
}
from
'./constant/constant'
Page
({
Page
({
data
:
{
foodMenuList
,
funMenuList
,
carMenuList
},
properties
:
{},
properties
:
{},
...
...
pages/tab/equity/index.json
View file @
57f40c7
...
@@ -3,6 +3,7 @@
...
@@ -3,6 +3,7 @@
"enablePullDownRefresh"
:
true
,
"enablePullDownRefresh"
:
true
,
"onReachBottomDistance"
:
10
,
"onReachBottomDistance"
:
10
,
"usingComponents"
:
{
"usingComponents"
:
{
"main-title"
:
"../../../components/MainTitle/MainTitle"
,
"menu-box"
:
"./components/MenuBox/MenuBox"
}
}
}
}
\ No newline at end of file
\ No newline at end of file
pages/tab/equity/index.scss
View file @
57f40c7
.navigation-bar
{
position
:
fixed
;
top
:
0
;
left
:
0
;
z-index
:
2
;
background
:
#ffffff
;
}
.save-money-box
{
padding-top
:
104px
;
padding
:
30rpx
;
background
:
#f8f8f8
;
.save-money-img
{
width
:
690rpx
;
height
:
268rpx
;
}
.title-box
{
margin
:
30rpx
0
20rpx
0
;
}
}
pages/tab/equity/index.wxml
View file @
57f40c7
<view class=""></view>
\ No newline at end of file
\ No newline at end of file
<view class="navigation-bar">
<navigation-bar bindnavbarReady="navbarReady" page-title="省钱专区">省钱专区</navigation-bar>
</view>
<view class="save-money-box">
<glsx-image webp src="home/homelife_bg.png" class="save-money-img"></glsx-image>
<view class="title-box">
<main-title title="吃喝省"></main-title>
</view>
<menu-box menuList="{{foodMenuList}}"></menu-box>
<view class="title-box">
<main-title title="娱乐省"></main-title>
</view>
<menu-box menuList="{{funMenuList}}"></menu-box>
<view class="title-box">
<main-title title="用车省"></main-title>
</view>
<menu-box menuList="{{carMenuList}}"></menu-box>
</view>
\ No newline at end of file
\ No newline at end of file
pages/tab/index/index.json
View file @
57f40c7
{
{
"usingComponents"
:
{
"usingComponents"
:
{
"money-saving-tips"
:
"../../../
packageIndex/
components/MoneySavingTips/MoneySavingTips"
"money-saving-tips"
:
"../../../components/MoneySavingTips/MoneySavingTips"
},
},
"navigationStyle"
:
"custom"
,
"navigationStyle"
:
"custom"
,
"onReachBottomDistance"
:
10
,
"onReachBottomDistance"
:
10
,
...
...
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