From 6e511ab2efe8164777824431d844b835796a998a Mon Sep 17 00:00:00 2001 From: A1300399510 Date: Mon, 24 Feb 2025 18:58:33 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A7=9F=E6=88=BF=E6=96=B0=E9=80=9A=E7=9F=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/App.vue | 6 +- src/assets/img/user/WeChat-icon-blue.svg | 6 + src/assets/img/user/arrow-circular-blue.svg | 6 + src/components/pageTopBar/pageTopBar.vue | 1 - .../user/systematic-notification-pop.vue | 391 ++++++++++++------ src/main.js | 1 - src/utils/axios.js | 2 +- src/views/housingView/apartment.vue | 4 - src/views/user.vue | 1 + 9 files changed, 276 insertions(+), 142 deletions(-) create mode 100644 src/assets/img/user/WeChat-icon-blue.svg create mode 100644 src/assets/img/user/arrow-circular-blue.svg diff --git a/src/App.vue b/src/App.vue index 06ee8ba..583e7fa 100644 --- a/src/App.vue +++ b/src/App.vue @@ -5,8 +5,8 @@ diff --git a/src/components/user/systematic-notification-pop.vue b/src/components/user/systematic-notification-pop.vue index 56bbe27..436bcc4 100644 --- a/src/components/user/systematic-notification-pop.vue +++ b/src/components/user/systematic-notification-pop.vue @@ -4,19 +4,18 @@
- - - + + +
关注寄托服务号,第一时间收到消息通知
- + - +
@@ -27,118 +26,171 @@ - \ No newline at end of file + +.el-popover.el-popper.consult-popover { + .consult-pop { + width: 300px; + height: 300px; + border-radius: 10px; + padding-top: 45px; + font-family: "PingFangSC-Regular", "PingFang SC", sans-serif; + -moz-box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.101960784313725); + -webkit-box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.101960784313725); + box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.101960784313725); + background-color: #fff; + flex-direction: column; + + .consult-title { + font-size: 15px; + color: #555555; + margin-bottom: 24px; + + b { + color: #000; + font-weight: 650; + margin: 0 5px; + } + } + + .consult-QRcode { + width: 120px; + height: 120px; + border-radius: 20px; + -moz-box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.101960784313725); + -webkit-box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.101960784313725); + box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.101960784313725); + margin-bottom: 20px; + background: #fff; + + .consult-QRcode-img { + width: 100px; + height: 100px; + } + } + + .consult-hint { + margin-bottom: 6px; + } + + .consult-hint, + .consult-remark { + font-size: 13px; + color: #555555; + line-height: 18px; + } + + .consult-remark { + b { + font-weight: 650; + color: #000000; + } + } + } +} + diff --git a/src/main.js b/src/main.js index 475e401..cd1bc66 100644 --- a/src/main.js +++ b/src/main.js @@ -38,7 +38,6 @@ import locale from "element-plus/lib/locale/lang/zh-cn" import zhCn from "element-plus/dist/locale/zh-cn.mjs" import lazyPlugin from "vue3-lazyload" -console.log("lazyPlugin", lazyPlugin) // import zhCn from 'element-plus/lib/locale/lang/zh-cn' import api from "./utils/api" diff --git a/src/utils/axios.js b/src/utils/axios.js index db9150e..cb11659 100644 --- a/src/utils/axios.js +++ b/src/utils/axios.js @@ -20,7 +20,7 @@ axios.interceptors.request.use( if (config.url != "/tenement/pc/api/user/operation" && !noMask) showFullScreenLoading() // 开发时登录用的,可以直接替换小程序的 authorization // if (process.env.NODE_ENV == "development") config['headers']['authorization'] = "x2mmnl9grt51bpplj2k6ioiuummzhnw3" - if (process.env.NODE_ENV == "development") config["headers"]["authorization"] = "813blr43ue2hhf2kjnlfibyy9swlxm2x" + if (process.env.NODE_ENV == "development") config["headers"]["authorization"] = "63ffbd4e4790accd31a0dafd21cd5f12" // 当 noMask == true 和 confing.method == 'get' 时,删除 config.params['noMask'] if (noMask && config.method == "get") delete config.params["noMask"] diff --git a/src/views/housingView/apartment.vue b/src/views/housingView/apartment.vue index 03ae155..c8871b9 100644 --- a/src/views/housingView/apartment.vue +++ b/src/views/housingView/apartment.vue @@ -216,14 +216,11 @@ const getMoreScroll = () => { // 处理列表的点击收藏 const handlecollect = uniqid => { - console.log("uniqid", uniqid) - let targetData = {} let targetIndex = 0 let token = "" list.value.forEach((element, index) => { if (element.uniqid == uniqid) { - targetData = element targetIndex = index token = element.token || "" } @@ -232,7 +229,6 @@ const handlecollect = uniqid => { api.apartmentCollection({ token }).then(res => { if (res.code != 200) return const data = res.data - // console.log("data", data) list.value[targetIndex]["iscollect"] = data.status ElMessage.success(res.message) }) diff --git a/src/views/user.vue b/src/views/user.vue index fce264d..7a2f5fd 100644 --- a/src/views/user.vue +++ b/src/views/user.vue @@ -697,6 +697,7 @@ onUnmounted(() => { height: 140px; border-radius: 15px; margin-right: 20px; + object-fit: cover; } .apartment-header-content {