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

---
 src/views/personalCenter/myApply.vue |   24 +++++++++++++-----------
 1 files changed, 13 insertions(+), 11 deletions(-)

diff --git a/src/views/personalCenter/myApply.vue b/src/views/personalCenter/myApply.vue
index 49971ef..1cf4c51 100644
--- a/src/views/personalCenter/myApply.vue
+++ b/src/views/personalCenter/myApply.vue
@@ -31,7 +31,9 @@
               璇曠敤鏈熼檺锛�<span>{{ item.updateDate }}</span> --
               <span>{{ item.feedBack.endDate }}</span>
             </div>
-            <div style="color: orangered" v-if="item.isExpiry">闃呰鏈熼檺锛�<span>宸茶繃鏈�</span></div>
+            <div class="no" style="color: orangered" v-if="item.isExpiry">
+              闃呰鏈熼檺锛�<span>宸茶繃鏈�</span>
+            </div>
             <div class="time">鐢宠鏃堕棿锛歿{ item.updateDate }}</div>
           </div>
           <div class="reasonForFailure" style="margin: 10px 0" v-if="item.state == 'Reject'">
@@ -192,16 +194,16 @@
   })
 }
 const read = (pItem: any) => {
-  // let token = tool.getCookie(config.tokenKey)
-  // const url = config.textReaderUrl + '#/home' + '?bookId=' + pItem.id + '&token=' + token
-  // debugger
-  // window.open(url)
-  router.push({
-    path: '/bookdetail',
-    query: {
-      bookId: pItem.id,
-    },
-  })
+  /** 鏆傛棤鏁欐潗闃呰鍣紝璺宠浆鑷宠鎯� */
+  let token = localStorage.getItem(config.tokenKey)
+  const url = config.textBookResourceUrl + '#/home' + '?bookId=' + pItem.refCode + '&token=' + token
+  window.open(url)
+  // router.push({
+  //   path: '/bookdetail',
+  //   query: {
+  //     bookId: pItem.id,
+  //   },
+  // })
 }
 const handleSizeChange = (val: number) => {
   paginationData.limit = val

--
Gitblit v1.9.1