From 4c09e97178bb2dba97b5fa72c7310aff5e4ef6f6 Mon Sep 17 00:00:00 2001 From: 15233722133 <15233722133@163.com> Date: Mon, 1 Jun 2026 17:35:42 +0800 Subject: [PATCH] =?UTF-8?q?feat=EF=BC=9Aai=E5=BA=97=E9=93=BA=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0=E6=BB=9A=E5=8A=A8=E5=88=97=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/home/liquidation.vue | 4 +-- pages/index/aiStore.vue | 73 ++++++++++++++++++++++++++++++++++++-- 2 files changed, 73 insertions(+), 4 deletions(-) diff --git a/pages/home/liquidation.vue b/pages/home/liquidation.vue index 72f80b2..f9c6a3c 100644 --- a/pages/home/liquidation.vue +++ b/pages/home/liquidation.vue @@ -7,7 +7,7 @@ - 当前可提现金额 + 当前钱包余额 {{ $fen2yuan(walletBalanceCents || 0) }} @@ -107,7 +107,7 @@ const refreshWallet = async () => { const res = await payApi.getWallet().catch(() => ({ code: -1 })); - if (res?.code === 0) walletBalanceCents.value = res?.data?.withdrawAmount ?? 0; + if (res?.code === 0) walletBalanceCents.value = res?.data?.balance ?? 0; }; const onAmountBlur = () => { diff --git a/pages/index/aiStore.vue b/pages/index/aiStore.vue index b524f91..849ddcb 100644 --- a/pages/index/aiStore.vue +++ b/pages/index/aiStore.vue @@ -34,6 +34,27 @@ + + + + + @@ -62,8 +83,21 @@ :oneShow="true" > @@ -87,6 +121,7 @@ import * as api from '@/sheep/api/ai/index'; import card_pages from '@/components/card_pages/card_pages'; import card_payment from '@/components/card_payment/card_payment'; + import maoScroll from '@/components/mao-scroll/mao-scroll'; import aistore_tab1 from './components/aistore_tab1.vue'; import aistore_tab2 from './components/aistore_tab2.vue'; @@ -104,6 +139,7 @@ const timeRound = ref([]); const selectedTimeId = ref(null); const navName = ref(''); + const mesArr = ref([]); function changeTimeRound(e) { navName.value = e.name; @@ -128,9 +164,15 @@ } }; + const getMessageList = async () => { + const res = await api.getMessageList({ pageNo: 1, pageSize: 10 }).catch(() => ({ code: -1 })); + mesArr.value = res?.code === 0 ? res?.data || [] : []; + }; + onShow(() => { getSpuTimeList(); getCartList(); + getMessageList(); }); const update = () => { @@ -323,6 +365,33 @@ background: linear-gradient(to bottom right, #2c8cfa 0%, #3d5efb 100%); } + .notice-card { + margin-top: 18rpx; + padding: 0 40rpx; + } + + .notice-item { + height: 50rpx; + padding: 0 24rpx; + border-radius: 999rpx; + background: rgba(255, 255, 255, 0.95); + } + + .notice-icon { + width: 34rpx; + height: 34rpx; + border-radius: 50%; + background: rgba(37, 86, 236, 0.12); + margin-right: 16rpx; + } + + .notice-text { + flex: 1; + font-size: 22rpx; + color: #111111; + line-height: 60rpx; + } + .time-scroll { width: 100%; white-space: nowrap;