mo 4 년 전
부모
커밋
97179447df
2개의 변경된 파일22개의 추가작업 그리고 5개의 파일을 삭제
  1. 6 1
      src/main.js
  2. 16 4
      src/views/teamBuild/components/teamBaseInfo.vue

+ 6 - 1
src/main.js

@@ -50,7 +50,12 @@ Vue.use(ElementUI)
 // 命名根据需要,DonMessage只是在文章中使用
 Vue.prototype.$message = new DonMessage()
 
-
+// 全局移除数字滚动
+document.addEventListener('mousewheel', function (event) {
+  if (document.activeElement.type === 'number') {
+    document.activeElement.blur()
+  }
+})
 
 /**
  * If you don't want to use mock-server

+ 16 - 4
src/views/teamBuild/components/teamBaseInfo.vue

@@ -6,6 +6,7 @@
       <el-form :model="topFrom"
                :inline="true"
                ref="topinfo"
+               label-width='120px'
                style="margin-left:11px;">
         <el-form-item label="收费类型"
                       prop="type"
@@ -107,7 +108,6 @@
                       prop="time"
                       :rules="[{ required: true, message: '请输入报名截止时间'},]">
           <el-date-picker v-model.trim="topFrom.time"
-                          style="width:100%!important"
                           type="date"
                           value-format="yyyy-MM-dd"
                           :picker-options="{
@@ -119,7 +119,6 @@
                       prop="startTime"
                       :rules="[{ required: true, message: '请输入预计开团时间'},]">
           <el-date-picker v-model.trim="topFrom.startTime"
-                          style="width:100%!important"
                           type="date"
                           value-format="yyyy-MM-dd"
                           :picker-options="{
@@ -200,10 +199,11 @@
                        :value="item.id"></el-option>
           </el-select>
         </el-form-item>
-        <el-form-item label="是否排乐团网管课"
+        <el-form-item label="乐团网管课"
                       :rules="[{ required: true, message: '请选择是否排乐团网管课'}]"
                       prop="feeType">
           <el-select v-model="topFrom.feeType"
+                     placeholder="是否排乐团网管课"
                      @change="changeFeeType">
             <el-option label="需要排一次线上课"
                        value="ONLINE"></el-option>
@@ -1097,7 +1097,7 @@ export default {
   }
 }
 </script>
-<style lang="scss">
+<style lang="scss" >
 .base-container {
   overflow: auto;
   // display: flex;
@@ -1242,4 +1242,16 @@ export default {
     margin-right: 10px;
   }
 }
+</style>
+<style lang="scss" scoped>
+// /deep/.el-input__inner {
+//   width: 215px !important;
+// }
+
+/deep/.el-date-editor {
+  width: 180px !important;
+}
+/deep/.el-checkbox {
+  margin-left: 15px !important;
+}
 </style>