-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
肖乐
committed
Mar 19, 2020
1 parent
46077cb
commit 3cf023e
Showing
26 changed files
with
419 additions
and
25 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
{ | ||
"pages": ["pages/index"], | ||
"permission": { | ||
"scope.userLocation": { | ||
"desc": "你的位置信息将用于小程序位置接口获取城市参数" | ||
} | ||
}, | ||
"subpackages": [ | ||
{ | ||
"root": "pages/home", | ||
"name": "首页", | ||
"pages": [ | ||
"home" | ||
] | ||
} | ||
], | ||
"window": { | ||
"navigationStyle": "default", | ||
"backgroundTextStyle": "light", | ||
"navigationBarBackgroundColor": "#ffffff", | ||
"navigationBarTitleText": "weChat", | ||
"navigationBarTextStyle": "black" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,102 @@ | ||
.home-container { | ||
.header-wrapper { | ||
background-color: #42BD55; | ||
height: 100rpx; | ||
display: flex; | ||
align-items: center; | ||
padding: 0 20rpx; | ||
.search-wrapper { | ||
background-color: white; | ||
width: 100%; | ||
height: 50rpx; | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
border-radius: 10rpx; | ||
font-size: 24rpx; | ||
font-weight: 400; | ||
color: #C6C6C6; | ||
image { | ||
width: 32rpx; | ||
height: 32rpx; | ||
margin-right: 10rpx; | ||
} | ||
} | ||
} | ||
.group { | ||
height: 386rpx; | ||
margin-bottom: 10rpx; | ||
.group-header { | ||
padding: 0 35rpx; | ||
height: 90rpx; | ||
display: flex; | ||
align-items: center; | ||
justify-content: space-between; | ||
font-size: 28rpx; | ||
margin-bottom: 4rpx; | ||
.title { | ||
font-weight: bold; | ||
} | ||
.more { | ||
color: #42BD55; | ||
display: flex; | ||
align-items: center; | ||
.arrow { | ||
border: 2rpx solid #42BD55; | ||
border-left: none; | ||
border-bottom: none; | ||
width: 10rpx; | ||
height: 10rpx; | ||
transform: rotate(45deg); | ||
margin-left: 5rpx; | ||
} | ||
} | ||
} | ||
.collectionView { | ||
// display: flex; | ||
// flex-direction: row; | ||
// justify-content: flex-start; | ||
// overflow-x: auto; | ||
white-space: nowrap; | ||
.cell { | ||
margin-left: 30rpx; | ||
display: inline-block; | ||
width: 160rpx; | ||
.item-icon { | ||
width: 100%; | ||
height: 210rpx; | ||
border-radius: 6rpx; | ||
} | ||
.item-title { | ||
font-size: 24rpx; | ||
font-weight: bold; | ||
margin-top: 4rpx; | ||
overflow: hidden; | ||
white-space: nowrap; | ||
text-overflow: ellipsis; | ||
} | ||
.item-scoreWrapper { | ||
display: flex; | ||
justify-content: flex-start; | ||
align-items: center; | ||
color: #A6A6A6; | ||
font-size: 20rpx; | ||
image { | ||
width: 20rpx; | ||
height: 20rpx; | ||
} | ||
.item-score { | ||
margin-left: 4rpx; | ||
} | ||
} | ||
.item-noScore { | ||
font-size: 20rpx; | ||
color: #A6A6A6; | ||
} | ||
&.cell:last-of-type { | ||
margin-right: 30rpx; | ||
} | ||
} | ||
} | ||
} | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.