From e764e0ebe9023207c25039db684f822b6756a7ec Mon Sep 17 00:00:00 2001 From: haoming <435203093@qq.com> Date: Thu, 18 Aug 2022 01:10:17 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=8A=8Acard=E6=8F=90=E5=8F=96?= =?UTF-8?q?=E4=B8=8A=E4=B8=80=E5=B1=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- page-transformer/src/App.vue | 36 +++-- .../src/components/cards/normal.vue | 97 ++++++------ page-transformer/src/components/grid.vue | 145 +++++++++--------- 3 files changed, 144 insertions(+), 134 deletions(-) diff --git a/page-transformer/src/App.vue b/page-transformer/src/App.vue index 4096d09..511bcd0 100644 --- a/page-transformer/src/App.vue +++ b/page-transformer/src/App.vue @@ -1,26 +1,30 @@ \ No newline at end of file + diff --git a/page-transformer/src/components/cards/normal.vue b/page-transformer/src/components/cards/normal.vue index b2821fa..5d1275a 100644 --- a/page-transformer/src/components/cards/normal.vue +++ b/page-transformer/src/components/cards/normal.vue @@ -10,8 +10,8 @@ background-color: #f7f9fa; border: 1px solid #f7f9fa; -webkit-border-radius: 12px; - -moz-border-radius: 12px; - border-radius: 12px; + -moz-border-radius: 12px; + border-radius: 12px; cursor: pointer; -webkit-transition: all 0.5s; -o-transition: all 0.5s; @@ -25,8 +25,8 @@ background-color: #fff; border-color: #ff915e; -webkit-box-shadow: 0 8px 12px 0 rgba(255, 80, 0, 0.06); - -moz-box-shadow: 0 8px 12px 0 rgba(255, 80, 0, 0.06); - box-shadow: 0 8px 12px 0 rgba(255, 80, 0, 0.06); + -moz-box-shadow: 0 8px 12px 0 rgba(255, 80, 0, 0.06); + box-shadow: 0 8px 12px 0 rgba(255, 80, 0, 0.06); } .card-item .item-link { display: inline-block; @@ -41,16 +41,16 @@ overflow: hidden; background-color: rgba(27, 23, 67, 0.03); -webkit-border-radius: 10px; - -moz-border-radius: 10px; - border-radius: 10px; + -moz-border-radius: 10px; + border-radius: 10px; } .card-item .img-wrapper img { display: block; width: 100%; height: 100%; -webkit-border-radius: 10px; - -moz-border-radius: 10px; - border-radius: 10px; + -moz-border-radius: 10px; + border-radius: 10px; } .card-item .info-wrapper { height: 116px; @@ -90,8 +90,8 @@ vertical-align: top; border: 1px solid #ff5000; -webkit-border-radius: 3px; - -moz-border-radius: 3px; - border-radius: 3px; + -moz-border-radius: 3px; + border-radius: 3px; } .card-item .info-wrapper .tag-list .tag-item.graphic-tag { padding: 0; @@ -104,13 +104,13 @@ } .card-item .info-wrapper .tag-list .tag-item.graphic-tag .left { -webkit-border-radius: 3px 0 0 3px; - -moz-border-radius: 3px 0 0 3px; - border-radius: 3px 0 0 3px; + -moz-border-radius: 3px 0 0 3px; + border-radius: 3px 0 0 3px; } .card-item .info-wrapper .tag-list .tag-item.graphic-tag .right { -webkit-border-radius: 0 3px 3px 0; - -moz-border-radius: 0 3px 3px 0; - border-radius: 0 3px 3px 0; + -moz-border-radius: 0 3px 3px 0; + border-radius: 0 3px 3px 0; } .card-item .info-wrapper .tag-list img { height: 20px; @@ -170,40 +170,45 @@ \ No newline at end of file +
+ +
+ +
+
+
+ {{ data.title }} +
+
+
+ {{ item.text }} +
+
+
+
+ ¥125 +
+
+
+ diff --git a/page-transformer/src/components/grid.vue b/page-transformer/src/components/grid.vue index 77cfe22..05426af 100644 --- a/page-transformer/src/components/grid.vue +++ b/page-transformer/src/components/grid.vue @@ -1,129 +1,130 @@ \ No newline at end of file + +