feat: 加入社群
This commit is contained in:
@@ -198,8 +198,29 @@ const Book = () => {
|
||||
</AtDrawer>
|
||||
|
||||
{/* 判断有没有wxid */}
|
||||
{/* {book !== 1 ? ( */}
|
||||
<AtButton
|
||||
{book !== 1 ? (
|
||||
<AtButton
|
||||
type="primary"
|
||||
size="normal"
|
||||
className="joinSalon"
|
||||
onClick={() => {
|
||||
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`;
|
||||
}
|
||||
}
|
||||
}}
|
||||
>
|
||||
{`阅读更多`}
|
||||
</AtButton>
|
||||
) : null}
|
||||
|
||||
{/* <AtButton
|
||||
type="primary"
|
||||
size="normal"
|
||||
className="joinSalon"
|
||||
@@ -208,20 +229,16 @@ const Book = () => {
|
||||
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 ? "已加入" : `立即加入`} */}
|
||||
{`阅读更多`}
|
||||
</AtButton>
|
||||
{/* ) : null} */}
|
||||
{`游民社群`}
|
||||
</AtButton> */}
|
||||
</View>
|
||||
</>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user