wjj 4 лет назад
Родитель
Сommit
c9f3f14d62
1 измененных файлов с 8 добавлено и 2 удалено
  1. 8 2
      src/pages/Homepage/TestCard.vue

+ 8 - 2
src/pages/Homepage/TestCard.vue

@@ -3,8 +3,14 @@
     <el-col :span="8" v-for="item in applications" :key="item.name" style="height: 160px;margin-bottom: 10px">
       <el-card class="test-card">
         <div slot="header" class="clearfix test-card-header">
-          <span>{{ item && item.name }}</span>
-          <el-button style="float: right;line-height: 25px" type="text"  @click="getMore()">more>></el-button>
+          <el-row>
+            <el-col :span="18">
+              <span>{{ item && item.name }}</span>
+            </el-col>
+            <el-col :span="6">
+              <el-button style="float: right;line-height: 25px;padding:0" type="text"  @click="getMore()">more>></el-button>
+            </el-col>
+          </el-row>
         </div>
         <div class="test-card-description">
           <span>{{ item && item.introduction }}</span>