lex-xin 5 years ago
parent
commit
00363019a2
1 changed files with 33 additions and 30 deletions
  1. 33 30
      src/views/audition/ManageEvaluation.vue

+ 33 - 30
src/views/audition/ManageEvaluation.vue

@@ -60,34 +60,36 @@
     <!--  -->
 
     <!-- <van-pull-refresh v-model="refreshing" @refresh="onRefresh"> -->
-      <van-list v-model="loading" :finished="finished" finished-text="没有更多了" @load="getList"  :offset="1" style="height:600px;">
-        <van-cell
-          v-for="(item,index) in courseList"
-          :key="index"
-          class="cellGroup"
-          :title="item.classDate | filterClass"
-          title-class="sectionTitle"
-          value-class="sectionValue"
-        >
-          <template solt="default">
-            <p class="content van-ellipsis">{{ item.courseName }}</p>
-            <van-button
-              type="primary"
-              round
-              size="small"
-              v-if="item.reviewId==0"
-              @click="submitReview(item)"
-            >提交评价</van-button>
-            <van-button
-              type="primary"
-              round
-              size="small"
-              v-if="item.reviewId>0"
-              @click="submitReview(item)"
-            >修改评价</van-button>
-          </template>
-        </van-cell>
-      </van-list>
+      <div>
+        <van-list v-model="loading" :finished="finished" finished-text="没有更多了" @load="getList"  >
+          <van-cell
+            v-for="(item,index) in courseList"
+            :key="index"
+            class="cellGroup"
+            :title="item.classDate | filterClass"
+            title-class="sectionTitle"
+            value-class="sectionValue"
+          >
+            <template solt="default">
+              <p class="content van-ellipsis">{{ item.courseName }}</p>
+              <van-button
+                type="primary"
+                round
+                size="small"
+                v-if="item.reviewId==0"
+                @click="submitReview(item)"
+              >提交评价</van-button>
+              <van-button
+                type="primary"
+                round
+                size="small"
+                v-if="item.reviewId>0"
+                @click="submitReview(item)"
+              >修改评价</van-button>
+            </template>
+          </van-cell>
+        </van-list>
+      </div>
     <!-- </van-pull-refresh> -->
 
     <!--  -->
@@ -236,7 +238,7 @@ export default {
       (this.search.endTime =
         this.dateEndSection.showEndDate.replace(/\//g, "-") + " 23:59:59"),
         (this.search.page = this.page);
-        this.search.rows = 10;
+        this.search.rows = 20;
         this.page++;
       getPracticeGroup(this.search).then(res => {
         if (res.data.code == 200) {
@@ -288,8 +290,9 @@ export default {
 <style lang="less" scoped>
 @import url("../../assets/commonLess/variable.less");
 .wrap {
-   min-height: 100vh;
+  height: 100vh;
   overflow-y: auto;
+  overflow-x: hidden;
   background-color: #fff;
 }