首页添加搜索框 物业管理等
This commit is contained in:
parent
29b21d9e53
commit
3f35b67705
@ -1,4 +1,6 @@
|
|||||||
export const apiArr = {
|
export const apiArr = {
|
||||||
|
isShowSearch: '/api/v1/wechat/home-page/search-enable/info', // 获取搜索框是否显示
|
||||||
|
hotWord: '/api/v1/wechat/home-page/search-hot-word/info', // 获取搜索框热词
|
||||||
list: '/api/v1/wechat/community/list', // 获取社区列表
|
list: '/api/v1/wechat/community/list', // 获取社区列表
|
||||||
info: '/api/v1/wechat/community/info', // 获取单个社区信息
|
info: '/api/v1/wechat/community/info', // 获取单个社区信息
|
||||||
isJoin: '/api/v1/wechat/community/is-join', // 用户是否加入社区、楼宇、房间
|
isJoin: '/api/v1/wechat/community/is-join', // 用户是否加入社区、楼宇、房间
|
||||||
|
|||||||
@ -1,13 +1,44 @@
|
|||||||
|
|
||||||
.container {
|
.container {
|
||||||
background-color: #f9f9f9;
|
background-color: #f9f9f9;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.hot-word-container {
|
||||||
|
height: 40px;
|
||||||
|
overflow: hidden;
|
||||||
|
position: relative;
|
||||||
|
flex: 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hot-word-scroll {
|
||||||
|
transition: transform 0.5s ease;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hot-word-item {
|
||||||
|
height: 40px;
|
||||||
|
line-height: 40px;
|
||||||
|
padding: 0 10px;
|
||||||
|
color: #666;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hot-word-item:active {
|
||||||
|
background-color: #f5f5f5;
|
||||||
|
}
|
||||||
|
|
||||||
|
.searchBox2 {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
|
||||||
.white_container {
|
.white_container {
|
||||||
background: #FFFFFF;
|
background: #FFFFFF;
|
||||||
padding: 0 20rpx;
|
padding: 0 20rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
page {
|
page {
|
||||||
background-color: #FFFFFF;
|
background-color: #FFFFFF;
|
||||||
}
|
}
|
||||||
|
|
||||||
.grid_Pic {
|
.grid_Pic {
|
||||||
width: 61.5rpx;
|
width: 61.5rpx;
|
||||||
height: 63.14rpx;
|
height: 63.14rpx;
|
||||||
@ -35,16 +66,81 @@ page {
|
|||||||
margin-right: 10rpx;
|
margin-right: 10rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.search2 {
|
||||||
|
padding: 20rpx 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.function-nav {
|
||||||
|
display: flex;
|
||||||
|
justify-content: space-around;
|
||||||
|
padding: 20rpx 0;
|
||||||
|
margin: 20rpx -20rpx 0 -20rpx;
|
||||||
|
|
||||||
|
background-color: #f7f6fb;
|
||||||
|
}
|
||||||
|
|
||||||
|
.function-item {
|
||||||
|
width: 200rpx;
|
||||||
|
height: 180rpx;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
align-items: center;
|
||||||
|
border-radius: 20rpx;
|
||||||
|
background-color: #fff;
|
||||||
|
}
|
||||||
|
|
||||||
|
.icon-box {
|
||||||
|
width: 120rpx;
|
||||||
|
height: 100rpx;
|
||||||
|
border-radius: 10rpx;
|
||||||
|
margin-top: 15rpx;
|
||||||
|
margin-bottom: 10rpx;
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.icon-box image {
|
||||||
|
width: 70rpx;
|
||||||
|
height: 70rpx;
|
||||||
|
}
|
||||||
|
|
||||||
|
.function-item text {
|
||||||
|
font-size: 28rpx;
|
||||||
|
color: #333;
|
||||||
|
}
|
||||||
|
|
||||||
|
.searchBox2 {
|
||||||
|
width: 100%;
|
||||||
|
height: 60rpx;
|
||||||
|
background-color: #f6f7fb;
|
||||||
|
border-radius: 100rpx 100rpx 100rpx 100rpx;
|
||||||
|
margin-right: 170rpx;
|
||||||
|
display: flex;
|
||||||
|
box-sizing: border-box;
|
||||||
|
align-items: center;
|
||||||
|
padding-left: 30rpx;
|
||||||
|
padding-right: 30rpx;
|
||||||
|
font-size: 26rpx;
|
||||||
|
}
|
||||||
|
|
||||||
|
.searchBox2 image {
|
||||||
|
width: 28rpx;
|
||||||
|
height: 28rpx;
|
||||||
|
margin-right: 16rpx;
|
||||||
|
}
|
||||||
|
|
||||||
.swiper {
|
.swiper {
|
||||||
width: 710rpx;
|
width: 710rpx;
|
||||||
height: 300rpx;
|
height: 300rpx;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
margin-top: 30rpx;
|
margin-top: 10rpx;
|
||||||
position: relative;
|
position: relative;
|
||||||
border-radius: 20rpx;
|
border-radius: 20rpx;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
.swiper swiper{
|
|
||||||
|
.swiper swiper {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -117,6 +213,7 @@ page {
|
|||||||
font-size: 36rpx;
|
font-size: 36rpx;
|
||||||
color: #222222;
|
color: #222222;
|
||||||
}
|
}
|
||||||
|
|
||||||
.local {
|
.local {
|
||||||
max-width: 414rpx;
|
max-width: 414rpx;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
@ -124,10 +221,11 @@ page {
|
|||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.Tit_desc {
|
.Tit_desc {
|
||||||
padding: 0 12rpx;
|
padding: 0 12rpx;
|
||||||
height: 36rpx;
|
height: 36rpx;
|
||||||
background: linear-gradient( 90deg, #FFA100 0%, #FF6A00 100%);
|
background: linear-gradient(90deg, #FFA100 0%, #FF6A00 100%);
|
||||||
border-radius: 100rpx 100rpx 100rpx 100rpx;
|
border-radius: 100rpx 100rpx 100rpx 100rpx;
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
font-size: 26rpx;
|
font-size: 26rpx;
|
||||||
@ -154,6 +252,7 @@ page {
|
|||||||
position: relative;
|
position: relative;
|
||||||
margin-bottom: 12rpx;
|
margin-bottom: 12rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
.serverList_left {
|
.serverList_left {
|
||||||
display: block;
|
display: block;
|
||||||
width: 260rpx;
|
width: 260rpx;
|
||||||
@ -161,7 +260,7 @@ page {
|
|||||||
margin-right: 17rpx;
|
margin-right: 17rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
.serverList_left swiper{
|
.serverList_left swiper {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -182,19 +281,20 @@ page {
|
|||||||
|
|
||||||
.serverItem3 {
|
.serverItem3 {
|
||||||
background: #F1FFEC;
|
background: #F1FFEC;
|
||||||
margin-right: 12rpx;
|
margin-right: 12rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
.serverItem4 {
|
.serverItem4 {
|
||||||
background: #F0FDFF;
|
background: #F0FDFF;
|
||||||
}
|
}
|
||||||
|
|
||||||
.serverItem5 {
|
.serverItem5 {
|
||||||
background: #EFF7FF;
|
background: #EFF7FF;
|
||||||
margin-right: 12rpx;
|
margin-right: 12rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
.serverItem6 {
|
.serverItem6 {
|
||||||
background: linear-gradient( 180deg, #FFFFFF 0%, #FFEDF2 100%);
|
background: linear-gradient(180deg, #FFFFFF 0%, #FFEDF2 100%);
|
||||||
}
|
}
|
||||||
|
|
||||||
.serverItem1 image {
|
.serverItem1 image {
|
||||||
@ -228,6 +328,7 @@ background: linear-gradient( 180deg, #FFFFFF 0%, #FFEDF2 100%);
|
|||||||
top: 30rpx;
|
top: 30rpx;
|
||||||
right: 11rpx;
|
right: 11rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
.serverItem5 image {
|
.serverItem5 image {
|
||||||
width: 162rpx;
|
width: 162rpx;
|
||||||
height: 93rpx;
|
height: 93rpx;
|
||||||
@ -250,7 +351,7 @@ background: linear-gradient( 180deg, #FFFFFF 0%, #FFEDF2 100%);
|
|||||||
text-align: center;
|
text-align: center;
|
||||||
width: 710rpx;
|
width: 710rpx;
|
||||||
border-radius: 100rpx 100rpx 100rpx 100rpx;
|
border-radius: 100rpx 100rpx 100rpx 100rpx;
|
||||||
background: linear-gradient( 91deg, #FF7658 0%, #FF370B 100%);
|
background: linear-gradient(91deg, #FF7658 0%, #FF370B 100%);
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
font-size: 36rpx;
|
font-size: 36rpx;
|
||||||
color: #FFFFFF;
|
color: #FFFFFF;
|
||||||
@ -260,16 +361,19 @@ background: linear-gradient( 180deg, #FFFFFF 0%, #FFEDF2 100%);
|
|||||||
.padding_bottom32 {
|
.padding_bottom32 {
|
||||||
padding-bottom: 32rpx;
|
padding-bottom: 32rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
.main {
|
.main {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
}
|
}
|
||||||
|
|
||||||
.list_pic {
|
.list_pic {
|
||||||
width: 345rpx;
|
width: 345rpx;
|
||||||
height: 345rpx;
|
height: 345rpx;
|
||||||
margin-right: 20rpx;
|
margin-right: 20rpx;
|
||||||
margin-bottom: 20rpx;
|
margin-bottom: 20rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
.list_pic:nth-child(2n) {
|
.list_pic:nth-child(2n) {
|
||||||
margin-right: 0;
|
margin-right: 0;
|
||||||
}
|
}
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user