From 15036a75f47244fb859f067309a8a8288b4b606d Mon Sep 17 00:00:00 2001 From: jin0209 <270246430@qq.com> Date: Thu, 16 Dec 2021 16:22:12 +0800 Subject: [PATCH] fix(footer): css standard --- src/footer/footer.less | 10 +++++----- src/footer/footer.wxml | 16 ++++++++-------- 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/src/footer/footer.less b/src/footer/footer.less index e89c385db..1c1a2eec5 100644 --- a/src/footer/footer.less +++ b/src/footer/footer.less @@ -2,9 +2,9 @@ @import '../common/style/index.less'; @link-color: #266fe8; -@footer-info-font-size: 24rpx; -@footer-item-font-size: 24rpx; -@footer-title-font-size: 32rpx; +@footer-info-font-size: @font-size-s; +@footer-item-font-size: @font-size-s; +@footer-title-font-size: @font-size-m; @footer-info-line-height: 32rpx; @footer-item-line-height: 40rpx; @footer-title-line-height: 48rpx; @@ -37,7 +37,7 @@ margin-bottom: @footer-link-list-margin-bottom; } - &__item { + &__link-item { color: @footer-item-color; font-size: @footer-item-font-size; line-height: @footer-item-line-height; @@ -45,7 +45,7 @@ text-decoration: underline; } - &__item:not(:last-child)::after { + &__link-item:not(:last-child)::after { content: '|'; color: @footer-item-color; display: inline-block; diff --git a/src/footer/footer.wxml b/src/footer/footer.wxml index 8580fd065..fa87b2d0f 100644 --- a/src/footer/footer.wxml +++ b/src/footer/footer.wxml @@ -1,11 +1,11 @@ - + -