From f59feef223de9487402912fc6df4cdb4ede17d07 Mon Sep 17 00:00:00 2001 From: xiaoaojiao Date: Sun, 14 Sep 2025 22:18:52 +0800 Subject: [PATCH] todolist --- index.html | 20 +++---- src/App.vue | 16 ++--- src/components/Ad.vue | 6 +- src/components/GenerateImg.vue | 20 +++---- src/components/GenerateImgConfirm.vue | 6 +- src/components/GenerateLoading.vue | 4 +- src/components/HomePage.vue | 20 +++---- src/components/Lottery.vue | 16 ++--- src/components/MyPhoto.vue | 36 ++++++------ src/components/PhotoSquare.vue | 22 +++---- src/components/Popup.vue | 6 +- src/components/PrizeList.vue | 10 ++-- src/components/Rule.vue | 8 +-- src/components/SelectTemplateV2.vue | 10 ++-- src/components/SynthesizedResults.vue | 24 ++++---- src/components/TodoList.vue | 36 ++++++------ src/libs/haibao.js | 10 ++-- src/libs/utils.js | 2 +- src/static/ali_face_template.js | 72 +++++++++++------------ src/static/imageBackground.js | 84 +++++++++++++-------------- vite.config.js | 12 +--- 21 files changed, 215 insertions(+), 225 deletions(-) diff --git a/index.html b/index.html index c20c14c..cecadad 100644 --- a/index.html +++ b/index.html @@ -36,15 +36,15 @@ const appid = "wx718c4a40911b7837" const host = "https://huodong2.lzlj.com/iceSip/" - // if (isWeixinPlatform && !isLogin && !code) { - // let url = encodeURIComponent(host) - // if (fromid) { - // url = encodeURIComponent(host + "?fromid=" + fromid) - // } - // window.location.href = "https://open.weixin.qq.com/connect/oauth2/authorize?appid=" + appid + "&redirect_uri=" + url + "&response_type=code&scope=snsapi_userinfo#wechat_redirect" - // } + if (isWeixinPlatform && !isLogin && !code) { + let url = encodeURIComponent(host) + if (fromid) { + url = encodeURIComponent(host + "?fromid=" + fromid) + } + window.location.href = "https://open.weixin.qq.com/connect/oauth2/authorize?appid=" + appid + "&redirect_uri=" + url + "&response_type=code&scope=snsapi_userinfo#wechat_redirect" + } - -->