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

@@ -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) {