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
+ })
}
}