diff --git a/src/components/ArticleDetail/index.vue b/src/components/ArticleDetail/index.vue index 305ba05..0826fbb 100644 --- a/src/components/ArticleDetail/index.vue +++ b/src/components/ArticleDetail/index.vue @@ -27,8 +27,7 @@
-

{{ item.title }}

- {{ DateFormat(new Date(item.published_at * 1000), 'yyyy.MM.dd') }} +

[{{ DateFormat(new Date(item.published_at * 1000), 'yyyy.MM.dd') }}]{{ item.title }}

{{ item.description }}
@@ -230,7 +229,7 @@ const goDetail = (id) => { li{ width: 100%; - height: 428px; + min-height: 428px; background: #D6D6DD; border-radius: 3px; border: 5px solid #D6D6DD; @@ -252,30 +251,29 @@ const goDetail = (id) => { } } .rTitle{ - height: 80px; width: 100%; padding: 20px 10px; display: flex; justify-content: space-between; align-items: center; h2{ - height: 40px; font-weight: bold; font-size: 28px; line-height: 40px; - margin-right: 10px; + // margin-right: 10px; flex: 1; - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; text-align: left; + span{ + font-weight: normal; + padding-right: 5px; + } } - span{ - height: 40px; - line-height: 40px; - display: inline-block; - font-size: 22px; - } + // span{ + // height: 40px; + // line-height: 40px; + // display: inline-block; + // font-size: 22px; + // } } .desc{ margin: 10px; diff --git a/src/layouts/Footer.vue b/src/layouts/Footer.vue index 23d1ba6..626cfc5 100644 --- a/src/layouts/Footer.vue +++ b/src/layouts/Footer.vue @@ -1,27 +1,31 @@ \ No newline at end of file diff --git a/src/views/business/components/CategoryCardList.vue b/src/views/business/components/CategoryCardList.vue index baf7c8e..db77bbb 100644 --- a/src/views/business/components/CategoryCardList.vue +++ b/src/views/business/components/CategoryCardList.vue @@ -8,8 +8,7 @@
-

{{ item.title }}

- {{ DateFormat(new Date(item.published_at * 1000), 'yyyy.MM.dd') }} +

[{{ DateFormat(new Date(item.published_at * 1000), 'yyyy.MM.dd') }}] {{ item.title }}

{{ item.description }}
@@ -120,7 +119,7 @@ const goDetail = (id) => { } li{ width: 100%; - height: 428px; + min-height: 428px; background: #D6D6DD; border-radius: 3px; border: 5px solid #D6D6DD; @@ -142,29 +141,30 @@ const goDetail = (id) => { } } .title{ - height: 80px; + // height: 80px; width: 100%; padding: 20px 10px; display: flex; justify-content: space-between; align-items: center; h2{ - height: 40px; + // height: 40px; font-weight: bold; font-size: 28px; line-height: 40px; - margin-right: 10px; + // margin-right: 10px; flex: 1; - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; - } - span{ - height: 40px; - line-height: 40px; - display: inline-block; - font-size: 22px; + span{ + font-weight: normal; + padding-right: 5px; + } } + // span{ + // height: 40px; + // line-height: 40px; + // display: inline-block; + // font-size: 22px; + // } } .desc{ margin: 0 10px;