Skip to content

Commit

Permalink
hzuapps#71 第3次实验-实现滚动界面
Browse files Browse the repository at this point in the history
  • Loading branch information
ST authored and ST committed Oct 18, 2017
1 parent c33675e commit b30ff3a
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
27 changes: 27 additions & 0 deletions 1517060337/comp/scroll.wxml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
<!--pages/comp/scroll.wxml-->
<scroll-view class="page" bindtouchend='onEnd'>
<view class="page__hd">
<view class="page__title">Panel</view>
<view class="page__desc">面板</view>
</view>
<view class="page__bd">
<view class="weui-panel weui-panel_access">
<view class="weui-panel__hd"></view>
<view class="weui-panel__bd">
<navigator url="" class="weui-media-box weui-media-box_appmsg" hover-class="weui-cell_active" wx:for="{{messages}}">
<view class="weui-media-box__hd weui-media-box__hd_in-appmsg">
<image class="weui-media-box__thumb" src="{{icon60}}" />
</view>
<view class="weui-media-box__bd weui-media-box__bd_in-appmsg">
<view class="weui-media-box__title">{{index}} {{item.name}}</view>
<view class="weui-media-box__desc">{{item.last}}</view>
</view>
</navigator>
</view>
</view>
<view class='weui-loadmore' wx:if="{{isEnd}}">
<view class='weui-loading'></view>
<view class='weui-loadmore__tips'>正在加载……</view>
</view>
</view>
</scroll-view>
1 change: 1 addition & 0 deletions 1517060337/comp/scroll.wxss
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/* pages/comp/scroll.wxss */

0 comments on commit b30ff3a

Please sign in to comment.