diff --git a/public/video.mp4 b/public/video.mp4 new file mode 100644 index 0000000000000000000000000000000000000000..60dc1547666f03a76e254081fe401103f5987378 Binary files /dev/null and b/public/video.mp4 differ diff --git a/src/components/layout/index.vue b/src/components/layout/index.vue index 356457bb56618c1b6a3ff4cb0e6054009e6babc1..d0ed4ce13ffde54a42774b4d44395342e3700702 100644 --- a/src/components/layout/index.vue +++ b/src/components/layout/index.vue @@ -104,10 +104,10 @@ export default { route: "/allianceintroduction", name: "联盟介绍", }, - { - route: "/healthpopularization", - name: "健康科普", - }, + // { + // route: "/healthpopularization", + // name: "健康科普", + // }, { route: "/scientificresearch", name: "科学研究", diff --git a/src/layouts/components/NavBar/index.vue b/src/layouts/components/NavBar/index.vue index f97534248f0e0a7db3c9d8f4803cd6f67e753192..441814ab8025c2e84ce5cb4e6d967644757d3eeb 100644 --- a/src/layouts/components/NavBar/index.vue +++ b/src/layouts/components/NavBar/index.vue @@ -7,7 +7,7 @@
-
+
-
    +
    -
    +
    • { @@ -160,7 +160,8 @@ export default { } } .right_list { - width: calc(100% - 208px); + width: 100%; + // width: calc(100% - 208px); height: 760px; background: #ffffff; border-radius: 4px; diff --git a/src/views/Home/index.vue b/src/views/Home/index.vue index f5546c7b6eb9dc2ad03af55327699383e8468915..dbebfe7c0cedc2a75cc7d8af920ea8ab8991d8af 100644 --- a/src/views/Home/index.vue +++ b/src/views/Home/index.vue @@ -2,7 +2,7 @@
      -
      +
      @@ -15,7 +15,10 @@ :label="e.title" :name="index + 1 + ''" > -
        +
        • -
          +
          @@ -178,9 +181,9 @@
            { + console.log(e.target.clientHeight) + this.videoHeight = e.target.clientHeight - 66 + "px" + }) }) + + window.onresize = () => + (() => { + this.$nextTick(() => { + this.videoHeight = + document.querySelector("video").clientHeight - 66 + "px" + }) + })() + }, + beforeDestroy() { + window.onresize = () => {} }, methods: { setPdf(item) { @@ -334,7 +358,10 @@ export default { item.filePath[0].uuidName }, handleClick() { + // if (this.curTab == "4") { + // } else { this.getArticleList(this.curTab) + // } }, // 获取新闻会议tab的数据 getArticleList(moduleType) { @@ -348,7 +375,7 @@ export default { articleList(params) .then((res) => { if (res.code == 1) { - if (["1", "2", "3"].includes(moduleType)) { + if (["1", "2", "3", "4"].includes(moduleType)) { this.noticeList = [...res.data.records] } if (["6"].includes(moduleType)) { @@ -393,7 +420,7 @@ export default { .video { width: 100%; border-radius: 5px; - height: 420px; + // height: 420px; object-fit: fill; } } @@ -402,7 +429,6 @@ export default { border-radius: 8px; overflow: hidden; .tabslist { - height: 352px; padding-right: 8px; overflow: hidden; display: flex; @@ -436,7 +462,7 @@ export default { } } .videoboxs { - height: 100%; + // height: 100%; } } .dataAnalysis { diff --git a/src/views/followupentry/index.vue b/src/views/followupentry/index.vue index e740b2f028aa41e293d0b0ce99b25babe7b67f80..597cb9238b25893e8b6f030e63b2325eadc32b62 100644 --- a/src/views/followupentry/index.vue +++ b/src/views/followupentry/index.vue @@ -15,6 +15,7 @@ :patient-id="patientId" :screenList="screenList" @refreshData="refreshData" + @changeShow="changeShow" >
          @@ -78,6 +79,9 @@ export default { }) }, methods: { + changeShow() { + this.$emit("changeShow") + }, refreshData(data) { // this.refreshFlag = false // this.$nextTick(() => { diff --git a/src/views/followupquery/index.vue b/src/views/followupquery/index.vue index 8cd7aa7bc87bf346f479d82232bb069fa5a83410..40dac6d480cb8460ce964bc4a86258656c24c055 100644 --- a/src/views/followupquery/index.vue +++ b/src/views/followupquery/index.vue @@ -1,7 +1,7 @@