From 8134ccb2eb7916daf9b417bc93088e1830960b8d Mon Sep 17 00:00:00 2001 From: hackrobot Date: Thu, 8 Aug 2024 20:09:36 +0800 Subject: [PATCH] update --- src/pages/index/index.jsx | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/src/pages/index/index.jsx b/src/pages/index/index.jsx index 8c7465e..2b54055 100644 --- a/src/pages/index/index.jsx +++ b/src/pages/index/index.jsx @@ -386,6 +386,7 @@ const Index = () => { { + return false if (!!userInfo?.ebook) { // 已预约 Taro.atMessage({ @@ -433,9 +434,13 @@ const Index = () => { > - {!!userInfo?.ebook ? "已预约" : "预约"} + {/* {!!userInfo?.ebook ? "已预约" : "预约"} */} + {!!userInfo?.ebook ? "未完结" : "未完结"} + @@ -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" ? "已报名" - : "立即报名"} + // : "立即报名"} + : "已满"} +