parent
6b7f684ac0
commit
e1f0a5ca1c
@ -0,0 +1,34 @@
|
|||||||
|
@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%;
|
||||||
|
}
|
Loading…
Reference in new issue