Skip to content

Commit

Permalink
fix promise
Browse files Browse the repository at this point in the history
  • Loading branch information
SuperKieran committed Nov 29, 2016
1 parent 900dad5 commit 8fc7c15
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pages/index/index.wxml
Expand Up @@ -52,7 +52,7 @@
</scroll-view>

<!-- 最新 -->
<scroll-view class="latest-item-container {{currentNavbar==1 ? '' : 'hidden'}}" style="height: {{systemInfo.windowHeight-81}}px;" scroll-y="true" bindscrolltolower="pullUpLoadLatest">
<scroll-view class="latest-item-container {{currentNavbar==1 ? '' : 'hidden'}}" style="height: {{systemInfo.windowHeight}}px;" scroll-y="true" bindscrolltolower="pullUpLoadLatest">
<block wx:for="{{latest_list}}" wx:for-index="idx">
<view wx:if="{{idx%3===0}}" class="latest-item">
<image src="{{_api.HOST_WORK+latest_list[idx].pic.pid}}!app.c360.webp" class="latest-image"
Expand Down
1 change: 1 addition & 0 deletions utils/api.js
@@ -1,4 +1,5 @@
'use strict';
import Promise from './es6-promise.min'

module.exports = {
PAGE_WORK: '/pages/work-detail/work-detail',
Expand Down
1 change: 1 addition & 0 deletions utils/es6-promise.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 8fc7c15

Please sign in to comment.