From 4a9955330070cf8abd78d95aaa2067d9a06a88c3 Mon Sep 17 00:00:00 2001
From: 闫增涛 <1829501689@qq.com>
Date: 星期二, 07 五月 2024 10:05:59 +0800
Subject: [PATCH] 各页面bug修改

---
 pages/bibliographyList/index.js |   24 +++++++-----------------
 1 files changed, 7 insertions(+), 17 deletions(-)

diff --git a/pages/bibliographyList/index.js b/pages/bibliographyList/index.js
index 2a851c7..9043fb8 100644
--- a/pages/bibliographyList/index.js
+++ b/pages/bibliographyList/index.js
@@ -420,23 +420,9 @@
         Md5: item.datas.freeFile.FileList[0].Md5,
         dialogBox: true
       })
-      // wx.showModal({
-      //   title: '璇疯緭鍏ラ偖绠�',
-      //   content: '',
-      //   confirmColor: '#ff6c00',
-      //   cancelColor: '#949494',
-      //   placeholderText: '璇疯緭鍏ラ偖绠卞彿',
-      //   editable: true,
-      //   complete: (res) => {
-      //     if (res.cancel) {
-      //       console.log('鍙栨秷');
-      //     }
-      //     if (res.confirm) {
-      //       this.setData({
-      //         input: res.content
-      //       })
-      //       this.confirmM()
-      //     }
+      // wx.scanCode({
+      //   success: res => {
+      //     console.log(res); 
       //   }
       // })
     },
@@ -448,6 +434,9 @@
     },
     //鎻愪氦
     confirmM(e) {
+      wx.showLoading({
+        title: '鍙戦�佷腑...',
+      })
       const isEmailValid = /^[a-zA-Z0-9_.-]+@[a-zA-Z0-9-]+(\.[a-zA-Z0-9-]+)*\.[a-zA-Z0-9]{2,6}$/.test(this.data.input);
       if (isEmailValid && this.data.input) {
         this.setData({
@@ -458,6 +447,7 @@
           md5s: [this.data.Md5]
         }
         app.MG.file.sendFileWithEmail(query).then(res => {
+          wx.hideLoading()
           if (res) {
             wx.showToast({
               icon: 'success',

--
Gitblit v1.9.1