guhongwei 1 éve
szülő
commit
9ea5340db9
1 módosított fájl, 10 hozzáadás és 1 törlés
  1. 10 1
      src/views/video/index.vue

+ 10 - 1
src/views/video/index.vue

@@ -2,7 +2,12 @@
   <div id="index">
     <el-row>
       <el-col :span="24" class="main animate__animated animate__backInRight" v-loading="loading">
-        <el-col :span="24" class="one">系统首页</el-col>
+        <el-col :span="24" class="one">
+          <cSearch :is_title="false"></cSearch>
+        </el-col>
+        <el-col :span="24" class="two">
+          <cButton @toAdd="toAdd"></cButton>
+        </el-col>
       </el-col>
     </el-row>
   </div>
@@ -34,5 +39,9 @@ onMounted(async () => {
 //  const res: IQueryResult = await testAxios.query(info);
 //  console.log(res);
 //};
+// 添加
+const toAdd = () => {
+  console.log('添加');
+};
 </script>
 <style scoped lang="scss"></style>