From e8ec903206cb82e4dbb4687291d5f7788e7ff046 Mon Sep 17 00:00:00 2001
From: 闫增涛 <1829501689@qq.com>
Date: 星期一, 06 五月 2024 18:17:47 +0800
Subject: [PATCH] bug修改

---
 packageDomain/pages/resourceDetails/document/index.wxss                 |    4 
 packageBookService/pages/bookServices/detail/buyResource/index.js       |    2 
 packageDomain/pages/resourceDetails/document/index.wxml                 |    2 
 packageBookService/pages/bookServices/detail/index.wxml                 |    6 
 packageDomain/pages/resourceDetails/myVideo/index.wxml                  |   16 +
 packageBookService/pages/bookServices/detail/components/tree/index.js   |   19 +
 packageDomain/pages/sampleBookList/index.js                             |    1 
 packageBookService/pages/bookServices/detail/index.js                   |    4 
 packageDomain/pages/resourceDetails/myVideo/index.wxss                  |    8 
 packagePersonal/pages/userSetting/index.wxml                            |  124 ++++++++--
 packagePersonal/pages/userSetting/index.wxss                            |    8 
 packageDomain/pages/resourceDetails/myVideo/index.json                  |    3 
 pages/cart/paymentPage/index.wxml                                       |   61 ++++-
 pages/bookExhibitionList/index.wxss                                     |    4 
 packageDomain/pages/resourceDetails/myVideo/index.js                    |   17 +
 packageDomain/pages/resourceDetails/myAudio/index.js                    |   90 -------
 pages/retrievalPage/index.wxml                                          |    2 
 pages/retrievalPage/index.wxss                                          |    3 
 packagePersonal/pages/userSetting/index.js                              |    3 
 packageBookService/pages/components/webView/index.wxml                  |    2 
 packageBookService/pages/bookServices/detail/components/tree/index.wxss |    6 
 packageBookService/pages/bookServices/detail/components/tree/index.wxml |   14 
 pages/cart/paymentPage/index.js                                         |   34 ++-
 pages/bibliographyList/index.wxml                                       |   30 ++
 pages/bibliographyList/index.wxss                                       |   62 +++++
 pages/bibliographyList/index.js                                         |   91 ++++++--
 26 files changed, 413 insertions(+), 203 deletions(-)

diff --git a/packageBookService/pages/bookServices/detail/buyResource/index.js b/packageBookService/pages/bookServices/detail/buyResource/index.js
index d1dc629..6cdc969 100644
--- a/packageBookService/pages/bookServices/detail/buyResource/index.js
+++ b/packageBookService/pages/bookServices/detail/buyResource/index.js
@@ -572,7 +572,7 @@
       if (isSHow) {
         return false;
       } else {
-        return data.saleMethod[0].price > 0 ? true : false;
+        return data.saleMethod[0].Price > 0 ? true : false;
       }
       return !isSHow;
     } else {
diff --git a/packageBookService/pages/bookServices/detail/components/tree/index.js b/packageBookService/pages/bookServices/detail/components/tree/index.js
index f8e88e0..c2f07e2 100644
--- a/packageBookService/pages/bookServices/detail/components/tree/index.js
+++ b/packageBookService/pages/bookServices/detail/components/tree/index.js
@@ -144,6 +144,19 @@
           wx.getStorageSync("teachResourcesPath");
         const parentName = parent ? parent.name : "鏁欏璧勬簮";
         let url;
+        if (item.selectType == 'zip') {
+          if (this.properties.applyState == 'Normal') {
+            return wx.showToast({
+              icon: 'error',
+              title: '璇峰墠寰�PC绔笅杞�',
+            })
+          } else {
+            return wx.showToast({
+              icon: 'error',
+              title: '璇峰厛鐢宠涓嬭浇',
+            })
+          }
+        }
         if (this.properties.isShowCheck && this.resourceIsBuy(item)) {
           return false;
         }
@@ -177,16 +190,15 @@
             title: "鏆傛湭寮�濮嬮攢鍞紝璇疯仈绯荤鐞嗗憳",
           });
         }
