From 022291200c6eff167545b8b0a07ed70250e0b87d Mon Sep 17 00:00:00 2001
From: 15093570141 <141405260+17521612761@users.noreply.github.com>
Date: Wed, 6 Nov 2024 21:44:00 +0800
Subject: [PATCH] =?UTF-8?q?uniapp=E3=80=90=E6=96=B0=E5=A2=9E=E3=80=91?=
=?UTF-8?q?=EF=BC=9A=20=E9=A6=96=E9=A1=B5=E6=B7=BB=E5=8A=A0=E6=82=AC?=
=?UTF-8?q?=E6=B5=AE=E5=9C=A8=E7=BA=BF=E5=AE=A2=E6=9C=8D=E6=8C=89=E9=92=AE?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../CoreShop/pages/home/home.scss | 15 +++++++++++++++
.../CoreShop/pages/home/home.vue | 17 +++++++++++++++--
2 files changed, 30 insertions(+), 2 deletions(-)
diff --git a/CoreCms.Net.Uni-App/CoreShop/pages/home/home.scss b/CoreCms.Net.Uni-App/CoreShop/pages/home/home.scss
index 444036ac..203fa046 100644
--- a/CoreCms.Net.Uni-App/CoreShop/pages/home/home.scss
+++ b/CoreCms.Net.Uni-App/CoreShop/pages/home/home.scss
@@ -18,4 +18,19 @@
.content-box {
position: relative;
}
+ .kufu-button {
+ position: fixed;
+ right: 40rpx;
+ bottom: 100rpx;
+ width: 80rpx;
+ height: 80rpx;
+ background-color: #fff;
+ border-radius: 50%;
+ display: flex;
+ justify-content: center;
+ align-items: center;
+ box-shadow: 0 0 15rpx #ccc;
+ padding: 0;
+ z-index: 99;
+ }
}
diff --git a/CoreCms.Net.Uni-App/CoreShop/pages/home/home.vue b/CoreCms.Net.Uni-App/CoreShop/pages/home/home.vue
index 3876828c..83986218 100644
--- a/CoreCms.Net.Uni-App/CoreShop/pages/home/home.vue
+++ b/CoreCms.Net.Uni-App/CoreShop/pages/home/home.vue
@@ -1,6 +1,6 @@
-
+
+
+
+
+
@@ -55,11 +62,13 @@
isScrollTop : boolean;
showPage : boolean;
shareUrl : string;
+ kufuData : string;
}>({
coreshopData: [],
isScrollTop: false,
showPage: false,
shareUrl: "",
+ kufuData: ""
})
onShow(() => {
@@ -104,6 +113,10 @@
const userInfo : Response = await queryUserInfo();
if (userInfo.status) {
userInfoStore.setUserInfo(userInfo?.data);
+ state.kufuData = JSON.stringify({
+ nickName: userInfo?.data?.nickName,
+ tel: userInfo?.data?.mobile
+ })
}
}