Skip to content

Commit

Permalink
✨ add pull notice
Browse files Browse the repository at this point in the history
  • Loading branch information
shawjia committed Oct 29, 2018
1 parent 91d3fda commit 7f43370
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion src/app/components/footer.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
Component({

data: {
version: 'v1.3.0',
version: 'v1.3.1',
},

properties: {
pull: Boolean,
},

methods: {
Expand Down
3 changes: 2 additions & 1 deletion src/app/components/footer.wxml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<view class="footer">
定投小记 {{ version }}
<view wx:if="{{ pull }}">本页支持下拉刷新哦 :)</view>
<view>定投小记 {{ version }}</view>
</view>
2 changes: 1 addition & 1 deletion src/app/pages/index/index.wxml
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,4 @@

<van-button custom-class="fund-btn" size="large" bindtap="switchAdd">新增</van-button>

<footer />
<footer pull />

0 comments on commit 7f43370

Please sign in to comment.