From 9f017d456928182cee1da1d605b2f8513f675e9f Mon Sep 17 00:00:00 2001 From: eric Date: Sat, 6 Sep 2025 16:34:52 +0800 Subject: [PATCH] 'ss' --- src/index.html | 12 +++---- src/pages/book/index.config.js | 2 +- src/pages/index/index.config.js | 2 +- src/pages/index/index.jsx | 59 ++++++++++++++++++-------------- src/pages/index/index.scss | 1 + src/pages/sphone/index.config.js | 2 +- 6 files changed, 43 insertions(+), 35 deletions(-) diff --git a/src/index.html b/src/index.html index 91e0b29..8a199fa 100644 --- a/src/index.html +++ b/src/index.html @@ -8,20 +8,20 @@ - + - 云手机 - - - + 异度世界 + + + diff --git a/src/pages/book/index.config.js b/src/pages/book/index.config.js index f0a6ced..0e578cf 100644 --- a/src/pages/book/index.config.js +++ b/src/pages/book/index.config.js @@ -1,3 +1,3 @@ export default { - navigationBarTitleText: '云手机' + navigationBarTitleText: '异度世界' } diff --git a/src/pages/index/index.config.js b/src/pages/index/index.config.js index f0a6ced..0e578cf 100644 --- a/src/pages/index/index.config.js +++ b/src/pages/index/index.config.js @@ -1,3 +1,3 @@ export default { - navigationBarTitleText: '云手机' + navigationBarTitleText: '异度世界' } diff --git a/src/pages/index/index.jsx b/src/pages/index/index.jsx index 18cf034..aa8b55b 100644 --- a/src/pages/index/index.jsx +++ b/src/pages/index/index.jsx @@ -59,6 +59,7 @@ import book from "../../images/book.svg"; import youtubesvg from "../../images/youtube.svg"; // export default class Index extends Component { const Index = () => { + const [vip, setvip] = useState(window.localStorage.getItem("vip")); const [current, setcurrent] = useState(0); const [openId, setopenId] = useState(null); const [wxid, setwxid] = useState(null); @@ -273,7 +274,6 @@ const Index = () => { // 入群申请 useEffect(() => { - let inwechat = isWeChatFun(); if (inwechat) { // 获取openId @@ -356,7 +356,7 @@ const Index = () => { {/* 参考资料https://readmake.com/ */} - 《云手机》 + 异度世界 {/* 手册3 */} {/* 🚀 边旅行转赚钱 @@ -372,7 +372,7 @@ const Index = () => { {/* 卡片 */} - + {/* { 无人直播 - - 录播素材/数字人 - + 录播素材/数字人 @@ -392,11 +390,9 @@ const Index = () => { RPA自动化 - - 自动私信/数据分析 - + 自动私信/数据分析 - + */} @@ -409,26 +405,38 @@ const Index = () => { - { - goRead(); - }} - className="startRead" - type="primary" - size="small" - circle - > - 开始阅读 - + {vip != 1 ? ( + { + // md页面 + // goRead(); + if (vip == 1) { + return false; + } else { + if (!!isWeChat) { + //98元 + payh5("vip", 9800); + } else { + window.location.href = `https://mp.weixin.qq.com/s/16xcMIgxEEGBPY7fanNq0g`; + } + } + }} + className="startRead" + type="primary" + size="small" + circle + > + 加群 + + ) : null} @@ -441,7 +449,6 @@ const Index = () => { // src={book} src={laptop} // src={phone2} - /> 无人直播 diff --git a/src/pages/index/index.scss b/src/pages/index/index.scss index e2fb8a5..57935cb 100644 --- a/src/pages/index/index.scss +++ b/src/pages/index/index.scss @@ -31,6 +31,7 @@ font-size: 50px; font-weight: 700; color: #69b1ff; + margin-top: 10px; } .left_text { font-size: 30px; diff --git a/src/pages/sphone/index.config.js b/src/pages/sphone/index.config.js index f0a6ced..0e578cf 100644 --- a/src/pages/sphone/index.config.js +++ b/src/pages/sphone/index.config.js @@ -1,3 +1,3 @@ export default { - navigationBarTitleText: '云手机' + navigationBarTitleText: '异度世界' }