wuhongyu пре 5 година
родитељ
комит
1ff7522b24
3 измењених фајлова са 38 додато и 15 уклоњено
  1. 3 3
      src/layout/market/zhuanjia.vue
  2. 34 11
      src/views/market/index.vue
  3. 1 1
      src/views/market/marketlists.vue

+ 3 - 3
src/layout/market/zhuanjia.vue

@@ -5,7 +5,7 @@
         <el-image :src="zhuanjiainfo.img_path" style="height:210px"> </el-image>
       </el-col>
       <el-col :span="17" class="oneRight">
-        <p class="textOver">姓名 {{ zhuanjiainfo.name }}</p>
+        <p class="textOver">{{ zhuanjiainfo.name }}</p>
         <p>
           <span>性别:{{ zhuanjiainfo.gender || '暂无' }}</span>
           <span>出生年月:{{ zhuanjiainfo.birthday || '暂无' }}</span>
@@ -147,7 +147,7 @@ p {
     padding: 0 15px;
     p {
       font-size: 16px;
-      padding: 0 0 20px 0;
+      padding: 0px 0 10px 0;
       span {
         display: inline-block;
         width: 50%;
@@ -156,7 +156,7 @@ p {
     p:first-child {
       font-size: 20px;
       font-weight: bold;
-      padding: 20px 0;
+      padding: 27px 0;
     }
     p:nth-child(2) span:last-child {
       color: red;

+ 34 - 11
src/views/market/index.vue

@@ -117,15 +117,30 @@
             </el-col>
             <el-col :span="24">
               <el-col :span="24" class="downRightList" v-for="(item, index) in expertsList" :key="index" @click.native="zhuanjiaDetail(item.id)">
-                <el-col :span="10"><el-image :src="item.img_path"></el-image></el-col>
-                <el-col :span="14"
+                <el-col :span="6"><el-image :src="item.img_path"></el-image></el-col>
+                <el-col :span="18"
                   ><p>{{ item.name || '暂无' }}</p>
-                  <p>从事专业:</p>
-                  <p>{{ item.professional || '暂无' }}</p></el-col
-                >
-                <el-col :span="24"
-                  ><p>{{ item.resume || '暂无' }}</p></el-col
-                >
+
+                  <p></p>
+                  <p>
+                    <el-col :span="13">
+                      <span>学历:{{ item.xl || '暂无' }}</span></el-col
+                    >
+                    <el-col :span="11">
+                      <span>专业:{{ item.major || '暂无' }}</span>
+                    </el-col>
+                  </p>
+                  <p>
+                    <el-col :span="13">
+                      <span> 院校:{{ item.school }} </span>
+                    </el-col>
+                    <el-col :span="11">
+                      <span>学位:{{ item.xw || '暂无' }}</span>
+                    </el-col>
+                  </p>
+
+                  <p><!-- 展样式位误删 --></p>
+                </el-col>
               </el-col>
             </el-col>
           </el-col>
@@ -216,7 +231,7 @@ export default {
       if (this.$checkRes(res)) this.$set(this, `newList`, res.data);
       res = await this.newquery({ skip: 0, limit: 4, totaltype: '2', status: '1' });
       if (this.$checkRes(res)) this.$set(this, `serviceList`, res.data);
-      res = await this.expertQuery({ skip: 0, limit: 4 });
+      res = await this.expertQuery({ skip: 0, limit: 6 });
       if (this.$checkRes(res)) this.$set(this, `expertsList`, res.data);
     },
     toProductList() {
@@ -599,10 +614,11 @@ export default {
 .downRightList {
   width: 49%;
   margin: 10px 0;
-  height: 200px;
+  height: 130px;
   font-size: 16px;
   display: inline-block;
   cursor: pointer;
+  border-bottom: 1px solid #044b79;
 }
 .downRightList .el-image {
   width: 100%;
@@ -611,10 +627,17 @@ export default {
 }
 .downRightList p {
   padding-left: 10px;
+  width: 100%;
+  font-size: 16px;
 }
 .downRightList p:first-child {
-  font-size: 20px;
+  font-size: 18px;
   height: 40px;
+  font-weight: bold;
+}
+
+.downRightList p span:nth-child(2n) {
+  width: 40px;
 }
 .downRightList p:last-child {
   width: 90%;

+ 1 - 1
src/views/market/marketlists.vue

@@ -395,7 +395,7 @@ export default {
   float: left;
   width: 90%;
   font-size: 18px;
-  padding: 0 0 20px 0;
+  margin: 0 0 20px 0;
 }
 .infoLeftList p:last-child span:last-child {
   float: left;