natasha 1 gadu atpakaļ
vecāks
revīzija
a8cdb13d2c

+ 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 {

Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 102 - 302
src/views/bookShelf/components/NormalModel.vue


Daži faili netika attēloti, jo izmaiņu fails ir pārāk liels