You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
594 B
34 lines
594 B
4 years ago
|
@import "./styles/iconfont.wxss";
|
||
|
|
||
|
/* 在微信小程序中 不支持通配符 '*' */
|
||
|
page,
|
||
|
view,
|
||
|
text,
|
||
|
swiper,
|
||
|
swiper-item,
|
||
|
image,
|
||
|
navigator {
|
||
|
padding: 0;
|
||
|
margin: 0;
|
||
|
box-sizing: border-box;
|
||
|
}
|
||
|
|
||
|
/*
|
||
|
主题颜色 通过变量来实现
|
||
|
1 less中 存在变量这个知识
|
||
|
2 原生的css和wxss也是支持 变量
|
||
|
*/
|
||
|
page {
|
||
|
/* 定义主题颜色 */
|
||
|
--themeColor: #eb4450;
|
||
|
/*
|
||
|
定义统一字体大小 假设设计稿大小是 375px
|
||
|
1px= 2rpx
|
||
|
14px = 28rpx
|
||
|
*/
|
||
|
font-size: 28rpx;
|
||
|
}
|
||
|
|
||
|
image {
|
||
|
width: 100%;
|
||
|
}
|