<template>
  <view>
    <CuNavbar title="提成数据" isBack></CuNavbar>
    <MescrollItem :top="44" :i="0" apiUrl="/account/store-master-commissions">
      <view class="space-y-20rpx px-base mt-20rpx">
        <view v-for="(item, i) in list" :key="i">
          <Item :data="item"></Item>
        </view>
      </view>
    </MescrollItem>
  </view>
</template>

<script setup>
import CuNavbar from '@/components/cu-navbar/index'
import Item from './components/item.vue'
import { onLoad } from '@dcloudio/uni-app'
import { http } from '@/utils/request'
import { ref } from 'vue'
import MescrollItem from '@/components/mescroll-api/one'
import { onPageScroll, onReachBottom } from '@dcloudio/uni-app'
import useMescrollComp from '@/uni_modules/mescroll-uni/hooks/useMescrollComp.js'
const { mescrollItem } = useMescrollComp(onPageScroll, onReachBottom)


</script>
