This commit is contained in:
2019-12-28 16:31:20 +08:00
parent 3f513f121a
commit c43448f961
10 changed files with 130 additions and 31 deletions

View File

@@ -1,3 +1,3 @@
<view class="yuetitle">
累计消费
资产记录
</view>

View File

@@ -18,6 +18,9 @@ Component({
* 组件的方法列表
*/
methods: {
recharge(){
console.log(234)
this.triggerEvent('recharge')
}
}
})

View File

@@ -2,6 +2,6 @@
<view class="all">总资产</view>
<view class="money">
<text>{{money}}</text>
<text class="chong">充值</text>
<text class="chong" bind:tap="recharge">充值</text>
</view>
</view>