首页调整

This commit is contained in:
吴学文 2019-11-17 12:56:01 +08:00
parent 38c2df4123
commit 686a122fd7
18 changed files with 186 additions and 14 deletions

BIN
.DS_Store vendored Normal file

Binary file not shown.

View File

@ -11,12 +11,12 @@
],
"window": {
"navigationBarTextStyle": "white",
"navigationBarBackgroundColor": "#FFC640",
"navigationBarBackgroundColor": "#00AA00",
"navigationBarTitleText": "WeChat"
},
"tabBar": {
"color": "#272636",
"selectedColor": "#FFD161",
"selectedColor": "#00AA00",
"backgroundColor": "#fff",
"borderStyle": "black",
"list": [
@ -29,8 +29,8 @@
{
"pagePath": "pages/circle/circle",
"text": "小区圈",
"iconPath": "images/book.png",
"selectedIconPath": "images/bookSelected.png"
"iconPath": "images/circle.png",
"selectedIconPath": "images/circleSelected.png"
},
{
"pagePath": "pages/my/my",

View File

@ -1,4 +1,5 @@
/**app.wxss**/
@import "style/iconfont.wxss";
.container {
height: 100%;
display: flex;

BIN
images/.DS_Store vendored Normal file

Binary file not shown.

BIN
images/circle.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.6 KiB

BIN
images/circleSelected.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.2 KiB

After

Width:  |  Height:  |  Size: 5.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 KiB

After

Width:  |  Height:  |  Size: 6.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.1 KiB

After

Width:  |  Height:  |  Size: 6.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.3 KiB

After

Width:  |  Height:  |  Size: 5.9 KiB

View File

@ -1,5 +1,5 @@
{
"navigationBarTitleText": "HC智慧小区",
"navigationBarTitleText": "HC智慧家园",
"backgroundColor": "#ffffff",
"usingComponents": {}
}

View File

@ -42,14 +42,17 @@ style="height:100%">
duration='1000'
circular='true'
>
<block wx:for="{{ad}}" wx:for-index="index">
<block wx:for="{{ad}}" wx:key="">
<swiper-item>
<image src="{{item.imageUrl}}"></image>
</swiper-item>
</block>
</swiper>
<view class="header-title">最新动态</view>
<view class="header-title">
<text class="new">最新动态</text>
<text class="iconfont icongengduo1 gd"></text>
</view>
<view class="restaurantsList">
<block wx:for="{{restaurant}}" wx:key="">
<navigator url="/pages/menu/menu">

View File

@ -1,3 +1,4 @@
@import "../../style/iconfont.wxss";
page {
background-color: #ffffff;
}
@ -114,7 +115,7 @@ page {
display: flex;
width: 100%;
height: 80rpx;
background: #FFC640;
background: #00AA00;
}
.heard-location-icon{
position: absolute;
@ -137,7 +138,7 @@ page {
margin: 10rpx;
width: 250rpx;
height: 40rpx;
background: #B38B2D;
background: #008800;
color: white;
border-radius: 20rpx;
}
@ -190,14 +191,24 @@ page {
line-height: 30rpx
}
.header-title{
text-align: center;
width: 100%;
height: 80rpx;
justify-content: space-between;
display: flex;
line-height: 80rpx;
font-size: 31rpx;
font-weight: 600;
border: 1rpx solid #ECECEC;
}
.header-title .new{
margin-left: 20rpx;
}
.header-title .gd{
margin-right: 20rpx;
color: #8a8a8a
}
.sort-list{
justify-content: space-around;
display: flex;

View File

@ -1,5 +1,4 @@
{
"navigationBarTitleText": "选择小区",
"navigationBarTextStyle": "white",
"navigationBarBackgroundColor": "#FFC640"
"navigationBarTextStyle": "white"
}

View File

@ -1,4 +1,3 @@
{
"navigationBarTitleText": "我",
"navigationBarBackgroundColor": "#ffffff"
"navigationBarTitleText": "我"
}

BIN
style/.DS_Store vendored Normal file

Binary file not shown.

159
style/iconfont.wxss Normal file
View File

@ -0,0 +1,159 @@
@font-face {
font-family: 'iconfont'; /* project id 1513691 */
src: url('//at.alicdn.com/t/font_1513691_j1bbh5xfyja.eot');
src: url('//at.alicdn.com/t/font_1513691_j1bbh5xfyja.eot?#iefix') format('embedded-opentype'),
url('//at.alicdn.com/t/font_1513691_j1bbh5xfyja.woff2') format('woff2'),
url('//at.alicdn.com/t/font_1513691_j1bbh5xfyja.woff') format('woff'),
url('//at.alicdn.com/t/font_1513691_j1bbh5xfyja.ttf') format('truetype'),
url('//at.alicdn.com/t/font_1513691_j1bbh5xfyja.svg#iconfont') format('svg');
}
.iconfont {
font-family: "iconfont" !important;
font-size: 16px;
font-style: normal;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.icongengduo:before {
content: "\e64c";
}
.iconbianji:before {
content: "\eabd";
}
.iconzhaoshangxiaochengxu-shimingrenzheng:before {
content: "\e634";
}
.icongengduo1:before {
content: "\e86d";
}
.iconpengyouquan:before {
content: "\e8b4";
}
.iconadd:before {
content: "\e6ec";
}
.iconcategory:before {
content: "\e6eb";
}
.iconall:before {
content: "\e6ef";
}
.iconclose:before {
content: "\e6f0";
}
.iconbad:before {
content: "\e6f1";
}
.iconfalling:before {
content: "\e6f8";
}
.icongood:before {
content: "\e6f9";
}
.iconaccount:before {
content: "\e6fa";
}
.iconeditor:before {
content: "\e6f6";
}
.iconemail:before {
content: "\e6fb";
}
.iconfavorites:before {
content: "\e6fe";
}
.iconloading:before {
content: "\e6fc";
}
.iconreduce:before {
content: "\e700";
}
.iconremind:before {
content: "\e701";
}
.iconQRcode:before {
content: "\e704";
}
.iconscanning:before {
content: "\e705";
}
.iconsuccess:before {
content: "\e709";
}
.iconsearch:before {
content: "\e70a";
}
.iconaccount1:before {
content: "\e716";
}
.iconadd-fill:before {
content: "\e717";
}
.iconbad-fill:before {
content: "\e719";
}
.iconfavorites-fill:before {
content: "\e721";
}
.icongood-fill:before {
content: "\e723";
}
.iconreduce-fill:before {
content: "\e730";
}
.iconcollection:before {
content: "\e797";
}
.iconcollection-fill1:before {
content: "\e798";
}
.iconconsumption-fill:before {
content: "\e799";
}
.iconconsumption:before {
content: "\e79a";
}
.iconwode:before {
content: "\e6b4";
}
.iconshouye1:before {
content: "\e6b3";
}