123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- <template>
- <yf-more-list url="/api/user/points/my-paging" :params="queryParams" ref="moreList">
- <template v-slot:item="{ data }">
- <uni-list-item
- :show-arrow="true"
- :title="data.refRemark"
- :note="'时间:'+data.createTime"
- :rightText="`+${data.points}`"
- >
- </uni-list-item>
- </template>
- </yf-more-list>
- </template>
- <script>
- export default {
- data() {
- return {
-
- queryParams: {
-
- }
- }
- },
- onReachBottom() {
- // 加载数据
- this.$refs.moreList.loadData()
- },
- onShow() {
- if(this.$refs.moreList){
- this.$refs.moreList.initData()
- }
- },
- methods: {
-
- }
- }
- </script>
- <style scoped>
- /deep/
- .uni-list-item__extra-text {
- font-size: 30rpx;
- color: #FF0000;
- font-weight: bold;
- }
- </style>
|