Explorar el Código

修改默认图片

tanxue hace 4 años
padre
commit
231d014125
Se han modificado 3 ficheros con 3 adiciones y 3 borrados
  1. 1 1
      pages/courseware/index.vue
  2. 1 1
      pages/examsystem/index.vue
  3. 1 1
      pages/trainsystem/index.vue

+ 1 - 1
pages/courseware/index.vue

@@ -138,7 +138,7 @@
         <ul>
           <li style="font-size: 16px" v-for="(item, index) in topCarousels">
             <div>
-              <img :src="topCarousels[0].pic" alt="新闻资讯" />
+              <img :src="item.pic" alt="新闻资讯" />
               <h4 @click="checkInfo(item)">{{ item.title }}</h4>
               <span>发布时间:{{item.yyyy }}-{{ item.mmdd }}</span>
               <p>{{ item.intro }}</p>

+ 1 - 1
pages/examsystem/index.vue

@@ -124,7 +124,7 @@
           <ul>
             <li style="font-size: 16px" v-for="(item, index) in topCarousels">
               <div>
-                <img :src="topCarousels[0].pic" alt="新闻资讯" />
+                <img :src="item.pic" alt="新闻资讯" />
                 <h4 @click="checkInfo(item)">{{ item.title }}</h4>
                 <span>发布时间:{{item.yyyy }}-{{ item.mmdd }}</span>
                 <p>{{ item.intro }}</p>

+ 1 - 1
pages/trainsystem/index.vue

@@ -146,7 +146,7 @@
         <ul>
           <li style="font-size: 16px" v-for="(item, index) in topCarousels">
             <div>
-              <img :src="topCarousels[0].pic" alt="新闻资讯" />
+              <img :src="item.pic" alt="新闻资讯" />
               <h4 @click="checkInfo(item)">{{ item.title }}</h4>
               <span>发布时间:{{item.yyyy }}-{{ item.mmdd }}</span>
               <p>{{ item.intro }}</p>