diff --git a/src/pages/index/index.jsx b/src/pages/index/index.jsx
index 07c56ae..4035dcd 100644
--- a/src/pages/index/index.jsx
+++ b/src/pages/index/index.jsx
@@ -248,11 +248,10 @@ const Index = () => {
useEffect(() => {
let inwechat = isWeChatFun();
if (inwechat) {
- // 获取openId
- getOpenid();
+ // 获取openId
+ getOpenid();
} else {
// window.alert('不在微信')
-
}
}, []);
@@ -554,6 +553,17 @@ const Index = () => {
+ {/* 联系我 */}
+ {!wxid ? (
+
+ 微信号: hackrobot
+
+
+ ) : null}
+
{/*
立即购买 -- 29.8元
*/}
diff --git a/src/pages/index/index.scss b/src/pages/index/index.scss
index c0e7e3b..7647888 100644
--- a/src/pages/index/index.scss
+++ b/src/pages/index/index.scss
@@ -44,7 +44,8 @@
flex-direction: row;
align-items: center;
// justify-content: center;
- background-color: #f0f0f0;
+ // background-color: #f0f0f0;
+ background-color: #f0f5ff;
.bookImg {
width: 40%;
height: 100%;
@@ -182,6 +183,18 @@
}
}
+ .contack{
+ margin-top: 60px;
+ display: flex;
+ flex-direction: column;
+ align-items: center;
+ justify-content: center;
+ .wechatNum{
+ font-size: 34px;
+ color: #1bb14e;
+ }
+ }
+
.emojiModel {
.modelText {
font-size: 22px;