Browse Source

index block update

hehaitao 1 năm trước cách đây
mục cha
commit
f92dac9153

+ 1 - 2
src/views/index/components/index-card-news.vue

@@ -30,7 +30,6 @@ export default {
   data() {
     return {
       morePaths: {
-        '中考资讯': {name: 'NewsMiddleExam'},
         '家长学校': {name: 'NewsParentSchool'},
         '中考学生辅导': {name: 'NewsMiddleAssistant'},
         '心灵课堂': {name: 'NewsHeartClass'}
@@ -50,7 +49,7 @@ export default {
   },
   methods: {
     getTypes() {
-      this.newsTypes = ['中考资讯', '家长学校', '中考学生辅导', '心灵课堂']
+      this.newsTypes = ['中考学生辅导', '家长学校', '心灵课堂']
       this.activeName = this.newsTypes.first()
       this.getList(this.activeName)
     },

+ 3 - 3
src/views/index/components/index-card-test-news.vue

@@ -34,15 +34,15 @@ export default {
   data() {
     return {
       topOverride: {
-        title: '生涯资讯',
+        title: '中考资讯',
         listSpace: 10,
         newsQuery: {
           pageSize: 8,
           tag: '',
-          type: '生涯资讯'
+          type: '中考资讯'
         },
         more: '查看全部',
-        morePath: {name: 'NewsCareer'}
+        morePath: {name: 'NewsMiddleExam'}
       }
     }
   },

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

@@ -15,7 +15,7 @@
         <index-card-elective-test v-if="false" class="mt20 index-block"/>
         <index-preference-simulate v-if="false" class="mt20 index-block"/>
         <index-preference v-if="false" class="mt20 index-block"/>
-        <index-card-high-school v-if="isLogin" class="mt20 index-block" />
+        <index-card-high-school v-if="isLogin&&false" class="mt20 index-block" />
         <index-news-top-wrapper class="mt20 index-block"/>
       </div>
       <bottom-p class="mt20"></bottom-p>