浏览代码

修改样式

zs 1 年之前
父节点
当前提交
fa86c71761

+ 1 - 0
src/views/achievement/detail.vue

@@ -451,6 +451,7 @@ const sizeChange = (limits) => {
           }
           }
         }
         }
         .bottom {
         .bottom {
+          margin: 10px 0 0 0;
           text-align: right;
           text-align: right;
         }
         }
       }
       }

+ 1 - 0
src/views/company/detail.vue

@@ -385,6 +385,7 @@ const sizeChange = (limits) => {
             }
             }
           }
           }
           .bottom {
           .bottom {
+            margin: 10px 0 0 0;
             text-align: right;
             text-align: right;
           }
           }
         }
         }

+ 3 - 3
src/views/demand/detail.vue

@@ -87,10 +87,10 @@
                       </el-tooltip>
                       </el-tooltip>
                     </el-col>
                     </el-col>
                     <el-col :span="24" class="two_1">
                     <el-col :span="24" class="two_1">
-                      <span>技术领域:</span>{{ getDict(item.field || '暂无技术领域', 'field') }}
+                      <span>行业领域:</span>{{ getDict(item.field, 'field') }}
                     </el-col>
                     </el-col>
                     <el-col :span="24" class="two_1">
                     <el-col :span="24" class="two_1">
-                      <span>成果地区:</span>{{ getArea(item.area || '暂无成果地区') }}
+                      <span>需求地区:</span>{{ getArea(item.area) }}
                     </el-col>
                     </el-col>
                     <el-col :span="24" class="two_1">
                     <el-col :span="24" class="two_1">
                       <span>单位:</span>{{ item.user || '暂无单位' }}
                       <span>单位:</span>{{ item.user || '暂无单位' }}
@@ -226,7 +226,7 @@ const toCollection = () => {
 }
 }
 // 查看
 // 查看
 const toView = (item) => {
 const toView = (item) => {
-  router.push({ path: '/achievement/detail', query: { id: item.id || item._id } })
+  router.push({ path: '/demand/detail', query: { id: item.id || item._id } })
 }
 }
 const currentPage = ref(1)
 const currentPage = ref(1)
 // 分页
 // 分页

+ 1 - 1
src/views/expert/detail.vue

@@ -133,7 +133,6 @@ onMounted(async () => {
 })
 })
 const search = async () => {
 const search = async () => {
   let id = route.query.id
   let id = route.query.id
-  console.log(id)
   if (id) {
   if (id) {
     let res = await store.fetch(id)
     let res = await store.fetch(id)
     if (res.errcode == '0') info.value = res.data
     if (res.errcode == '0') info.value = res.data
@@ -323,6 +322,7 @@ const sizeChange = (limits) => {
             }
             }
           }
           }
           .bottom {
           .bottom {
+            margin: 10px 0 0 0;
             text-align: right;
             text-align: right;
           }
           }
         }
         }

+ 6 - 2
src/views/expert/index.vue

@@ -51,6 +51,10 @@
                     <span>研究方向:</span>
                     <span>研究方向:</span>
                     {{ item.direction || '暂无' }}
                     {{ item.direction || '暂无' }}
                   </el-col>
                   </el-col>
+                  <el-col :span="24" class="two_1 textOver">
+                    <span>工作单位:</span>
+                    {{ item.work || '暂无' }}
+                  </el-col>
                   <el-col :span="24" class="bottom">
                   <el-col :span="24" class="bottom">
                     <el-button @click.stop="toChat(item)" type="primary" size="small">
                     <el-button @click.stop="toChat(item)" type="primary" size="small">
                       联络专家
                       联络专家
@@ -296,7 +300,7 @@ const sizeChange = (limits) => {
       box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.03);
       box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.03);
       border-radius: 2px;
       border-radius: 2px;
       width: 285px;
       width: 285px;
-      height: 195px;
+      height: 190px;
       margin-bottom: 15px;
       margin-bottom: 15px;
       cursor: pointer;
       cursor: pointer;
       transition: all 0.3s;
       transition: all 0.3s;
