fuint-uniapp-master/pages/wallet/recharge/order.vue
(开头部分) 3KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<template>
<view class="container">
<mescroll-body ref="mescrollRef" :sticky="true" @init="mescrollInit" :down="{ use: false }" :up="upOption"
@up="upCallback">
<view class="log-list">
<view v-for="(item, index) in list.content" :key="index" class="log-item">
<view class="item-left flex-box">
<view class="rec-status">
<text>{{ '充值成功' }}</text>
</view>
<view class="rec-time">
<text>{{ item.createTime }}</text>
</view>
</view>
<view class="item-right">
<text>+{{ item.amount }}元</text>
</view>
</view>
</view>
</mescroll-body>
</view>
</template>
<script>
import MescrollBody from '@/components/mescroll-uni/mescroll-body.vue'
import MescrollMixin from '@/components/mescroll-uni/mescroll-mixins'
import * as OrderApi from '@/api/order'
import { getEmptyPaginateObj, getMoreListData } from '@/utils/app'
const pageSize = 20
export default {
components: {
MescrollBody
},
mixins: [MescrollMixin],
data() {
return {
// 余额账单明细列表
list: getEmptyPaginateObj(),
// 上拉加载配置
upOption: {
// 首次自动执行
auto: true,
// 每页数据的数量; 默认10
page: { size: pageSize },
// 数量要大于20条才显示无更多数据
noMoreSize: 20,
// 空布局
empty: {
tip: '亲,暂无充值记录'
}
}
}
},
/**
* 生命周期函数--监听页面加载
*/
onLoad(options) {},
后面还有 72 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。