| | |
| | | }, |
| | | data: { |
| | | showRejectDialog: false, |
| | | confirmBtn: { content: "知道了", variant: "base" }, |
| | | confirmBtn: { |
| | | content: "知道了", |
| | | variant: "base" |
| | | }, |
| | | }, |
| | | methods: { |
| | | copy() { |
| | | wx.setClipboardData({ |
| | | data: "http://182.92.203.7:3007/jsek/website/#/home/index", |
| | | data: "https://jsek.bnuic.com/home/#/home/index", |
| | | success: function (res) { |
| | | wx.showToast({ title: "复制成功" }); |
| | | wx.showToast({ |
| | | title: "复制成功" |
| | | }); |
| | | }, |
| | | fail: function (res) { |
| | | console.log(res); |
| | |
| | | ></view |
| | | > |
| | | <view style="display: flex; align-items: center; margin-top: 10rpx"> |
| | | <text>下载资源请到PC端京师E课</text> |
| | | <t-button style="font-size: 24rpx; height: 50rpx" bind:tap="copy" |
| | | >复制</t-button |
| | | > |
| | | <text>下载资源请到PC端京师E课</text> <text bind:tap="copy" class="copy-text">复制</text> |
| | | </view> |
| | | </view> |
| | | <view wx:if="{{applyState == 'Reject'}}" |
| | |
| | | margin-top: 20rpx; |
| | | } |
| | | |
| | | .copy-text { |
| | | margin-left: 20rpx; |
| | | color: #FF6C00; |
| | | } |
| | | |
| | | .applyResult { |
| | | padding: 0 10rpx; |
| | |
| | | |
| | | .mack-num { |
| | | width: 100%; |
| | | height: 100rpx; |
| | | height: 106rpx; |
| | | display: flex; |
| | | align-items: center; |
| | | justify-content: space-between; |
| | |
| | | --td-collapse-header-text-color: #ff6C00; |
| | | --td-collapse-icon-color: #ff6c00; |
| | | --td-collapse-header-height: min-content; |
| | | padding-bottom: 50rpx; |
| | | } |
| | | |
| | | |
| | |
| | | |
| | | /* 图书资源 */ |
| | | .book-resource { |
| | | min-height: calc(100vh - 900rpx); |
| | | min-height: calc(100% - 637rpx); |
| | | margin-top: 20rpx; |
| | | background-color: #fff !important; |
| | | --td-tab-item-height: 140rpx; |
| | |
| | | sliderValue: 0, // 字体滑块 |
| | | startTime: "", //进入页面当前时间 |
| | | pauseTime: 0, //暂停时间 |
| | | showDialog: false // 未提交退出拦截弹窗 |
| | | showDialog: false, // 未提交退出拦截弹窗 |
| | | showId: '' |
| | | }, |
| | | |
| | | /** |
| | |
| | | idPathList: options.idPathList ? JSON.parse(options.idPathList) : [], |
| | | answerType: options.answerType, |
| | | }); |
| | | // wx.setNavigationBarTitle({ |
| | | // title: options.answerTitle, |
| | | // }) |
| | | wx.setNavigationBarTitle({ |
| | | title: options.answerTitle, |
| | | }) |
| | | if (this.data.answerType == "mock") { |
| | | this.setData({ |
| | | uuid: options.uuid, |
| | |
| | | }, |
| | | }); |
| | | }, |
| | | |
| | | // 修改nav颜色 |
| | | changeNavBarColor(e) { |
| | | if (type == 'night') { |
| | | wx.setNavigationBarColor({ |
| | | backgroundColor: '#000000', |
| | | frontColor: '#ffffff', |
| | | }) |
| | | } else { |
| | | wx.setNavigationBarColor({ |
| | | backgroundColor: '#ffffff', |
| | | frontColor: '#000000', |
| | | }) |
| | | } |
| | | }, |
| | | // 正则找出听力src |
| | | extractSourceSrc(htmlString) { |
| | | // 正则表达式匹配<source>标签中的src属性值 |
| | |
| | | }, |
| | | // 返回拦截 |
| | | beforeleave() { |
| | | if ((this.data.answerType == 'option' || this.data.answerType == 'mock') && !this.data.submitStatus) { |
| | | wx.showModal({ |
| | | title: "提示", |
| | | content: "未提交,是否退出答题", |
| | |
| | | } |
| | | }, |
| | | }); |
| | | } |
| | | }, |
| | | onChangeSlider(e) { |
| | | this.setData({ |
| | |
| | | }, |
| | | //设置背景色 |
| | | changeBGColor(e) { |
| | | const flag = e.detail.value |
| | | this.setData({ |
| | | isNight: e.detail.value, |
| | | isNight: flag, |
| | | }); |
| | | if (flag) { |
| | | wx.setNavigationBarColor({ |
| | | backgroundColor: '#000000', |
| | | frontColor: '#ffffff', |
| | | }) |
| | | } else { |
| | | wx.setNavigationBarColor({ |
| | | backgroundColor: '#ffffff', |
| | | frontColor: '#000000', |
| | | }) |
| | | } |
| | | }, |
| | | // 获取保存的倒计时时间 |
| | | getSavedTime() { |
| | |
| | | }, |
| | | // 切换题目 |
| | | changeSwiper(e) { |
| | | this.setData({ |
| | | currentIndex: e.detail.index, |
| | | }); |
| | | let index = e.detail.index - 1 >= 0 ? e.detail.index - 1 : 0; |
| | | const item = this.data.questionDataList[index]; |
| | | const lastItem = this.data.questionDataList[index + 1]; |
| | | this.setData({ |
| | | currentIndex: e.detail.index, |
| | | showId: lastItem.id |
| | | }); |
| | | if ( |
| | | (this.data.answerType == "collectQuestion" || |
| | | this.data.answerType == "errorQuestion") && |
| | |
| | | // 提交逻辑 |
| | | submitPaper() { |
| | | this.setData({ |
| | | showDialog: false, |
| | | submitStatus: true, |
| | | loading: true, |
| | | }); |
| | |
| | | } |
| | | this.setData({ |
| | | loading: false, |
| | | showDialog: false, |
| | | }); |
| | | }, |
| | | // 初始化函数 |
| | |
| | | subjectiveNum: 0, |
| | | currentIndex: 0, |
| | | submitStatus: false, |
| | | showDialog: true |
| | | }); |
| | | if (this.data.answerType == "option") { |
| | | this.setData({ |
| | |
| | | } |
| | | this.setData({ |
| | | loading: false, |
| | | showId: this.data.questionDataList[0].id |
| | | }); |
| | | }, |
| | | // 批改题目 (练习,我的错题,我的收藏,,组卷) |
| | |
| | | } |
| | | } |
| | | } |
| | | |
| | | this.setAnswerInfo(setInfoData); |
| | | }, |
| | | // 提交答题数据 |
| | |
| | | } |
| | | this.setData({ |
| | | questionDataList: questionArr, |
| | | showId: questionArr[0].id, |
| | | cardList: cardList, |
| | | loading: false, |
| | | }); |
| | |
| | | } |
| | | this.setData({ |
| | | questionDataList: questionArr, |
| | | showId: questionArr[0].id, |
| | | cardList: cardList, |
| | | loading: false, |
| | | }); |
| | | }); |
| | | // loadings.value = false |
| | | }, |
| | | // 获取组卷结果 |
| | | async getEduQuizConfig() { |
| | |
| | | } |
| | | this.setData({ |
| | | loading: false, |
| | | showId: this.data.questionDataList[0].id |
| | | }); |
| | | }, |
| | | // 获取组卷数据 |
| | |
| | | "t-button": "tdesign-miniprogram/button/button", |
| | | "t-loading": "tdesign-miniprogram/loading/loading" |
| | | }, |
| | | "navigationStyle": "custom", |
| | | "navigationBarBackgroundColor": "#010101", |
| | | "disableScroll": true |
| | | } |
| | |
| | | <!-- |
| | | 此文件为开发者工具生成,生成时间: 2024/4/11下午3:00:46 |
| | | 此文件为开发者工具生成,生成时间: 2024/4/16下午2:23:24 |
| | | 使用方法: |
| | | 在 D:\WebData\project\2024\jsek-applet\packageBookService\pages\bookServices\examination\examination.wxml 引入模板 |
| | | |
| | |
| | | --> |
| | | <template name="skeleton"> |
| | | <view class="sk-container"> |
| | | <view style="width: 100%; height: 47px;background-color: #fff "></view> |
| | | <view class="nacigationBar" style="width: 100%; height: 40px; background-color: #fff"> |
| | | <view> |
| | | <view class="t-icon icon--t-icon " style="color: #000; font-size: 30px;"> |
| | | <label class="t-icon-chevron-left icon--t-icon-chevron-left t-icon-base icon--t-icon-base sk-pseudo sk-pseudo-circle"></label> |
| | | </view> |
| | | </view> |
| | | <view class="navbar-title sk-transparent sk-text-14-2857-257 sk-text" style="color: #000;">第三章在线测试</view> |
| | | </view> |
| | | <view class="page-content" > |
| | | <view class="page-content" style="background-color:"> |
| | | <view is="packageBookService/pages/bookServices/examination/questionSchedule/index" id="countDownRef"> |
| | | <view class="questionSchedule-index--schedule" id="f88d4fe7--schedule" style="background-color:#fff"> |
| | | <view class="questionSchedule-index--schedule" id="401ba865--schedule" style="background-color:#fff"> |
| | | <view class="questionSchedule-index--schedule-top"> |
| | | <view class="questionSchedule-index--question-schedule sk-transparent" style="color: #000;">答题进度 |
| | | <text class="questionSchedule-index--parimary-color questionSchedule-index--question-num sk-transparent sk-opacity">0</text> |
| | | <text class="sk-transparent sk-text-14-2857-497 sk-text">/35</text> |
| | | <text class="sk-transparent sk-text-14-2857-972 sk-text">/31</text> |
| | | </view> |
| | | <view class="questionSchedule-index--remainder" style="color: #000;"> |
| | | <text class="sk-transparent sk-text-14-2857-252 sk-text">剩余时间 </text> |
| | | <text class="questionSchedule-index--parimary-color sk-transparent sk-text-14-2857-835 sk-text">01:59:51</text> |
| | | <view class="questionSchedule-index--remainder-text sk-transparent sk-text-14-2857-676 sk-text">剩余时间 </view> |
| | | <view class="questionSchedule-index--parimary-color questionSchedule-index--remaining-time sk-transparent sk-text-14-2857-756 sk-text">01:59:53</view> |
| | | </view> |
| | | </view> |
| | | <view class="questionSchedule-index--schedule-progress"> |
| | | <view class="t-progress progress--t-progress "> |
| | | <view class="t-progress progress--t-progress " style="true"> |
| | | <view class="t-progress--thin progress--t-progress--thin t-progress--status-- progress--t-progress--status-- "> |
| | | <view class="t-progress__bar progress--t-progress__bar" > |
| | | <view ></view> |
| | | <view class="t-progress__inner progress--t-progress__inner " style="background-color: #efefef;"></view> |
| | | </view> |
| | | </view> |
| | | </view> |
| | |
| | | <view is="packageBookService/pages/bookServices/examination/questionList/index"> |
| | | <view class="questionList-index--question-list" style="background-color:#fff"> |
| | | <view class="questionList-index--question-title" style="background-color:#fff"> |
| | | <text class="questionList-index--title-name sk-transparent sk-text-14-2857-37 sk-text">判断题</text> |
| | | <text class="questionList-index--title-score sk-transparent sk-text-14-2857-760 sk-text" style="color: #000;">(每题2分)</text> |
| | | <text class="questionList-index--title-name sk-transparent sk-text-14-2857-835 sk-text">判断题</text> |
| | | <text class="questionList-index--title-score sk-transparent sk-text-14-2857-843 sk-text" style="color: #000;">(每题2分)</text> |
| | | </view> |
| | | <swiper class="questionList-index--swiper" current="0" autoplay="false"> |
| | | <swiper class="questionList-index--swiper" autoplay="false"> |
| | | <swiper-item style="overflow-y: auto; position: absolute; width: 100%; height: 100%; transform: translate(0%, 0px) translateZ(0px);"> |
| | | <view class="questionList-index--question-stem questionList-index--title-score" style="color: #000; font-size: 16px;"> |
| | | <text class="sk-transparent sk-text-14-2857-517 sk-text">1.</text> |
| | | <view class="questionList-index--title-content sk-transparent sk-text-14-2857-70 sk-text">本题正确答案是对</view> |
| | | <text class="sk-transparent sk-text-14-2857-731 sk-text">1.</text> |
| | | <view class="questionList-index--title-content sk-transparent sk-text-14-2857-317 sk-text">放热化学反应都能自动进行。</view> |
| | | </view> |
| | | <view class="questionList-index--question-answer"> |
| | | <view class="t-radio-group radio-group--t-radio-group questionList-index--radio-group " > |
| | | <view class="t-radio-group radio-group--t-radio-group questionList-index--radio-group " style="true"> |
| | | <view> |
| | | <view class="t-radio radio--t-radio t-radio--right radio--t-radio--right t-radio--block radio--t-radio--block " style="background-color: #fff;" tabindex="0"> |
| | | <view class="t-radio radio--t-radio t-radio--right radio--t-radio--right t-radio--block radio--t-radio--block " > |
| | | <view class="t-radio__content radio--t-radio__content" data-target="text"> |
| | | <view class="t-radio__title radio--t-radio__title sk-transparent" style="-webkit-line-clamp:3"> |
| | | <view class="questionList-index--radio-item" style="font-size: 16px;"> |
| | | <text class="sk-transparent sk-text-16-6667-815 sk-text">A、对</text> |
| | | <text class="sk-transparent sk-text-16-6667-394 sk-text">A、对</text> |
| | | </view> |
| | | </view> |
| | | </view> |
| | |
| | | <view class="t-radio__content radio--t-radio__content" data-target="text"> |
| | | <view class="t-radio__title radio--t-radio__title sk-transparent" style="-webkit-line-clamp:3"> |
| | | <view class="questionList-index--radio-item" style="font-size: 16px;"> |
| | | <text class="sk-transparent sk-text-16-6667-544 sk-text">B、错</text> |
| | | <text class="sk-transparent sk-text-16-6667-51 sk-text">B、错</text> |
| | | </view> |
| | | </view> |
| | | </view> |
| | |
| | | </view> |
| | | </view> |
| | | </view> |
| | | <view class="page-bottom" > |
| | | <view class="page-bottom" style="background-color:"> |
| | | <view is="packageBookService/pages/bookServices/examination/questionOptions/index" id="question-options"> |
| | | <view class="questionOptions-index--page-bottom" style="color: #000; background-color:#fff"> |
| | | <view class="questionOptions-index--li-option sk-transparent" style="color: #000;"> |
| | |
| | | <view class="questionOptions-index--bottom-submit"> |
| | | <button app-parameter="true" data-custom="null" form-type="true" hover-class="t-button--hover" hover-start-time="20" hover-stay-time="70" lang="en" open-type="true" send-message-img="true" send-message-path="true" send-message-title="true" session-from="true" |
| | | style="width:166px;border-radius:31px;" class="t-button button--t-button t-button--base button--t-button--base t-button--primary button--t-button--primary t-button--rectangle button--t-button--rectangle t-button--size-large button--t-button--size-large sk-button sk-pseudo sk-pseudo-circle"> |
| | | <view class="t-button__content button--t-button__content sk-transparent sk-text-33-6735-780 sk-text" style="background-position-x: 50%;">提交</view> |
| | | <view class="t-button__content button--t-button__content sk-transparent sk-text-33-6735-471 sk-text" style="background-position-x: 50%;">提交</view> |
| | | </button> |
| | | </view> |
| | | </view> |
| | |
| | | /* |
| | | 此文件为开发者工具生成,生成时间: 2024/4/11下午3:00:46 |
| | | 此文件为开发者工具生成,生成时间: 2024/4/16下午2:23:24 |
| | | |
| | | 在 D:\WebData\project\2024\jsek-applet\packageBookService\pages\bookServices\examination\examination.wxss 中引入样式 |
| | | ``` |
| | |
| | | .sk-transparent { |
| | | color: transparent !important; |
| | | } |
| | | .sk-text-14-2857-257 { |
| | | |
| | | .sk-opacity { |
| | | opacity: 0 !important; |
| | | } |
| | | |
| | | .sk-text-14-2857-972 { |
| | | background-image: linear-gradient(transparent 14.2857%, #EEEEEE 0%, #EEEEEE 85.7143%, transparent 0%) !important; |
| | | background-size: 100% 53.8462rpx; |
| | | background-size: 100% 37.6923rpx; |
| | | position: relative !important; |
| | | } |
| | | |
| | | .sk-text { |
| | | background-origin: content-box !important; |
| | | background-clip: content-box !important; |
| | |
| | | color: transparent !important; |
| | | background-repeat: repeat-y !important; |
| | | } |
| | | .sk-opacity { |
| | | opacity: 0 !important; |
| | | } |
| | | .sk-text-14-2857-497 { |
| | | |
| | | .sk-text-14-2857-676 { |
| | | background-image: linear-gradient(transparent 14.2857%, #EEEEEE 0%, #EEEEEE 85.7143%, transparent 0%) !important; |
| | | background-size: 100% 37.6923rpx; |
| | | position: relative !important; |
| | | } |
| | | .sk-text-14-2857-252 { |
| | | |
| | | .sk-text-14-2857-756 { |
| | | background-image: linear-gradient(transparent 14.2857%, #EEEEEE 0%, #EEEEEE 85.7143%, transparent 0%) !important; |
| | | background-size: 100% 37.6923rpx; |
| | | position: relative !important; |
| | | } |
| | | |
| | | .sk-text-14-2857-835 { |
| | | background-image: linear-gradient(transparent 14.2857%, #EEEEEE 0%, #EEEEEE 85.7143%, transparent 0%) !important; |
| | | background-size: 100% 37.6923rpx; |
| | | position: relative !important; |
| | | } |
| | | .sk-text-14-2857-37 { |
| | | |
| | | .sk-text-14-2857-843 { |
| | | background-image: linear-gradient(transparent 14.2857%, #EEEEEE 0%, #EEEEEE 85.7143%, transparent 0%) !important; |
| | | background-size: 100% 37.6923rpx; |
| | | position: relative !important; |
| | | } |
| | | .sk-text-14-2857-760 { |
| | | background-image: linear-gradient(transparent 14.2857%, #EEEEEE 0%, #EEEEEE 85.7143%, transparent 0%) !important; |
| | | background-size: 100% 37.6923rpx; |
| | | position: relative !important; |
| | | } |
| | | .sk-text-14-2857-517 { |
| | | |
| | | .sk-text-14-2857-731 { |
| | | background-image: linear-gradient(transparent 14.2857%, #EEEEEE 0%, #EEEEEE 85.7143%, transparent 0%) !important; |
| | | background-size: 100% 43.0769rpx; |
| | | position: relative !important; |
| | | } |
| | | .sk-text-14-2857-70 { |
| | | |
| | | .sk-text-14-2857-317 { |
| | | background-image: linear-gradient(transparent 14.2857%, #EEEEEE 0%, #EEEEEE 85.7143%, transparent 0%) !important; |
| | | background-size: 100% 43.0769rpx; |
| | | position: relative !important; |
| | | } |
| | | .sk-text-16-6667-815 { |
| | | |
| | | .sk-text-16-6667-394 { |
| | | background-image: linear-gradient(transparent 16.6667%, #EEEEEE 0%, #EEEEEE 83.3333%, transparent 0%) !important; |
| | | background-size: 100% 46.1538rpx; |
| | | position: relative !important; |
| | | } |
| | | .sk-text-16-6667-544 { |
| | | |
| | | .sk-text-16-6667-51 { |
| | | background-image: linear-gradient(transparent 16.6667%, #EEEEEE 0%, #EEEEEE 83.3333%, transparent 0%) !important; |
| | | background-size: 100% 46.1538rpx; |
| | | position: relative !important; |
| | | } |
| | | .sk-text-33-6735-780 { |
| | | |
| | | .sk-text-33-6735-471 { |
| | | background-image: linear-gradient(transparent 33.6735%, #EEEEEE 0%, #EEEEEE 66.3265%, transparent 0%) !important; |
| | | background-size: 100% 94.2308rpx; |
| | | position: relative !important; |
| | | } |
| | | |
| | | .sk-button { |
| | | color: #EFEFEF !important; |
| | | background: #EFEFEF !important; |
| | | border: none !important; |
| | | box-shadow: none !important; |
| | | } |
| | | |
| | | .sk-image { |
| | | background: #EFEFEF !important; |
| | | } |
| | | .sk-pseudo::before, .sk-pseudo::after { |
| | | |
| | | .sk-pseudo::before, |
| | | .sk-pseudo::after { |
| | | background: #EFEFEF !important; |
| | | background-image: none !important; |
| | | color: transparent !important; |
| | | border-color: transparent !important; |
| | | } |
| | | .sk-pseudo-rect::before, .sk-pseudo-rect::after { |
| | | |
| | | .sk-pseudo-rect::before, |
| | | .sk-pseudo-rect::after { |
| | | border-radius: 0 !important; |
| | | } |
| | | .sk-pseudo-circle::before, .sk-pseudo-circle::after { |
| | | |
| | | .sk-pseudo-circle::before, |
| | | .sk-pseudo-circle::after { |
| | | border-radius: 50% !important; |
| | | } |
| | | |
| | | .sk-container { |
| | | position: absolute; |
| | | left: 0; |
| | |
| | | overflow: hidden; |
| | | background-color: transparent; |
| | | } |
| | | |
| | | .t-progress__inner { |
| | | background-color: #efefef; |
| | | } |
| | |
| | | <template is="skeleton" wx:if="{{loading}}" /> |
| | | |
| | | <!--导航区域 --> |
| | | <view |
| | | <!-- <view |
| | | style="width: 100%; height: {{barHeight}}px;background-color: {{isNight ? '#191919' : '#fff'}} " |
| | | ></view> |
| | | <view |
| | |
| | | <view class="navbar-title" style="color: {{isNight ? '#fff' : '#000'}};" |
| | | >{{answerTitle}}</view |
| | | > |
| | | </view> |
| | | </view> --> |
| | | |
| | | <view class="page-content" style="background-color:{{isNight ? '#222' : ''}}"> |
| | | <question-schedule |
| | |
| | | subjectiveGrade="{{subjectiveGrade}}" |
| | | correctNum="{{correctNum}}" |
| | | mockSumTime="{{mockData.sumTime}}" |
| | | showId="{{showId}}" |
| | | bind:setCollect="setCollect" |
| | | bind:submitPaper="submitPaper" |
| | | bind:restart="restart" |
| | |
| | | bind:changeBGColor="changeBGColor" |
| | | bind:onChangeSlider="onChangeSlider" |
| | | bind:changeLoadingState="changeLoadingState" |
| | | bind:changeNavBarColor="changeNavBarColor" |
| | | ></question-options> |
| | | </view> |
| | | |
| | |
| | | .page-content { |
| | | box-sizing: border-box; |
| | | width: 100%; |
| | | height: 78vh; |
| | | height: calc(100vh - env(safe-area-inset-bottom) - 73px); |
| | | padding: 20rpx; |
| | | background-color: #F2F3F8; |
| | | } |
| | |
| | | |
| | | <!-- 仅文字 --> |
| | | <view |
| | | class="title-content" |
| | | class="title-content text-space" |
| | | wx:elif="{{item.stemStyle == 'Txt' && item.questionType != 'completion'}}" |
| | | >{{item.stem.stemTxt}}</view |
| | | > |
| | |
| | | <!-- 图片加文字 --> |
| | | <view |
| | | wx:elif="{{item.stemStyle == 'TxtAndImage'}}" |
| | | class="title-content" |
| | | class="title-content text-space" |
| | | > |
| | | <view>{{item.stem.stemTxt}}</view> |
| | | <image src="{{item.stem.stemImage}}" mode="aspectFit" /> |
| | |
| | | placeholder="请输入文字" |
| | | value="{{item.userAnswer[inputItem.num]}}" |
| | | ></t-input> |
| | | <text wx:else>{{inputItem}}</text> |
| | | <text wx:else class="text-space">{{inputItem}}</text> |
| | | </view> |
| | | </view> |
| | | </view> |
| | |
| | | class="radio-item {{(answerType == 'option' || answerType == 'mock' ) && !submitStatus && item.userAnswer == contentItem.value ? 'radio-active' : isNight ? 'night' :''}} {{item.userAnswer == contentItem.value && submitStatus ? item.isRight ? 'radio-correct' : 'radio-error' :''}}" |
| | | > |
| | | <!-- 仅文字 --> |
| | | <text wx:if="{{item.optionStyle == 'Txt'}}" |
| | | <text wx:if="{{item.optionStyle == 'Txt'}}" class="text-space" |
| | | >{{contentItem.value}}、{{contentItem.txt}}</text |
| | | > |
| | | <!-- 仅图片 --> |
| | |
| | | class="fl-center" |
| | | class="TxtAndImage-box" |
| | | > |
| | | <text>{{contentItem.value}}、</text> |
| | | <text class="text-space">{{contentItem.value}}、</text> |
| | | <view class="radio-textimg">{{contentItem.txt}}</view> |
| | | <image src="{{contentItem.img}}" mode="aspectFit" /> |
| | | </view> |
| | |
| | | > |
| | | <!-- 仅文字 --> |
| | | <view |
| | | class="fl-center mh" |
| | | class="fl-center mh text-space" |
| | | wx:if="{{item.optionStyle == 'Txt'}}" |
| | | style="color:{{ isNight ? '#fff' : '#000'}};font-size:{{sliderValue || 32}}rpx;" |
| | | > |
| | |
| | | <!-- 文字加图片 --> |
| | | <view |
| | | wx:if="{{item.optionStyle == 'TxtAndImage'}}" |
| | | class="fl-center mh" |
| | | class="fl-center mh text-space" |
| | | > |
| | | <text |
| | | style="color:{{ isNight ? '#fff' : '#000'}};font-size:{{sliderValue || 32}}rpx;" |
| | |
| | | /* pages/bookServices/examination/questionList/index.wxss */ |
| | | .question-list { |
| | | width: 95%; |
| | | height: calc(100vh - 300px); |
| | | height: calc(100% - 90px); |
| | | padding: 20rpx; |
| | | |
| | | background-color: #ffffff; |
| | |
| | | .question-title { |
| | | font-size: 28rpx; |
| | | margin-bottom: 20rpx; |
| | | } |
| | | |
| | | .text-space { |
| | | letter-spacing: 2rpx; |
| | | line-height: 1.5; |
| | | } |
| | | |
| | | .title-content { |
| | |
| | | } |
| | | |
| | | .stem-rich-p { |
| | | letter-spacing: 2rpx; |
| | | line-height: 1.5; |
| | | display: block; |
| | | } |
| | | |
| | |
| | | type: Boolean, |
| | | value: false, |
| | | }, |
| | | showId: { |
| | | type: String |
| | | } |
| | | }, |
| | | |
| | | /** |
| | |
| | | radioItem: e.detail.value, |
| | | }); |
| | | const value = e.detail.value == "night" ? true : false; |
| | | wx.setNavigationBarColor({ |
| | | backgroundColor: "#222", |
| | | frontColor: "#222", |
| | | }); |
| | | |
| | | this.triggerEvent("changeBGColor", { |
| | | value |
| | | }); |
| | |
| | | wx:for-item="citem" |
| | | wx:for-index="cindex" |
| | | wx:key="cindex" |
| | | class="question-box {{ citem.isUserAnswer ? 'answered' : 'un-answered' }} {{ ( ((answerType == 'option' || answerType == 'mock') && submitStatus || answerType == 'collectQuestion' || answerType == 'errorQuestion') && citem.questionType !== 'shortAnswer' ) ? citem.isRight ? 'correct-box-color' : 'error-box-color' : ''}} " |
| | | 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> |
| | |
| | | color: #010101; |
| | | } |
| | | |
| | | .li-option image { |
| | | margin-bottom: 16rpx; |
| | | } |
| | | |
| | | .page-bottom image { |
| | | width: 36rpx; |
| | | height: 36rpx; |