guhongwei vor 4 Jahren
Ursprung
Commit
d77ba92934
1 geänderte Dateien mit 238 neuen und 7 gelöschten Zeilen
  1. 238 7
      src/views/market/index.vue

+ 238 - 7
src/views/market/index.vue

@@ -19,7 +19,7 @@
               <el-col :span="24" class="leftDown">
                 <el-row :gutter="7">
                   <el-col
-                    :span="8"
+                    :span="6"
                     class="achieveList"
                     v-for="(item, index) in achieveList"
                     :key="index"
@@ -570,7 +570,239 @@ export default {
       achievezb: require('@/assets/achievezb.jpg'),
       expertimage: require('@/assets/live/222.png'),
       // 成果
-      achieveList: [],
+      achieveList: [
+        {
+          achievebrief: '1',
+          achieveown: '权属',
+          achievesource: '国家项目',
+          achievestatus: '原理样机',
+          company: '高新技术企业',
+          condition: '1',
+          contacts: '高新技术企业',
+          cooperation: '合作开发',
+          expectations: '1',
+          features: '1',
+          field: '电子信息技术',
+          id: '5f72a7f78ee21ce51c076da7',
+          image: [
+            {
+              url: '/files/image/20200929112017.jpg',
+              _id: '5f72a7f78ee21ce51c076dab',
+            },
+            {
+              url: '/files/image/20200929112021.jpg',
+              _id: '5f72a7f78ee21ce51c076daa',
+            },
+          ],
+          intentionprice: '123',
+          name: '测试专利信息',
+          phone: '18000000008',
+          qqwx: '12345678',
+          roadshow: '/files/roadshow/20200929112010.xlsx',
+          status: '1',
+          team: '1',
+          type: '1',
+          userid: '5f7043b5114497e1d0bb452a',
+        },
+        {
+          achievebrief: '1',
+          achieveown: '权属',
+          achievesource: '国家项目',
+          achievestatus: '原理样机',
+          company: '高新技术企业',
+          condition: '1',
+          contacts: '高新技术企业',
+          cooperation: '合作开发',
+          expectations: '1',
+          features: '1',
+          field: '电子信息技术',
+          id: '5f72a7f78ee21ce51c076da7',
+          image: [
+            {
+              url: '/files/image/20200929112017.jpg',
+              _id: '5f72a7f78ee21ce51c076dab',
+            },
+            {
+              url: '/files/image/20200929112021.jpg',
+              _id: '5f72a7f78ee21ce51c076daa',
+            },
+          ],
+          intentionprice: '123',
+          name: '测试专利信息',
+          phone: '18000000008',
+          qqwx: '12345678',
+          roadshow: '/files/roadshow/20200929112010.xlsx',
+          status: '1',
+          team: '1',
+          type: '1',
+          userid: '5f7043b5114497e1d0bb452a',
+        },
+        {
+          achievebrief: '1',
+          achieveown: '权属',
+          achievesource: '国家项目',
+          achievestatus: '原理样机',
+          company: '高新技术企业',
+          condition: '1',
+          contacts: '高新技术企业',
+          cooperation: '合作开发',
+          expectations: '1',
+          features: '1',
+          field: '电子信息技术',
+          id: '5f72a7f78ee21ce51c076da7',
+          image: [
+            {
+              url: '/files/image/20200929112017.jpg',
+              _id: '5f72a7f78ee21ce51c076dab',
+            },
+            {
+              url: '/files/image/20200929112021.jpg',
+              _id: '5f72a7f78ee21ce51c076daa',
+            },
+          ],
+          intentionprice: '123',
+          name: '测试专利信息',
+          phone: '18000000008',
+          qqwx: '12345678',
+          roadshow: '/files/roadshow/20200929112010.xlsx',
+          status: '1',
+          team: '1',
+          type: '1',
+          userid: '5f7043b5114497e1d0bb452a',
+        },
+        {
+          achievebrief: '1',
+          achieveown: '权属',
+          achievesource: '国家项目',
+          achievestatus: '原理样机',
+          company: '高新技术企业',
+          condition: '1',
+          contacts: '高新技术企业',
+          cooperation: '合作开发',
+          expectations: '1',
+          features: '1',
+          field: '电子信息技术',
+          id: '5f72a7f78ee21ce51c076da7',
+          image: [
+            {
+              url: '/files/image/20200929112017.jpg',
+              _id: '5f72a7f78ee21ce51c076dab',
+            },
+            {
+              url: '/files/image/20200929112021.jpg',
+              _id: '5f72a7f78ee21ce51c076daa',
+            },
+          ],
+          intentionprice: '123',
+          name: '测试专利信息',
+          phone: '18000000008',
+          qqwx: '12345678',
+          roadshow: '/files/roadshow/20200929112010.xlsx',
+          status: '1',
+          team: '1',
+          type: '1',
+          userid: '5f7043b5114497e1d0bb452a',
+        },
+        {
+          achievebrief: '1',
+          achieveown: '权属',
+          achievesource: '国家项目',
+          achievestatus: '原理样机',
+          company: '高新技术企业',
+          condition: '1',
+          contacts: '高新技术企业',
+          cooperation: '合作开发',
+          expectations: '1',
+          features: '1',
+          field: '电子信息技术',
+          id: '5f72a7f78ee21ce51c076da7',
+          image: [
+            {
+              url: '/files/image/20200929112017.jpg',
+              _id: '5f72a7f78ee21ce51c076dab',
+            },
+            {
+              url: '/files/image/20200929112021.jpg',
+              _id: '5f72a7f78ee21ce51c076daa',
+            },
+          ],
+          intentionprice: '123',
+          name: '测试专利信息',
+          phone: '18000000008',
+          qqwx: '12345678',
+          roadshow: '/files/roadshow/20200929112010.xlsx',
+          status: '1',
+          team: '1',
+          type: '1',
+          userid: '5f7043b5114497e1d0bb452a',
+        },
+        {
+          achievebrief: '1',
+          achieveown: '权属',
+          achievesource: '国家项目',
+          achievestatus: '原理样机',
+          company: '高新技术企业',
+          condition: '1',
+          contacts: '高新技术企业',
+          cooperation: '合作开发',
+          expectations: '1',
+          features: '1',
+          field: '电子信息技术',
+          id: '5f72a7f78ee21ce51c076da7',
+          image: [
+            {
+              url: '/files/image/20200929112017.jpg',
+              _id: '5f72a7f78ee21ce51c076dab',
+            },
+            {
+              url: '/files/image/20200929112021.jpg',
+              _id: '5f72a7f78ee21ce51c076daa',
+            },
+          ],
+          intentionprice: '123',
+          name: '测试专利信息',
+          phone: '18000000008',
+          qqwx: '12345678',
+          roadshow: '/files/roadshow/20200929112010.xlsx',
+          status: '1',
+          team: '1',
+          type: '1',
+          userid: '5f7043b5114497e1d0bb452a',
+        },
+        {
+          achievebrief: '1',
+          achieveown: '权属',
+          achievesource: '国家项目',
+          achievestatus: '原理样机',
+          company: '高新技术企业',
+          condition: '1',
+          contacts: '高新技术企业',
+          cooperation: '合作开发',
+          expectations: '1',
+          features: '1',
+          field: '电子信息技术',
+          id: '5f72a7f78ee21ce51c076da7',
+          image: [
+            {
+              url: '/files/image/20200929112017.jpg',
+              _id: '5f72a7f78ee21ce51c076dab',
+            },
+            {
+              url: '/files/image/20200929112021.jpg',
+              _id: '5f72a7f78ee21ce51c076daa',
+            },
+          ],
+          intentionprice: '123',
+          name: '测试专利信息',
+          phone: '18000000008',
+          qqwx: '12345678',
+          roadshow: '/files/roadshow/20200929112010.xlsx',
+          status: '1',
+          team: '1',
+          type: '1',
+          userid: '5f7043b5114497e1d0bb452a',
+        },
+      ],
       // 技术
       technologyList: [],
       // 商务信息
@@ -607,7 +839,7 @@ export default {
     ...expertsuser({ expertQuery: 'query' }),
     async search() {
       let res = await this.newquery({ skip: 0, limit: 6, type: '1', status: '1' });
-      if (this.$checkRes(res)) this.$set(this, `achieveList`, res.data);
+      // if (this.$checkRes(res)) this.$set(this, `achieveList`, res.data);
       res = await this.newquery({ skip: 0, limit: 6, type: '0', status: '1' });
       if (this.$checkRes(res)) this.$set(this, `technologyList`, res.data);
       res = await this.newquery({ skip: 0, limit: 5, type: '2', status: '1' });
@@ -747,13 +979,12 @@ export default {
       .achieveList {
         position: relative;
         overflow: hidden;
-        height: 213px;
-        margin-top: 10px;
-
+        height: 220px;
+        margin-top: 5px;
         .achieveImage {
           .el-image {
             width: 100%;
-            height: 210px;
+            height: 220px;
             overflow: hidden;
             border-radius: 5px;
             transition: all 0.4s linear;