From 72dbfec77a747b9a08bc71b630464d4383877082 Mon Sep 17 00:00:00 2001
From: 杨磊 <505174330@qq.com>
Date: 星期一, 25 八月 2025 01:15:02 +0800
Subject: [PATCH] 按钮判断

---
 src/views/bookStore/detail.vue |   14 ++++++++++++--
 1 files changed, 12 insertions(+), 2 deletions(-)

diff --git a/src/views/bookStore/detail.vue b/src/views/bookStore/detail.vue
index 6fbb16d..aed3219 100644
--- a/src/views/bookStore/detail.vue
+++ b/src/views/bookStore/detail.vue
@@ -169,14 +169,24 @@
                 >绾歌川鏍蜂功</el-button
               >
               <el-button
-                plain
+                size="large"
+                type="primary"
+                @click="useCode"
+                v-if="!bookInfo.alreadyBuy && currentBook?.state !== 'Normal'"
+                >浣跨敤璐功鐮�</el-button
+              >
+              <el-button
+                style="background-color: #144941; color: #fff"
                 @click="applyTextBook"
+                size="large"
+                type="primary"
                 v-if="!bookInfo.alreadyBuy && currentBook?.state !== 'Normal'"
                 >鐢宠璇曠敤</el-button
               >
-              <el-button plain @click="useCode" v-if="!bookInfo.alreadyBuy">浣跨敤璐功鐮�</el-button>
+
               <el-button
                 plain
+                size="large"
                 @click="read"
                 v-if="bookInfo.alreadyBuy || currentBook?.state == 'Normal'"
                 >寮�濮嬮槄璇�</el-button

--
Gitblit v1.9.1