mirror of
https://gitee.com/vant-contrib/vant-weapp.git
synced 2025-04-06 03:58:05 +08:00
fix: page selector warning (#3137)
This commit is contained in:
parent
eb10549463
commit
dbba552c83
@ -57,3 +57,15 @@ Vant 中默认包含了一些常用样式,可以直接通过 className 的方
|
||||
<!-- 全边框 -->
|
||||
<view class="van-hairline--surround"></view>
|
||||
```
|
||||
|
||||
### 全局字体
|
||||
|
||||
推荐在 app.wxss 中设置以下全局字体,以保证在不同设备上提供最佳的视觉体验。
|
||||
|
||||
```css
|
||||
page {
|
||||
font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Helvetica,
|
||||
Segoe UI, Arial, Roboto, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft Yahei',
|
||||
sans-serif;
|
||||
}
|
||||
```
|
||||
|
@ -3,7 +3,6 @@
|
||||
*/
|
||||
|
||||
@import './style/var.less';
|
||||
@import './style/normalize.less';
|
||||
@import './style/ellipsis.less';
|
||||
@import './style/clearfix.less';
|
||||
@import './style/hairline.less';
|
||||
|
5
packages/common/style/normalize.less
vendored
5
packages/common/style/normalize.less
vendored
@ -1,5 +0,0 @@
|
||||
@import './var';
|
||||
|
||||
page {
|
||||
font-family: @base-font-family;
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user