From a19548eef6b6337c5db08735230bada9321b106a Mon Sep 17 00:00:00 2001 From: BeininX <1271798328@qq.com> Date: Sat, 6 Jan 2024 09:03:54 +0800 Subject: [PATCH 1/2] Changes --- package-lock.json | 68 +------------------------------------ src/components/love.vue | 74 ++++++++++++----------------------------- src/utils/constant.js | 8 ++--- 3 files changed, 26 insertions(+), 124 deletions(-) diff --git a/package-lock.json b/package-lock.json index 4d826d6..a90ec91 100644 --- a/package-lock.json +++ b/package-lock.json @@ -17,11 +17,9 @@ "qs": "^6.10.3", "vue": "^2.6.11", "vue-baberrage": "^3.2.4", - "vue-ripple-directive": "^2.0.1", "vue-router": "^3.2.0", "vue-seamless-scroll": "^1.1.23", - "vuex": "^3.4.0", - "vuex-persistedstate": "^4.0.0" + "vuex": "^3.4.0" }, "devDependencies": { "@vue/cli-plugin-babel": "~4.5.0", @@ -12484,12 +12482,6 @@ "integrity": "sha512-Vpfqwm4EnqGdlsBFNmHhxhElJYrdfcxPThu+ryKS5J8L/fhAwLazFZtq+S+TWZ9ANj2piSQLGj6NQg+lKPmxrw==", "dev": true }, - "node_modules/shvl": { - "version": "2.0.3", - "resolved": "https://registry.npmmirror.com/shvl/-/shvl-2.0.3.tgz", - "integrity": "sha512-V7C6S9Hlol6SzOJPnQ7qzOVEWUQImt3BNmmzh40wObhla3XOYMe4gGiYzLrJd5TFa+cI2f9LKIRJTTKZSTbWgw==", - "deprecated": "older versions vulnerable to prototype pollution" - }, "node_modules/side-channel": { "version": "1.0.4", "resolved": "https://registry.npmmirror.com/side-channel/-/side-channel-1.0.4.tgz", @@ -14623,14 +14615,6 @@ "node": ">=4.0.0" } }, - "node_modules/vue-ripple-directive": { - "version": "2.0.1", - "resolved": "https://registry.npmmirror.com/vue-ripple-directive/-/vue-ripple-directive-2.0.1.tgz", - "integrity": "sha512-jXZEX6uZpo89wxmdcw02uFpsMBpm1pxjQ60uqghNLQ8H8ju9eon2vE0+vvSWJ1WGCOTEfxGDR4InabJJu5f1GA==", - "dependencies": { - "vue": "^2.2.1" - } - }, "node_modules/vue-router": { "version": "3.5.3", "resolved": "https://registry.npmmirror.com/vue-router/-/vue-router-3.5.3.tgz", @@ -14710,27 +14694,6 @@ "vue": "^2.0.0" } }, - "node_modules/vuex-persistedstate": { - "version": "4.1.0", - "resolved": "https://registry.npmmirror.com/vuex-persistedstate/-/vuex-persistedstate-4.1.0.tgz", - "integrity": "sha512-3SkEj4NqwM69ikJdFVw6gObeB0NHyspRYMYkR/EbhR0hbvAKyR5gksVhtAfY1UYuWUOCCA0QNGwv9pOwdj+XUQ==", - "deprecated": "Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.", - "dependencies": { - "deepmerge": "^4.2.2", - "shvl": "^2.0.3" - }, - "peerDependencies": { - "vuex": "^3.0 || ^4.0.0-rc" - } - }, - "node_modules/vuex-persistedstate/node_modules/deepmerge": { - "version": "4.2.2", - "resolved": "https://registry.npmmirror.com/deepmerge/-/deepmerge-4.2.2.tgz", - "integrity": "sha512-FJ3UgI4gIl+PHZm53knsuSFpE+nESMr7M4v9QcgB7S63Kj/6WqMiFQJpBBYz1Pt+66bZpP3Q7Lye0Oo9MPKEdg==", - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/watchpack": { "version": "1.7.5", "resolved": "https://registry.npmmirror.com/watchpack/-/watchpack-1.7.5.tgz", @@ -26095,11 +26058,6 @@ "integrity": "sha512-Vpfqwm4EnqGdlsBFNmHhxhElJYrdfcxPThu+ryKS5J8L/fhAwLazFZtq+S+TWZ9ANj2piSQLGj6NQg+lKPmxrw==", "dev": true }, - "shvl": { - "version": "2.0.3", - "resolved": "https://registry.npmmirror.com/shvl/-/shvl-2.0.3.tgz", - "integrity": "sha512-V7C6S9Hlol6SzOJPnQ7qzOVEWUQImt3BNmmzh40wObhla3XOYMe4gGiYzLrJd5TFa+cI2f9LKIRJTTKZSTbWgw==" - }, "side-channel": { "version": "1.0.4", "resolved": "https://registry.npmmirror.com/side-channel/-/side-channel-1.0.4.tgz", @@ -27882,14 +27840,6 @@ } } }, - "vue-ripple-directive": { - "version": "2.0.1", - "resolved": "https://registry.npmmirror.com/vue-ripple-directive/-/vue-ripple-directive-2.0.1.tgz", - "integrity": "sha512-jXZEX6uZpo89wxmdcw02uFpsMBpm1pxjQ60uqghNLQ8H8ju9eon2vE0+vvSWJ1WGCOTEfxGDR4InabJJu5f1GA==", - "requires": { - "vue": "^2.2.1" - } - }, "vue-router": { "version": "3.5.3", "resolved": "https://registry.npmmirror.com/vue-router/-/vue-router-3.5.3.tgz", @@ -27963,22 +27913,6 @@ "integrity": "sha512-ETW44IqCgBpVomy520DT5jf8n0zoCac+sxWnn+hMe/CzaSejb/eVw2YToiXYX+Ex/AuHHia28vWTq4goAexFbw==", "requires": {} }, - "vuex-persistedstate": { - "version": "4.1.0", - "resolved": "https://registry.npmmirror.com/vuex-persistedstate/-/vuex-persistedstate-4.1.0.tgz", - "integrity": "sha512-3SkEj4NqwM69ikJdFVw6gObeB0NHyspRYMYkR/EbhR0hbvAKyR5gksVhtAfY1UYuWUOCCA0QNGwv9pOwdj+XUQ==", - "requires": { - "deepmerge": "^4.2.2", - "shvl": "^2.0.3" - }, - "dependencies": { - "deepmerge": { - "version": "4.2.2", - "resolved": "https://registry.npmmirror.com/deepmerge/-/deepmerge-4.2.2.tgz", - "integrity": "sha512-FJ3UgI4gIl+PHZm53knsuSFpE+nESMr7M4v9QcgB7S63Kj/6WqMiFQJpBBYz1Pt+66bZpP3Q7Lye0Oo9MPKEdg==" - } - } - }, "watchpack": { "version": "1.7.5", "resolved": "https://registry.npmmirror.com/watchpack/-/watchpack-1.7.5.tgz", diff --git a/src/components/love.vue b/src/components/love.vue index da4ee9a..70e6217 100644 --- a/src/components/love.vue +++ b/src/components/love.vue @@ -2,11 +2,11 @@
- + fit="cover" + style="width: 100%; height: 100vh;">
@@ -18,9 +18,7 @@ {{love.manName}}
-
- 心心 -
+
@@ -41,7 +39,7 @@
- 这是我们一起走过的 + 我的开发流程
第 @@ -69,7 +67,7 @@
- {{card === 4 ? '回到主人家' : '开往表白墙'}} +
-
-
- - -
-
-
- 点点滴滴 -
-
- ☀️今朝有酒今朝醉 -
-
-
-
-
- - -
-
-
- 时光相册 -
-
- 📸记录美好瞬间 -
-
-
@@ -150,10 +118,10 @@
- 祝福板 + 记录
- 📋写下对我们的祝福 + 📋写下你的开发记录
@@ -239,7 +207,7 @@
- 申请入住 + 设置
-
- 男生头像  + 头像 
@@ -302,12 +270,12 @@
- 女生头像  + 项目logo 
- @@ -317,7 +285,7 @@
- 男生昵称  + 昵称 
@@ -325,7 +293,7 @@
- 女生昵称  + 项目名 
@@ -369,7 +337,7 @@
- 告白信   + 简述  
-

欢迎入住表白墙

+

开启记录

@@ -529,7 +497,7 @@ submitLove() { if (this.userLove.bgCover.trim() === "") { this.$message({ - message: "你还没设置背景封面呢~", + message: "你还没设置呢~", type: "warning" }); return; @@ -537,7 +505,7 @@ if (this.userLove.manCover.trim() === "") { this.$message({ - message: "你还没设置男生头像呢~", + message: "你还没设置呢~", type: "warning" }); return; @@ -545,7 +513,7 @@ if (this.userLove.womanCover.trim() === "") { this.$message({ - message: "你还没设置女生头像呢~", + message: "你还没设置呢~", type: "warning" }); return; @@ -553,7 +521,7 @@ if (this.userLove.manName.trim() === "") { this.$message({ - message: "你还没写男生昵称呢~", + message: "你还没写呢~", type: "warning" }); return; @@ -561,7 +529,7 @@ if (this.userLove.womanName.trim() === "") { this.$message({ - message: "你还没写女生昵称呢~", + message: "你还没写呢~", type: "warning" }); return; diff --git a/src/utils/constant.js b/src/utils/constant.js index 545abf2..7841679 100644 --- a/src/utils/constant.js +++ b/src/utils/constant.js @@ -1,7 +1,7 @@ export default { - baseURL: "http://localhost:8081", - imBaseURL: "http://localhost:81", - webURL: "http://localhost", + baseURL: "http://172.20.10.3:8081", + imBaseURL: "http://172.20.10.3:81", + webURL: "http://172.20.10.3", // baseURL: "https://poetize.cn/api", // imBaseURL: "https://poetize.cn/im", @@ -18,7 +18,7 @@ export default { //前后端定义的密钥,AES使用16位 cryptojs_key: "aoligeimeimaobin", qiniuUrl: "https://upload.qiniup.com", - qiniuDownload: "$$$$七牛云下载地址,仿照【https://file.poetize.cn/】", + qiniuDownload: "https://portal.qiniu.com/cdn/domain/s6q4ppvdk.hd-bkt.clouddn.com", favoriteVideo: "$$$$自己找一个视频链接作为百宝箱的封面", From c6ac90d1d2d8899c220bac06fa576e27b7eb2878 Mon Sep 17 00:00:00 2001 From: BeininX <1271798328@qq.com> Date: Sat, 6 Jan 2024 10:36:58 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E5=BC=80=E5=8F=91=E6=B5=81=E7=A8=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/love.vue | 116 +++++++++++++++++++++++++++++++--------- 1 file changed, 91 insertions(+), 25 deletions(-) diff --git a/src/components/love.vue b/src/components/love.vue index 70e6217..07daf2c 100644 --- a/src/components/love.vue +++ b/src/components/love.vue @@ -1,46 +1,45 @@