From 1b03aa833d057e128e257a9deeb1e5360daeb198 Mon Sep 17 00:00:00 2001 From: hackrobot Date: Tue, 22 Apr 2025 01:02:10 -0500 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=8A=A0=E5=85=A5=E7=A4=BE=E7=BE=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/book/index.tsx | 37 +++++++++++++++++++++++++++---------- 1 file changed, 27 insertions(+), 10 deletions(-) diff --git a/src/pages/book/index.tsx b/src/pages/book/index.tsx index 4d26463..c33404a 100644 --- a/src/pages/book/index.tsx +++ b/src/pages/book/index.tsx @@ -198,8 +198,29 @@ const Book = () => { {/* 判断有没有wxid */} - {/* {book !== 1 ? ( */} - { + if (book == 1) { + return false; + } else { + if (!!isWeChat) { + // 19.8元 + payh5("book", 1980); + } else { + window.location.href = `https://mp.weixin.qq.com/s/GBU3THKaXRRkdpZXH_18jw`; + } + } + }} + > + {`阅读更多`} + + ) : null} + + {/* { return false; } else { if (!!isWeChat) { - // 19.8元 - payh5("book", 1980); + // 198元 + payh5("group", 29800); } else { - // setmeetupQR(true); - // console.log("请在微信中打开"); window.location.href = `https://mp.weixin.qq.com/s/GBU3THKaXRRkdpZXH_18jw`; } } }} > - {/* {meetup == 1 ? "已加入" : `立即加入`} */} - {`阅读更多`} - - {/* ) : null} */} + {`游民社群`} + */} );