From f6088ce5e3086edc3bd669265f07c7624475d0f7 Mon Sep 17 00:00:00 2001 From: QYF-GitLab1 <1940665526@qq.com> Date: 星期五, 01 八月 2025 14:35:32 +0800 Subject: [PATCH] 优化提示语,填空题渲染,不再加入班级 --- packageBookService/pages/bookServices/examination/components/joinGroupDialog/index.wxml | 2 packageBookService/pages/bookServices/examination/questionList/index.wxss | 7 + packageBookService/pages/bookServices/examination/questionList/index.wxml | 8 packageBookService/pages/bookServices/detail/components/tree/index.wxml | 2 packageBookService/pages/bookServices/examination/components/joinGroupDialog/index.js | 12 ++ packageBookService/pages/bookServices/examination/examination.js | 51 +++++++-- packageBookService/pages/bookServices/detail/components/testResource/testResource.js | 2 packageBookService/pages/bookServices/detail/components/tree/index.js | 24 ++-- packageBookService/pages/bookServices/examination/questionOptions/index.js | 6 - packageDomain/pages/sampleBookList/index.js | 2 packageBookService/pages/bookServices/detail/index.js | 3 packageBookService/pages/bookServices/examination/questionOptions/index.wxml | 175 ++++++---------------------------- 12 files changed, 114 insertions(+), 180 deletions(-) diff --git a/packageBookService/pages/bookServices/detail/components/testResource/testResource.js b/packageBookService/pages/bookServices/detail/components/testResource/testResource.js index 129b645..9cc0a88 100644 --- a/packageBookService/pages/bookServices/detail/components/testResource/testResource.js +++ b/packageBookService/pages/bookServices/detail/components/testResource/testResource.js @@ -84,7 +84,7 @@ } if (!this.data.isBuyBank) return wx.showToast({ icon: 'error', - title: '璇峰厛璐拱棰樺簱', + title: '璇峰厛婵�娲绘垨璐拱棰樺簱', }) wx.showLoading({ title: "鍔犺浇涓�", diff --git a/packageBookService/pages/bookServices/detail/components/tree/index.js b/packageBookService/pages/bookServices/detail/components/tree/index.js index 8b6a3ec..d4979ca 100644 --- a/packageBookService/pages/bookServices/detail/components/tree/index.js +++ b/packageBookService/pages/bookServices/detail/components/tree/index.js @@ -231,19 +231,19 @@ // // 鏈夌埗绾�(鍖呭惈閿�鍞柟寮�)锛屼笖鏈喘涔� if (!item.isbuy && !item.freeFile) return wx.showToast({ icon: 'error', - title: '璇峰厛璐拱璇ヨ祫婧�', + title: '璇峰厛婵�娲绘垨璐拱璧勬簮', }) - if (item.protectedFile || item.freeFile) { - let file = item.fileMap[item.protectedFile] ? item.fileMap[item.protectedFile] : item.fileMap[item.freeFile] - if (file && file.protectType !== "Public") { - if (!item.isbuy) { - return wx.showToast({ - icon: 'error', - title: '璇峰厛璐拱璇ヨ祫婧�', - }); - } - } - } + // if (!item.isbuy && item.freeFile) { + // let file = item.fileMap[item.freeFile] + // if (file && file.protectType !== "Public") { + // if (!item.isbuy) { + // return wx.showToast({ + // icon: 'error', + // title: '璇峰厛璐拱璇ヨ祫婧�', + // }); + // } + // } + // } } let url; if (item.selectType == "video" || item.learnSelectType == "video") { diff --git a/packageBookService/pages/bookServices/detail/components/tree/index.wxml b/packageBookService/pages/bookServices/detail/components/tree/index.wxml index 826b69c..b603fc4 100644 --- a/packageBookService/pages/bookServices/detail/components/tree/index.wxml +++ b/packageBookService/pages/bookServices/detail/components/tree/index.wxml @@ -43,7 +43,7 @@ <!-- 浜戝涔犲姞鍏ヨ喘鐗╄溅鍥炬爣 --> <image src="/static/images/bookService/detail/cart@2x.png" wx:if="{{item.isShopCar && !bookInfo.IsTextbook}}" class="shopCar" data-item="{{item}}" catch:tap="onCloudShoppingCart"></image> <!-- 浜戝涔犺喘涔板浘鏍� --> - <image src="/static/images/bookService/detail/need-buy.png" class="need-buy" wx:if="{{item.isbuy && !bookInfo.IsTextbook }}"></image> + <image src="/static/images/bookService/detail/need-buy.png" class="need-buy" wx:if="{{!item.isbuy && !bookInfo.IsTextbook }}"></image> </view> </view> </view> diff --git a/packageBookService/pages/bookServices/detail/index.js b/packageBookService/pages/bookServices/detail/index.js index 94dc1a8..438c3b8 100644 --- a/packageBookService/pages/bookServices/detail/index.js +++ b/packageBookService/pages/bookServices/detail/index.js @@ -1006,7 +1006,7 @@ // 鏌ユ壘鐩綍涓嬭祫婧愰攢鍞柟寮忥紝鐩綍涓嬭祫婧愭病鏈夐攢鍞柟寮� if (item.saleMethod?.length == 0) { // 鏌ョ湅鍏剁埗绾ф槸鍚︽湁閿�鍞柟寮� - if (parent.saleMethod?.length > 0) { + if (parent?.saleMethod?.length > 0) { // 鐖剁骇鏄湁閿�鍞柟寮忕洿鎺ユ樉绀烘寜閽� parent.isShowIcon = true } @@ -1163,6 +1163,7 @@ openLearnids: result, learnPath: type.productLinkPath }); + debugger } }) }, diff --git a/packageBookService/pages/bookServices/examination/components/joinGroupDialog/index.js b/packageBookService/pages/bookServices/examination/components/joinGroupDialog/index.js index e724c1b..f392248 100644 --- a/packageBookService/pages/bookServices/examination/components/joinGroupDialog/index.js +++ b/packageBookService/pages/bookServices/examination/components/joinGroupDialog/index.js @@ -9,6 +9,10 @@ }, ready() { var that = this; + const isJoinClass = wx.getStorageSync('joinClass') + that.setData({ + noTip: isJoinClass + }) // 鍔ㄦ�佽幏鍙栧睆骞曢珮搴� wx.getSystemInfo({ success: (result) => { @@ -47,6 +51,14 @@ }) }, + // 涓嶅啀鎻愮ず鍔犲叆鐝骇 + onChangeshow(e) { + wx.setStorageSync('joinClass', e.detail.checked) + this.setData({ + noTip: e.detail.checked + }) + }, + // 杈撳叆妗嗘敼鍙� inputChange(e) { this.setData({ diff --git a/packageBookService/pages/bookServices/examination/components/joinGroupDialog/index.wxml b/packageBookService/pages/bookServices/examination/components/joinGroupDialog/index.wxml index cb42b02..9254781 100644 --- a/packageBookService/pages/bookServices/examination/components/joinGroupDialog/index.wxml +++ b/packageBookService/pages/bookServices/examination/components/joinGroupDialog/index.wxml @@ -11,7 +11,7 @@ <input value="{{inputvalue}}" placeholder="璇疯緭鍏ョ彮绾ч個璇风爜" bind:change="inputChange" type="text" class="phone" style="{{inputStyle}}" /> </view> <t-radio allow-uncheck icon="dot" label="涓嶅姞鍏ョ彮绾�" value="0" data-value="2" checked="{{joinGroup == 2}}" bind:change="onChangeRadio" /> - <t-checkbox label="涓嶅啀鎻愮ず鍔犲叆鐝骇" icon="rectangle" value="{{noTip}}" /> + <t-checkbox label="涓嶅啀鎻愮ず鍔犲叆鐝骇" icon="rectangle" checked="{{noTip}}" bind:change="onChangeshow" /> </view> <view class="submit-btn"> <t-button theme="primary" size="large" block bind:tap="confirmSuggest">纭</t-button> diff --git a/packageBookService/pages/bookServices/examination/examination.js b/packageBookService/pages/bookServices/examination/examination.js index 0c0853a..740c2c2 100644 --- a/packageBookService/pages/bookServices/examination/examination.js +++ b/packageBookService/pages/bookServices/examination/examination.js @@ -992,18 +992,37 @@ } // 濉┖棰樻敼閫� if (questionObj.questionType == "completion") { + let c = []; let index = 0; for (let i = 0; i < questionObj.stem.length; i++) { const item = questionObj.stem[i]; - if (item == "input") { - questionObj.stem[i] = { - num: index, - data: "input", - }; + if (item != 'input') { + item.split("").map(citem => { + const obj = { + type: 'txt', + text: citem + } + c.push(obj) + }) + } else { + const obj = { + type: "input", + num: index + } if (!oldObj) questionObj.userAnswer[index] = ""; index++; + c.push(obj) } + // if (item == "input") { + // questionObj.stem[i] = { + // num: index, + // data: "input", + // }; + // if (!oldObj) questionObj.userAnswer[index] = ""; + // index++; + // } } + questionObj.customArr = c; } // 棰樺共瀵屾枃鏈鐞� if (questionObj.stemStyle == "RichText") { @@ -2330,7 +2349,7 @@ item.topicId = data.id } }) - console.log('鐝骇', res) + let isJoinClass = wx.getStorageSync('joinClass') if (res.datas.length) { this.setData({ classList: res.datas @@ -2363,20 +2382,28 @@ }) } else { // 鎷掔粷 + if (!isJoinClass) { + + this.setData({ + visible: true + }) + } + + } + } else { + // 鏈姞鍏ョ彮绾� + if (!isJoinClass) { this.setData({ visible: true }) } - } else { - // 鏈姞鍏ョ彮绾� + } + } else { + if (!isJoinClass) { this.setData({ visible: true }) } - } else { - this.setData({ - visible: true, - }) } }) diff --git a/packageBookService/pages/bookServices/examination/questionList/index.wxml b/packageBookService/pages/bookServices/examination/questionList/index.wxml index 6c0ab81..02554f5 100644 --- a/packageBookService/pages/bookServices/examination/questionList/index.wxml +++ b/packageBookService/pages/bookServices/examination/questionList/index.wxml @@ -35,10 +35,10 @@ <mp-html content="{{item.stem.stemTxt}}" /> </view> <!-- 濉┖棰� --> - <view wx:if="{{item.questionType == 'completion'}}"> - <view class="completion-box" wx:for="{{item.stem}}" wx:for-item="inputItem" wx:for-index="inputIndex" wx:key="inputIndex"> - <t-input disabled="{{item.isComplete}}" borderless bind:change="onChangeInput" data-value="{{item.option}}" data-id="{{item.id}}" data-index="{{inputItem.num}}" class="title-input {{isNight ? 'input-night-color' : ''}}" style="border: 2rpx solid rgba(220,220,220,1);border-radius: 12rpx;background-color:{{isNight ? '#000' : '#fff'}}; " placeholder-style="{{placeholderstyle}}" wx:if="{{inputItem.data == 'input'}}" placeholder="璇疯緭鍏ユ枃瀛�" value="{{item.userAnswer[inputItem.num]}}"></t-input> - <text wx:else class="text-space">{{inputItem}}</text> + <view wx:if="{{item.questionType == 'completion'}}" class="completion-parent"> + <view class="completion-box" wx:for="{{item.customArr}}" wx:for-item="inputItem" wx:for-index="inputIndex" wx:key="inputIndex"> + <t-input disabled="{{item.isComplete}}" borderless bind:change="onChangeInput" data-value="{{item.option}}" data-id="{{item.id}}" data-index="{{inputItem.num}}" class="title-input {{isNight ? 'input-night-color' : ''}}" style="border: 2rpx solid rgba(220,220,220,1);border-radius: 12rpx;background-color:{{isNight ? '#000' : '#fff'}}; " placeholder-style="{{placeholderstyle}}" wx:if="{{inputItem.type == 'input'}}" placeholder="璇疯緭鍏ユ枃瀛�" value="{{item.userAnswer[inputItem.num]}}"></t-input> + <text wx:else class="text-space">{{inputItem.text}}</text> </view> </view> </view> diff --git a/packageBookService/pages/bookServices/examination/questionList/index.wxss b/packageBookService/pages/bookServices/examination/questionList/index.wxss index 6e24974..5c932e6 100644 --- a/packageBookService/pages/bookServices/examination/questionList/index.wxss +++ b/packageBookService/pages/bookServices/examination/questionList/index.wxss @@ -113,8 +113,13 @@ align-items: center; } */ +.completion-parent { + display: flex; + flex-wrap: wrap; +} + .completion-box { - display: inline-block; + flex-direction: row; margin-bottom: 15rpx; } diff --git a/packageBookService/pages/bookServices/examination/questionOptions/index.js b/packageBookService/pages/bookServices/examination/questionOptions/index.js index 5658306..c557afc 100644 --- a/packageBookService/pages/bookServices/examination/questionOptions/index.js +++ b/packageBookService/pages/bookServices/examination/questionOptions/index.js @@ -258,11 +258,7 @@ ) { this.submitPaper(); // wx.navigateBack(); - } else if ( - this.properties.answerType == "option" || - this.properties.answerType == "mock" || - this.properties.answerType == "interaction" - ) { + } else if (this.properties.answerType == "option" || this.properties.answerType == "mock" || this.properties.answerType == "interaction") { if (this.properties.submitStatus) return wx.navigateBack(); this.properties.questionDataList.forEach((item) => { if (!this.isHaveAnswer(item.userAnswer)) { diff --git a/packageBookService/pages/bookServices/examination/questionOptions/index.wxml b/packageBookService/pages/bookServices/examination/questionOptions/index.wxml index af4c963..e3ffc18 100644 --- a/packageBookService/pages/bookServices/examination/questionOptions/index.wxml +++ b/packageBookService/pages/bookServices/examination/questionOptions/index.wxml @@ -1,105 +1,48 @@ <!--pages/bookServices/examination/questionOptions/index.wxml--> -<view - class="page-bottom" - style="color: {{isNight ? '#fff' : '#000'}}; background-color:{{isNight ? '#202020' : '#fff'}}" -> - <view - class="li-option" - bind:tap="setCollect" - style="color: {{isNight ? '#fff' : '#000'}};" - wx:if="{{answerType !== 'interaction'}}" - > - <image - src="{{ questionDataList[currentIndex].isCollect ? '/static/images/bookService/detail/collecting.png' : isNight ? '/static/images/bookService/examination/wodeshoucang-w.png' : '/static/images/bookService/examination/collect.png'}}" - /> +<view class="page-bottom" style="color: {{isNight ? '#fff' : '#000'}}; background-color:{{isNight ? '#202020' : '#fff'}}"> + <view class="li-option" bind:tap="setCollect" style="color: {{isNight ? '#fff' : '#000'}};" wx:if="{{answerType !== 'interaction'}}"> + <image src="{{ questionDataList[currentIndex].isCollect ? '/static/images/bookService/detail/collecting.png' : isNight ? '/static/images/bookService/examination/wodeshoucang-w.png' : '/static/images/bookService/examination/collect.png'}}" /> 鏀惰棌 </view> - <view - class="li-option" - bind:tap="handlePopup" - style="color: {{isNight ? '#fff' : '#000'}};" - > - <image - src="{{isNight ? '/static/images/bookService/examination/datika-w.png' : '/static/images/bookService/examination/questionCard.png'}}" - /> + <view class="li-option" bind:tap="handlePopup" style="color: {{isNight ? '#fff' : '#000'}};"> + <image src="{{isNight ? '/static/images/bookService/examination/datika-w.png' : '/static/images/bookService/examination/questionCard.png'}}" /> 绛旈鍗� </view> - <view - class="li-option" - bind:tap="setUpBtn" - style="color: {{isNight ? '#fff' : '#000'}};" - > - <image - src="{{isNight ? '/static/images/bookService/examination/setting-w.png' : '/static/images/bookService/examination/setting.png'}}" - /> + <view class="li-option" bind:tap="setUpBtn" style="color: {{isNight ? '#fff' : '#000'}};"> + <image src="{{isNight ? '/static/images/bookService/examination/setting-w.png' : '/static/images/bookService/examination/setting.png'}}" /> 璁剧疆 </view> - <view - class="li-option" - bind:tap="resterBtn" - wx:if="{{answerType == 'option' || (answerType == 'mock' && !submitStatus) || (answerType == 'interaction' && !joinGroup)}}" - style="color: {{isNight ? '#fff' : '#000'}};" - > - <image - src="{{isNight ? '/static/images/bookService/examination/chongzuo-w.png' : '/static/images/bookService/examination/reset.png'}}" - /> + <view class="li-option" bind:tap="resterBtn" wx:if="{{answerType == 'option' || (answerType == 'mock' && !submitStatus) || (answerType == 'interaction' && !joinGroup)}}" style="color: {{isNight ? '#fff' : '#000'}};"> + <image src="{{isNight ? '/static/images/bookService/examination/chongzuo-w.png' : '/static/images/bookService/examination/reset.png'}}" /> 閲嶅仛 </view> <view class="bottom-submit"> - <t-button - theme="primary" - size="large" - style="{{btnStyle}}" - bind:tap="submitBtn" - >{{(answerType == 'option' || answerType == 'mock' || answerType == - 'interaction') && !submitStatus ? '鎻愪氦' : '閫�鍑�'}}</t-button - > + <t-button theme="primary" size="large" style="{{btnStyle}}" bind:tap="submitBtn">{{(answerType == 'option' || answerType == 'mock' || answerType == + 'interaction') && !submitStatus ? '鎻愪氦' : '閫�鍑�'}}</t-button> </view> </view> <!-- 绛旈鍗� --> -<t-popup - visible="{{questionCardState}}" - bind:visible-change="onVisibleChange" - placement="bottom" -> +<t-popup visible="{{questionCardState}}" bind:visible-change="onVisibleChange" placement="bottom"> <view class="popup-block"> <view class="popup-header"> <view class="popup-title">绛旈鍗�</view> </view> <view class="question-explain"> - <view - class="explain-answered" - wx:if="{{answerType == 'collectQuestion' || answerType == 'errorQuestion' || (answerType == 'option' && !submitStatus) || (answerType == 'mock' && !submitStatus)}}" - > + <view class="explain-answered" wx:if="{{answerType == 'collectQuestion' || answerType == 'errorQuestion' || (answerType == 'option' && !submitStatus) || (answerType == 'mock' && !submitStatus)}}"> <text class="answered explain-color-box"></text> <text>宸茬瓟</text> </view> - <view - class="explain-un-answered" - wx:if="{{answerType == 'collectQuestion' || answerType == 'errorQuestion' || (answerType == 'option' && !submitStatus) || (answerType == 'mock' && !submitStatus)}}" - > + <view class="explain-un-answered" wx:if="{{answerType == 'collectQuestion' || answerType == 'errorQuestion' || (answerType == 'option' && !submitStatus) || (answerType == 'mock' && !submitStatus)}}"> <text class="un-answered explain-color-box"></text> <text>鏈瓟</text> </view> - <view - class="error-box" - wx:if="{{((answerType == 'option' || answerType == 'mock') && submitStatus) || answerType == 'collectQuestion' || answerType == 'errorQuestion'}}" - > - <text - class="explain-color-box" - style="background-color: #ee1818" - ></text> + <view class="error-box" wx:if="{{((answerType == 'option' || answerType == 'mock') && submitStatus) || answerType == 'collectQuestion' || answerType == 'errorQuestion'}}"> + <text class="explain-color-box" style="background-color: #ee1818"></text> <text>閿欒</text> </view> - <view - class="correct-box" - wx:if="{{((answerType == 'option' || answerType == 'mock') && submitStatus) || answerType == 'collectQuestion' || answerType == 'errorQuestion'}}" - > - <text - class="explain-color-box" - style="background-color: #1fbc1f" - ></text> + <view class="correct-box" wx:if="{{((answerType == 'option' || answerType == 'mock') && submitStatus) || answerType == 'collectQuestion' || answerType == 'errorQuestion'}}"> + <text class="explain-color-box" style="background-color: #1fbc1f"></text> <text>姝g‘</text> </view> </view> @@ -111,16 +54,7 @@ <text class="title-text">{{item.catalogName}}</text> </view> <view class="question-list"> - <view - bind:tap="goQuestion" - data-id="{{citem.id}}" - wx:for="{{item.infoList}}" - wx:for-item="citem" - wx:for-index="cindex" - wx:key="cindex" - style="border: {{showId == citem.id ? '1px solid #ff6c00' : ''}}" - class="question-box {{ citem.isUserAnswer ? 'answered' : 'un-answered' }} {{ ( ((answerType == 'option' || answerType == 'mock') && submitStatus || answerType == 'collectQuestion' || answerType == 'errorQuestion') && citem.questionType !== 'shortAnswer' ) ? citem.isRight && citem.isComplete ? 'correct-box-color' : citem.isComplete && !citem.isRight ? 'error-box-color' : '' :''}} " - > + <view bind:tap="goQuestion" data-id="{{citem.id}}" wx:for="{{item.infoList}}" wx:for-item="citem" wx:for-index="cindex" wx:key="cindex" style="border: {{showId == citem.id ? '1px solid #ff6c00' : ''}}" class="question-box {{ citem.isUserAnswer ? 'answered' : 'un-answered' }} {{ ( ((answerType == 'option' || answerType == 'mock') && submitStatus || answerType == 'collectQuestion' || answerType == 'errorQuestion') && citem.questionType !== 'shortAnswer' ) ? citem.isRight && citem.isComplete ? 'correct-box-color' : citem.isComplete && !citem.isRight ? 'error-box-color' : '' :''}} "> {{citem.number}} </view> </view> @@ -130,11 +64,7 @@ </t-popup> <!-- 璁剧疆 --> -<t-popup - visible="{{setUpPopup}}" - bind:visible-change="onSetUpChange" - placement="bottom" -> +<t-popup visible="{{setUpPopup}}" bind:visible-change="onSetUpChange" placement="bottom"> <view class="popup-block set-up-popup"> <view class="popup-header"> <view class="popup-title">璁剧疆</view> @@ -151,48 +81,27 @@ step="{{7}}" bind:change="onChangeSlider" /> --> - <slider - value="{{sliderValue}}" - min="{{28}}" - max="{{48}}" - step="{{7}}" - activeColor="#ff6c00" - bind:change="onChangeSlider" - /> + <slider value="{{sliderValue}}" min="{{28}}" max="{{48}}" step="{{7}}" activeColor="#ff6c00" bind:change="onChangeSlider" /> </view> <text>A+</text> </view> <!-- 妯″紡 --> <view> - <t-radio-group - class="test-radio" - t-class="horizontal-box" - value="{{radioItem}}" - bind:change="onRadioChange" - style="margin: 0px" - > + <t-radio-group class="test-radio" t-class="horizontal-box" value="{{radioItem}}" bind:change="onRadioChange" style="margin: 0px"> <view class="card {{radioItem == 'daytime' ? 'card--active' : ''}}"> <t-radio value="daytime" icon="none" borderless style="height: 100%"> <view class="radio-content" slot="content"> - <image - src="{{ radioItem == 'daytime' ? '/static/images/bookService/examination/rijian-click.png' : '/static/images/bookService/examination/rijian.png'}}" - /> - <text style="color: {{radioItem == 'daytime' ? '#fff':''}};" - >鏃ラ棿妯″紡</text - > + <image src="{{ radioItem == 'daytime' ? '/static/images/bookService/examination/rijian-click.png' : '/static/images/bookService/examination/rijian.png'}}" /> + <text style="color: {{radioItem == 'daytime' ? '#fff':''}};">鏃ラ棿妯″紡</text> </view> </t-radio> </view> <view class="card {{radioItem == 'night' ? 'card--active' : ''}}"> <t-radio value="night" icon="none" borderless style="height: 100%"> <view class="radio-content" slot="content"> - <image - src="{{ radioItem == 'night' ? '/static/images/bookService/examination/yejian-click.png' : '/static/images/bookService/examination/yejian.png'}}" - /> - <text style="color: {{radioItem == 'night' ? '#fff':''}};" - >澶滈棿妯″紡</text - > + <image src="{{ radioItem == 'night' ? '/static/images/bookService/examination/yejian-click.png' : '/static/images/bookService/examination/yejian.png'}}" /> + <text style="color: {{radioItem == 'night' ? '#fff':''}};">澶滈棿妯″紡</text> </view> </t-radio> </view> @@ -203,13 +112,7 @@ <!-- 娴嬭瘯鎶ュ憡 --> -<t-dialog - class="test-report" - visible="{{testReportState}}" - confirm-btn="{{null}}" - title="娴嬭瘯鎶ュ憡" - bind:close="closeTestReportDialog" -> +<t-dialog class="test-report" visible="{{testReportState}}" confirm-btn="{{null}}" title="娴嬭瘯鎶ュ憡" bind:close="closeTestReportDialog"> <view slot="content" class="test-report"> <view class="report-content-top"> <view class="report-li"> @@ -222,34 +125,24 @@ </view> <view class="report-li"> <view class="report-li-left">鍏朵腑瀹㈣棰橈細</view> - <view class="report-li-right" - >{{subjectiveTotal}}閬擄紝鍒嗗�納{subjectiveGrade}}鍒�</view - > + <view class="report-li-right">{{subjectiveTotal}}閬擄紝鍒嗗�納{subjectiveGrade}}鍒�</view> </view> <view class="report-li"> <view class="report-li-left">绛斿锛�</view> - <view class="report-li-right" - ><text class="correct-color">{{correctNum}}</text> 閬�</view - > + <view class="report-li-right"><text class="correct-color">{{correctNum}}</text> 閬�</view> </view> <view class="report-li"> <view class="report-li-left">绛旈敊锛�</view> - <view class="report-li-right" - ><text class="error-color">{{subjectiveTotal - correctNum}}</text> - 閬�</view - > + <view class="report-li-right"><text class="error-color">{{subjectiveTotal - correctNum}}</text> + 閬�</view> </view> <view class="report-li"> <view class="report-li-left">瀹㈣棰樺緱鍒嗭細</view> - <view class="report-li-right" - ><text class="score-color">{{subjectiveNum}}</text> 鍒�</view - > + <view class="report-li-right"><text class="score-color">{{subjectiveNum}}</text> 鍒�</view> </view> </view> <view class="report-content-bottom"> - <t-button theme="primary" bind:tap="viewAnswer" style="width: 560rpx" - >鏌ョ湅绛旀涓庤В鏋�</t-button - > + <t-button theme="primary" bind:tap="viewAnswer" style="width: 560rpx">鏌ョ湅绛旀涓庤В鏋�</t-button> </view> </view> -</t-dialog> +</t-dialog> \ No newline at end of file diff --git a/packageDomain/pages/sampleBookList/index.js b/packageDomain/pages/sampleBookList/index.js index d2f6dd7..b266adc 100644 --- a/packageDomain/pages/sampleBookList/index.js +++ b/packageDomain/pages/sampleBookList/index.js @@ -154,7 +154,7 @@ } that.getBookList(false) }, - + /** * 鐢熷懡鍛ㄦ湡鍑芥暟--鐩戝惉椤甸潰鍒濇娓叉煋瀹屾垚 */ -- Gitblit v1.9.1