From ebfc641a1a1bc6c40b8010f31f7a836f09308b6e Mon Sep 17 00:00:00 2001
From: litian <C21AF165>
Date: 星期三, 27 三月 2024 11:04:19 +0800
Subject: [PATCH] 样式修改

---
 pages/bibliographyList/index.js |   13 ++++++++++++-
 1 files changed, 12 insertions(+), 1 deletions(-)

diff --git a/pages/bibliographyList/index.js b/pages/bibliographyList/index.js
index 2ec369e..c02f54b 100644
--- a/pages/bibliographyList/index.js
+++ b/pages/bibliographyList/index.js
@@ -7,6 +7,7 @@
      * 椤甸潰鐨勫垵濮嬫暟鎹�
      */
     data: {
+      downloadLoadin: false,
       isMore: null,
       higherList: [],
       vocationalList: [],
@@ -253,6 +254,9 @@
 
     },
     downloadData(event) {
+      this.setData({
+        downloadLoadin: true
+      })
       console.log(111);
       const item = event.currentTarget.dataset.item;
       // console.log(item.datas.freeFile.Value);
@@ -282,6 +286,13 @@
           console.log('涓嬭浇鏂囦欢澶辫触', res);
         }
       });
+
+      setTimeout(() => {
+        this.setData({
+          downloadLoadin: false
+        });
+      }, 2000);
+
     },
     onSearchSubmit: function (e) {
       const keyword = e.detail.value;
@@ -371,7 +382,7 @@
 
       this.setData({
         start: 1,
-        
+
       })
 
       this.higherGet(keyword)

--
Gitblit v1.9.1