From b1336e3f7fbc43854b6e891578a1d7673ea8e6dd Mon Sep 17 00:00:00 2001 From: inleft <inleft@qq.com> Date: Sun, 27 Feb 2022 23:35:17 +0800 Subject: [PATCH] 弹窗调整 --- src/components/mini/box4-minibox.vue | 19 ++++++++++++------- 1 files changed, 12 insertions(+), 7 deletions(-) diff --git a/src/components/mini/box4-minibox.vue b/src/components/mini/box4-minibox.vue index 1e42eca..2adf1af 100644 --- a/src/components/mini/box4-minibox.vue +++ b/src/components/mini/box4-minibox.vue @@ -2,17 +2,21 @@ <div class="blog-container "> <div> <span class="blog-right-side-portion-title " v-bind:class="{'title-remark':isShowRemark}"> - <router-link :to="link"> + + <span v-if="isShowLink"> + <router-link :to="link"> + {{title}} + </router-link> + </span> + <span v-else> {{title}} - </router-link> + </span> </span> </div> <div class="blog-scroll show-line "> <div class="blog-right-side-meta " v-for="item in list"> <div> - <router-link to="/box1"> - <span class="blog-display-hide-content">{{item.name}}</span> - </router-link> + <span class="blog-display-hide-content">{{item.name}}</span> </div> </div> </div> @@ -24,11 +28,12 @@ export default { props: { link: { - default:"#" + default: "#" }, title: "", list: "", - isShowRemark: false + isShowRemark: false, + isShowLink: false }, data() { return { -- Gitblit v1.9.1