From 247f3fd0ea5ae30a96732f2409f51fcfc33a3c47 Mon Sep 17 00:00:00 2001 From: ynmlzdwsp <2727940448@qq.com> Date: Thu, 4 Jan 2024 21:03:51 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E6=88=90=E6=9F=A5=E8=AF=A2=E5=8A=9F?= =?UTF-8?q?=E8=83=BD=E7=9A=84=E5=89=8D=E7=AB=AF=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/index.vue | 86 ++++++++++++++++++++----- src/components/myAside.vue | 126 ++++++++++++++++++------------------- 2 files changed, 134 insertions(+), 78 deletions(-) diff --git a/src/components/index.vue b/src/components/index.vue index 32567a4..b1d98dc 100644 --- a/src/components/index.vue +++ b/src/components/index.vue @@ -19,21 +19,38 @@
-
- - - - - 点击 -
-

{{a}}

- + +
+
+ 查询DDI +
+
+ +
+ +
+ + + + +
+
+
@@ -64,14 +81,34 @@
-
-
@@ -120,7 +157,13 @@ "author": "", "category": "" }, - articles: [] + articles: [], + tableData: [ + { drugA: "丁螺环酮", drugB: "CYP3A4抑制药", interaction: '服用红霉素、咪唑类抗真菌药等CYP3A4抑制药后,再用本品可使其峰浓度升高,AUC增大' }, + { drugA: "丁螺环酮", drugB: "乙醇和其他中枢抑制药", interaction: '丁螺环酮的代谢加快,使其抗焦虑作用降低' }, + { drugA: "丁螺环酮", drugB: "伊曲康唑", interaction: '可使中枢抑制作用增强' }, + { drugA: "丁螺环酮", drugB: "利福平", interaction: '伊曲康唑通过抑制CYP3A4而减少丁螺环酮的首过效应, 增加其生物利用度' } + ] }; }, @@ -180,6 +223,7 @@ async getArticles() { await this.$http.post(this.$constant.baseURL + "/article/listArticle", this.pagination) + // await this.$http.post("http://localhost:81" + "/system/table1/list", this.pagination) .then((res) => { if (!this.$common.isEmpty(res.data)) { this.articles = this.articles.concat(res.data.records); @@ -414,6 +458,18 @@ box-shadow: 0 0 5px var(--themeBackground); } + .ais-SearchBox-input { + padding: 0 14px; + height: 30px; + width: calc(100% - 50px); + outline: 0; + border: 2px solid var(--lightGreen); + border-right: 0; + border-radius: 40px; + color: var(--maxGreyFont); + background: var(--white); + } + @media screen and (max-width: 1100px) { .recent-posts { width: 100%; diff --git a/src/components/myAside.vue b/src/components/myAside.vue index 81c36e2..81809e3 100644 --- a/src/components/myAside.vue +++ b/src/components/myAside.vue @@ -1,27 +1,27 @@ @@ -159,7 +159,7 @@ export default { components: { - vueSeamlessScroll + // vueSeamlessScroll }, data() { return {