diff --git a/pages/me/gold_record.vue b/pages/me/gold_record.vue index dba0694..5d25343 100644 --- a/pages/me/gold_record.vue +++ b/pages/me/gold_record.vue @@ -5,7 +5,10 @@ 类型:{{ item.title }} 内容:{{ item.content }} 时间:{{ item.createTime }} - +{{ item.money }} + + +{{ item.money }} + -{{ item.money }} + @@ -25,6 +28,11 @@ const listData = reactive({ status: 'loading' }); +onReachBottom(() => { + listData.page++; + getList(); +}); + async function getList() { try { const res = await queryUserMoneyDetails({ @@ -83,8 +91,13 @@ page { .btm { display: flex; justify-content: flex-end; - color: rgb(253, 100, 22); font-weight: bold; + .add { + color: rgb(253, 100, 22); + } + .sub { + color: #5aaf2e; + } } } }