feat: 加入社群
This commit is contained in:
@@ -198,8 +198,29 @@ const Book = () => {
|
|||||||
</AtDrawer>
|
</AtDrawer>
|
||||||
|
|
||||||
{/* 判断有没有wxid */}
|
{/* 判断有没有wxid */}
|
||||||
{/* {book !== 1 ? ( */}
|
{book !== 1 ? (
|
||||||
<AtButton
|
<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"
|
type="primary"
|
||||||
size="normal"
|
size="normal"
|
||||||
className="joinSalon"
|
className="joinSalon"
|
||||||
@@ -208,20 +229,16 @@ const Book = () => {
|
|||||||
return false;
|
return false;
|
||||||
} else {
|
} else {
|
||||||
if (!!isWeChat) {
|
if (!!isWeChat) {
|
||||||
// 19.8元
|
// 198元
|
||||||
payh5("book", 1980);
|
payh5("group", 29800);
|
||||||
} else {
|
} else {
|
||||||
// setmeetupQR(true);
|
|
||||||
// console.log("请在微信中打开");
|
|
||||||
window.location.href = `https://mp.weixin.qq.com/s/GBU3THKaXRRkdpZXH_18jw`;
|
window.location.href = `https://mp.weixin.qq.com/s/GBU3THKaXRRkdpZXH_18jw`;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
{/* {meetup == 1 ? "已加入" : `立即加入`} */}
|
{`游民社群`}
|
||||||
{`阅读更多`}
|
</AtButton> */}
|
||||||
</AtButton>
|
|
||||||
{/* ) : null} */}
|
|
||||||
</View>
|
</View>
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user