import { R as e } from "./index-cab50064.js";
import { j as t, m as a, h as l, R as u, o as i } from "./index-476be0bb.js";
import { e as s } from "./api.mine-40f950d7.js";
/* empty css              */ /* empty css              */ import "./index-325f2a5d.js";
import "./use-route-126c4f06.js";
/* empty css              */ /* empty css              */ import "./use-id-50eda0ee.js";
import "./use-tab-status-b7c46689.js";
const o = {
  __name: "index",
  setup(o) {
    const n = t(0),
      r = t(0),
      x = [
        { text: "全部类型", value: 0 },
        { text: "提现扣款", value: 1 },
        { text: "人工调整", value: 2 },
        { text: "提现返还", value: 3 },
        { text: "注册赠送", value: 4 },
        { text: "加粉赏金", value: 5 },
        { text: "任务佣金", value: 6 },
      ],
      m = [
        { text: "全部时间", value: 0 },
        { text: "今天", value: 1 },
        { text: "昨天", value: 2 },
        { text: "近七天", value: 3 },
      ];
    return (t, o) => (
      i(),
      a(
        e,
        {
          title: "收益明细",
          "left-option": x,
          "right-option": m,
          "list-title": ["收益类型", "收益金额", "时间"],
          "value-key": ["memo", "money", "createtime2"],
          "left-value": l(n),
          "onUpdate:leftValue":
            o[0] || (o[0] = (e) => (u(n) ? (n.value = e) : null)),
          "right-value": l(r),
          "onUpdate:rightValue":
            o[1] || (o[1] = (e) => (u(r) ? (r.value = e) : null)),
          ajaxFun: l(s),
        },
        null,
        8,
        ["left-value", "right-value", "ajaxFun"]
      )
    );
  },
};
export { o as default };
