diff --git a/client/src/App.vue b/client/src/App.vue
index f5e5729..f6d878b 100644
--- a/client/src/App.vue
+++ b/client/src/App.vue
@@ -52,14 +52,14 @@ function applyTabBarTheme(theme) {
try {
if (theme === 'dark') {
uni.setTabBarStyle({
- color: 'rgba(255,255,255,0.35)',
+ color: '#a2a2b8',
selectedColor: '#a2b2ff',
backgroundColor: '#181828',
borderStyle: 'black'
})
} else {
uni.setTabBarStyle({
- color: 'rgba(0,0,0,0.3)',
+ color: '#999999',
selectedColor: '#5b5ff8',
backgroundColor: '#ffffff',
borderStyle: 'white'
diff --git a/client/src/pages/profile/profile.vue b/client/src/pages/profile/profile.vue
index d6c07ec..8388847 100644
--- a/client/src/pages/profile/profile.vue
+++ b/client/src/pages/profile/profile.vue
@@ -41,21 +41,7 @@
-
-
-
-
-
-
- {{ dim.name }}
-
-
-
- {{ stats.litByDim?.[dim.id] || 0 }}/{{ byDim[dim.id] || 0 }}
-
-
-
-
+
@@ -250,6 +236,7 @@ async function handleLogout() {
function goLogin() { uni.navigateTo({ url: '/pages/login/login' }) }
+function goHome() { uni.switchTab({ url: '/pages/index/index' }) }
function goRecharge() { uni.navigateTo({ url: '/pages/vpay/recharge' }) }
function goChat() { uni.switchTab({ url: '/pages/chat/chat' }) }
function goFavorites() { uni.navigateTo({ url: '/pages/favorites/favorites' }) }
@@ -653,3 +640,8 @@ onShareTimeline(() => ({
flex-shrink: 0;
}
+
+
diff --git a/server/src/routes/vpay.js b/server/src/routes/vpay.js
index cfe65b8..7df9117 100644
--- a/server/src/routes/vpay.js
+++ b/server/src/routes/vpay.js
@@ -38,6 +38,7 @@ function buildPayParams(user, pack, outTradeNo) {
const sd = {
attach: JSON.stringify({ uid: String(user._id), pack: pack.id }),
buyQuantity: pack.coins,
+ currencyType: 'CNY',
env: ENV,
mode: 'short_series_coin',
offerId: String(OFFER_ID),