feat: 2.0发布

This commit is contained in:
Gsh
2025-10-15 23:43:59 +08:00
parent 2dae47e85c
commit c5c22224cf
8 changed files with 13 additions and 10 deletions

View File

@@ -112,7 +112,7 @@
<body>
<!-- 加载动画容器 -->
<div id="yixinai-loader" class="loader-container">
<div class="loader-title">意心Ai</div>
<div class="loader-title">意心Ai 2.0</div>
<div class="loader-subtitle">海外地址仅首次访问预计加载约10秒</div>
<div class="loader-logo">
<div class="pulse-box"></div>

View File

@@ -16,6 +16,7 @@ export interface GoodsItem {
goodsCategory: string; // 商品分类
remark: string | null; // 备注(标签)
discountDescription: string | null; // 折扣描述
goodsType: string | null; // 折扣描述
}
// 获取商品列表

View File

@@ -24,6 +24,7 @@ interface PackageItem {
discount: string; // 累计优惠描述,如"根据累加充值已优惠 ¥47.00"
goodsName: string; // 用于创建订单
discountAmount?: number; // 优惠金额从discount字段解析
goodsType?: any; // 商品枚举
}
// 商品数据(从接口获取)
@@ -73,6 +74,7 @@ async function fetchGoodsList() {
tag: item.remark || '',
discount: item.discountDescription || '',
goodsName: item.goodsName,
goodsType: item.goodsType,
}));
// 转换Token商品数据字段含义保持原定义
@@ -95,6 +97,7 @@ async function fetchGoodsList() {
tag: item.remark || '',
discount: item.discountDescription || '',
goodsName: item.goodsName,
goodsType: item.goodsType,
discountAmount,
};
});
@@ -229,7 +232,7 @@ async function pay() {
try {
const returnUrl = `${window.location.origin}/pay-result`;
const params = {
goodsName: selectPackageObject.value.goodsName,
GoodsType: selectPackageObject.value.goodsType,
ReturnUrl: returnUrl,
};

View File

@@ -466,8 +466,6 @@ onMounted(() => {
:deep(.el-table th) {
background-color: #f8fafc;
color: #333;
//background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
//color: white;
font-weight: 600;
font-size: 14px;
padding: 8px 0;
@@ -475,7 +473,6 @@ onMounted(() => {
}
:deep(.el-table th .cell) {
//color: white;
}
:deep(.el-table--striped .el-table__body tr.el-table__row--striped td) {

View File

@@ -1,5 +1,6 @@
<!-- 头像 -->
<script setup lang="ts">
import { computed } from 'vue';
import { useRouter } from 'vue-router';
import Popover from '@/components/Popover/index.vue';
import SvgIcon from '@/components/SvgIcon/index.vue';
@@ -57,6 +58,7 @@ const popoverList = ref([
]);
const dialogVisible = ref(false);
const navItems = [
{ name: 'user', label: '用户信息', icon: 'User' },
// { name: 'role', label: '角色管理', icon: 'Avatar' },

View File

@@ -170,7 +170,8 @@ function contactCustomerService() {
🎉 恭喜
</h1>
<p class="text-xl font-semibold mb-6">
您已成为尊贵的 <span class="text-orange-500">YixinAI VIP</span>
您已充值成功
<!-- 您已成为尊贵的 <span class="text-orange-500">YixinAI VIP</span> -->
</p>
<!-- 订单信息卡片 -->
@@ -244,8 +245,8 @@ function contactCustomerService() {
append-to-body
>
<h3 class="text-lg font-bold mb-3">
请扫码加入微信交流群<br>
备注ai获取专属客服支持
请扫码加入微信交流群<br>
备注ai获取专属客服支持
</h3>
<div class="py-10 flex items-center justify-center space-x-2">
<span class="font-semibold">站长微信账号</span>

View File

@@ -19,8 +19,6 @@ declare module 'vue' {
ElCollapse: typeof import('element-plus/es')['ElCollapse']
ElCollapseItem: typeof import('element-plus/es')['ElCollapseItem']
ElContainer: typeof import('element-plus/es')['ElContainer']
ElDescriptions: typeof import('element-plus/es')['ElDescriptions']
ElDescriptionsItem: typeof import('element-plus/es')['ElDescriptionsItem']
ElDialog: typeof import('element-plus/es')['ElDialog']
ElDivider: typeof import('element-plus/es')['ElDivider']
ElEmpty: typeof import('element-plus/es')['ElEmpty']

View File

@@ -6,6 +6,7 @@ interface ImportMetaEnv {
readonly VITE_WEB_ENV: string;
readonly VITE_WEB_BASE_API: string;
readonly VITE_API_URL: string;
readonly VITE_BUILD_COMPRESS: string;
readonly VITE_SSO_SEVER_URL: string;
readonly VITE_APP_VERSION: string;
}