wuhongyu 5 anos atrás
pai
commit
3bda2b709d
2 arquivos alterados com 3 adições e 4 exclusões
  1. 2 4
      src/layout/user/pingfenList.vue
  2. 1 0
      src/views/index.vue

+ 2 - 4
src/layout/user/pingfenList.vue

@@ -9,7 +9,7 @@
               <span class="name">组名:{{ acc.name }}</span>
               <span class="newscore">组分:{{ acc.score || 0 }}分</span>
             </div>
-            <van-row class="attend" v-for="(item, index) in acc.students" :key="index">
+            <van-row v-for="(item, index) in acc.students" :key="index">
               <template>
                 <p>
                   <span class="name">名称:{{ item.stuname }}</span
@@ -68,9 +68,7 @@ p {
   width: 100px;
   font-size: 15px;
 }
-.attend {
-  border-bottom: 1px solid #f3f3f3;
-}
+
 .dateTime p {
   padding: 2px 0;
 }

+ 1 - 0
src/views/index.vue

@@ -85,6 +85,7 @@ export default {
     // 查询课程详情
     async searchInfo() {
       const res = await this.classesInfo(this.classid);
+      console.log(res.data);
       const result = await this.lessionInfo(res.data.lessonid);
       var ahh = result.data.lessons.map((i, index) => {
         let word = '';