-        if (this.properties.tab == "jsek_teachingResources" && item.fileMap) {
+        if (this.properties.tab == "jsek_teachingResources" && (item.file || item.freeFile)) {
           let file = item.fileMap[item.file] ? item.fileMap[item.file] : item.fileMap[item.freeFile]
-          debugger
           if (file && file.protectType !== "Public") {
             return wx.showToast({
               icon: "error",
               title: "璧勬簮涓嶅彲鐢紝璇疯仈绯荤鐞嗗憳",
             });
           }
-        } else {
+        } else if ((this.properties.tab == "jsek_teachingResources" || this.properties.tab == "jsek_cloudLearning") && (!item.file || !item.freeFile || !item.protectedFile)) {
           return wx.showToast({
             icon: 'error',
             title: '鏆傛棤璧勬簮',
@@ -219,7 +231,6 @@
             item.freeFile;
           console.log(fileLink, "fileLink");
           //鎻愮ず鍔犺浇涓�
-          util.showLoading();
           // 鍗曟涓嬭浇鍏佽鐨勬渶澶ф枃浠朵负 200MB
           wx.downloadFile({
             url: fileLink,
diff --git a/packageBookService/pages/bookServices/detail/components/tree/index.wxml b/packageBookService/pages/bookServices/detail/components/tree/index.wxml
index 36fe711..c74bc23 100644
--- a/packageBookService/pages/bookServices/detail/components/tree/index.wxml
+++ b/packageBookService/pages/bookServices/detail/components/tree/index.wxml
@@ -19,7 +19,7 @@
             data-parent="{{''}}"
           >
             <!-- 鏁欏璧勬簮 浜戝涔� 鍥炬爣 -->
-            <view class="box-image" style="width: 80%">
+            <view class="box-image fl-cn" style="width: 80%">
               <view
                 class="checkBox"
                 wx:if="{{isShowCheck}}"
@@ -37,7 +37,7 @@
                 />
               </view>
               <!-- 鏁欏璧勬簮鍥炬爣 -->
-              <view class="teach-icon">
+              <view class="teach-icon fl-cn">
                 <image
                   wx:if="{{item.selectType == 'audio' || item.learnSelectType == 'audio'}}"
                   src="/static/images/bookService/detail/audioIcon.png"
@@ -96,7 +96,7 @@
               <text class="name" style="width: 100%">{{item.name || '-'}}</text>
             </view>
             <!-- 鏁欏璧勬簮绫诲瀷 -->
-            <view class="teachClass"> {{item.resourceClass}} </view>
+            <view class="teachClass fl-cn"> {{item.resourceClass}} </view>
             <view class="teach-btn" wx:if="{{tab == 'jsek_teachingResources'}}">
               <!--  涓嬭浇鎸夐挳 -->
               <!-- <image
@@ -179,7 +179,7 @@
               data-parent="{{item}}"
             >
               <!-- 鏁欏璧勬簮 浜戝涔� 鍥炬爣 -->
-              <view class="box-image">
+              <view class="box-image fl-cn">
                 <view
                   class="checkBox"
                   wx:if="{{isShowCheck}}"
@@ -197,7 +197,7 @@
                   />
                 </view>
                 <!-- 鏁欏璧勬簮鍥炬爣 -->
-                <view class="teach-icon">
+                <view class="teach-icon fl-cn">
                   <image
                     wx:if="{{citem.selectType == 'audio' || citem.learnSelectType == 'audio'}}"
                     src="/static/images/bookService/detail/audioIcon.png"
@@ -255,12 +255,12 @@
                 <!-- 鍚嶇О -->
                 <text
                   class="name"
-                  style="{{ tab == 'jsek_teachingResources' ? citem.resourceClass ? 'width: 420rpx'  :  'width: 560rpx;' : 'width: 400rpx;'}}"
+                  style="{{ tab == 'jsek_teachingResources' ? citem.resourceClass ? 'width: 420rpx'  :  'width: 560rpx;' : (citem.isShopCar &&citem.isbuy ) ? 'width: 400rpx;' : (citem.isShopCar ||citem.isbuy) ? 'width:520rpx' :  'width:560rpx'}}"
                   >{{citem.name || '-'}}</text
                 >
               </view>
               <!-- 鏁欏璧勬簮绫诲瀷 -->
-              <view class="teachClass" wx:if="{{citem.resourceClass}}">
+              <view class="teachClass fl-cn" wx:if="{{citem.resourceClass}}">
                 {{citem.resourceClass}}
               </view>
               <view wx:if="{{tab == 'jsek_cloudLearning'}}">
diff --git a/packageBookService/pages/bookServices/detail/components/tree/index.wxss b/packageBookService/pages/bookServices/detail/components/tree/index.wxss
index ed796d5..a4e195a 100644
--- a/packageBookService/pages/bookServices/detail/components/tree/index.wxss
+++ b/packageBookService/pages/bookServices/detail/components/tree/index.wxss
@@ -76,6 +76,7 @@
 
 .teachClass {
   color: #949494;
+  height: 44rpx;
 }
 
 .teach-btn {
@@ -107,3 +108,8 @@
 /* .t-collapse-panel__content {
   padding: var(--td-collapse-content-padding, 0rpx) !important;
 } */
+
+.fl-cn {
+  display: flex;
+  align-items: center;
+}
\ No newline at end of file
diff --git a/packageBookService/pages/bookServices/detail/index.js b/packageBookService/pages/bookServices/detail/index.js
index e5b7821..4181ea1 100644
--- a/packageBookService/pages/bookServices/detail/index.js
+++ b/packageBookService/pages/bookServices/detail/index.js
@@ -908,7 +908,7 @@
           })
           const dataList = res.datas.cmsDatas[0].datas
           if (dataList.length) {
-            const tag = dataList.findIndex(item => this.isShowNeedBuy(item))
+            const tag = dataList.findIndex(item => item.saleMethod.length && item.saleMethod[0].Price > 0)
             this.setData({
               isGoBuyResource: tag > -1 ? true : false
             })
@@ -1580,7 +1580,7 @@
       if (isSHow) {
         return false;
       } else {
-        return data.saleMethod[0].price > 0 ? true : false;
+        return data.saleMethod[0].Price > 0 ? true : false;
       }
       return !isSHow;
     } else {
diff --git a/packageBookService/pages/bookServices/detail/index.wxml b/packageBookService/pages/bookServices/detail/index.wxml
index 8507c3c..0dd9e4d 100644
--- a/packageBookService/pages/bookServices/detail/index.wxml
+++ b/packageBookService/pages/bookServices/detail/index.wxml
@@ -194,7 +194,7 @@
               wx:if="{{bookDetail.content || bookDetail.authorIntroduction}}"
             ></book-brief>
             <view
-              wx:if="{{!bookDetail.content && !bookDetail.authorIntroduction}}"
+              wx:if="{{!bookDetail.content && !bookDetail.authorIntroduction && !loading}}"
               class="noData"
             >
               <t-empty icon="folder-open" description="鏆傛棤鏁版嵁" />
@@ -253,7 +253,7 @@
                 loading="{{loading}}"
               ></t-skeleton>
             </view>
-            <view wx:if="{{noResources}}" class="noData">
+            <view wx:if="{{noResources && !loading}}" class="noData">
               <t-empty icon="folder-open" description="鏆傛棤鏁版嵁" />
             </view>
           </t-tab-panel>
@@ -287,7 +287,7 @@
                 bind:updateCloudLearning="updateCloudLearning"
               ></tree>
             </view>
-            <view wx:if="{{noResources}}" class="noData">
+            <view wx:if="{{noResources && !loading}}" class="noData">
               <t-empty icon="folder-open" description="鏆傛棤鏁版嵁" />
             </view>
           </t-tab-panel>
diff --git a/packageBookService/pages/components/webView/index.wxml b/packageBookService/pages/components/webView/index.wxml
index 61effb3..e4a2f9f 100644
--- a/packageBookService/pages/components/webView/index.wxml
+++ b/packageBookService/pages/components/webView/index.wxml
@@ -11,7 +11,7 @@
       wx:for-index="index"
       class="pdfItem"
     >
-      <image src="{{item}}" alt="" mode="widthFix"></image>
+      <image src="{{item}}" alt="" mode="aspectFit"></image>
     </view>
   </view>
   <web-view
diff --git a/packageDomain/pages/resourceDetails/document/index.wxml b/packageDomain/pages/resourceDetails/document/index.wxml
index a583aa9..05fd5cf 100644
--- a/packageDomain/pages/resourceDetails/document/index.wxml
+++ b/packageDomain/pages/resourceDetails/document/index.wxml
@@ -27,7 +27,7 @@
   </view>
 
   <view class="button-example">
-    <t-button size="large" bind:tap="onDownloadButton">
+    <t-button size="large" bind:tap="onDownloadButton" class="download-btn">
       <view class="text"> 涓嬭浇 </view>
     </t-button>
   </view>
diff --git a/packageDomain/pages/resourceDetails/document/index.wxss b/packageDomain/pages/resourceDetails/document/index.wxss
index ddde10d..5d36a62 100644
--- a/packageDomain/pages/resourceDetails/document/index.wxss
+++ b/packageDomain/pages/resourceDetails/document/index.wxss
@@ -67,4 +67,8 @@
 .pictureBox image {
   width: 100%;
   height: 100%;
+}
+
+.download-btn {
+  width: 100%;
 }
\ No newline at end of file
diff --git a/packageDomain/pages/resourceDetails/myAudio/index.js b/packageDomain/pages/resourceDetails/myAudio/index.js
index b1d52eb..e0d3d9a 100644
--- a/packageDomain/pages/resourceDetails/myAudio/index.js
+++ b/packageDomain/pages/resourceDetails/myAudio/index.js
@@ -49,17 +49,10 @@
     loading: true,
     hidden: true
   },
-  // // 鏃堕棿鏍煎紡鍖�
-  // format(t) {
-  //   let time = Math.floor(t / 60) >= 10 ? Math.floor(t / 60) : '0' + Math.floor(t / 60);
-  //   t = time + ':' + ((t % 60) / 100).toFixed(2).slice(-2);
-  //   return t;
-  // },
-
 
   format(time) {
     let minute = Math.floor(time / 60);
-    let second = Math.floor(time % 60);
+    let second = Math.round(time % 60);
     let minuteStr = minute < 10 ? "0" + minute : "" + minute;
     let secondStr = second < 10 ? "0" + second : "" + second;
     return minuteStr + ":" + secondStr;
@@ -79,23 +72,14 @@
     return formattedDate
   },
 
-
-
   /**
    * 鐢熷懡鍛ㄦ湡鍑芥暟--鐩戝惉椤甸潰鍔犺浇
    */
   onLoad(options) {
     console.log(options);
     wx.setNavigationBarTitle({
-
       title: '璧勬簮璇︽儏-闊抽'
-
     });
-
-
-
-
-
     const systInfo = wx.getSystemInfoSync();
     const menu = wx.getMenuButtonBoundingClientRect(); // 鑳跺泭淇℃伅
     const navBarHeight = (menu.top - systInfo.statusBarHeight) * 2 + menu.height; // 瀵艰埅鏍忛珮搴�
@@ -124,10 +108,7 @@
    * 鐢熷懡鍛ㄦ湡鍑芥暟--鐩戝惉椤甸潰鍒濇娓叉煋瀹屾垚
    * 
    */
-  onReady() {
-
-
-  },
+  onReady() {},
 
   /**
    * 鐢熷懡鍛ㄦ湡鍑芥暟--鐩戝惉椤甸潰鏄剧ず
@@ -220,21 +201,15 @@
   onShareAppMessage() {
 
   },
-  onTabsChange(event) {
+  onTabsChange(event) {},
 
-  },
-
-  onTabsClick(event) {
-
-  },
+  onTabsClick(event) {},
   handleChange(e) {
     this.setData({
       activeValues: e.detail.value,
     });
   },
-  onTakeNotes() {
-
-  },
+  onTakeNotes() {},
   showDialog(e) {
     this.setData({
       submitTitle: this.data.titleName,
@@ -318,14 +293,11 @@
   },
 
   onVideo(e) {
-    // myAudio.destroy();
-
     this.setData({
       myAudioCurrent: '00:00',
       myAudioPos: '',
       isplay: false
     })
-
     const item = e.currentTarget.dataset.item
     if (this.data.showData != '') {
       this.setData({
@@ -334,7 +306,6 @@
         selectedId: e.currentTarget.dataset.index,
         showData: ''
       })
-
       if (item.selectType == "audio" || item.learnSelectType === "audio") {
         if (this.data.formPath == 'jsek_cloudLearning') {
           // 杩欓噷澶勭悊浜戝涔犵殑
@@ -342,16 +313,11 @@
             showData: app.config.requestCtx + '/file/api/ApiDownloadForAuthorize?md5=' + item.protectedFile + '&token=' + wx.getStorageSync(app.config.tokenKey)
           })
           this.pubulicPlayFun()
-
         } else {
-
-
           this.setData({
             showData: item.file ? app.config.requestCtx + '/file/api/ApiDownload?md5=' + item.file : app.config.requestCtx + '/file/api/ApiDownload?md5=' + item.freeFile
           })
           this.pubulicPlayFun()
-
-
         }
       }
     }
@@ -367,8 +333,6 @@
       })
     })
   },
-
-
 
   newTopicMessageGet() {
     let query = {
@@ -386,7 +350,6 @@
 
   // 鏍囬鏀瑰彉
   changeTitle(e) {
-
     this.setData({
       flag: e.currentTarget.dataset.value
     })
@@ -424,15 +387,12 @@
     this.getNoteList()
 
   },
-  onTextarea() {
-
-  },
+  onTextarea() {},
   textareaChange(e) {
     this.setData({
       textvalue: e.detail.value
     })
   },
-
 
   // 鑾峰彇绗旇鍒楄〃
   async getNoteList() {
@@ -526,7 +486,6 @@
   },
   // 鏂板缓绗旇鎺ュ彛
   async makeNote() {
-
     let topicId
     await app.MG.ugc
       .getProductUserSubmitTopic({
@@ -625,54 +584,29 @@
     //鎾斁浜嬩欢
     myAudio.play();
 
-
-
-
     // 鎾斁瀹屾垚澶勭悊锛屾寜閽彉涓�涓�
     myAudio.onEnded((res) => {
       this.setData({
         speed: 1.0,
       })
       myAudio.playbackRate = this.data.speed;
-
       this.setData({
         isplay: true,
         myAudioCurrent: '00:00',
         myAudioPos: '',
       })
-
     });
 
     //杩涘害鏉″彉鍖�   
     myAudio.onTimeUpdate(() => {
-
-
-
       this.setData({
         myAudioPos: myAudio.currentTime / myAudio.duration * 100,
         myAudioCurrent: this.format(myAudio.currentTime),
         myAudioDuration: this.format(myAudio.duration),
       });
-      // debugger
-
-      console.log(this.data.myAudioPos);
+      console.log(myAudio.currentTime, myAudio.duration);
     })
-
-    // if (this.data.myAudioDuration !== this.data.myAudioCurrent) {
-    //   this.setData({
-    //     myAudioPos: myAudio.currentTime / myAudio.duration * 100,
-    //     myAudioCurrent: this.format(myAudio.currentTime),
-    //     myAudioDuration: this.format(myAudio.duration),
-    //   });
-
-    // }else{
-    //   myAudio.pause();
-    //   this.setData({
-    //     isplay: true
-    //   });
-    // }
   },
-
 
   //鎾斁  
   play() {
@@ -690,7 +624,6 @@
       isplay: true
     });
   },
-
 
   //鍙冲垏鎹�
   onLeftSwitch() {
@@ -714,7 +647,6 @@
       speed: 1.0,
       myAudioCurrent: '00:00'
     })
-    console.log('鍙冲垏鎹�');
     const index = this.data.threeLeveData.findIndex((item) => item.id == this.data.selectId)
     if (this.data.threeLeveData[index + 1]) {
       this.changeItem(this.data.threeLeveData[index + 1])
@@ -728,8 +660,6 @@
 
   // 宸﹀彸鍒囨崲
   changeItem(item) {
-
-
     if (this.data.showData != '') {
       this.setData({
         showData: ''
@@ -770,7 +700,6 @@
 
   // 鎷栧姩杩涘害鏉★紝鍒版寚瀹氫綅缃�
   hanle_slider_change(e) {
-
     const position = e.detail.value;
     var currentTime = position / 100 * myAudio.duration;
     myAudio.seek(currentTime);
@@ -778,17 +707,12 @@
       myAudioPos: position,
       myAudioCurrent: this.format(currentTime)
     })
-
-
-
   },
-
 
   toggleDropdown() {
     this.setData({
       showDropdown: !this.data.showDropdown
     });
-
   },
   smallSpeed() {
     this.setData({
diff --git a/packageDomain/pages/resourceDetails/myVideo/index.js b/packageDomain/pages/resourceDetails/myVideo/index.js
index 5033850..5311e4f 100644
--- a/packageDomain/pages/resourceDetails/myVideo/index.js
+++ b/packageDomain/pages/resourceDetails/myVideo/index.js
@@ -40,7 +40,8 @@
     formPath: '',
     loading: true,
     hidden: true,
-    videoError: false
+    videoError: false,
+    videoLoaidng: false
   },
   // 鏍煎紡鍖栫瑪璁版椂闂�
   convertTimestamp(timestamp) {
@@ -64,7 +65,6 @@
     const systInfo = wx.getSystemInfoSync();
     const menu = wx.getMenuButtonBoundingClientRect(); // 鑳跺泭淇℃伅
     const navBarHeight = (menu.top - systInfo.statusBarHeight) * 2 + menu.height; // 瀵艰埅鏍忛珮搴�
-    console.log(options, 'options');
     this.setData({
       navBarHeight: navBarHeight,
       barHeight: systInfo.statusBarHeight,
@@ -82,7 +82,6 @@
         parentName: options.parentName,
       })
     }
-    console.log(options, 'options');
     this.resourceDetailsData()
     this.getNoteList()
   },
@@ -202,6 +201,9 @@
     wx.navigateBack();
   },
   resourceDetailsData() {
+    this.setData({
+      videoLoaidng: true
+    })
     let query = {
       path: '*',
       queryType: '*',
@@ -228,7 +230,6 @@
     }
     app.MG.store.getProductDetail(query).then(res => {
       res.datas.cmsDatas[0].datas.forEach((item) => {
-        console.log(item);
         if (item.selectType === "video" || item.learnSelectType === "video") {
           this.data.threeLeveData.push(item)
           this.setData({
@@ -267,6 +268,7 @@
   onVideo(e) {
     const item = e.currentTarget.dataset.item
     this.setData({
+      videoLoaidng: true,
       selectedId: e.currentTarget.dataset.index,
       showData: '',
       titleName: item.name
@@ -356,8 +358,6 @@
       textvalue: e.detail.value
     })
   },
-
-
   // 鑾峰彇绗旇鍒楄〃
   async getNoteList() {
     // this.setData({
@@ -543,5 +543,10 @@
     this.setData({
       videoError: true
     });
+  },
+  loadedmetadata(e) {
+    this.setData({
+      videoLoaidng: false
+    })
   }
 })
\ No newline at end of file
diff --git a/packageDomain/pages/resourceDetails/myVideo/index.json b/packageDomain/pages/resourceDetails/myVideo/index.json
index 4e94a62..f281a4f 100644
--- a/packageDomain/pages/resourceDetails/myVideo/index.json
+++ b/packageDomain/pages/resourceDetails/myVideo/index.json
@@ -13,6 +13,7 @@
     "t-textarea": "tdesign-miniprogram/textarea/textarea",
     "t-loading": "tdesign-miniprogram/loading/loading",
     "t-popup": "tdesign-miniprogram/popup/popup",
-    "t-empty": "tdesign-miniprogram/empty/empty"
+    "t-empty": "tdesign-miniprogram/empty/empty",
+    "t-skeleton": "tdesign-miniprogram/skeleton/skeleton"
   }
 }
\ No newline at end of file
diff --git a/packageDomain/pages/resourceDetails/myVideo/index.wxml b/packageDomain/pages/resourceDetails/myVideo/index.wxml
index 6216b31..9209bd8 100644
--- a/packageDomain/pages/resourceDetails/myVideo/index.wxml
+++ b/packageDomain/pages/resourceDetails/myVideo/index.wxml
@@ -1,7 +1,7 @@
 <import src="index.skeleton.wxml" />
 <template is="skeleton" wx:if="{{loading}}" />
 
-<view wx:if="{{!hidden}}">
+<view wx:if="{{!loading}}">
   <!-- <view style="width: 100%; height: {{barHeight}}px; "></view>
   <view class="nacigationBar" style="width: 100%; height: {{navBarHeight}}px;">
     <view>
@@ -13,7 +13,19 @@
   <view class="videoBox" wx:if="{{videoChange}}">
     <!-- autoplay='false' 鏄惁鑷姩鎾斁 -->
     <!-- <video binderror="videoErrorCallback" src="{{showData}}" play-btn-position='center' object-fit='fill' controls enable-play-gesture enable-auto-rotation></video> -->
-    <video src="{{showData}}"></video>
+    <view wx:if="{{videoLoaidng}}" class="video-loading">
+      <t-loading
+        theme="circular"
+        size="60rpx"
+        class="wrapper"
+        loading="{{videoLoaidng}}"
+      />
+    </view>
+    <video
+      show-center-play-btn="{{false}}"
+      src="{{showData}}"
+      bindloadedmetadata="loadedmetadata"
+    ></video>
   </view>
 
   <view wx:if="{{!videoChange}}" class="videoSubsidiaryBox">
diff --git a/packageDomain/pages/resourceDetails/myVideo/index.wxss b/packageDomain/pages/resourceDetails/myVideo/index.wxss
index ca32596..5cf9402 100644
--- a/packageDomain/pages/resourceDetails/myVideo/index.wxss
+++ b/packageDomain/pages/resourceDetails/myVideo/index.wxss
@@ -21,6 +21,14 @@
 
 .videoBox {
   width: 100%;
+  position: relative;
+}
+
+.video-loading {
+  position: absolute;
+  top: 42%;
+  left: 50%;
+  z-index: 9999999999;
 }
 
 .videoBox video {
diff --git a/packageDomain/pages/sampleBookList/index.js b/packageDomain/pages/sampleBookList/index.js
index afec91a..66fd827 100644
--- a/packageDomain/pages/sampleBookList/index.js
+++ b/packageDomain/pages/sampleBookList/index.js
@@ -563,6 +563,7 @@
   },
   onResetSecond() {
     this.setData({
+      skeletonLoding: true,
       pathList: [],
       'secondList.value': [],
     });
diff --git a/packagePersonal/pages/userSetting/index.js b/packagePersonal/pages/userSetting/index.js
index 1bbd3e3..7329d10 100644
--- a/packagePersonal/pages/userSetting/index.js
+++ b/packagePersonal/pages/userSetting/index.js
@@ -127,7 +127,7 @@
     this.setData({
       userInfoBox: e.detail.visible,
       countDown: 0,
-      mailCountDown:0
+      mailCountDown: 0
     });
   },
   editIconInfo(e) {
@@ -277,6 +277,7 @@
   },
 
   getPhoneCode() {
+    if (this.data.countDown > 0) return false
     if (this.data.userInfoForm.phone && this.data.userInfoForm.captcha) {
       app.MG.identity
         .getPhoneCode({
diff --git a/packagePersonal/pages/userSetting/index.wxml b/packagePersonal/pages/userSetting/index.wxml
index 8147931..7e6ac2b 100644
--- a/packagePersonal/pages/userSetting/index.wxml
+++ b/packagePersonal/pages/userSetting/index.wxml
@@ -10,18 +10,36 @@
   </view>
   <view class="itemList">
     <view class="label">鐢ㄦ埛鍚�</view>
-    <view class="content" data-info="{{'nickName'}}" bindtap="editUserInfo">{{userInfo.nickName || '寰俊鐢ㄦ埛'}}</view>
+    <view class="content" data-info="{{'nickName'}}" bindtap="editUserInfo"
+      >{{userInfo.nickName || '寰俊鐢ㄦ埛'}}</view
+    >
     <t-icon name="chevron-right" size="40rpx" color="#C2C2C2" />
   </view>
   <view class="itemList">
     <view class="label">鎵嬫満鍙风爜</view>
-    <view class="content" data-info="{{'phone'}}" bindtap="editUserInfo">{{userInfo.phoneNumber || '鏈粦瀹氭墜鏈哄彿'}}</view>
-    <t-icon name="chevron-right" size="40rpx" color="#C2C2C2" data-info="{{'phone'}}" bindtap="editUserInfo" />
+    <view class="content" data-info="{{'phone'}}" bindtap="editUserInfo"
+      >{{userInfo.phoneNumber || '鏈粦瀹氭墜鏈哄彿'}}</view
+    >
+    <t-icon
+      name="chevron-right"
+      size="40rpx"
+      color="#C2C2C2"
+      data-info="{{'phone'}}"
+      bindtap="editUserInfo"
+    />
   </view>
   <view class="itemList">
     <view class="label">閭</view>
-    <view class="content" data-info="{{'email'}}" bindtap="editUserInfo">{{userInfo.Email}}</view>
-    <t-icon name="chevron-right" size="40rpx" color="#C2C2C2" data-info="{{'email'}}" bindtap="editUserInfo" />
+    <view class="content" data-info="{{'email'}}" bindtap="editUserInfo"
+      >{{userInfo.Email}}</view
+    >
+    <t-icon
+      name="chevron-right"
+      size="40rpx"
+      color="#C2C2C2"
+      data-info="{{'email'}}"
+      bindtap="editUserInfo"
+    />
   </view>
   <!-- <t-popup visible="{{userInfoBox}}" bind:visible-change="onVisibleChange" placement="center">
     <view class="block">
@@ -91,9 +109,12 @@
       <t-icon t-class="close-btn" name="close-circle" size="32" color="#fff" bind:tap="onCloseProtocol" />
     </view>
   </t-popup> -->
-
 </view>
-<view class="popup-box" wx:if="{{userInfoBox}}" bindtap="onCloseProtocol"></view>
+<view
+  class="popup-box"
+  wx:if="{{userInfoBox}}"
+  bindtap="onCloseProtocol"
+></view>
 <view class="info-center" style="top:{{height*0.3}}px;" wx:if="{{userInfoBox}}">
   <view>
     <view class="row-info">
@@ -102,7 +123,12 @@
           <view class="label"> 鏄电О锛� </view>
           <view class="item-content">
             <view class="inputBox1">
-              <t-input placeholder="杈撳叆鏄电О" borderless value="{{userInfoForm.nickName}}" bindchange="onNameInput" />
+              <t-input
+                placeholder="杈撳叆鏄电О"
+                borderless
+                value="{{userInfoForm.nickName}}"
+                bindchange="onNameInput"
+              />
             </view>
           </view>
         </view>
@@ -110,50 +136,81 @@
           <view class="label"> 鎵嬫満鍙凤細 </view>
           <view class="item-content">
             <view class="outsideInputBox1">
-
               <view class="inputBox1">
-                <t-input placeholder="杈撳叆鎵嬫満鍙风爜" borderless value="{{userInfoForm.phone}}" type="number" bindchange="onPhoneInput" />
+                <t-input
+                  placeholder="杈撳叆鎵嬫満鍙风爜"
+                  borderless
+                  value="{{userInfoForm.phone}}"
+                  type="number"
+                  bindchange="onPhoneInput"
+                />
               </view>
-              <view wx:if="{{phoneError}}" style="font-size: 24rpx; color: red;">鎵嬫満鍙疯緭鍏ヤ笉姝g‘</view>
-
-
+              <view wx:if="{{phoneError}}" style="font-size: 24rpx; color: red"
+                >鎵嬫満鍙疯緭鍏ヤ笉姝g‘</view
+              >
             </view>
-
           </view>
         </view>
         <view class="from-item" wx:if="{{editType == 'email'}}">
-          <view class=" label"> 閭锛� </view>
+          <view class="label"> 閭锛� </view>
           <view class="item-content">
             <view class="outsideInputBox1">
               <view class="inputBox1">
-                <t-input placeholder="杈撳叆閭" borderless value="{{userInfoForm.email}}" bindchange="onEmailInput" />
-
+                <t-input
+                  placeholder="杈撳叆閭"
+                  borderless
+                  value="{{userInfoForm.email}}"
+                  bindchange="onEmailInput"
+                />
               </view>
-              <view wx:if="{{emailError}}" style="font-size: 24rpx; color: red;">閭杈撳叆涓嶆纭�</view>
+              <view wx:if="{{emailError}}" style="font-size: 24rpx; color: red"
+                >閭杈撳叆涓嶆纭�</view
+              >
             </view>
-
           </view>
         </view>
         <view class="from-item" wx:if="{{editType !== 'nickName'}}">
           <view class="label"> 鍥惧舰楠岃瘉鐮侊細 </view>
           <view class="item-content">
             <view class="inputBox">
-              <t-input placeholder="杈撳叆鍥惧舰楠岃瘉鐮�" borderless value="{{userInfoForm.captcha}}" type="number" bindchange="onCaptchaInput" />
+              <t-input
+                placeholder="杈撳叆鍥惧舰楠岃瘉鐮�"
+                borderless
+                value="{{userInfoForm.captcha}}"
+                type="number"
+                bindchange="onCaptchaInput"
+              />
             </view>
             <view class="code">
-              <image src="{{imgCode}}" class="imgCode hover" bindtap="getImgCapcha" />
+              <image
+                src="{{imgCode}}"
+                class="imgCode hover"
+                bindtap="getImgCapcha"
+              />
             </view>
           </view>
-
         </view>
         <view class="from-item" wx:if="{{editType == 'phone'}}">
           <view class="label"> 鐭俊楠岃瘉鐮侊細 </view>
           <view class="item-content">
             <view class="inputBox">
-              <t-input placeholder="杈撳叆鐭俊楠岃瘉鐮�" borderless value="{{userInfoForm.code}}" type="number" bindchange="onCodeInput" />
+              <t-input
+                placeholder="杈撳叆鐭俊楠岃瘉鐮�"
+                borderless
+                value="{{userInfoForm.code}}"
+                type="number"
+                bindchange="onCodeInput"
+              />
             </view>
             <view class="code">
-              <button class="{{countDown > 0 ? ' disabled' : 'btn'}}" bindtap="getPhoneCode">{{countDown > 0 ? '楠岃瘉鐮�(' + countDown + 's)' : '鑾峰彇鐭俊楠岃瘉鐮�'}}</button>
+              <button
+                disabled="{{countDown > 0}}"
+                class="{{countDown > 0 ? ' disabled' : 'btn'}}"
+                bindtap="getPhoneCode"
+              >
+                {{countDown > 0 ? '楠岃瘉鐮�(' + countDown + 's)' :
+                '鑾峰彇鐭俊楠岃瘉鐮�'}}
+              </button>
             </view>
           </view>
         </view>
@@ -161,10 +218,23 @@
           <view class="label"> 閭楠岃瘉鐮侊細 </view>
           <view class="item-content">
             <view class="inputBox">
-              <t-input placeholder="杈撳叆閭楠岃瘉鐮�" borderless value="{{userInfoForm.code}}" type="number" bindchange="onCodeInput" />
+              <t-input
+                placeholder="杈撳叆閭楠岃瘉鐮�"
+                borderless
+                value="{{userInfoForm.code}}"
+                type="number"
+                bindchange="onCodeInput"
+              />
             </view>
             <view class="code">
-              <button class="{{mailCountDown > 0 ? ' disabled' : 'btn'}}" bindtap="getEmailCode"> {{mailCountDown > 0 ? '楠岃瘉鐮�(' + mailCountDown + 's)' : '鑾峰彇閭楠岃瘉鐮�'}}</button>
+              <button
+                disabled="{{mailCountDown > 0}}"
+                class="{{mailCountDown > 0 ? ' disabled' : 'btn'}}"
+                bindtap="getEmailCode"
+              >
+                {{mailCountDown > 0 ? '楠岃瘉鐮�(' + mailCountDown + 's)' :
+                '鑾峰彇閭楠岃瘉鐮�'}}
+              </button>
             </view>
           </view>
         </view>
@@ -175,4 +245,4 @@
       <view class="right-btn" bindtap="confirmInfo">纭</view>
     </view>
   </view>
-</view>
\ No newline at end of file
+</view>
diff --git a/packagePersonal/pages/userSetting/index.wxss b/packagePersonal/pages/userSetting/index.wxss
index 383a21c..6b80c15 100644
--- a/packagePersonal/pages/userSetting/index.wxss
+++ b/packagePersonal/pages/userSetting/index.wxss
@@ -131,19 +131,19 @@
 
 .btn {
   width: 190rpx;
-  height: 72rpx;
+  height: 76rpx;
   padding: 0 10rpx !important;
   background: #ff6c00;
-  border: 2rpx solid #ff6c00;
+  /* border: 2rpx solid #ff6c00; */
+  /* padding: 0 2rpx; */
   color: #fff;
   font-size: 28rpx;
 }
 
 .disabled {
   width: 190rpx;
-  height: 72rpx;
+  height: 76rpx;
   background: #ccc;
-
   color: #000;
   cursor: not-allowed;
   font-size: 28rpx;
diff --git a/pages/bibliographyList/index.js b/pages/bibliographyList/index.js
index dc993f6..2a851c7 100644
--- a/pages/bibliographyList/index.js
+++ b/pages/bibliographyList/index.js
@@ -33,6 +33,9 @@
       emailError: false,
       loading: true, //寮�鍚鏋跺睆鍔犺浇
       hidden: true, //鏄惁灞曠ず鍐呭
+      height: '',
+      dialogBox: false,
+      inputStyle: 'border: 2rpx solid rgba(220,220,220,1);border-radius: 12rpx; padding: 0 0 0 16rpx;height:70rpx',
     },
 
     /**
@@ -55,6 +58,15 @@
         }
       }
       this.onTabsChange(event)
+      var that = this;
+      // 鍔ㄦ�佽幏鍙栧睆骞曢珮搴�
+      wx.getSystemInfo({
+        success: (result) => {
+          that.setData({
+            height: result.windowHeight
+          });
+        },
+      })
     },
 
     /**
@@ -109,8 +121,16 @@
     onTabsChange(event) {
       const value = event.detail.value
       this.setData({
+        isMore: null,
         tabValue: value,
       })
+      if (value == '0') {
+        this.higherGet()
+      } else if (value == '1') {
+        this.vocationalGet()
+      } else if (value == '2') {
+        this.teacherGet()
+      }
     },
     //楂樼瓑鏁欒偛
     higherGet(keyword) {
@@ -140,7 +160,6 @@
         },
         SysType: 'CmsItem'
       }).then(res => {
-
         res.datas.forEach(item => {
           item.determine = true
         })
@@ -152,6 +171,11 @@
           loading: false, //寮�鍚鏋跺睆鍔犺浇
           hidden: false, //鏄惁灞曠ず鍐呭
         })
+        if (res.datas.length < 7 && res.datas.length > 0) {
+          this.setData({
+            isMore: false
+          })
+        }
       })
       wx.stopPullDownRefresh()
     },
@@ -192,6 +216,11 @@
           vocationalList: res.datas,
           vocationalTotal: res.total
         })
+        if (res.datas.length < 7 && this.datas.length > 0) {
+          this.setData({
+            isMore: false
+          })
+        }
       })
       wx.stopPullDownRefresh()
     },
@@ -232,6 +261,11 @@
           teacherList: res.datas,
           teacherTotal: res.total
         })
+        if (res.datas.length < 7 && this.datas.length > 0) {
+          this.setData({
+            isMore: false
+          })
+        }
       })
       wx.stopPullDownRefresh()
     },
@@ -275,8 +309,6 @@
     //   }, 2000);
     // },
     downloadData(event) {
-      console.log(this.data.isMore);
-      debugger
       const item = event.currentTarget.dataset.item
       if (item.fileType == "pdf") {
         wx.navigateTo({
@@ -385,32 +417,42 @@
       const key = e.currentTarget.dataset.key;
       const item = e.currentTarget.dataset.item;
       this.setData({
-        Md5: item.datas.freeFile.FileList[0].Md5
+        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.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()
+      //     }
+      //   }
+      // })
+    },
+    // 寮圭獥鍙栨秷
+    closeDialog() {
+      this.setData({
+        dialogBox: false
       })
     },
     //鎻愪氦
     confirmM(e) {
       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({
+          dialogBox: false
+        })
         let query = {
           eMail: this.data.input,
           md5s: [this.data.Md5]
@@ -431,4 +473,9 @@
         });
       }
     },
+    inputChange(e) {
+      this.setData({
+        input: e.detail.value
+      })
+    }
   })
\ No newline at end of file
diff --git a/pages/bibliographyList/index.wxml b/pages/bibliographyList/index.wxml
index 1ffbc9a..2a71667 100644
--- a/pages/bibliographyList/index.wxml
+++ b/pages/bibliographyList/index.wxml
@@ -48,9 +48,7 @@
           scroll-y="{{true}}"
           wx:else
           class="scroll-box"
-          refresher-enabled="{{true}}"
           lower-threshold="{{200}}"
-          refresher-threshold="{{80}}"
           refresher-default-style="none"
           refresher-triggered="{{triggered}}"
           bindscrolltolower="onReachBottom"
@@ -122,9 +120,7 @@
           scroll-y="{{true}}"
           wx:else
           class="scroll-box"
-          refresher-enabled="{{true}}"
           lower-threshold="{{200}}"
-          refresher-threshold="{{80}}"
           refresher-default-style="none"
           refresher-triggered="{{triggered}}"
           bindscrolltolower="onReachBottom"
@@ -197,9 +193,7 @@
           scroll-y="{{true}}"
           wx:else
           class="scroll-box"
-          refresher-enabled="{{true}}"
           lower-threshold="{{200}}"
-          refresher-threshold="{{80}}"
           refresher-default-style="none"
           refresher-triggered="{{triggered}}"
           bindscrolltolower="onReachBottom"
@@ -268,3 +262,27 @@
   </view>
 </view>
 <t-toast id="t-toast" />
+
+<!-- 寮圭獥 -->
+<view class="info-center" style="top:{{height*0.3}}px;" wx:if="{{dialogBox}}">
+  <view>
+    <view class="row-info">
+      <view class="body">
+        <view class="dialog-title">璇疯緭鍏ラ偖绠�</view>
+        <view class="input-box">
+          <t-input
+            style="{{inputStyle}}"
+            class="input"
+            placeholder="璇疯緭鍏ヨ仈绯绘柟寮�"
+            value="{{input}}"
+            bind:change="inputChange"
+          ></t-input>
+        </view>
+      </view>
+      <view class="row-btn">
+        <view class="left-btn" bindtap="closeDialog">鍙栨秷</view>
+        <view class="right-btn" bindtap="confirmM">纭</view>
+      </view>
+    </view>
+  </view>
+</view>
diff --git a/pages/bibliographyList/index.wxss b/pages/bibliographyList/index.wxss
index 2a96954..266fa46 100644
--- a/pages/bibliographyList/index.wxss
+++ b/pages/bibliographyList/index.wxss
@@ -44,7 +44,7 @@
 }
 
 .higherTextBox {
-  height: 55rpx;
+  height: 48rpx;
   font-weight: bold;
   font-size: 25rpx;
   color: #333333;
@@ -244,4 +244,64 @@
 .scroll-box {
   height: calc(100vh - 264rpx - env(safe-area-inset-bottom));
   padding-bottom: env(safe-area-inset-bottom);
+}
+
+.info-center {
+  position: fixed;
+  z-index: 999;
+  background-color: white;
+  align-items: center;
+  justify-content: center;
+  border-radius: 10rpx;
+  width: 80%;
+  margin-left: 10%;
+  margin-right: 10%;
+}
+
+.row-btn {
+  width: 100%;
+  display: flex;
+  flex-direction: row;
+  align-items: center;
+  border-top: 1rpx solid #f1f1f1;
+}
+
+.row-btn view {
+  flex: 1;
+  text-align: center;
+  margin: 20rpx 10%;
+  padding: 12rpx 0;
+  font-size: 32rpx;
+  border-radius: 10rpx;
+}
+
+.left-btn {
+  background-color: #f1f1f1;
+  color: #5C5C5C;
+}
+
+.right-btn {
+  background-color: #ff6c00;
+  color: white;
+}
+
+.row-info .body {
+  min-height: 100rpx;
+}
+
+.dialog-title {
+  padding: 20rpx 0;
+  text-align: center;
+  font-size: 36rpx;
+  font-weight: bold;
+}
+
+.input-box {
+  width: 100%;
+  margin-bottom: 16rpx;
+}
+
+.input {
+  --td-input-border-radius: 20rpx;
+  border-radius: 20rpx;
 }
\ No newline at end of file
diff --git a/pages/bookExhibitionList/index.wxss b/pages/bookExhibitionList/index.wxss
index a4e8aab..7ffe56a 100644
--- a/pages/bookExhibitionList/index.wxss
+++ b/pages/bookExhibitionList/index.wxss
@@ -284,4 +284,8 @@
 
 .t-radio {
   font-size: var(--td-radio-font-size, 28rpx) !important;
+}
+
+.t-icon-base {
+  font-size: 44rpx;
 }
\ No newline at end of file
diff --git a/pages/cart/paymentPage/index.js b/pages/cart/paymentPage/index.js
index 645549c..9e747a2 100644
--- a/pages/cart/paymentPage/index.js
+++ b/pages/cart/paymentPage/index.js
@@ -34,12 +34,9 @@
    * 鐢熷懡鍛ㄦ湡鍑芥暟--鐩戝惉椤甸潰鍔犺浇
    */
   onLoad(options) {
-
     wx.setNavigationBarTitle({
       title: '鎻愪氦璁㈠崟'
     });
-
-
     const systInfo = wx.getSystemInfoSync();
     const menu = wx.getMenuButtonBoundingClientRect(); // 鑳跺泭淇℃伅
     const navBarHeight = (menu.top - systInfo.statusBarHeight) * 2 + menu.height; // 瀵艰埅鏍忛珮搴�
@@ -107,7 +104,26 @@
     wx.navigateBack();
   },
 
-
+  // 閲戦鏄剧ず.00鏍煎紡
+  numFormat(value) {
+    if (!value) return "0.00";
+    value = Number(value).toFixed(2);
+    var intPart = Math.trunc(value); // 鑾峰彇鏁存暟閮ㄥ垎
+    var intPartFormat = intPart
+      .toString()
+      .replace(/(\d)(?=(?:\d{3})+$)/g, "$1,"); // 灏嗘暣鏁伴儴鍒嗛�笁涓�鏂�
+    var floatPart = ".00"; // 棰勫畾涔夊皬鏁伴儴鍒�
+    var value2Array = value.split(".");
+    // =2琛ㄧず鏁版嵁鏈夊皬鏁颁綅
+    if (value2Array.length === 2) {
+      floatPart = value2Array[1].toString(); // 鎷垮埌灏忔暟閮ㄥ垎
+      if (floatPart.length === 1) {
+        return `${intPartFormat}.${floatPart}0`;
+      }
+      return `${intPartFormat}.${floatPart}`;
+    }
+    return intPartFormat + floatPart;
+  },
   getOrderByOrderNumData() {
     console.log(this.data.orderNumber, 'this.data.orderNumber');
     let query = {
@@ -118,29 +134,23 @@
       }
     }
     app.MG.store.getOrderByOrderNum(query).then(res => {
-      console.log(res, 'res');
       this.setData({
         orderGoods: res.orderNumber
       })
-      console.log(this.data.orderGoods, 'res.orderNumber');
-
-      console.log(res.payPrice);
       this.setData({
         payPrice: res.payPrice.toFixed(2),
         ImmediatelyReceive: res.payPrice
       })
       console.log(this.data.ImmediatelyReceive);
       res.saleMethodLinks.forEach(item => {
-        // console.log(item.type, 'item.type');
-
         const type = item.orderSaleMethod.type == 'createProductItemSaleMethod' ? 'item' : 'product';
         item.type = type; // 灏唗ype璁剧疆涓篿tem瀵硅薄鐨勫睘鎬э紝鑰屼笉鏄娇鐢╯etData
         item.paymentIcon = getPublicImage(item.orderSaleMethod.product.icon)
-        console.log(item.type, 'item');
+        item.payPrice = this.numFormat(item.payPrice)
+        console.log(item, 'item');
       })
       this.setData({
         productList: res.saleMethodLinks,
-        // type: item.orderSaleMethod.type == 'createProductItemSaleMethod' ? 'item' : 'product'
         loading: false,
         hidden: false,
       })
diff --git a/pages/cart/paymentPage/index.wxml b/pages/cart/paymentPage/index.wxml
index 94a3a18..09600ee 100644
--- a/pages/cart/paymentPage/index.wxml
+++ b/pages/cart/paymentPage/index.wxml
@@ -3,7 +3,6 @@
 <template is="skeleton" wx:if="{{loading}}" />
 
 <view hidden="{{hidden}}">
-
   <!-- <view class="titleBox">
     <view style="width: 100%; height: {{barHeight}}px; "></view>
     <view class="nacigationBar" style="width: 70%; height: {{navBarHeight}}px;">
@@ -16,31 +15,49 @@
 
   <view class="paymentPageBox">
     <view class="content">
-
       <view class="shoppingCartList">
-        <view class="cartList" wx:for="{{productList}}" wx:key="index" wx:for-item="item" wx:for-index="index">
+        <view
+          class="cartList"
+          wx:for="{{productList}}"
+          wx:key="index"
+          wx:for-item="item"
+          wx:for-index="index"
+        >
           <view class="imageBox">
-            <image wx:if="{{item.paymentIcon}}" src="{{item.paymentIcon }}" mode="aspectFit" />
-            <image wx:else src="/static/images/default-book-img.png" class="imageStyle" mode="aspectFit" />
+            <image
+              wx:if="{{item.paymentIcon}}"
+              src="{{item.paymentIcon }}"
+              mode="aspectFit"
+            />
+            <image
+              wx:else
+              src="/static/images/default-book-img.png"
+              class="imageStyle"
+              mode="aspectFit"
+            />
           </view>
           <view class="cartListContent">
             <view class="cartListDetails">
-              <view wx:if="{{item.type == 'product'}}" style="width: 386rpx;">
+              <view wx:if="{{item.type == 'product'}}" style="width: 386rpx">
                 <view class="boosName">
                   <text class="eBook">鐢靛瓙涔�</text>
                   <text> {{item.orderSaleMethod.product.name}}</text>
                 </view>
               </view>
-              <view wx:if="{{item.type == 'item'}}" style="width: 386rpx;">
+              <view wx:if="{{item.type == 'item'}}" style="width: 386rpx">
                 <view class="boosName">
                   <text class="cloudLearning">浜戝涔�</text>
                   <text> {{item.orderSaleMethod.product.name}}</text>
                 </view>
               </view>
             </view>
-            <view class="textBox" wx:if="{{item.type == 'product'}}">鍥句功鏈嶅姟-鐢靛瓙涔�</view>
-            <view class="textBox" wx:if="{{item.type == 'item'}}">鍥句功鏈嶅姟-浜戝涔�</view>
-            <view class="priceBox">锟{payPrice}}</view>
+            <view class="textBox" wx:if="{{item.type == 'product'}}"
+              >鍥句功鏈嶅姟-鐢靛瓙涔�</view
+            >
+            <view class="textBox" wx:if="{{item.type == 'item'}}"
+              >鍥句功鏈嶅姟-浜戝涔�</view
+            >
+            <view class="priceBox">锟{item.payPrice}}</view>
           </view>
         </view>
       </view>
@@ -54,18 +71,30 @@
           <view> <text>鍚堣锛� </text> 锟{payPrice}}</view>
         </view>
       </view>
-
     </view>
     <!-- <view class="interval"></view> -->
     <view class="paymentBox">
-      <view class="residue">寰呮敮浠橈細<text class="residueTextBox">锟{payPrice}}</text></view>
+      <view class="residue"
+        >寰呮敮浠橈細<text class="residueTextBox">锟{payPrice}}</text></view
+      >
       <view>
-        <t-button wx:if="{{ImmediatelyReceive === 0}}" class="buttonBox" shape="round" catch:tap="onReceive">绔嬪嵆棰嗗彇</t-button>
-        <t-button wx:else class="buttonBox" shape="round" catch:tap="confirmOrderGet">寰俊鏀粯</t-button>
-
+        <t-button
+          wx:if="{{ImmediatelyReceive === 0}}"
+          class="buttonBox"
+          shape="round"
+          catch:tap="onReceive"
+          >绔嬪嵆棰嗗彇</t-button
+        >
+        <t-button
+          wx:else
+          class="buttonBox"
+          shape="round"
+          catch:tap="confirmOrderGet"
+          >寰俊鏀粯</t-button
+        >
       </view>
     </view>
   </view>
 
   <t-toast id="t-toast" />
-</view>
\ No newline at end of file
+</view>
diff --git a/pages/retrievalPage/index.wxml b/pages/retrievalPage/index.wxml
index 91098b4..93a89c9 100644
--- a/pages/retrievalPage/index.wxml
+++ b/pages/retrievalPage/index.wxml
@@ -58,7 +58,7 @@
               <view class="bookDataAuthor">{{item.author}}</view>
             </view>
           </view>
-          <view wx:if="{{bookData.length != 0}}" class="bottom-box">
+          <view wx:if="{{bookData.length}}" class="bottom-box">
             <t-loading
               theme="circular"
               size="40rpx"
diff --git a/pages/retrievalPage/index.wxss b/pages/retrievalPage/index.wxss
index e8439b9..c2cf0ce 100644
--- a/pages/retrievalPage/index.wxss
+++ b/pages/retrievalPage/index.wxss
@@ -365,8 +365,7 @@
 }
 
 .scrollViewBox {
-  height: calc(100vh - 326rpx);
-  /* width: calc(100vw - 60rpx); */
+  height: calc(100vh - 208rpx - env(safe-area-inset-bottom));
 }
 
 .t-search__input-box--square {

--
Gitblit v1.9.1