diff --git a/.kiro/specs/miniprogram-api-migration/design.md b/.kiro/specs/miniprogram-api-migration/design.md index ee32bb19..acb0d2f2 100644 --- a/.kiro/specs/miniprogram-api-migration/design.md +++ b/.kiro/specs/miniprogram-api-migration/design.md @@ -58,7 +58,7 @@ // 开发环境配置 const development = { baseUrl: 'https://dev-api.zfunbox.cn', // 开发环境 - imageUrl: 'https://image.zfunbox.cn', + imageUrl: 'https://youdas-1308826010.cos.ap-shanghai.myqcloud.com', // ... }; @@ -72,7 +72,7 @@ const testing = { // 生产环境配置 const production = { baseUrl: 'https://api.zfunbox.cn', // .NET 8 生产环境 - imageUrl: 'https://image.zfunbox.cn', + imageUrl: 'https://youdas-1308826010.cos.ap-shanghai.myqcloud.com', // ... }; ``` diff --git a/honey_box/common/config.js b/honey_box/common/config.js index c53efe09..cb91c34d 100644 --- a/honey_box/common/config.js +++ b/honey_box/common/config.js @@ -199,13 +199,13 @@ const defaultConfig = { "purchase_popup": "1", "exchange_times": "2", "balance_name": "钻石", - "balance_icon": "https://image.zfunbox.cn/app/icons/20250412/a482b527477e74f8a18ec02ebc7f0b4e.png", + "balance_icon": "https://youdas-1308826010.cos.ap-shanghai.myqcloud.com/app/icons/20250412/a482b527477e74f8a18ec02ebc7f0b4e.png", "currency1_name": "HH币", - "currency1_icon": "https://image.zfunbox.cn/app/icons/20250412/3d1741965e9439372d1ce101bd110616.png", + "currency1_icon": "https://youdas-1308826010.cos.ap-shanghai.myqcloud.com/app/icons/20250412/3d1741965e9439372d1ce101bd110616.png", "currency2_name": "哈尼券", - "currency2_icon": "https://image.zfunbox.cn/app/icons/20250412/19a9f69011fd82c85ab0df3a064a309c.png", - "win_audio": "https://image.zfunbox.cn/app/20250407/14ba53d367e1d131a344c6fd5cc0e28e.mp3", + "currency2_icon": "https://youdas-1308826010.cos.ap-shanghai.myqcloud.com/app/icons/20250412/19a9f69011fd82c85ab0df3a064a309c.png", + "win_audio": "https://youdas-1308826010.cos.ap-shanghai.myqcloud.com/app/20250407/14ba53d367e1d131a344c6fd5cc0e28e.mp3", "applet_version": "v1.0.3", "sign_in_spend_limit": "1", "show_dadajuan_limit": "0", @@ -224,7 +224,7 @@ class ConfigManager { // 从 base_config 中获取 share_image const shareImage = this.getBaseConfigKey('share_image'); // 如果没有配置,返回默认图片 - return shareImage || "https://image.zfunbox.cn/icon/fenxiang.jpg"; + return shareImage || "https://youdas-1308826010.cos.ap-shanghai.myqcloud.com/icon/fenxiang.jpg"; } /** diff --git a/honey_box/components/detail-lucky/detail-bao-xiang.vue b/honey_box/components/detail-lucky/detail-bao-xiang.vue index 96a9ed62..cc41369b 100644 --- a/honey_box/components/detail-lucky/detail-bao-xiang.vue +++ b/honey_box/components/detail-lucky/detail-bao-xiang.vue @@ -18,7 +18,7 @@ export default { return { isVisible: false, // 控制组件显示/隐藏 isInitialized: false, // 控制是否已初始化 - webpUrl: "https://image.zfunbox.cn/static/image/lucky/baoxiang.webp", + webpUrl: "https://youdas-1308826010.cos.ap-shanghai.myqcloud.com/static/image/lucky/baoxiang.webp", isFadingOut: false, // 控制淡出动画 }; }, @@ -33,7 +33,7 @@ export default { const webpImg = document.getElementById("animatedWebp"); // 重新加载图片实现从头播放 webpImg.src = ""; // 先清空 - webpImg.src = "https://image.zfunbox.cn/static/image/lucky/baoxiang.webp"; // 重新设置相同的URL + webpImg.src = "https://youdas-1308826010.cos.ap-shanghai.myqcloud.com/static/image/lucky/baoxiang.webp"; // 重新设置相同的URL webpImg.style.animationPlayState = "running"; if (this.bgmCtx && this.bgmCtx.csBgm) { this.bgmCtx.csBgm.seek(0); @@ -54,7 +54,7 @@ export default { this.isVisible = true; this.isFadingOut = false; // 重置淡出状态 this.webpUrl = - "https://image.zfunbox.cn/static/image/lucky/baoxiang.webp?v=" + new Date().getTime(); + "https://youdas-1308826010.cos.ap-shanghai.myqcloud.com/static/image/lucky/baoxiang.webp?v=" + new Date().getTime(); this.audioManager.playBaoXiangBgm(); // 设置动画结束后的淡出效果 setTimeout(() => { @@ -88,7 +88,7 @@ export default { align-items: center; justify-content: center; box-sizing: border-box; - //background-image: url('https://image.zfunbox.cn/static/image/lucky/grand.webp'); + //background-image: url('https://youdas-1308826010.cos.ap-shanghai.myqcloud.com/static/image/lucky/grand.webp'); background-size: cover; background-position: center; position: fixed; diff --git a/honey_box/components/detail-lucky/detail-grand-prize.vue b/honey_box/components/detail-lucky/detail-grand-prize.vue index 5e89ab25..4b50a893 100644 --- a/honey_box/components/detail-lucky/detail-grand-prize.vue +++ b/honey_box/components/detail-lucky/detail-grand-prize.vue @@ -18,7 +18,7 @@ export default { return { isVisible: false, // 控制组件显示/隐藏 isInitialized: false, // 控制是否已初始化 - webpUrl: "https://image.zfunbox.cn/static/image/lucky/grand.webp", + webpUrl: "https://youdas-1308826010.cos.ap-shanghai.myqcloud.com/static/image/lucky/grand.webp", isFadingOut: false, // 控制淡出动画 }; }, @@ -33,7 +33,7 @@ export default { const webpImg = document.getElementById("animatedWebp"); // 重新加载图片实现从头播放 webpImg.src = ""; // 先清空 - webpImg.src = "https://image.zfunbox.cn/static/image/lucky/grand.webp"; // 重新设置相同的URL + webpImg.src = "https://youdas-1308826010.cos.ap-shanghai.myqcloud.com/static/image/lucky/grand.webp"; // 重新设置相同的URL webpImg.style.animationPlayState = "running"; if (this.bgmCtx && this.bgmCtx.csBgm) { this.bgmCtx.csBgm.seek(0); @@ -54,7 +54,7 @@ export default { this.isVisible = true; this.isFadingOut = false; // 重置淡出状态 this.webpUrl = - "https://image.zfunbox.cn/static/image/lucky/grand.webp?v=" + new Date().getTime(); + "https://youdas-1308826010.cos.ap-shanghai.myqcloud.com/static/image/lucky/grand.webp?v=" + new Date().getTime(); this.audioManager.playCsBgm(); // 设置动画结束后的淡出效果 setTimeout(() => { @@ -88,7 +88,7 @@ export default { align-items: center; justify-content: center; box-sizing: border-box; - //background-image: url('https://image.zfunbox.cn/static/image/lucky/grand.webp'); + //background-image: url('https://youdas-1308826010.cos.ap-shanghai.myqcloud.com/static/image/lucky/grand.webp'); background-size: cover; background-position: center; position: fixed; diff --git a/honey_box/components/detail-lucky/detail-lucky-canvas.vue b/honey_box/components/detail-lucky/detail-lucky-canvas.vue index 04ab6b9a..caa8afd6 100644 --- a/honey_box/components/detail-lucky/detail-lucky-canvas.vue +++ b/honey_box/components/detail-lucky/detail-lucky-canvas.vue @@ -2,7 +2,7 @@ - @@ -226,7 +226,7 @@ export default { return [{ id: 1128, title: "兹琪露娜提亚斯", - imgurl: "https://image.zfunbox.cn/topic/20250515/2986e27e673ef675e02771cdebd9b822.jpg", + imgurl: "https://youdas-1308826010.cos.ap-shanghai.myqcloud.com/topic/20250515/2986e27e673ef675e02771cdebd9b822.jpg", price: "350.00", real_pro: "0.02000", goods_type: 1, @@ -236,7 +236,7 @@ export default { { id: 1129, title: "月岗恋钟", - imgurl: "https://image.zfunbox.cn/topic/20250515/2c5ed2097716db6bef01da718bc3c091.jpg", + imgurl: "https://youdas-1308826010.cos.ap-shanghai.myqcloud.com/topic/20250515/2c5ed2097716db6bef01da718bc3c091.jpg", price: "132.00", real_pro: "0.02000", goods_type: 1, @@ -246,7 +246,7 @@ export default { { id: 1130, title: "BANDAI万代拼装模型 1/100 MG 机动战士高达 倒A 逆A-15岁以上", - imgurl: "https://image.zfunbox.cn/topic/20250515/e35da49b4976f156f2f98dec002274a5.png", + imgurl: "https://youdas-1308826010.cos.ap-shanghai.myqcloud.com/topic/20250515/e35da49b4976f156f2f98dec002274a5.png", price: "305.00", real_pro: "0.03000", goods_type: 1, @@ -256,7 +256,7 @@ export default { { id: 1131, title: "BANDAI 万代拼装模型 MG 主天使-15岁以上", - imgurl: "https://image.zfunbox.cn/topic/20250515/77302c6f1ea9ea6a8516cc1208174aee.png", + imgurl: "https://youdas-1308826010.cos.ap-shanghai.myqcloud.com/topic/20250515/77302c6f1ea9ea6a8516cc1208174aee.png", price: "289.00", real_pro: "0.03000", goods_type: 1, @@ -266,7 +266,7 @@ export default { { id: 1132, title: "BANDAI万代 HG00 09 1/144 座天使高达一型-15岁以上", - imgurl: "https://image.zfunbox.cn/topic/20250515/55e816c93b5e4103a30682c586816b11.jpg", + imgurl: "https://youdas-1308826010.cos.ap-shanghai.myqcloud.com/topic/20250515/55e816c93b5e4103a30682c586816b11.jpg", price: "114.00", real_pro: "0.50000", goods_type: 1, @@ -276,7 +276,7 @@ export default { { id: 1133, title: "BANDAI万代拼装模型 HGUC 130 机动战士高达 杰斯塔-15岁以上", - imgurl: "https://image.zfunbox.cn/topic/20250515/aeb6bfb8b4aa8a29796b242e4f5d56d9.png", + imgurl: "https://youdas-1308826010.cos.ap-shanghai.myqcloud.com/topic/20250515/aeb6bfb8b4aa8a29796b242e4f5d56d9.png", price: "113.00", real_pro: "1.50000", goods_type: 1, @@ -286,7 +286,7 @@ export default { { id: 1134, title: "BANDAI万代拼装模型HG26 1/144 凯列班高达 异灵高达-15岁以上", - imgurl: "https://image.zfunbox.cn/topic/20250515/329e3a7e21772a63cea03d31f948345d.png", + imgurl: "https://youdas-1308826010.cos.ap-shanghai.myqcloud.com/topic/20250515/329e3a7e21772a63cea03d31f948345d.png", price: "112.00", real_pro: "1.00000", goods_type: 1, @@ -296,7 +296,7 @@ export default { { id: 1135, title: "梦幻", - imgurl: "https://image.zfunbox.cn/topic/20250515/d2c7e48515d393084000595074209042.jpg", + imgurl: "https://youdas-1308826010.cos.ap-shanghai.myqcloud.com/topic/20250515/d2c7e48515d393084000595074209042.jpg", price: "41.00", real_pro: "2.50000", goods_type: 1, @@ -306,7 +306,7 @@ export default { { id: 1136, title: "谜拟丘", - imgurl: "https://image.zfunbox.cn/topic/20250515/6031827bc455cbf86ff778d74ddffbd3.jpg", + imgurl: "https://youdas-1308826010.cos.ap-shanghai.myqcloud.com/topic/20250515/6031827bc455cbf86ff778d74ddffbd3.jpg", price: "38.00", real_pro: "1.50000", goods_type: 1, @@ -316,7 +316,7 @@ export default { { id: 1137, title: "小提琴模型1个", - imgurl: "https://image.zfunbox.cn/topic/20250515/22846dea5a933ab314998afc51abb7bb.jpg", + imgurl: "https://youdas-1308826010.cos.ap-shanghai.myqcloud.com/topic/20250515/22846dea5a933ab314998afc51abb7bb.jpg", price: "13.80", real_pro: "92.90000", goods_type: 1, @@ -692,17 +692,17 @@ export default { // 根据模式设置不同的背景 .slot-view-1 { - background: url("https://image.zfunbox.cn/static/image/lucky/di_5.png") no-repeat; + background: url("https://youdas-1308826010.cos.ap-shanghai.myqcloud.com/static/image/lucky/di_5.png") no-repeat; background-size: 100% 100%; } .slot-view-3 { - background: url("https://image.zfunbox.cn/static/image/lucky/di_3.png") no-repeat; + background: url("https://youdas-1308826010.cos.ap-shanghai.myqcloud.com/static/image/lucky/di_3.png") no-repeat; background-size: 100% 100%; } .slot-view-5 { - background: url("https://image.zfunbox.cn/static/image/lucky/di_5.png") no-repeat; + background: url("https://youdas-1308826010.cos.ap-shanghai.myqcloud.com/static/image/lucky/di_5.png") no-repeat; background-size: 100% 100%; } diff --git a/honey_box/index.html b/honey_box/index.html index e46ffe07..7d902bbd 100644 --- a/honey_box/index.html +++ b/honey_box/index.html @@ -4,7 +4,7 @@ <%= htmlWebpackPlugin.options.title %>-哈尼盲盒 - + +