@@ -336,7 +340,7 @@ const sizeChange = (limits) => {
       }
       }
 
 
       .bottom {
       .bottom {
-        margin: 20px 10px;
+        margin: 10px;
         text-align: right;
         text-align: right;
         .button {
         .button {
           font-size: 12px;
           font-size: 12px;

+ 5 - 6
src/views/project/detail.vue

@@ -93,10 +93,10 @@
                       </el-tooltip>
                       </el-tooltip>
                     </el-col>
                     </el-col>
                     <el-col :span="24" class="two_1">
                     <el-col :span="24" class="two_1">
-                      <span>技术领域:</span>{{ getDict(item.field || '暂无技术领域', 'field') }}
+                      <span>行业领域:</span>{{ getDict(item.field || '暂无技术领域', 'field') }}
                     </el-col>
                     </el-col>
                     <el-col :span="24" class="two_1">
                     <el-col :span="24" class="two_1">
-                      <span>成果地区:</span>{{ getArea(item.area) }}
+                      <span>项目地区:</span>{{ getArea(item.area) }}
                     </el-col>
                     </el-col>
                     <el-col :span="24" class="two_1">
                     <el-col :span="24" class="two_1">
                       <span>单位:</span>{{ item.user || '暂无单位' }}
                       <span>单位:</span>{{ item.user || '暂无单位' }}
@@ -137,10 +137,8 @@ import { get } from 'lodash-es'
 const $checkRes = inject('$checkRes')
 const $checkRes = inject('$checkRes')
 // 接口
 // 接口
 import { ProjectStore } from '@/store/api/platform/project'
 import { ProjectStore } from '@/store/api/platform/project'
-import { AchievementStore } from '@/store/api/platform/achievement'
 import { DictDataStore } from '@/store/api/system/dictData'
 import { DictDataStore } from '@/store/api/system/dictData'
 const store = ProjectStore()
 const store = ProjectStore()
-const achievementStore = AchievementStore()
 const dictDataStore = DictDataStore()
 const dictDataStore = DictDataStore()
 import { UserStore } from '@/store/user'
 import { UserStore } from '@/store/user'
 const userStore = UserStore()
 const userStore = UserStore()
@@ -185,7 +183,7 @@ const searchAchieve = async (query = { skip: 0, limit }) => {
     is_use: '0',
     is_use: '0',
     status: '1'
     status: '1'
   }
   }
-  const res = await achievementStore.query(info)
+  const res = await store.query(info)
   if (res.errcode == '0') {
   if (res.errcode == '0') {
     list.value = res.data
     list.value = res.data
     total.value = res.total
     total.value = res.total
@@ -238,7 +236,7 @@ const toCollection = () => {
 }
 }
 // 查看
 // 查看
 const toView = (item) => {
 const toView = (item) => {
-  router.push({ path: '/achievement/detail', query: { id: item.id || item._id } })
+  router.push({ path: '/project/detail', query: { id: item.id || item._id } })
 }
 }
 const currentPage = ref(1)
 const currentPage = ref(1)
 // 分页
 // 分页
@@ -438,6 +436,7 @@ const sizeChange = (limits) => {
           }
           }
         }
         }
         .bottom {
         .bottom {
+          margin: 10px 0 0 0;
           text-align: right;
           text-align: right;
         }
         }
       }
       }

+ 1 - 1
src/views/release/parts/parts/list.vue

@@ -130,7 +130,7 @@ const sizeChange = inject('sizeChange')
       }
       }
 
 
       .bottom {
       .bottom {
-        margin: 20px 10px;
+        margin: 10px;
         text-align: right;
         text-align: right;
         .button {
         .button {
           font-size: 12px;
           font-size: 12px;

+ 2 - 2
src/views/search/parts/list.vue

@@ -74,7 +74,7 @@ const sizeChange = inject('sizeChange')
       box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.03);
       box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.03);
       border-radius: 2px;
       border-radius: 2px;
       width: 285px;
       width: 285px;
-      height: 195px;
+      height: 180px;
       margin-bottom: 15px;
       margin-bottom: 15px;
       cursor: pointer;
       cursor: pointer;
       transition: all 0.3s;
       transition: all 0.3s;
@@ -114,7 +114,7 @@ const sizeChange = inject('sizeChange')
       }
       }
 
 
       .bottom {
       .bottom {
-        margin: 20px 10px;
+        margin: 10px;
         text-align: right;
         text-align: right;
         .button {
         .button {
           font-size: 12px;
           font-size: 12px;