123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657 |
- <template>
- <view class="page">
- <!-- 明细组件,根据传值确定展示的数据 -->
- <MoneyDetail :withBool='true' v-for="(item,index) in moneyDetail" :itemInfo="item" :key="index" />
- <!-- 明细组件,根据传值确定展示的数据 -->
- </view>
- </template>
- <script>
- import MoneyDetail from "../mineComponent/moneyDetail/index.vue"
- export default {
- components: {
- MoneyDetail
- },
- data() {
- return {
- //保证金提现明细数据
- moneyDetail: [{
- name: '充值',
- time: '2024-1-1 09:34:31',
- money: '+400',
- auditingStatus: 0
- },
- {
- name: '提现',
- time: '2024-1-1 09:34:31',
- money: '-400',
- auditingStatus: 1
- },
- {
- name: '充值',
- time: '2024-1-1 09:34:31',
- money: '+400',
- auditingStatus: 2
- },
- ]
- }
- },
- methods: {
- },
- mounted() {
- uni.setBackgroundColor({
- backgroundColor: '#ffffff'
- })
- }
- }
- </script>
- <style lang="scss" scoped>
- .page {
- background-color: #fff;
- width: 92vw;
- height: 100vh;
- padding: 0 32rpx;
- }
- </style>
|