浏览代码

普通模式

natasha 1 年之前
父节点
当前提交
a8cdb13d2c
共有 2 个文件被更改,包括 104 次插入304 次删除
  1. 2 2
      src/views/bookShelf/articleDetail.vue
  2. 102 302
      src/views/bookShelf/components/NormalModel.vue

+ 2 - 2
src/views/bookShelf/articleDetail.vue

@@ -20,7 +20,7 @@
         <div class="artricle-inner" :style="{background:bgColorList[activeIndex].contentInnerBg}">
             <!-- 文章 -->
             <div class="atricle-data">
-                <normal-model :titleFontsize="wordFontsize+30" :wordFontsize="wordFontsize" :colorObj="bgColorList[activeIndex]" :articleType="articleType" :style="{'padding':'0 40px'}" v-if="menuType==='original'"></normal-model>
+                <normal-model :titleFontsize="wordFontsize+30" :wordFontsize="wordFontsize" :colorObj="bgColorList[activeIndex]" :articleType="articleType" :style="{'padding':'0 40px'}" v-if="menuType==='original'" :articleInfo="articleInfo"></normal-model>
                 <div class="article-btn">
                     <div class="left">
                         <span :class="['support colloct-article',!noRead?'active':'']" @click="changeStatus('noRead')"><svg-icon icon-class="like-line"></svg-icon>2847</span>
@@ -589,7 +589,7 @@ export default {
             var option;
             let newdata = JSON.parse(JSON.stringify(this.articleInfo.art_corpus_data.artStatInfo.vocabVlLevelItems));
             newdata.forEach((item) => {
-                let percent = item.vocabPercent;
+                let percent = item.vocabPercent / 100;
                 if (percent % 1 == 0) {
                     item.name = item.vlCnName + " " + percent + "%";
                 } else {

文件差异内容过多而无法显示
+ 102 - 302
src/views/bookShelf/components/NormalModel.vue


部分文件因为文件数量过多而无法显示