guhongwei 4 年之前
父节点
当前提交
3da06952d8
共有 2 个文件被更改,包括 21 次插入22 次删除
  1. 2 2
      src/views/market/index.vue
  2. 19 20
      src/views/userCenter/basicInfo/index.vue

+ 2 - 2
src/views/market/index.vue

@@ -128,8 +128,8 @@
                   @click.native="$router.push({ path: '/market/marketlists', query: { type: '3', column_name: '专家服务', id: item.id } })"
                 >
                   <el-col :span="8" class="expertimage">
-                    <el-image v-if="item.expertimage != '' && null" :src="item.expertimage"></el-image>
-                    <el-image v-else :src="expertimage"></el-image>
+                    <el-image v-if="item.expertimage != ''" :src="item.expertimage"></el-image>
+                    <el-image :src="expertimage" v-else></el-image>
                   </el-col>
                   <el-col :span="16" class="rightInfo">
                     <el-col :span="24" class="name textOver">

+ 19 - 20
src/views/userCenter/basicInfo/index.vue

@@ -106,7 +106,7 @@
                       type="textarea"
                       maxlength="300"
                       show-word-limit
-                      :autosize="{ minRows: 4, maxRows: 5 }"
+                      :autosize="{ minRows: 3, maxRows: 4 }"
                       placeholder="请输入个人简介"
                     ></el-input>
                   </el-col>
@@ -213,7 +213,7 @@
                       type="textarea"
                       maxlength="300"
                       show-word-limit
-                      :autosize="{ minRows: 4, maxRows: 5 }"
+                      :autosize="{ minRows: 3, maxRows: 4 }"
                       placeholder="请输入企业简介"
                     ></el-input>
                   </el-col>
@@ -230,7 +230,7 @@
                       type="textarea"
                       maxlength="300"
                       show-word-limit
-                      :autosize="{ minRows: 4, maxRows: 5 }"
+                      :autosize="{ minRows: 3, maxRows: 4 }"
                       placeholder="请输入主要产品"
                     ></el-input>
                   </el-col>
@@ -247,7 +247,7 @@
                       type="textarea"
                       maxlength="300"
                       show-word-limit
-                      :autosize="{ minRows: 4, maxRows: 5 }"
+                      :autosize="{ minRows: 3, maxRows: 4 }"
                       placeholder="请输入企业资质/荣誉"
                     ></el-input>
                   </el-col>
@@ -291,7 +291,7 @@
                     出生日期
                   </el-col>
                   <el-col :span="24">
-                    <el-date-picker v-model="form.birthDate" type="date" placeholder="选择日期" value-format="yyyy-MM-dd"> </el-date-picker>
+                    <el-date-picker v-model="form.birthDate" type="date" placeholder="选择日期" value-format="yyyy-MM-dd" style="width:100%"> </el-date-picker>
                   </el-col>
                 </el-form-item>
               </el-col>
@@ -345,21 +345,13 @@
                   </el-col>
                 </el-form-item>
               </el-col>
-
               <el-col :span="24" class="langInfo">
                 <el-form-item prop="workexperience">
                   <el-col :span="21" slot="label">
                     工作经历
                   </el-col>
-                  <el-col :span="24">
-                    <el-input
-                      v-model="form.workexperience"
-                      type="textarea"
-                      maxlength="300"
-                      show-word-limit
-                      :autosize="{ minRows: 4, maxRows: 5 }"
-                      placeholder="请输入工作经历"
-                    ></el-input>
+                  <el-col :span="24" class="workexperience">
+                    <el-input v-model="form.workexperience" type="textarea" maxlength="300" show-word-limit placeholder="请输入工作经历"></el-input>
                   </el-col>
                 </el-form-item>
               </el-col>
@@ -374,7 +366,7 @@
                       type="textarea"
                       maxlength="300"
                       show-word-limit
-                      :autosize="{ minRows: 4, maxRows: 5 }"
+                      :autosize="{ minRows: 3, maxRows: 4 }"
                       placeholder="请输入科研综述"
                     ></el-input>
                   </el-col>
@@ -391,7 +383,7 @@
                       type="textarea"
                       maxlength="300"
                       show-word-limit
-                      :autosize="{ minRows: 4, maxRows: 5 }"
+                      :autosize="{ minRows: 3, maxRows: 4 }"
                       placeholder="请输入承担项目"
                     ></el-input>
                   </el-col>
@@ -408,7 +400,7 @@
                       type="textarea"
                       maxlength="300"
                       show-word-limit
-                      :autosize="{ minRows: 4, maxRows: 5 }"
+                      :autosize="{ minRows: 3, maxRows: 4 }"
                       placeholder="请输入科技奖励"
                     ></el-input>
                   </el-col>
@@ -425,7 +417,7 @@
                       type="textarea"
                       maxlength="300"
                       show-word-limit
-                      :autosize="{ minRows: 4, maxRows: 5 }"
+                      :autosize="{ minRows: 3, maxRows: 4 }"
                       placeholder="请输入社会任职"
                     ></el-input>
                   </el-col>
@@ -625,13 +617,20 @@ export default {
   }
   /deep/.el-textarea__inner {
     border-radius: 0;
+    height: 140px !important;
   }
   /deep/.langInfo .el-form-item__label {
-    padding: 27px 0;
+    padding: 49px 0;
+  }
+  .langInfoImage {
+    height: 146px;
   }
   /deep/.langInfoImage .el-form-item__label {
     padding: 53px 0;
   }
+  /deep/.langInfo .workexperience .textarea__inner {
+    height: 140px !important;
+  }
   .btn {
     text-align: center;
     margin: 10px 0;