diff --git a/common/css/diy.scss b/common/css/diy.scss index 943dbfd..bd87de6 100644 --- a/common/css/diy.scss +++ b/common/css/diy.scss @@ -30,7 +30,7 @@ image { /* #ifdef H5 */ height: calc(100vh - 88rpx); /* #endif */ - /* #ifdef MP-WEIXIN */ + /* #ifdef MP */ height: 100vh; /* #endif */ } diff --git a/common/css/order_parment.scss b/common/css/order_parment.scss index 56d9b1b..9296f58 100644 --- a/common/css/order_parment.scss +++ b/common/css/order_parment.scss @@ -25,7 +25,7 @@ view { background-size: 100% 260rpx; background-repeat: no-repeat; - // #ifdef MP-WEIXIN + // #ifdef MP background-size: 100% 380rpx; // #endif @@ -52,7 +52,7 @@ view { background: linear-gradient(180deg, $base-color 10%, $color-bg 100%); background-size: 100% 260rpx; - // #ifdef MP-WEIXIN + // #ifdef MP background-size: 100% 380rpx; // #endif diff --git a/common/js/ai-service.js b/common/js/ai-service.js index 559470b..50ba6c4 100644 --- a/common/js/ai-service.js +++ b/common/js/ai-service.js @@ -50,7 +50,7 @@ function getUserId() { return guestId; } -// #ifdef MP-WEIXIN +// #ifdef MP // ================================ // WebSocket 长连接管理(微信小程序) // ================================ @@ -283,7 +283,7 @@ export default { * 微信小程序:复用长连接 WebSocket */ async sendStreamMessage(message, onChunk, onComplete) { - // #ifdef MP-WEIXIN + // #ifdef MP // 先确保连接已就绪 try { await ensureWebSocketConnected(); @@ -676,7 +676,7 @@ export default { return null; } // #endif - // #ifdef MP-WEIXIN + // #ifdef MP console.warn('chatWithEventSource 不支持微信小程序'); return null; // #endif @@ -692,13 +692,13 @@ export default { onComplete?.({ message: res.content, conversation_id: res.conversation_id }); }); // #endif - // #ifdef MP-WEIXIN + // #ifdef MP console.warn('chatWithFetchStream 不支持微信小程序'); return null; // #endif }, - // #ifdef MP-WEIXIN + // #ifdef MP /** * [微信小程序] 断开 WebSocket 长连接(页面离开时调用) */ diff --git a/common/js/customer-service.js b/common/js/customer-service.js index 2b81d52..fd5b2fe 100644 --- a/common/js/customer-service.js +++ b/common/js/customer-service.js @@ -282,7 +282,7 @@ export class CustomerService { // #ifdef H5 window.location.href = config.third_url; // #endif - // #ifdef MP-WEIXIN + // #ifdef MP uni.setClipboardData({ data: config.third_url, success: () => { @@ -350,7 +350,7 @@ export class CustomerService { // #ifdef H5 window.open(serviceUrl, '_blank'); // #endif - // #ifdef MP-WEIXIN + // #ifdef MP uni.setClipboardData({ data: serviceUrl }); uni.showToast({ title: '客服链接已复制', icon: 'none' }); // #endif diff --git a/pages_promotion/merch/public/category.scss b/pages_promotion/merch/public/category.scss index e9d5897..e3a69a7 100644 --- a/pages_promotion/merch/public/category.scss +++ b/pages_promotion/merch/public/category.scss @@ -104,7 +104,7 @@ /* #ifndef MP-WEIXIN */ height: 64rpx; /* #endif */ - /* #ifdef MP-WEIXIN */ + /* #ifdef MP */ height: 100%; /* #endif */ border-radius: 40rpx; diff --git a/pages_tool/index/diy.vue b/pages_tool/index/diy.vue index ff8e640..7220334 100644 --- a/pages_tool/index/diy.vue +++ b/pages_tool/index/diy.vue @@ -47,7 +47,7 @@ - + diff --git a/pages_tool/member/public/css/balance.scss b/pages_tool/member/public/css/balance.scss index 09e4fd5..15cdf6d 100644 --- a/pages_tool/member/public/css/balance.scss +++ b/pages_tool/member/public/css/balance.scss @@ -7,7 +7,7 @@ z-index: 100; background: unset; - // #ifdef MP-WEIXIN + // #ifdef MP background-size: 100% 380rpx; // #endif @@ -47,7 +47,7 @@ overflow: hidden; margin: 24rpx 28rpx; border-radius: 24rpx; - // #ifdef MP-WEIXIN + // #ifdef MP padding-top: 160rpx; // #endif height: 352rpx; diff --git a/pages_tool/member/public/css/point.scss b/pages_tool/member/public/css/point.scss index 5204ec2..cd70f2d 100644 --- a/pages_tool/member/public/css/point.scss +++ b/pages_tool/member/public/css/point.scss @@ -7,7 +7,7 @@ z-index: 100; background: unset; - // #ifdef MP-WEIXIN + // #ifdef MP background-size: 100% 380rpx; // #endif @@ -47,7 +47,7 @@ border-radius: 0 0 100% 100%/0 0 70rpx 70rpx; overflow: hidden; - // #ifdef MP-WEIXIN + // #ifdef MP padding-top: 160rpx; // #endif