guhongwei 4 years ago
parent
commit
7b69f4c962
1 changed files with 11 additions and 14 deletions
  1. 11 14
      src/views/market/index.vue

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

@@ -617,14 +617,14 @@ export default {
     ...product({ newquery: 'newquery', productCreate: 'create', marketquery: 'marketquery' }),
     ...expertsuser({ expertQuery: 'query', expertquery: 'expertquery' }),
     async search() {
-      let res = await this.marketquery({ skip: 0, limit: 6, type: '1', status: '1' });
+      let res = await this.marketquery({ skip: 0, limit: 8, type: '1', status: '1' });
       if (this.$checkRes(res)) this.$set(this, `achieveList`, res.data);
       res = await this.marketquery({ skip: 0, limit: 8, type: '0', status: '1' });
       if (this.$checkRes(res)) this.$set(this, `technologyList`, res.data);
-      console.log(res);
-      res = await this.marketquery({ skip: 0, limit: 4, type: '2', status: '1' });
+      res = await this.marketquery({ skip: 0, limit: 8, type: '2', status: '1' });
       if (this.$checkRes(res)) this.$set(this, `businessList`, res.data);
       res = await this.expertquery({ skip: 0, limit: 8 });
+      console.log(res);
       if (this.$checkRes(res)) this.$set(this, `expertList`, res.data);
     },
     // 未注册用户添加产品
@@ -1052,38 +1052,35 @@ export default {
       // padding: 0 10px;
       .expertList {
         margin: 0 16px 10px 0;
-        width: 288px;
+        width: 24%;
         border: 1px dashed #044b79;
         padding: 10px;
+        height: 300px;
         .expertimage {
           text-align: center;
+          padding: 10px 0;
           .el-image {
-            // width: 95%;
             width: 50%;
             height: 125px;
-
             border-radius: 90px;
           }
         }
         .rightInfo {
-          padding: 0 0 0 16px;
           .name {
             font-size: 18px;
-            padding: 15px 0 0 0;
+            padding: 10px 0;
             font-weight: bolder;
             text-align: center;
           }
           .school {
             font-size: 16px;
-            padding: 15px 0 0 0;
-          }
-          .edu {
-            font-size: 16px;
-            padding: 15px 0 0 0;
+            padding: 10px 0;
+            text-align: center;
           }
           .company {
             font-size: 16px;
-            padding: 15px 0 0 0;
+            padding: 10px 0;
+            text-align: center;
           }
         }
       }