From c629a74e3f223e0f65b610a6667759597fde940f Mon Sep 17 00:00:00 2001 From: wangchenguang <728837162@qq.com> Date: Tue, 25 Apr 2023 20:12:27 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/i18n/index.js | 70 ++++++++++++++++- src/mixins/article/index.js | 2 +- src/pages/application/index.vue | 3 +- src/pages/article/index.vue | 4 +- src/pages/careers/index.vue | 2 +- src/pages/column/index.vue | 8 +- src/pages/exp/index.vue | 1 + src/pages/home/index.vue | 11 ++- src/pages/news/index.vue | 5 +- src/pages/org/index.vue | 113 ++++++++++++++++++---------- src/pages/overviewSetup/index.vue | 12 +++ src/pages/publication/monograph.vue | 14 ++-- src/pages/publication/patent.vue | 24 +++--- src/pages/publication/thesis.vue | 12 +-- src/pages/publish/show.vue | 20 ++--- src/pages/sfel/index.vue | 25 ++++-- src/pages/talent/index.vue | 6 +- src/setting.js | 1 + 18 files changed, 233 insertions(+), 100 deletions(-) diff --git a/src/i18n/index.js b/src/i18n/index.js index 46c5d26..9f1e9ce 100644 --- a/src/i18n/index.js +++ b/src/i18n/index.js @@ -24,7 +24,40 @@ export const messages = { all: '全部', readDetail: '阅读详情', offline:'线下', - more: '更多' + more: '更多', + author: '作者', + quote: '引用', + abstract: '摘要', + publicationName: '刊物名称', + yearOfPublication: '出版年份', + year: '年', + rollUp: '卷', + documentNumber: '文献号', + publicationType: '出版物类型', + publicationyear: '发表年度', + pleaseSelectThePublicationTime: '请选择出版时间', + PleaseEnterThePaperName: '请输入论文题目/期刊名称/作者名称', + journalName: '期刊名称', + yearofpublication: '出版年', + patentClassification: '专利类别', + applicationDate: '申请日期', + selectDate: '选择日期', + pleaseEnterPatentOfficer: '请输入专利名称/发明人姓名/申请号员', + patentName: '专利名称', + patentClassification: '专利类别', + ApplicationNumber: '申请号', + ApplicationDate: '申请日期', + AuthorizationDate: '授权日期', + inventor: '发明人', + Pleaseselect: '请选择', + Publicationtime: '出版时间', + PleasenameoftheAuthor: '请输入著作名称/出版社名称/编写人员', + titleOfWork: '著作名称', + press: '出版社', + authorPersion: '编写人员', + seeMore: '查看更多', + inventionpatent: '发明专利', + practicalAppearance: '实用外观' } }, 'en': { @@ -52,7 +85,40 @@ export const messages = { all: 'All', readDetail: 'Read Detail', offline: 'Offline', - more: 'More' + more: 'More', + author: 'Author', + quote: 'Quote', + abstract: 'Abstract', + publicationName: 'PublicationName', + yearOfPublication: 'YearOfPublication', + year: 'Year', + rollUp: 'RollUp', + documentNumber: 'DocumentNumber', + publicationType: 'PublicationType', + publicationyear: 'PublicationYear', + pleaseSelectThePublicationTime: 'Please select the publication time', + PleaseEnterThePaperName: 'Please enter the paper title/journal name/author name', + journalName: 'JournalName', + yearofpublication: 'YearOfpublication', + patentClassification: 'PatentClassification', + applicationDate: 'ApplicationDate', + selectDate: 'SelectDate', + pleaseEnterPatentOfficer: 'Please enter the patent name/inventor name/application number officer', + patentName: 'Patent name', + patentClassification: 'Patent classification', + ApplicationNumber:'Application number', + ApplicationDate: 'Application date', + AuthorizationDate: 'Authorization Date', + inventor: 'Inventor', + Pleaseselect: 'Please select', + Publicationtime: 'Publication time', + PleasenameoftheAuthor: 'Please enter the name of the work/publisher/author', + titleOfWork: 'Title of work', + press: 'press', + authorPersion: 'Author', + seeMore: 'See more', + inventionpatent: 'Invention Patent', + practicalAppearance:'Practical appearance' } } }; \ No newline at end of file diff --git a/src/mixins/article/index.js b/src/mixins/article/index.js index eddd63f..6db219b 100644 --- a/src/mixins/article/index.js +++ b/src/mixins/article/index.js @@ -23,7 +23,7 @@ export default { console.log('menuVisible=>' ,menuVisible) // 跳转链接 if (typeId === 2) { - if ( menuVisible === 1 || to.children.find(i=>i.menuVisible ===1)) return + if ( menuVisible === 1 && to.children.find(i=>i.menuVisible ===1)) return let href = to.linkAddress const cType = to.connectionType if (cType !== 2) { // 非站外链接 diff --git a/src/pages/application/index.vue b/src/pages/application/index.vue index 76a27de..fba0f6b 100644 --- a/src/pages/application/index.vue +++ b/src/pages/application/index.vue @@ -318,10 +318,11 @@ export default { overflow: hidden; } .des { - margin: 14px 0; + margin: 2px 0; font-size: .9rem; color: #333; line-height: 22px; + -webkit-line-clamp: 2; } .meta { font-size: .8rem; diff --git a/src/pages/article/index.vue b/src/pages/article/index.vue index c8a9526..07f78af 100644 --- a/src/pages/article/index.vue +++ b/src/pages/article/index.vue @@ -181,8 +181,8 @@ export default { } } .banner { - height: 14.4rem; - padding: 7.68rem 0 0 22.1875rem; + height: 21.6rem; + padding: 14.68rem 0 0 22.1875rem; font-size: 2.16rem; font-weight: 600; color: #fff; diff --git a/src/pages/careers/index.vue b/src/pages/careers/index.vue index a2b9b1d..22007fe 100644 --- a/src/pages/careers/index.vue +++ b/src/pages/careers/index.vue @@ -295,7 +295,7 @@ export default { z-index: 1; width: 43.333%; height: 100%; - padding: 138px 30px 30px 103px; + padding: 138px 30px 130px 103px; background-color: rgba(54, 54, 54, .65); } .pic { diff --git a/src/pages/column/index.vue b/src/pages/column/index.vue index 51088d3..90bf1ac 100644 --- a/src/pages/column/index.vue +++ b/src/pages/column/index.vue @@ -82,6 +82,8 @@ + @@ -236,7 +238,8 @@ {{ item.onlineLocation }} - {{ $t('column.readDetail') }} + {{ $t('column.readDetail') }} + @@ -781,8 +784,7 @@ export default { color: #333; background: #f7f7f7; border: 0; - border-top-left-radius: 6px; - border-bottom-left-radius: 6px; + border-radius: 6px; &:focus { outline: none; diff --git a/src/pages/exp/index.vue b/src/pages/exp/index.vue index 79984fc..455c269 100644 --- a/src/pages/exp/index.vue +++ b/src/pages/exp/index.vue @@ -149,6 +149,7 @@ export default { font-size: .98rem; color: #333; line-height: 1.7rem; + -webkit-line-clamp: inherit; } } .list { diff --git a/src/pages/home/index.vue b/src/pages/home/index.vue index 0ba0cee..5d14f5f 100644 --- a/src/pages/home/index.vue +++ b/src/pages/home/index.vue @@ -87,7 +87,7 @@