Explorar o código

频道管理 定制频道

DESKTOP-O04BTUJ\muzen %!s(int64=3) %!d(string=hai) anos
pai
achega
dd5be7d675
Modificáronse 1 ficheiros con 7 adicións e 11 borrados
  1. 7 11
      src/views/channel/custom/detail.vue

+ 7 - 11
src/views/channel/custom/detail.vue

@@ -7,22 +7,18 @@
           <el-form-item label="频道名称:">
             <el-input placeholder="请输入频道名称" />
           </el-form-item>
-        </el-col>
-        <el-col :span="12">
           <el-form-item label="频道属性:">
             <el-select>
               <el-option />
             </el-select>
           </el-form-item>
-        </el-col>
-        <el-col :span="6">
           <el-form-item label="频道封面:">
             <Upload listType="picture-card" />
           </el-form-item>
         </el-col>
-        <el-col :span="18">
+        <el-col :span="12">
           <el-form-item label="频道简介:">
-            <Editor :min-height="100" />
+            <Editor :height="174" />
           </el-form-item>
         </el-col>
       </el-row>
@@ -87,7 +83,7 @@ import Upload from '@/components/Upload/index'
 import Editor from '@/components/Editor/index'
 import { getChannelAudioPage } from '@/api/channel/custom'
 export default {
-  dicts:['free_yes_no'],
+  dicts: ['free_yes_no'],
   components: {
     Upload,
     Editor
@@ -125,19 +121,19 @@ export default {
       this.$tab.closeOpenPage('/channel/custom')
     },
     // 字典
-    freeFormatter(row){
-      return  this.selectDictLabel(this.dict.type.free_yes_no, row.free)
+    freeFormatter(row) {
+      return this.selectDictLabel(this.dict.type.free_yes_no, row.free)
     }
   }
 }
 </script>
 
-<style lang="scss">
+<style lang="scss" scope>
 .form {
   width: 1000px;
 }
 
-.el-image{
+.el-image {
   width: 80px;
   height: 80px;
 }