panhui 5 年 前
コミット
8959b2d891

+ 5 - 5
src/main/vue/src/views/Video.vue

@@ -42,11 +42,11 @@ export default {
     data() {
         return {
             layout: [
-                { x: 0, y: 0, w: 4, h: 13.5, i: '0', name: 'Video3' },
-                { x: 0, y: 0, w: 4, h: 12.5, i: '0', name: 'Video1' },
-                { x: 4, y: 4, w: 4, h: 12.5, i: '3', name: 'Video4' },
-                { x: 8, y: 4, w: 3, h: 19, i: '1', name: 'Video2' },
-                { x: 4, y: 12.5, w: 4, h: 12.5, i: '4', name: 'Video1' }
+                { x: 0, y: 0, w: 4, h: 15.5, i: '0', name: 'Video3' },
+                { x: 0, y: 0, w: 4, h: 14.5, i: '0', name: 'Video1' },
+                { x: 4, y: 4, w: 4, h: 14.5, i: '3', name: 'Video4' },
+                { x: 8, y: 4, w: 3, h: 22, i: '1', name: 'Video2' },
+                { x: 4, y: 12.5, w: 4, h: 15.5, i: '4', name: 'Video1' }
                 // { x: 0, y: 12.5, w: 4, h: 12.5, i: '5', name: 'Video4' }
                 // { x: 8, y: 0, w: 4, h: 13.5, i: '6', name: 'Video3' }
             ],

+ 1 - 0
src/main/vue/src/widgets/Video1.vue

@@ -1,5 +1,6 @@
 <template>
     <widget-card :bodyStyle="bodyStyle">
+        <template #header>考点一</template>
         <!-- <i class="fa-fw fas fa-user fa-3x" style="color: #40c9c6;"></i>
         <div class="info">
             <div class="text">User</div>

+ 1 - 0
src/main/vue/src/widgets/Video2.vue

@@ -1,5 +1,6 @@
 <template>
     <widget-card :bodyStyle="bodyStyle">
+        <template #header>考点二</template>
         <!-- <i class="fa-fw fas fa-user fa-3x" style="color: #40c9c6;"></i>
         <div class="info">
             <div class="text">User</div>

+ 1 - 0
src/main/vue/src/widgets/Video3.vue

@@ -1,5 +1,6 @@
 <template>
     <widget-card :bodyStyle="bodyStyle">
+        <template #header>考点三</template>
         <!-- <i class="fa-fw fas fa-user fa-3x" style="color: #40c9c6;"></i>
         <div class="info">
             <div class="text">User</div>

+ 1 - 0
src/main/vue/src/widgets/Video4.vue

@@ -1,5 +1,6 @@
 <template>
     <widget-card :bodyStyle="bodyStyle">
+        <template #header>考点四</template>
         <!-- <i class="fa-fw fas fa-user fa-3x" style="color: #40c9c6;"></i>
         <div class="info">
             <div class="text">User</div>