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 {