diff --git a/client-configs.json b/client-configs.json index dc9c0f7..3258ccd 100644 --- a/client-configs.json +++ b/client-configs.json @@ -13,7 +13,25 @@ "ipLargeImageStep": 147, "ipSmallImageStep": 117, "ipLargeTime": 4, - "ipSmallTime": 4 + "ipSmallTime": 4, + "grantType": "wechat" + }, + "zhinianDY": { + "clientId": "7", + "appId": "wx5e79df5996572539", + "name": "智念", + "placeholder": "快告诉智念您在想什么~", + "loginDesc": "您好,欢迎来到智念科技", + "logo": "https://oss.nianxx.cn/mp/static/version_101/login/dh_logo.png", + "ipLargeImage": "https://oss.nianxx.cn/mp/static/version_101/dh/dh_large.png", + "ipSmallImage": "https://oss.nianxx.cn/mp/static/version_101/dh/dh_small.png", + "ipLargeImageHeight": 19687, + "ipSmallImageHeight": 3744, + "ipLargeImageStep": 147, + "ipSmallImageStep": 117, + "ipLargeTime": 4, + "ipSmallTime": 4, + "grantType": "douyin" }, "duohua": { "clientId": "2", @@ -29,7 +47,8 @@ "ipLargeImageStep": 147, "ipSmallImageStep": 117, "ipLargeTime": 4, - "ipSmallTime": 4 + "ipSmallTime": 4, + "grantType": "wechat" }, "tianmu": { "clientId": "4", @@ -45,6 +64,24 @@ "ipLargeImageStep": 71, "ipSmallImageStep": 148, "ipLargeTime": 4, - "ipSmallTime": 6 + "ipSmallTime": 6, + "grantType": "wechat" + }, + "tianmuDY": { + "clientId": "7", + "appId": "wx0be424e1d22065a9", + "name": "沐沐", + "placeholder": "快告诉沐沐您在想什么~", + "loginDesc": "您好,欢迎来到天沐温泉", + "logo": "https://oss.nianxx.cn/mp/static/version_101/login/tm_logo.png", + "ipLargeImage": "https://oss.nianxx.cn/mp/static/version_101/tm/tm_large.png", + "ipSmallImage": "https://oss.nianxx.cn/mp/static/version_101/tm/tm_small.png", + "ipLargeImageHeight": 9514, + "ipSmallImageHeight": 4736, + "ipLargeImageStep": 71, + "ipSmallImageStep": 148, + "ipLargeTime": 4, + "ipSmallTime": 6, + "grantType": "douyin" } } diff --git a/project.config.json b/project.config.json index 55b4b9f..d102f1b 100644 --- a/project.config.json +++ b/project.config.json @@ -1,5 +1,5 @@ { - "appid": "wx0be424e1d22065a9", + "appid": "wx5e79df5996572539", "compileType": "miniprogram", "libVersion": "3.8.10", "packOptions": { diff --git a/src/components/SwipeCards/index.vue b/src/components/SwipeCards/index.vue index 5c8c7c1..ffe514e 100644 --- a/src/components/SwipeCards/index.vue +++ b/src/components/SwipeCards/index.vue @@ -67,7 +67,12 @@ const swipering = ref(false); const animatingOut = ref(false); let reorderTimer = null; +// #ifdef MP-TOUTIAO +const { windowWidth } = tt.getSystemInfoSync(); +// #endif +// #ifdef MP-WEIXIN const { windowWidth } = uni.getWindowInfo(); +// #endif let uidCounter = 0; // 始终生成全局唯一的 __uid,避免因重复 key 导致后续卡片无法正确重渲染与绑定事件 diff --git a/src/components/TopNavBar/index.vue b/src/components/TopNavBar/index.vue index 2be0e1d..b4c1a68 100644 --- a/src/components/TopNavBar/index.vue +++ b/src/components/TopNavBar/index.vue @@ -1,37 +1,23 @@