diff --git a/src/views/withmind/assets/index.rem.css b/src/views/withmind/assets/index.rem.css index 11efd19..cfb6d92 100644 --- a/src/views/withmind/assets/index.rem.css +++ b/src/views/withmind/assets/index.rem.css @@ -1316,7 +1316,7 @@ body { overflow-wrap: break-word; color: rgba(153, 153, 153, 1); font-size: 0.373rem; - letter-spacing: 1px; + /* 删 letter-spacing: 1px (newcss 没有这个属性,1px 写死不合理) */ font-family: Source Han Sans CN-Regular; font-weight: NaN; text-align: center; @@ -1521,7 +1521,7 @@ body { overflow-wrap: break-word; color: rgba(153, 153, 153, 1); font-size: 0.426rem; - letter-spacing: 1px; + /* 删 letter-spacing: 1px (newcss 没有这个属性) */ font-family: Source Han Sans CN-Regular; font-weight: NaN; text-align: center; @@ -1988,7 +1988,10 @@ body { overflow-wrap: break-word; color: rgba(22, 22, 22, 1); font-size: 1.44rem; - letter-spacing: 4px; + /* newcss 设计稿:空间(字间距) 4% (相对字号) + 4% of 1.44rem = 0.0576rem (比 4px 0.107rem 小一半) + 用 em 单位: 0.04em = 4% 相对字号,跟着 font-size 缩放 */ + letter-spacing: 0.04em; font-family: Source Han Sans CN-Bold; /* 比照 newcss:font-weight 700(Bold,原 900 Black 偏粗),删除 -webkit-text-stroke 0.5px 模拟加粗 */ font-weight: 700; diff --git a/src/views/withmind/index.vue b/src/views/withmind/index.vue index 5814fd9..71e6791 100644 --- a/src/views/withmind/index.vue +++ b/src/views/withmind/index.vue @@ -85,7 +85,7 @@ />