From 78068d49c20a8b90db902d955f558af507eb8b96 Mon Sep 17 00:00:00 2001 From: 闫增涛 <1829501689@qq.com> Date: 星期四, 11 四月 2024 16:06:12 +0800 Subject: [PATCH] 各页面添加骨架屏 --- packageBookService/pages/bookServices/examination/questionList/index.js | 22 ++++++++++++++++++---- 1 files changed, 18 insertions(+), 4 deletions(-) diff --git a/packageBookService/pages/bookServices/examination/questionList/index.js b/packageBookService/pages/bookServices/examination/questionList/index.js index ec3a161..1513d20 100644 --- a/packageBookService/pages/bookServices/examination/questionList/index.js +++ b/packageBookService/pages/bookServices/examination/questionList/index.js @@ -26,6 +26,9 @@ }, sliderValue: { type: Number, + }, + noData:{ + type:Boolean, } }, observers: { @@ -48,7 +51,9 @@ duration: 500, interval: 5000, paginationPosition: 'bottom-right', - navigation: { type: 'fraction' }, + navigation: { + type: 'fraction' + }, showIndex: 0, }, @@ -63,11 +68,11 @@ }) var myEventDetail = { index: e.detail.current - } // detail瀵硅薄锛屾彁渚涚粰浜嬩欢鐩戝惉鍑芥暟 + } var myEventOption = { bubbles: true, composed: true, - } // 瑙﹀彂浜嬩欢鐨勯�夐」 + } this.triggerEvent('changeSwiper', myEventDetail, myEventOption) }, // 鍗曢�� 瀵屾枃鏈杈撳叆 瑙﹀彂 @@ -103,5 +108,14 @@ } // 瑙﹀彂浜嬩欢鐨勯�夐」 this.triggerEvent('onChangeInput', myEventDetail, myEventOption) }, + // 鎴戠殑閿欓锛屾敹钘忔煡鐪嬭В鏋愭寜閽� + viewParsing() { + var myEventDetail = {} + var myEventOption = { + bubbles: true, + composed: true, + } + this.triggerEvent('viewParsing', myEventDetail, myEventOption) + } } -}) +}) \ No newline at end of file -- Gitblit v1.9.1