import {
    G as C,
    z as I,
    R as L,
    A as N,
    r as R,
    H as b,
    I as r,
    Q as h,
    O as n,
    av as B,
    N as p,
    J as s,
    K as _,
    M as P,
    P as t,
    aB as T,
    ao as i,
    aC as S,
    aD as A
} from "./common.modules-5cfe2cf4.js";
import {
    bS as c,
    bT as u,
    g as k,
    c as V,
    d8 as E,
    _ as Q
} from "./page-activity-ActivityDetail-a58ec568.js";
import {
    L as U
} from "./page-activity-Bonus-3c16c86d.js";
import "./page-turntable-assets-d6267459.js";
import "./native/index-2ac88fb8.js";
import "./en-cfd26acf.js";
const v = d => (S("data-v-d800515e"), d = d(), A(), d),
    q = {
        class: "vip-content-recordVsrule"
    },
    z = {
        class: "vip-content-recordVsrule-con"
    },
    D = {
        class: "item-left"
    },
    G = {
        class: "green"
    },
    H = {
        class: "item-right"
    },
    K = ["src"],
    X = ["src"],
    $ = {
        class: "item-left"
    },
    j = {
        class: "red"
    },
    F = {
        class: "item-right"
    },
    J = v(() => s("span", null, null, -1)),
    M = v(() => s("span", null, null, -1)),
    O = {
        key: 2,
        class: "item-left"
    },
    W = {
        class: "yellow"
    },
    Y = {
        class: "item-left"
    },
    Z = {
        class: "blue"
    },
    ee = {
        class: "item-right"
    },
    se = v(() => s("span", null, null, -1)),
    te = v(() => s("span", null, null, -1)),
    ne = {
        class: "green"
    },
    ae = {
        key: 4,
        class: "item-left"
    },
    oe = {
        class: "yellow"
    },
    re = C({
        __name: "index",
        setup(d) {
            const {
                t: o
            } = I(), x = L(), g = N({
                pageSize: 20
            }), y = R([]);

            function l(f, a) {
                switch (f) {
                    case 1:
                        return o("vipTip12");
                    case 2:
                        return o("vipTip13");
                    case 3:
                        return o("vipTip10");
                    case 4:
                        return o("vipTip11", [a]);
                    case 5:
                        return o("vipTip6", [a]);
                    case 6:
                        return o("vipTip7");
                    case 7:
                        return o("vipTip15", [a]);
                    case 8:
                        return o("vipTip17", [a])
                }
            }
            return (f, a) => {
                const m = b("NavBar");
                return p(), r("div", q, [h(m, {
                    title: f.$t("record"),
                    "left-arrow": "",
                    onClickLeft: a[0] || (a[0] = e => n(x).go(-1))
                }, null, 8, ["title"]), h(U, {
                    api: n(E),
                    list: y.value,
                    "onUpdate:list": a[1] || (a[1] = e => y.value = e),
                    "page-query": g,
                    "onUpdate:pageQuery": a[2] || (a[2] = e => g = e),
                    ref: "listRef"
                }, {
                    content: B(() => [s("div", z, [(p(!0), r(_, null, P(y.value, (e, w) => (p(), r("div", {
                        class: "item ar-1px-b",
                        key: w
                    }, [e.type == 1 || e.type == 2 ? (p(), r(_, {
                        key: 0
                    }, [s("div", D, [s("span", G, t(n(c)(n(u).VipType, e.type)), 1), s("span", null, t(l(e.type, e.remark)), 1), s("span", null, t(e.createTime), 1)]), s("div", H, [s("p", null, [s("img", {
                        src: n(k)("main", "gold")
                    }, null, 8, K), T(t(n(V)(e.awardAmount, " ", 0)), 1)]), s("p", null, [s("img", {
                        src: n(k)("main", "love")
                    }, null, 8, X), T(t(n(V)(e.bonusPoints, " ", 0)), 1)])])], 64)) : i("v-if", !0), e.type == 3 || e.type == 4 ? (p(), r(_, {
                        key: 1
                    }, [s("div", $, [s("span", j, t(n(c)(n(u).VipType, e.type)), 1), s("span", null, t(l(e.type, e.remark)), 1), s("span", null, t(e.createTime), 1)]), s("div", F, [J, M, s("span", null, t(e.experience) + " EXP", 1)])], 64)) : i("v-if", !0), e.type == 5 ? (p(), r("div", O, [s("span", W, t(n(c)(n(u).VipType, e.type)), 1), s("span", null, t(l(e.type, e.remark)), 1), s("span", null, t(e.createTime), 1)])) : i("v-if", !0), e.type == 6 ? (p(), r(_, {
                        key: 3
                    }, [s("div", Y, [s("span", Z, t(n(c)(n(u).VipType, e.type)), 1), s("span", null, t(l(e.type, e.remark)), 1), s("span", null, t(e.createTime), 1)]), s("div", ee, [se, te, s("span", ne, t(e.experience) + " EXP", 1)])], 64)) : i("v-if", !0), [7, 8].includes(e.type) ? (p(), r("div", ae, [s("span", oe, t(n(c)(n(u).VipType, e.type)), 1), s("span", null, t(l(e.type, e.remark)), 1), s("span", null, t(e.createTime), 1)])) : i("v-if", !0)]))), 128))])]),
                    _: 1
                }, 8, ["api", "list", "page-query"])])
            }
        }
    });
const _e = Q(re, [
    ["__scopeId", "data-v-d800515e"],
    ["__file", "/usr/local/jenkins-prod/workspace/AR048-Pages-india-91club/src/views/vip/RecordVsruleHistory/index.vue"]
]);
export {
    _e as
    default
};