25639
This commit is contained in:
		| @@ -2,7 +2,7 @@ | ||||
|   <section class="AppFoundingHundred"> | ||||
|     <ai-list v-if="showList"> | ||||
|       <template #title> | ||||
|         <ai-title title="党史课堂" isShowBottomBorder> | ||||
|         <ai-title title="党员学习" isShowBottomBorder> | ||||
|           <template #rightBtn> | ||||
|             <ai-party :instance="instance" v-model="organizationId" :topOrgId="topOrgId" size="small" | ||||
|                       @origin="changeParty"/> | ||||
|   | ||||
| @@ -1,11 +1,12 @@ | ||||
| <template> | ||||
|   <section class="add_Party" :class="{isDetail:!isEdit}"> | ||||
|   <ai-detail> | ||||
|     <ai-title slot="title" :title="detailTitle" isShowBottomBorder isShowBack @onBackClick="$emit('back')"> | ||||
|     </ai-title> | ||||
|     <template #content> | ||||
|       <ai-card title="基本信息"> | ||||
|         <template #content> | ||||
|           <div class="detail-content" v-if="isEdit"> | ||||
|           <el-form :model="form" label-width="120px" ref="ruleForm" :rules="rules"> | ||||
|             <el-form class="ai-form" :model="form" label-width="120px" ref="ruleForm" :rules="rules"> | ||||
|               <el-form-item label="课程主题" prop="title"> | ||||
|                 <el-input size="small" v-model="form.title" clearable placeholder="请输入..." maxlength="100" | ||||
|                           show-word-limit/> | ||||
| @@ -17,7 +18,7 @@ | ||||
|                 <el-input size="small" v-model="form.organizationName" clearable placeholder="请输入..." maxlength="100" | ||||
|                           show-word-limit/> | ||||
|               </el-form-item> | ||||
|             <el-form-item label="封面" prop="thumbUrl"> | ||||
|               <el-form-item style="width: 100%;" label="封面" prop="thumbUrl"> | ||||
|                 <ai-uploader | ||||
|                   :instance="instance" | ||||
|                   v-model="form.thumbUrl" | ||||
| @@ -27,7 +28,7 @@ | ||||
|                   <template slot="tips">图片比例:1.6:1</template> | ||||
|                 </ai-uploader> | ||||
|               </el-form-item> | ||||
|             <el-form-item label="课程简介" prop="content"> | ||||
|               <el-form-item label="课程简介" style="width: 100%;" prop="content"> | ||||
|                 <ai-editor v-model="form.content" :instance="instance"/> | ||||
|               </el-form-item> | ||||
|             </el-form> | ||||
| @@ -47,6 +48,8 @@ | ||||
|             </ai-wrapper> | ||||
|           </div> | ||||
|         </template> | ||||
|       </ai-card> | ||||
|     </template> | ||||
|     <template #footer> | ||||
|       <template v-if="isEdit"> | ||||
|         <el-button size="small" @click="$emit('back')">取消</el-button> | ||||
| @@ -57,7 +60,6 @@ | ||||
|       </template> | ||||
|     </template> | ||||
|   </ai-detail> | ||||
|   </section> | ||||
| </template> | ||||
|  | ||||
| <script> | ||||
| @@ -73,7 +75,7 @@ | ||||
|     }, | ||||
|     computed: { | ||||
|       detailTitle() { | ||||
|         return this.isEdit ? '编辑党史课堂' : '党史课堂详情' | ||||
|         return this.isEdit ? '编辑党员学习' : '党史党员学习' | ||||
|       } | ||||
|     }, | ||||
|     data() { | ||||
| @@ -159,9 +161,6 @@ | ||||
|   .add_Party { | ||||
|     height: 100%; | ||||
|     position: relative; | ||||
|     background: #fff; | ||||
|     display: flex; | ||||
|     flex-direction: column; | ||||
|  | ||||
|     .detail-content { | ||||
|       padding-bottom: 80px; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user