Files
YGChatCS/src/pages-aigc/pointsDetails/pointsDetails.vue
duanshuwen b381c712df feat(aigc): add template, recharge & points pages
This commit adds the full AIGC feature set including template usage flow, points recharge and transaction ledger pages, along with all supporting components, styles and data files. It also updates the home page navigation and registers all new pages in the project's pages configuration.
2026-07-05 19:34:55 +08:00

37 lines
812 B
Vue

<template>
<view class="points-details-page">
<TopNavBar
title="积分明细"
background="transparent"
title-color="#172033"
back-icon-color="#172033"
:align-with-menu-button="true"
:z-index="3"
@back="handleBack"
/>
<view class="points-details-content">
<LedgerList :records="records" />
</view>
</view>
</template>
<script setup>
import TopNavBar from "@/components/TopNavBar/index.vue";
import LedgerList from "./components/LedgerList/index.vue";
import { pointsLedgerRecords } from "./data/ledger.js";
const records = pointsLedgerRecords;
const handleBack = () => {
const pages = getCurrentPages();
if (pages.length > 1) {
uni.navigateBack();
}
};
</script>
<style scoped lang="scss">
@import "./styles/index.scss";
</style>