This commit is contained in:
d_f_w123 2019-12-12 17:37:30 +08:00
parent f476fe2e42
commit 7e35a938b5
2 changed files with 12 additions and 3 deletions

View File

@ -51,7 +51,8 @@ Page({
src: "/images/6.png"
}, {
name: "公告",
src: "/images/7.png"
src: "/images/7.png",
href: "/pages/notice/index"
}]
},
@ -81,6 +82,11 @@ Page({
// }
// });
},
onGotUserInfo: function (e) {
console.log(e.detail.errMsg)
console.log(e.detail.userInfo)
console.log(e.detail.rawData)
},
clearSelectedNumb: function () {
this.setData({
characteristicSelected: [false],

View File

@ -1,6 +1,5 @@
<import src="../common/sort_list.wxml" />
<scroll-view bindscrolltolower="lower" class="scroll-restaurants-list" scroll-y="true" style="height:100%">
<view class="heard">
<navigator url="/pages/location/location">
@ -17,10 +16,14 @@
<block wx:for="{{categoryList}}" wx:key="">
<swiper-item>
<block wx:for="{{item}}" wx:key="">
<!-- <navigator url="{{item.href}}"> -->
<view class="category-info">
<navigator url="{{item.href}}">
<image src="{{item.src}}" class="category-image"></image>
<view class="category-text">{{item.name}}</view>
</navigator>
</view>
<!-- </navigator> -->
</block>
</swiper-item>
</block>
@ -35,7 +38,7 @@
</swiper>
<view class="header-title">
<text class="new">最新动态</text>
<text class="new"> 最新动态</text>
<text class="iconfont icongengduo1 gd"></text>
</view>
<view class="noticesList">