-
-
-
- 全站任意充值,每累计充值10元永久优惠尊享包10元,最高可优惠50元
-
-
-
- 充值后,加客服微信回复账号名,可专享vip售后服务
-
-
- 客服微信号:chengzilaoge520 或扫描右侧二维码
-
-
-
+
+
+ {{ promotionConfig.rechargeDiscount }}
+
+
+ {{ promotionConfig.vipServiceTip }}
+
+
+
+ 联系客服
+
@@ -827,8 +934,27 @@ function goToActivation() {
-
@@ -842,6 +968,45 @@ function goToActivation() {
.product-package-dialog {
.el-dialog__header { display: none; }
+ /* Tab 切换样式 */
+ .tabs-container {
+ display: flex;
+ border-bottom: 2px solid #e5e7eb;
+ margin-bottom: 24px;
+ overflow-x: auto;
+ overflow-y: hidden;
+ -webkit-overflow-scrolling: touch;
+ scrollbar-width: none; /* Firefox */
+
+ &::-webkit-scrollbar {
+ display: none; /* Chrome, Safari */
+ }
+
+ .tab-item {
+ flex-shrink: 0;
+ padding: 12px 20px;
+ cursor: pointer;
+ font-size: 15px;
+ font-weight: 500;
+ color: #6b7280;
+ border-bottom: 3px solid transparent;
+ margin-bottom: -2px;
+ transition: all 0.3s;
+ white-space: nowrap;
+ user-select: none;
+
+ &:hover {
+ color: #f97316;
+ }
+
+ &.tab-active {
+ color: #f97316;
+ font-weight: 600;
+ border-bottom-color: #f97316;
+ }
+ }
+ }
+
/* 详情页样式(无修改) */
.details-view {
height: 600px; overflow-y: auto; padding-right: 8px;
@@ -859,6 +1024,297 @@ function goToActivation() {
}
}
+ /* 新人特惠页面样式 - 紧凑版(匹配激活码页面风格) */
+ .newbie-guide-container {
+ padding: 20px 16px;
+ display: flex;
+ justify-content: center;
+ align-items: center;
+ min-height: 300px;
+ background: linear-gradient(to bottom, #fff, #fdfdfd);
+ border-radius: 8px;
+
+ .newbie-content {
+ text-align: center;
+ max-width: 450px;
+ width: 100%;
+
+ .newbie-header {
+ margin-bottom: 20px;
+ padding: 16px;
+ background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
+ border-radius: 10px;
+ color: white;
+
+ .header-icon {
+ font-size: 32px;
+ margin-bottom: 6px;
+ }
+
+ .header-title {
+ font-size: 20px;
+ font-weight: 700;
+ margin: 0 0 6px 0;
+ }
+
+ .header-subtitle {
+ font-size: 13px;
+ margin: 0;
+ opacity: 0.95;
+ }
+ }
+
+ .newbie-body {
+ display: flex;
+ flex-direction: column;
+ gap: 14px;
+
+ // 购买方式卡片
+ .purchase-card {
+ background: #f7f8fa;
+ border-radius: 10px;
+ padding: 16px;
+ border: 2px solid #e8ecf0;
+
+ .card-row {
+ display: grid;
+ grid-template-columns: 1fr 1fr;
+ gap: 16px;
+
+ .card-col {
+ display: flex;
+ flex-direction: column;
+ align-items: center;
+ gap: 10px;
+
+ .method-label {
+ font-size: 13px;
+ font-weight: 600;
+ color: #606266;
+ }
+
+ .el-button {
+ width: 100%;
+ }
+ }
+ }
+ }
+
+ // 淘口令展示
+ .taobao-code-box {
+ background: linear-gradient(135deg, #f0f4ff 0%, #e8f0fe 100%);
+ border-radius: 8px;
+ padding: 14px;
+ border: 2px dashed #bae6fd;
+
+ .code-label {
+ font-size: 12px;
+ color: #0369a1;
+ font-weight: 600;
+ margin-bottom: 8px;
+ }
+
+ .code-text {
+ font-size: 11px;
+ color: #667eea;
+ font-family: 'Courier New', monospace;
+ line-height: 1.5;
+ word-break: break-all;
+ background: white;
+ padding: 8px;
+ border-radius: 6px;
+ text-align: left;
+ }
+ }
+
+ // 温馨提示
+ .tips-box {
+ background: #f0f9ff;
+ border: 1px solid #bae6fd;
+ border-radius: 8px;
+ padding: 14px;
+ text-align: left;
+
+ .tips-title {
+ margin: 0 0 10px 0;
+ font-size: 13px;
+ font-weight: 600;
+ color: #0369a1;
+ display: flex;
+ align-items: center;
+ gap: 6px;
+
+ .el-icon {
+ font-size: 16px;
+ }
+ }
+
+ .tips-text {
+ margin: 4px 0;
+ font-size: 12px;
+ color: #0c4a6e;
+ line-height: 1.5;
+ }
+ }
+ }
+ }
+ }
+
+ /* 响应式:移动端优化 */
+ @media (max-width: 768px) {
+ /* Tab 移动端优化 */
+ .tabs-container {
+ margin-bottom: 16px;
+ padding-bottom: 2px;
+ gap: 4px;
+ justify-content: flex-start;
+
+ .tab-item {
+ padding: 10px 12px;
+ font-size: 13px;
+ min-width: fit-content;
+ }
+ }
+
+ /* 新人特惠移动端优化 */
+ .newbie-guide-container {
+ padding: 16px 12px;
+ min-height: auto;
+
+ .newbie-content {
+ max-width: 100%;
+
+ .newbie-header {
+ padding: 16px;
+ margin-bottom: 16px;
+ border-radius: 8px;
+
+ .header-icon {
+ font-size: 28px;
+ margin-bottom: 6px;
+ }
+
+ .header-title {
+ font-size: 18px;
+ margin-bottom: 6px;
+ }
+
+ .header-subtitle {
+ font-size: 13px;
+ }
+ }
+
+ .newbie-body {
+ gap: 12px;
+
+ .purchase-card {
+ padding: 14px;
+ border-radius: 8px;
+
+ .card-row {
+ grid-template-columns: 1fr;
+ gap: 10px;
+
+ .card-col {
+ .method-label {
+ font-size: 12px;
+ }
+
+ .el-button {
+ font-size: 13px;
+ }
+ }
+ }
+ }
+
+ .taobao-code-box {
+ padding: 12px;
+
+ .code-label {
+ font-size: 11px;
+ }
+
+ .code-text {
+ font-size: 10px;
+ padding: 6px;
+ line-height: 1.4;
+ }
+ }
+
+ .tips-box {
+ padding: 12px;
+
+ .tips-title {
+ font-size: 12px;
+ margin-bottom: 8px;
+
+ .el-icon {
+ font-size: 14px;
+ }
+ }
+
+ .tips-text {
+ font-size: 11px;
+ }
+ }
+ }
+ }
+ }
+ }
+
+ /* 小屏手机进一步优化 */
+ @media (max-width: 480px) {
+ .tabs-container {
+ gap: 2px;
+
+ .tab-item {
+ padding: 8px 10px;
+ font-size: 12px;
+ min-width: fit-content;
+ }
+ }
+
+ .newbie-guide-container {
+ padding: 12px 8px;
+
+ .newbie-content {
+ .newbie-header {
+ padding: 12px;
+
+ .header-icon {
+ font-size: 24px;
+ }
+
+ .header-title {
+ font-size: 16px;
+ }
+
+ .header-subtitle {
+ font-size: 12px;
+ }
+ }
+
+ .newbie-body {
+ .purchase-card {
+ padding: 12px;
+ }
+
+ .taobao-code-box {
+ padding: 10px;
+
+ .code-text {
+ font-size: 9px;
+ }
+ }
+
+ .tips-box {
+ padding: 10px;
+ }
+ }
+ }
+ }
+ }
+
/* 激活码引导页样式 */
.activation-guide-container {
padding: 40px 20px;
@@ -1296,6 +1752,67 @@ function goToActivation() {
font-weight: 500;
}
}
+ }
+
+ /* 模型库卡片样式 - 桌面端 */
+ .model-library-section {
+ margin-top: 16px;
+
+ .model-library-card {
+ display: flex;
+ align-items: center;
+ gap: 16px;
+ padding: 16px;
+ background: linear-gradient(135deg, #f0f4ff 0%, #e8f0fe 100%);
+ border-radius: 12px;
+ border: 2px solid #bae6fd;
+ transition: all 0.3s;
+
+ &:hover {
+ border-color: #667eea;
+ box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
+ transform: translateY(-2px);
+ }
+
+ .card-icon {
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ width: 56px;
+ height: 56px;
+ background: white;
+ border-radius: 12px;
+ color: #667eea;
+ flex-shrink: 0;
+ }
+
+ .card-content {
+ flex: 1;
+
+ .card-title {
+ margin: 0 0 4px 0;
+ font-size: 16px;
+ font-weight: 700;
+ color: #1a1a1a;
+ }
+
+ .card-desc {
+ margin: 0;
+ font-size: 13px;
+ color: #606266;
+ line-height: 1.5;
+ }
+ }
+
+ .goto-btn {
+ flex-shrink: 0;
+ font-weight: 600;
+
+ .ml-1 {
+ margin-left: 4px;
+ }
+ }
+ }
}
.view-details-btn {
@@ -1336,6 +1853,33 @@ function goToActivation() {
/* 桌面端样式 */
.desktop-layout {
+ /* 套餐卡片容器样式 - 限制高度并添加滚动 */
+ .package-cards-container {
+ max-height: 500px;
+ overflow-y: auto;
+ overflow-x: hidden;
+ padding-right: 8px;
+
+ /* 滚动条样式 */
+ &::-webkit-scrollbar {
+ width: 6px;
+ }
+
+ &::-webkit-scrollbar-track {
+ background: #f5f5f5;
+ border-radius: 3px;
+ }
+
+ &::-webkit-scrollbar-thumb {
+ background: #d0d7de;
+ border-radius: 3px;
+
+ &:hover {
+ background: #a8b3c1;
+ }
+ }
+ }
+
.package-card {
cursor: pointer; position: relative; width: calc(50% - 0.5rem);
border: 1px solid #e5e7eb; border-radius: 8px; padding: 16px;
@@ -1612,6 +2156,55 @@ function goToActivation() {
}
}
+ /* 模型库卡片样式 - 移动端 */
+ .model-library-section-mobile {
+ margin-top: 16px;
+
+ .model-library-card-mobile {
+ padding: 16px;
+ background: linear-gradient(135deg, #f0f4ff 0%, #e8f0fe 100%);
+ border-radius: 12px;
+ border: 2px solid #bae6fd;
+ transition: all 0.3s;
+
+ .card-header-mobile {
+ display: flex;
+ align-items: center;
+ gap: 12px;
+ margin-bottom: 12px;
+
+ .el-icon {
+ color: #667eea;
+ background: white;
+ padding: 8px;
+ border-radius: 8px;
+ }
+
+ .card-title-mobile {
+ margin: 0;
+ font-size: 16px;
+ font-weight: 700;
+ color: #1a1a1a;
+ }
+ }
+
+ .card-desc-mobile {
+ margin: 0 0 12px 0;
+ font-size: 13px;
+ color: #606266;
+ line-height: 1.5;
+ }
+
+ .goto-btn-mobile {
+ font-weight: 600;
+
+ .ml-1 {
+ margin-left: 4px;
+ }
+ }
+ }
+ }
+
// 累计充值优惠提示卡片样式 - 桌面端
.recharge-tip-card {
display: flex; align-items: center; gap: 12px; padding: 12px 16px;
diff --git a/Yi.Ai.Vue3/src/components/SupportModelProducts/indexl.vue b/Yi.Ai.Vue3/src/components/SupportModelProducts/indexl.vue
index 182e62b2..df88ebd9 100644
--- a/Yi.Ai.Vue3/src/components/SupportModelProducts/indexl.vue
+++ b/Yi.Ai.Vue3/src/components/SupportModelProducts/indexl.vue
@@ -1,6 +1,4 @@
@@ -39,8 +41,36 @@ const models = [
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+ 查看支持的模型
+
+
+ 查看意心AI支持的所有模型列表及详细信息
+
+
+
+ 前往模型库
+
+
+
+
+
+
热门大模型价格排行榜
@@ -80,7 +110,7 @@ const models = [
热门大模型价格实时排行榜
来源:openrouter 模型榜
@@ -101,4 +131,64 @@ const models = [
th, td {
border-bottom: 1px solid #e5e7eb;
}
+/* 模型库卡片样式 - 桌面端 */
+.model-library-section {
+ margin-top: 16px;
+
+ .model-library-card {
+ display: flex;
+ align-items: center;
+ gap: 16px;
+ padding: 16px;
+ background: linear-gradient(135deg, #f0f4ff 0%, #e8f0fe 100%);
+ border-radius: 12px;
+ border: 2px solid #bae6fd;
+ transition: all 0.3s;
+
+ &:hover {
+ border-color: #667eea;
+ box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
+ transform: translateY(-2px);
+ }
+
+ .card-icon {
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ width: 56px;
+ height: 56px;
+ background: white;
+ border-radius: 12px;
+ color: #667eea;
+ flex-shrink: 0;
+ }
+
+ .card-content {
+ flex: 1;
+
+ .card-title {
+ margin: 0 0 4px 0;
+ font-size: 16px;
+ font-weight: 700;
+ color: #1a1a1a;
+ }
+
+ .card-desc {
+ margin: 0;
+ font-size: 13px;
+ color: #606266;
+ line-height: 1.5;
+ }
+ }
+
+ .goto-btn {
+ flex-shrink: 0;
+ font-weight: 600;
+
+ .ml-1 {
+ margin-left: 4px;
+ }
+ }
+ }
+}
diff --git a/Yi.Ai.Vue3/src/components/userPersonalCenter/components/RechargeLog.vue b/Yi.Ai.Vue3/src/components/userPersonalCenter/components/RechargeLog.vue
index 4b3edc1a..9ef13677 100644
--- a/Yi.Ai.Vue3/src/components/userPersonalCenter/components/RechargeLog.vue
+++ b/Yi.Ai.Vue3/src/components/userPersonalCenter/components/RechargeLog.vue
@@ -4,6 +4,7 @@ import { ElMessage } from 'element-plus';
import { computed, onMounted, onUnmounted, ref } from 'vue';
import { getRechargeLog } from '@/api/model/index.ts';
import { isUserVip } from '@/utils/user.ts';
+import { showContactUs } from '@/utils/contact-us.ts';
interface RechargeLog {
id: string;
@@ -17,14 +18,11 @@ interface RechargeLog {
}
const loading = ref(false);
-const innerVisibleContact = ref(false);
const logData = ref([]);
const searchText = ref('');
const currentSort = ref({ prop: '', order: '' });
const currentPage = ref(1);
const pageSize = ref(10);
-const showWechatFullscreen = ref(false);
-const showWxGroupFullscreen = ref(false);
// 移动端检测
const isMobile = ref(false);
@@ -33,40 +31,6 @@ function checkMobile() {
isMobile.value = window.innerWidth < 768;
}
-const wxSrc = computed(
- () => `/src/assets/images/wx.png`,
-);
-const wxGroupQD = computed(
- () => `/src/assets/images/wx.png`,
-);
-
-// 复制微信号
-function copyWechatId() {
- navigator.clipboard.writeText('chengzilaoge520').then(() => {
- ElMessage({
- message: '微信号已复制到剪贴板',
- type: 'success',
- duration: 2000,
- });
- });
-}
-
-// 显示微信二维码全屏
-function showWechatFullscreenImage() {
- showWechatFullscreen.value = true;
-}
-
-// 显示微信群二维码全屏
-function showWxGroupFullscreenImage() {
- showWxGroupFullscreen.value = true;
-}
-
-// 关闭全屏图片
-function closeFullscreenImage() {
- showWechatFullscreen.value = false;
- showWxGroupFullscreen.value = false;
-}
-
// 模拟数据获取
async function fetchRechargeLog() {
try {
@@ -108,7 +72,13 @@ function refreshLog() {
// 联系售后弹窗
function contactCustomerService() {
- innerVisibleContact.value = !innerVisibleContact.value;
+ // 如果用户有购买记录,则显示售后群
+ if (logData.value.length > 0) {
+ showContactUs({ scenario: 'afterSales' });
+ }
+ else {
+ showContactUs({ scenario: 'regular' });
+ }
}
// 暴露方法给父组件使用
@@ -166,74 +136,6 @@ onUnmounted(() => {
-
-
- 请扫码加入微信交流群
- 备注“AI”获取专属客服支持
-
-
-
站长微信账号:
-
chengzilaoge520
-
-
-
-
-
-
-
站长微信(备注“AI”以便通过)
-
-
![微信二维码]()
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
![]()
-
-
-
![]()
-
-
-