| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159 | <template>  <view class="questionBank">    <nav-bar title="解析"></nav-bar>    <swiper      class="swiper"      :current="current"      @change="swiperChange"    >      <swiper-item v-for="(bank, bankIndex) in questionList" :key="bankIndex">        <view class="pageContent">          <view class="pad_8 titBox">            <view class="firstLetter">              <view class="leftLetters">                <view class="btnType">                  <text v-if="bank.type == 1">单选</text>                  <text v-if="bank.type == 2">多选</text>                  <text v-if="bank.type == 3">判断</text>                  <text v-if="bank.type == 4">案例</text>                  <text v-if="bank.type == 5">简答</text>                </view>                <text>{{ bankIndex + 1 }}/{{ questionList.length }}</text>              </view>              <view style="color: #666; font-size: 28rpx"></view>              <view class="leftLetters"></view>            </view>            <view class="titles">              <rich-text :nodes="bank.content"></rich-text>            </view>          </view>          <template v-if="bank.type == 1">            <view class="pad_8 titBox no-margin">              <view>                <view                  v-for="(item, index) in bank.jsonStr"                  :key="index"                  class="lisSty"                >                  <text                    :class="{                      right:                        item.optionsId == bank.ques ||                        item.optionsId == bank.ans,                      wrong:                        item.optionsId == bank.ques && bank.ques != bank.ans,                    }"                    class="activeTI"                    >{{ ast[index] }}</text                  >                  <view class="flex_auto">                    {{ item.content }}                    <view v-if="item.imgUrl">                      <image                        style="width: 600rpx"                        mode="widthFix"                        :src="$method.splitImgHost(item.imgUrl)"                      ></image>                    </view>                  </view>                </view>              </view>            </view>            <view>              <view class="pad_8 answer">                <view>题目答案:{{ ast[bank.ans - 1] }}</view>              </view>              <view class="pad_8 answerInfos">                <view class="answerTitle">答案解析</view>                <view class="answerContent">                  <rich-text :nodes="bank.analysisContent"></rich-text>                </view>              </view>            </view>          </template>          <template v-if="bank.type == 2">            <view class="pad_8 titBox no-margin">              <view>                <view                  v-for="(item, index) in bank.jsonStr"                  :key="index"                  class="lisSty"                >                  <text                    :class="{                      right:                        bank.ques.indexOf(item.optionsId) != -1 ||                        bank.ans.indexOf(item.optionsId) != -1,                      wrong:                        bank.ques.indexOf(item.optionsId) != -1 &&                        bank.ans.indexOf(item.optionsId) == -1,                    }"                    class="activeTI"                    >{{ ast[index] }}</text                  >                  <view class="flex_auto">                    {{ item.content }}                    <view v-if="item.imgUrl">                      <image                        style="width: 600rpx"                        mode="widthFix"                        :src="$method.splitImgHost(item.imgUrl)"                      ></image>                    </view>                  </view>                </view>              </view>            </view>            <view>              <view class="pad_8 answer">                <view                  >题目答案:                  <text                    :key="ansItemIndex"                    v-for="(ansItem, ansItemIndex) in bank.ans"                    >{{ ast[ansItem - 1] }}</text                  >                </view>              </view>              <view class="pad_8 answerInfos">                <view class="answerTitle">答案解析</view>                <view class="answerContent">                  <rich-text :nodes="bank.analysisContent"></rich-text>                </view>              </view>            </view>          </template>          <template v-if="bank.type == 3">            <view class="pad_8 titBox no-margin">              <view>                <view                  v-for="(item, index) in judge"                  :key="index"                  class="lisSty"                >                  <text                    :class="{                      right: index == bank.ques || index == bank.ans,                      wrong: index == bank.ques && bank.ques != bank.ans,                    }"                    class="activeTI"                    >{{ ast[index] }}</text                  >                  <view class="flex_auto">                    {{ item }}                    <view v-if="item.imgUrl">                      <image                        style="width: 600rpx"                        mode="widthFix"                        :src="$method.splitImgHost(item.imgUrl)"                      ></image>                    </view>                  </view>                </view>              </view>            </view>            <view>              <view class="pad_8 answer">                <view>题目答案:{{ ast[bank.ans] }}</view>              </view>              <view class="pad_8 answerInfos">                <view class="answerTitle">答案解析</view>                <view class="answerContent">                  <rich-text :nodes="bank.analysisContent"></rich-text>                </view>              </view>            </view>          </template>          <!-- 简答题 -->          <template v-if="bank.type == 5">            <view class="pad_8 titBox">              <view>                <view class="pad_8 answerInfos">                  <view class="answerTitle">答案解析:</view>                  <view class="answerContent">                    <rich-text :nodes="bank.analysisContent"></rich-text>                  </view>                </view>              </view>            </view>          </template>          <!-- 案例题 -->          <template v-if="bank.type == 4">            <view class="tabs">              <view                class="tab"                :class="{ current: tabIndex == bank.current }"                :key="tabIndex"                v-for="(tab, tabIndex) in bank.jsonStr"                @click="tabSelect(tabIndex, bankIndex)"              >                问题{{ tabIndex + 1 }}              </view>            </view>            <view              v-for="(ansItem, ansIndex) in bank.jsonStr"              v-if="bank.current == ansIndex"              :key="ansIndex"            >              <template v-if="ansItem.type == 1">                <view class="pad_8 titBox">                  <view class="leftLetters">                    <view class="btnType">                      <text>单选</text>                    </view>                  </view>                  <view class="titles">                    <rich-text :nodes="ansItem.content"></rich-text>                  </view>                  <view>                    <view                      v-for="(option, childIndex) in ansItem.optionsList"                      :key="childIndex"                      class="lisSty"                    >                      <text                        :class="{                          right:                            option.optionsId == bank.ques[ansIndex] ||                            option.optionsId == bank.ans[ansIndex],                          wrong:                            option.optionsId == bank.ques[ansIndex] &&                            bank.ques[ansIndex] != bank.ans[ansIndex],                        }"                        class="activeTI"                        >{{ ast[childIndex] }}</text                      >                      <view class="flex_auto">                        <rich-text :nodes="option.content"></rich-text>                        <view v-if="option.imgUrl">                          <image                            style="width: 600rpx"                            mode="widthFix"                            :src="$method.splitImgHost(option.imgUrl)"                          ></image>                        </view>                      </view>                    </view>                  </view>                </view>                <view>                  <view class="pad_8 answer">                    <view>题目答案:{{ ast[bank.ans[ansIndex] - 1] }}</view>                  </view>                  <view class="pad_8 answerInfos">                    <view class="answerTitle">答案解析</view>                    <view class="answerContent">                      <rich-text :nodes="option.analysisContent"></rich-text>                    </view>                  </view>                </view>              </template>              <template v-if="ansItem.type == 2">                <view class="pad_8 titBox">                  <view class="leftLetters">                    <view class="btnType">                      <text>多选</text>                    </view>                  </view>                  <view class="titles">                    <rich-text :nodes="ansItem.content"></rich-text>                  </view>                  <view>                    <view                      v-for="(option, childindex) in ansItem.optionsList"                      :key="childindex"                      class="lisSty"                    >                      <text                        :class="{                          right: right(bankIndex, ansIndex, option),                          wrong: wrong(bankIndex, ansIndex, option),                        }"                        class="activeTI"                        >{{ ast[childindex] }}</text                      >                      <view class="flex_auto">                        <rich-text :nodes="option.content"></rich-text>                        <view v-if="option.imgUrl">                          <image                            style="width: 600rpx"                            mode="widthFix"                            :src="$method.splitImgHost(option.imgUrl)"                          ></image>                        </view>                      </view>                    </view>                  </view>                </view>                <view v-if="bank.ques[ansIndex]">                  <view class="pad_8 answer">                    <view                      >题目答案:                      <text                        :key="ansItemIndex1"                        v-for="(ansItem1, ansItemIndex1) in bank.ans[ansIndex]"                        >{{ ast[ansItem1 - 1] }}</text                      >                    </view>                  </view>                  <view class="pad_8 answerInfos">                    <view class="answerTitle">答案解析</view>                    <view class="answerContent">                      <rich-text :nodes="ansItem.analysisContent"></rich-text>                    </view>                  </view>                </view>              </template>              <template v-if="ansItem.type == 3">                <view class="pad_8 titBox">                  <view class="leftLetters">                    <view class="btnType">                      <text>判断</text>                    </view>                  </view>                  <view class="titles">                    <rich-text :nodes="ansItem.content"></rich-text>                  </view>                  <view>                    <view                      v-for="(option, childindex) in judge"                      :key="childindex"                      class="lisSty"                    >                      <text                        :class="{                          right:                            childindex == bank.ques[ansIndex] ||                            childindex == bank.ans[ansIndex],                          wrong:                            childindex == bank.ques[ansIndex] &&                            bank.ques[ansIndex] != bank.ans[ansIndex],                        }"                        class="activeTI"                        >{{ ast[childindex] }}</text                      >                      <view class="flex_auto">                        {{ option }}                        <view v-if="option.imgUrl">                          <image                            style="width: 600rpx"                            mode="widthFix"                            :src="$method.splitImgHost(option.imgUrl)"                          ></image>                        </view>                      </view>                    </view>                  </view>                </view>                <view>                  <view class="pad_8 answer">                    <view>题目答案:{{ ast[bank.ans[ansIndex]] }}</view>                  </view>                  <view class="pad_8 answerInfos">                    <view class="answerTitle">答案解析</view>                    <view class="answerContent">                      <rich-text :nodes="ansItem.analysisContent"></rich-text>                    </view>                  </view>                </view>              </template>              <!-- 简答题 -->              <template v-if="ansItem.type == 5">                <view class="pad_8 titBox">                  <view class="leftLetters">                    <view class="btnType">                      <text>简答</text>                    </view>                  </view>                  <view class="titles">                    <rich-text :nodes="ansItem.content"></rich-text>                  </view>                </view>                <view>                  <view class="pad_8 answerInfos">                    <view class="answerTitle">答案解析</view>                    <view class="answerContent">                      <rich-text :nodes="ansItem.analysisContent"></rich-text>                    </view>                  </view>                </view>              </template>            </view>          </template>          <view class="footer_btn">            <view class="collect">              <view>                <image src="/static/icon/collect.png" mode=""></image>                <view>收藏</view>              </view>            </view>            <view class="flex_center" @click="openFooterTab">              <view class="up-icon">                <image src="/static/up.png"></image>              </view>              答题卡            </view>            <view class="collect">              <view>                <image src="/static/jj.png" mode=""></image>                <view>交卷</view>              </view>            </view>          </view>        </view>      </swiper-item>    </swiper>    <u-popup v-model="show" mode="bottom" border-radius="14" height="680rpx">      <view class="popupView">        <view class="popupTops">          <view class="topIcon"></view>          点击编号即可跳转至对应题目        </view>        <view class="popupContent">          <scroll-view scroll-y="true" style="height: 506rpx">            <view class="boxSty">              <view                v-for="(item, index) in questionList"                :key="index"                @click="changeIndex(index)"                :class="{                  isRight: isRight(item, index),                  isWrong: isWrong(item, index),                }"                class="liListSty"                >{{ index + 1 }}</view              >            </view>          </scroll-view>        </view>      </view>    </u-popup>    <view class="dialog" v-if="showDialog">      <view class="text">左右滑动切换上下题</view>      <view class="btn" @click="hideDialog">我知道了</view>    </view>  </view></template><script>export default {  data() {    return {      id: "",      current: 0,      showpopups: false,      questionList: [],      ast: ["A", "B", "C", "D", "E", "F", "G"],      judge: ["错误", "正确"],      show: false,      showDialog: false,      bankList: [],      collectList: [],      goodsId: "",      recordId: "",      chapterId: "",      moduleId: "",      doMode: 1, // 1-普通章卷,2-随机练习    };  },  onLoad(option) {    this.id = option.id || "";    this.goodsId = option.goodsid || "";    this.chapterId = option.chapterId || "";    this.moduleId = option.moduleId || "";    this.recordId = option.recordId || "";    this.doMode = option.doMode    let showDialog = uni.getStorageSync("showDialog");    if (showDialog) {      this.showDialog = false;    } else {      this.showDialog = true;      uni.setStorageSync("showDialog", "1");    }    console.log('------解析解析', this.doMode);    if (this.doMode == 2) {      this.getQuestionTempList()    } else {    this.goodsQuestionList();    }  },  onUnload() {},  methods: {    /**     * 是否有上传图片     */    hasImgs(bank) {      return bank.ansText.imageList.length == 0;    },    // 获取随机练习解析题    getQuestionTempList() {      this.$api.goodsQuestionTempList({examId: this.id,}).then((res) => {        if (res.data.code == 200) {          this.analyseData(res.data.data)        }      })    },    goodsQuestionList() {      //解析      this.$api        .goodsQuestionList({          examId: this.id,        })        .then((res) => {          if (res.data.code == 200) {            this.analyseData(res.data.data)          }        });    },    analyseData(datas = []) {      datas.forEach((item, index) => {            if (typeof item.jsonStr == "string") {              item.jsonStr = JSON.parse(item.jsonStr);              if (item.type == 2) {                //多选                item.jsonStr.forEach((str) => {                  str.optionsId = "" + str.optionsId;                });                let arr = item.answerQuestion.split(",");                arr.forEach((a, i) => {                  arr[i] = "" + a;                });                item.ans = arr;                item.ques = item.ans;                return;              } else if (item.type == 5) {                item.ansText = {                  text: item.analysisContent,                  imageList: [],                };                item.ques = {                  text: item.analysisContent,                  imageList: [],                };                return;              } else if (item.type == 4) {                console.log(item.jsonStr);                item.ques = [];                item.current = 0;                let ansArr = [];                item.jsonStr.forEach((json, index) => {                  if (json.type == 1) {                    ansArr[index] = json.answerQuestion;                  } else if (json.type == 2) {                    json.optionsList.forEach((str) => {                      str.optionsId = "" + str.optionsId;                    });                    let arr = json.answerQuestion.split(",");                    arr.forEach((a, i) => {                      arr[i] = "" + a;                    });                    ansArr[index] = arr;                  } else if (json.type == 3) {                    ansArr[index] = json.answerQuestion;                  } else if (json.type == 5) {                    ansArr[index] = {                      text: "",                      imageList: [],                    };                    json.ansText = {                      text: "",                      imageList: [],                    };                  }                });                item.ans = ansArr;                item.ques = item.ans;                return;              }              item.ans = item.answerQuestion;              item.ques = item.ans;            } else {              item.ques = item.ans;            }          });          this.questionList = datas    },    openFooterTab() {      this.show = true;    },    hideDialog() {      this.showDialog = false;    },    changeIndex(index) {      this.current = index;    },    swiperChange(e) {      this.current = e.detail.current;    },    isRight(item, index) {      //单选      if (this.questionList[index].ques) {        if (item.type == 1) {          return this.questionList[index].ques == this.questionList[index].ans;          //多选        } else if (item.type == 2) {          //每一项都相等          return this.questionList[index].ans.every((item, i) => {            return item == this.questionList[index].ques[i];          });          //判断        } else if (item.type == 3) {          return this.questionList[index].ques == this.questionList[index].ans;        } else {          return false;        }      } else {        return false;      }    },    right(bankIndex, ansIndex, option) {      if (        this.questionList[bankIndex].ques[ansIndex] &&        this.questionList[bankIndex].ans[ansIndex]      ) {        if (          this.questionList[bankIndex].ques[ansIndex].indexOf(            option.optionsId          ) != -1 ||          this.questionList[bankIndex].ans[ansIndex].indexOf(            option.optionsId          ) != -1        ) {          return true;        } else {          return false;        }      } else {        return false;      }    },    wrong(bankIndex, ansIndex, option) {      if (        this.questionList[bankIndex].ques[ansIndex] &&        this.questionList[bankIndex].ans[ansIndex]      ) {        if (          this.questionList[bankIndex].ques[ansIndex].indexOf(            option.optionsId          ) != -1 &&          this.questionList[bankIndex].ans[ansIndex].indexOf(            option.optionsId          ) == -1        ) {          return true;        } else {          return false;        }      } else {        return false;      }    },    isWrong(item, index) {      if (this.questionList[index].ques) {        //单选        if (item.type == 1) {          return this.questionList[index].ques != this.questionList[index].ans;          //多选        } else if (item.type == 2) {          //每一项都相等          return this.questionList[index].ans.some((item, i) => {            return item != this.questionList[index].ques[i];          });          //判断        } else if (item.type == 3) {          return this.questionList[index].ques != this.questionList[index].ans;        } else {          return false;        }      } else {        return false;      }    },    tabSelect(index, bankindex) {      this.$set(this.questionList[bankindex], "current", index);    },  },};</script><style lang="scss" scoped>.questionBank {  width: 100%;  height: 100vh;  display: flex;  flex-direction: column;}.swiper {  width: 100%;  flex: 1;}.lisSty {  margin-bottom: 16rpx;  display: flex;  align-items: center;  .flex_auto {    flex: 1;    word-break: break-all;  }}.activeTI {  vertical-align: middle;  display: inline-block;  border: 1rpx solid #eee;  border-radius: 50rpx;  height: 48rpx;  line-height: 46rpx;  text-align: center;  width: 48rpx;  margin-right: 15rpx;  color: #666;  font-size: 30rpx;  &.right {    color: #fff;    background: #36c75a;  }  &.wrong {    color: #fff;    background: #ff3b30;  }  &.checked {    color: #fff;    background: #007aff;  }}.submit_checkbox {  position: fixed;  left: 0;  right: 0;  bottom: 120rpx;  margin: 20rpx auto;  width: 526rpx;  height: 80rpx;  background: rgba(0, 122, 255, 1);  color: #fff;  text-align: center;  line-height: 80rpx;  font-size: 30rpx;  border-radius: 40rpx;}.titles {  overflow: hidden;  margin-bottom: 24rpx;}.titBox {  padding: 41rpx 25rpx 24rpx 25rpx;}.titBox_title {  padding: 21rpx;}.tabs {  margin: 10rpx;  display: flex;  .tab {    margin: 0 4rpx;    padding: 10rpx 13rpx;    text-align: center;    color: #007aff;    font-size: 28rpx;    border-radius: 16rpx;    background: #fff;    &.current {      color: #fff;      background: #007aff;    }  }}.ans {  margin: 8rpx 8rpx 8rpx;  .ans_input {    border-radius: 16rpx;    background: #fff;    .top {      border-bottom: 1rpx solid #eeeeee;      padding: 16rpx;      display: flex;      align-items: center;      .icon {        margin-right: 20rpx;        width: 40rpx;        height: 38rpx;      }      .progress {        flex: 1;      }      .submit {        width: 168rpx;        height: 48rpx;        line-height: 48rpx;        text-align: center;        color: #fff;        font-size: 30rpx;        background: #007aff;        border-radius: 24rpx;        &.disabled {          opacity: 0.6;        }      }    }    .textarea {      textarea {        width: 100%;        height: 287rpx;        padding: 10rpx;      }    }    .imgs {      overflow: hidden;      display: flex;      width: 100%;      .img {        width: 104rpx;        height: 104rpx;        border-radius: 8rpx;        position: relative;        margin: 20rpx;        text {          position: absolute;          right: -15rpx;          top: -15rpx;          width: 30rpx;          height: 30rpx;          text-align: center;          line-height: 30rpx;          color: #fff;          background: #ff3b30;          border-radius: 50%;        }        image {          width: 100%;          height: 100%;        }      }    }  }  .ans_submit {    padding: 16rpx;    border-radius: 16rpx;    background: #fff;    .imgs {      overflow: hidden;      display: flex;      width: 100%;      .img {        width: 104rpx;        height: 104rpx;        border-radius: 8rpx;        position: relative;        margin: 20rpx;        image {          width: 100%;          height: 100%;        }      }    }  }}.leftLetters {  display: flex;  align-items: center;  width: 220rpx;  .btnType {    padding: 5rpx 10rpx;    border: 1rpx solid #007aff;    border-radius: 10rpx;    background-color: rgba(0, 122, 255, 0.1);    font-size: 28rpx;    color: #007aff;    margin-right: 15rpx;  }}.firstLetter {  display: flex;  justify-content: space-between;  align-items: center;  margin-bottom: 30rpx;}.popupView {  height: 100%;  padding-bottom: 100rpx;  .popupTops {    height: 77rpx;    border-bottom: 1rpx solid #eee;    text-align: center;    line-height: 77rpx;    font-size: 24rpx;    color: #999;    position: relative;    .topIcon {      position: absolute;      top: 10rpx;      left: 50%;      transform: translateX(-50%);      width: 80rpx;      height: 8rpx;      background-color: #999;      border-radius: 4rpx;    }  }  .popupContent {  }}.pageContent {  position: relative;  background-color: #eaeef1;  height: 100%;  overflow-y: scroll;  padding-top: 8rpx;  padding-bottom: 100rpx;}.pad_8 {  background-color: #fff;  margin: 0rpx 8rpx 8rpx;  border-radius: 16rpx;  &.no-margin {    margin-top: -16rpx;    border-radius: 0 0 16rpx 16rpx;  }}.answer {  height: 80rpx;  line-height: 80rpx;  padding: 0rpx 24rpx;  display: flex;  align-items: center;  justify-content: space-between;  color: #666;  font-size: 30rpx;}.footer_btn {  background-color: #fff;  z-index: 10078;  position: fixed;  bottom: 0rpx;  display: flex;  align-items: center;  justify-content: space-between;  width: 100%;  height: 98rpx;  padding: 0rpx 38rpx;  border-top: 1rpx solid #eee;  .flex_center {    flex: 1;    display: flex;    justify-content: center;    align-items: center;    flex-direction: column;    margin: 0 200rpx;    font-size: 24rpx;    color: #999999;    .up-icon {      margin-bottom: 18rpx;      width: 100%;      display: flex;      justify-content: center;      image {        width: 58rpx;        height: 21rpx;      }    }  }  .collect {    visibility: hidden;    width: 100rpx;    &.show {      visibility: visible;    }    > view {      display: flex;      flex-direction: column;      align-items: center;      justify-content: center;      image {        width: 32rpx;        height: 32rpx;        margin-bottom: 6rpx;      }      view {        font-size: 24rpx;        color: #999999;      }    }  }}.boxSty {  padding: 44rpx 41rpx 0rpx;}.liListSty {  border: 1rpx solid #eeeeee;  width: 88rpx;  height: 88rpx;  border-radius: 32rpx;  text-align: center;  line-height: 88rpx;  color: #333;  font-size: 32rpx;  float: left;  margin: 20rpx 23rpx;  &.isRight {    border: 1rpx solid #eeeeee;    color: #fff;    background: #36c75a;  }  &.isWrong {    border: 1rpx solid #eeeeee;    color: #fff;    background: #ff3b30;  }}.answerInfos {  padding: 25rpx 25rpx 25rpx 23rpx;}.answerTitle {  margin-bottom: 28rpx;  color: #666;  font-size: 30rpx;}.answerContent {  font-size: 30rpx;  color: #666;}.textChild {  display: inline-block;  vertical-align: middle;}.dialog {  position: fixed;  left: 0;  top: 0;  width: 100%;  height: 100%;  background-color: rgba(0, 0, 0, 0.8);  display: flex;  flex-direction: column;  align-items: center;  justify-content: center;  z-index: 20000;  .pointer {    width: 338rpx;    height: 240rpx;  }  .text {    font-size: 32rpx;    color: #ffffff;    text-align: center;  }  .btn {    width: 242rpx;    height: 82rpx;    border: 2rpx solid #ffffff;    border-radius: 16rpx;    text-align: center;    line-height: 82rpx;    margin: 41rpx auto;    color: #fff;    font-size: 32rpx;  }}.popboxs {  width: 100%;  height: 100%;  display: flex;  flex-direction: column;  align-items: center;}.classTops {  flex-shrink: 0;  padding: 39rpx 0rpx 4rpx;  font-weight: bold;  color: #333;  font-size: 30rpx;}.textStys {  width: 100%;  flex: 1;  padding: 36rpx;}.classFootsty {  flex-shrink: 0;  display: flex;  align-items: center;  justify-content: center;  padding: 10rpx 0rpx 40rpx;  .btnsty {    width: 200rpx;    height: 80rpx;    border-radius: 40rpx;    font-weight: bold;    font-size: 30rpx;    text-align: center;    line-height: 80rpx;  }  .btns1 {    background-color: #f5f5f5;    color: #007aff;  }  .btns2 {    margin-left: 40rpx;    background-color: #007aff;    color: #ffffff;  }}</style>
 |