From cf2b42d6827b01288bdd4c4ea0bf4564af0ad143 Mon Sep 17 00:00:00 2001 From: xuyiming Date: Mon, 3 Aug 2020 17:26:51 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A6=96=E9=A1=B5=E6=A0=B7=E5=BC=8F=E4=BC=98?= =?UTF-8?q?=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/shop-list.vue | 49 ++++++++++++++++--------------- src/pages/workbench/workPlace.vue | 21 ++++++------- 2 files changed, 36 insertions(+), 34 deletions(-) diff --git a/src/components/shop-list.vue b/src/components/shop-list.vue index d655f83..d0ce49e 100644 --- a/src/components/shop-list.vue +++ b/src/components/shop-list.vue @@ -2,14 +2,16 @@

- - - +

@@ -20,37 +22,37 @@ import shopCard from "./shop-card"; export default { components: { - shopCard + shopCard, }, props: { name: { type: String, - required: true + required: true, }, to: { type: String, - required: true + required: true, }, detailPath: { type: String, - required: true + required: true, }, data: { type: Array, - default: () => [] + default: () => [], }, showImg: { type: Boolean, - default: false - } + default: false, + }, }, methods: { goto() { if (this.to) { this.$router.push(this.to); } - } - } + }, + }, }; @@ -59,26 +61,25 @@ export default { margin: 13px 20px; } .shop_list-title > span { + display: inline-block; + vertical-align: middle; font-size: 18px; font-weight: bold; color: #0d1847; line-height: 27px; } .shop_list-title > a { - display: inline-flex; - justify-content: center; - align-items: center; + display: inline-block; + vertical-align: middle; + background-image: url("../assets/imgs/home_btn_enter.png"); width: 28px; height: 28px; - background-color: #fff; - border: 1px solid #edeff6; - border-radius: 5px; - overflow: hidden; - margin-left: 10px; + background-size: 100%; + vertical-align: -9px; + margin-left: 5px; } -.shop_list-title > a > i { - font-weight: bolder; - color: #1e3595; +.shop_list-title > a:hover { + background-image: url("../assets/imgs/home_btn_enter_hov.png"); } .shop_cards { display: flex; diff --git a/src/pages/workbench/workPlace.vue b/src/pages/workbench/workPlace.vue index 503d49a..abe7786 100644 --- a/src/pages/workbench/workPlace.vue +++ b/src/pages/workbench/workPlace.vue @@ -57,9 +57,9 @@

- + 数据分析中心 -

+

@@ -158,9 +158,9 @@

- + 数据分析中心 -

+

@@ -201,9 +201,9 @@

- + 数据分析中心 -

+

@@ -235,9 +235,9 @@

- + {{ now_user == 0||now_user == 4 ? "我的服务" : "服务管理" }} -

+

@@ -281,9 +281,9 @@

- + {{ now_user == 0||now_user == 4 ? "我的应用" : "平台应用" }} -

+

@@ -2316,6 +2316,7 @@ export default { height: 28px; background-size: 100%; vertical-align: -9px; + cursor: pointer; margin-left: 5px; } .enter_btn:hover{ -- 2.26.0