This commit is contained in:
hackrobot
2024-08-08 20:09:36 +08:00
parent 596f800d7d
commit 8134ccb2eb

View File

@@ -386,6 +386,7 @@ const Index = () => {
<View
className="bookPrice"
onClick={() => {
return false
if (!!userInfo?.ebook) {
// 已预约
Taro.atMessage({
@@ -433,9 +434,13 @@ const Index = () => {
>
<View
className="join"
style={{ backgroundColor: !!userInfo?.ebook ? "#1890ff" : null }}
// style={{ backgroundColor: !!userInfo?.ebook ? "#1890ff" : null }}
style={{ backgroundColor: !!userInfo?.ebook ? "#1890ff" : "#1890ff" }}
>
{!!userInfo?.ebook ? "已预约" : "预约"}
{/* {!!userInfo?.ebook ? "已预约" : "预约"} */}
{!!userInfo?.ebook ? "未完结" : "未完结"}
</View>
</View>
</View>
@@ -502,9 +507,12 @@ const Index = () => {
style={{
backgroundColor: !!userInfo?.activity_status
? "#1890ff"
: null,
// : null,
: "#1890ff"
//
}}
onClick={() => {
return false
if (userInfo?.activity_status == "1") {
// 已预约
Taro.atMessage({
@@ -556,7 +564,9 @@ const Index = () => {
? "审核中"
: userInfo?.activity_status == "1"
? "已报名"
: "立即报名"}
// : "立即报名"}
: "已满"}
</View>
</View>
</View>