From 89e540640b87f4be8656a5bc78f4a5dbcdf1c21f Mon Sep 17 00:00:00 2001
From: jiangping <jp@doumee.com>
Date: 星期二, 01 七月 2025 15:53:41 +0800
Subject: [PATCH] ss

---
 admin/src/components/business/OperaCarouselWindow.vue |   19 +++++++++++++++----
 1 files changed, 15 insertions(+), 4 deletions(-)

diff --git a/admin/src/components/business/OperaCarouselWindow.vue b/admin/src/components/business/OperaCarouselWindow.vue
index 75b8ccf..b540d6e 100644
--- a/admin/src/components/business/OperaCarouselWindow.vue
+++ b/admin/src/components/business/OperaCarouselWindow.vue
@@ -1,7 +1,7 @@
 <template>
   <GlobalWindow
     :title="title"
-    width="60%"
+    width="calc(100% - 250px)"
     :visible.sync="visible"
     :confirm-working="isWorking"
     @confirm="confirm"
@@ -11,7 +11,7 @@
         <el-input v-model="form.title" placeholder="璇疯緭鍏ユ爣棰�" v-trim/>
       </el-form-item>
       <el-form-item label="姒傝堪" prop="detail">
-        <el-input  type="textarea"  v-model="form.detail" placeholder="璇疯緭鍏ユ弿杩�" v-trim/>
+        <el-input  type="textarea" :rows="10" v-model="form.detail" placeholder="璇疯緭鍏ユ弿杩�" v-trim/>
       </el-form-item>
       <div style="display: flex">
         <el-form-item label="缂╃暐鍥�" prop="thumbnailImgurl" style="display:inline-block;flex: 1">
@@ -54,8 +54,9 @@
 <script>
 import BaseOpera from '@/components/base/BaseOpera'
 import GlobalWindow from '@/components/common/GlobalWindow'
-import RichEditor from '@/components/common/RichEditor'
 import UploadAvatarImage from '@/components/common/UploadAvatarImage'
+import RichEditor from '@/components/common/RichEditor'
+import '@wangeditor/editor/dist/css/style.css'
 export default {
   name: 'OperaCarouselWindow',
   extends: BaseOpera,
@@ -63,7 +64,7 @@
   data () {
     return {
       // 琛ㄥ崟鏁版嵁
-      styleEditor: 'border: 1px solid #ccc;display: inline-block;height:500px',
+      styleEditor: 'border: 1px solid #ccc;display: inline-block;height:800px; ',
       form: {
         id: null,
         remark: '',
@@ -122,6 +123,7 @@
         for (const key in this.form) {
           this.form[key] = target[key]
         }
+        console.log(111+this.form.content)
       })
     },
     // 涓婁紶鍥剧墖
@@ -139,3 +141,12 @@
   }
 }
 </script>
+<style>
+::v-deep .w-e-text-container {
+  height: 420px !important;
+}
+.w-e-text-container .w-e-scroll {
+  height: 500px !important;
+  -webkit-overflow-scrolling: touch;
+}
+</style>

--
Gitblit v1.9.3