ソースを参照

书架精读包年增加已查看

natasha 1 年間 前
コミット
0e2a4947bf

+ 2 - 2
src/components/common/BookPeruseCard.vue

@@ -35,10 +35,10 @@
                 >
                 </el-rate>
             </template> -->
-            <span class="batch">第 {{item.batch}} 期</span>
+            <span class="batch">第 {{item.iread_batch||item.batch}} 期</span>
             <span class="isNew" v-if="item.is_new&&item.is_new==='true'">NEW</span>
             <p class="author">
-               <span>{{item.label}}</span> 
+               <span>{{item.iread_label||item.label}}</span> 
                <label class="xiaoxue" :style="{background:phaseTypeList[item.study_phase]?phaseTypeList[item.study_phase].bg:'',color:phaseTypeList[item.study_phase]?phaseTypeList[item.study_phase].color:''}">{{item.study_phase_name}}</label>
             </p>
             <template v-if="!type||type!='bookShelf'">

+ 3 - 3
src/components/common/BookPeruseListCard.vue

@@ -88,10 +88,10 @@ export default {
     async handleLink(){
         let url  = this.LoginNavIndex +'&&&1&&&2&&&3&&&' + this.previousPage
         if(this.LoginNavIndex===1){
-            let MethodName = "/ShopServer/Client/BookshelfQuery/SetMyGoodsIsLooked";
+            let MethodName = "/ShopServer/Client/BookshelfQuery/SetMyValidPeriodIsLooked_IRead";
             let data = {
-                goods_id: this.item.id,
-                goods_type: 30
+                study_phase: this.item.study_phase,
+                end_date: this.item.end_date
             }
             await getLogin(MethodName, data)
             .then((res) => {

+ 1 - 1
src/views/bookShelf/index.vue

@@ -391,7 +391,7 @@ export default {
                     {
                         label: '精读课堂',
                         img: 'jingdu',
-                        number: res.count_course,
+                        number: res.count_iread,
                         value: 3
                     }
                     // ,

+ 0 - 1
src/views/personalCenter/components/WordCard.vue

@@ -402,7 +402,6 @@ export default {
                         item.source_courseware_name_path = item.study_phase_name + '版 / ' + item.iss_no + ' / ' + item.release_date + ' / ' + item.art_title
                     });
                     this.sentKwicData.sentence_list_sort_left = this.handleExample(res.data.results,'left')
-                    console.log(this.sentKwicData.sentence_list_sort_left)
                 }
                 
             }