优化首页公告显示

This commit is contained in:
吴学文 2020-01-12 13:01:03 +08:00
parent d22e0044bb
commit 66323b78fa
3 changed files with 14 additions and 5 deletions

BIN
.DS_Store vendored

Binary file not shown.

View File

@ -94,7 +94,8 @@
"van-divider": "lib/divider/index", "van-divider": "lib/divider/index",
"van-image": "lib/image/index", "van-image": "lib/image/index",
"van-submit-bar": "lib/submit-bar/index", "van-submit-bar": "lib/submit-bar/index",
"van-search": "lib/search/index" "van-search": "lib/search/index",
"van-notice-bar": "lib/notice-bar/index"
}, },
"sitemapLocation": "sitemap.json" "sitemapLocation": "sitemap.json"
} }

View File

@ -1,9 +1,17 @@
<import src="../common/sort_list.wxml" /> <import src="../common/sort_list.wxml" />
<view>
<van-notice-bar
left-icon="volume-o"
text="HC智慧家园是免费开源的HC小区管理系统的分支项目欢迎访问官网http://homecommunity.cn了解"
speed="30"
/>
</view>
<scroll-view bindscrolltolower="lower" class="scroll-restaurants-list" scroll-y="true" style="height:100%"> <scroll-view bindscrolltolower="lower" class="scroll-restaurants-list" scroll-y="true" style="height:100%">
<view class="heard"> <view >
<!-- url="/pages/location/location" --> <!-- class="heard" url="/pages/location/location" -->
<navigator > <!-- <navigator >
<view class="heard-location"> <view class="heard-location">
<image src="/images/location.png" class="heard-location-icon" /> <image src="/images/location.png" class="heard-location-icon" />
<text class="heard-location-text">{{location}}</text> <text class="heard-location-text">{{location}}</text>
@ -11,7 +19,7 @@
</navigator> </navigator>
<view class="heard-search"> <view class="heard-search">
<image src="/images/search.png" class="heard-search-icon" /> 搜索小区 <image src="/images/search.png" class="heard-search-icon" /> 搜索小区
</view> </view> -->
</view> </view>
<swiper class="categoryList" indicator-dots="true" indicator-color="rgba(228,228,228,1)" indicator-active-color="#FECA49"> <swiper class="categoryList" indicator-dots="true" indicator-color="rgba(228,228,228,1)" indicator-active-color="#FECA49">
<block wx:for="{{categoryList}}" wx:key="index"> <block wx:for="{{categoryList}}" wx:key="index">