@@ -47,9 +47,9 @@
},
/**
- * 生命周期函数--监听页面加载
+ * 生命周期函数--监听页面显示
*/
- onLoad(options) {
+ onShow(options) {
// 获取页面数据
this.getPageData()
@@ -19,7 +19,7 @@
<view class="plan_money">
<text>{{ item.money }}</text>
</view>
- <view class="plan_gift" v-if="item.gift_money > 0">
+ <view class="plan_gift">
<text>送{{ item.gift_money }}</text>