Files
YGChatCS/src/pages-aigc/useTemplate/components/GenerateConfirmPanel/index.vue
duanshuwen bfebed44b0 chore: remove recharge and switch to test mode
Remove all recharge-related pages, components, and API endpoints.
Update developVersion flag to enable test environment with 400 free credits for all users.
Revise PointInsufficientDialog to reflect closed recharge channel, update button text and actions.
Remove recharge actions from all top bars and generate confirmation panels.
Add new user agreement page for service terms, update related API calls.
Restyle AigcConsentDialog to use sectioned content layout.
Fix visibility timing logic in GiftPointsToast component.
2026-07-20 14:50:14 +08:00

51 lines
1.3 KiB
Vue
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<template>
<view class="generate-confirm-panel">
<view class="generate-points-summary">
<view class="generate-point-card">
<text class="generate-point-label">本次消耗</text>
<text class="generate-point-value">{{ cost }}积分</text>
</view>
<view class="generate-point-card">
<text class="generate-point-label">当前可用</text>
<text class="generate-point-value">{{ balance }}积分</text>
</view>
</view>
<view class="generate-freeze-note">
<text class="generate-freeze-title">积分冻结规则</text>
<text class="generate-freeze-desc">
开始生成后将先冻结 {{ cost }} 积分生成成功后扣除失败会自动退回
</text>
</view>
<view class="generate-confirm-actions">
<view
class="generate-action is-primary"
hover-class="is-pressed"
@tap="emit('generate')"
>
开始生成
</view>
</view>
</view>
</template>
<script setup>
defineProps({
cost: {
type: [Number, String],
default: 100,
},
balance: {
type: [Number, String],
default: 300,
},
});
const emit = defineEmits(["generate"]);
</script>
<style scoped lang="scss">
@import "./styles/index.scss";
</style>