123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220 |
- @red:#F01740;
- @grey: #666666;
- @orange: #FF8936;
- @yellow: #46a9a4;
- .red {
- color: #F01740;
- }
- .grey {
- color: #666666;
- }
- .black {
- color: #000000;
- }
- .title {
- font-weight: Medium;
- font-size: 36rpx;
- color: #222222;
- }
- .text-large {
- font-size: 36rpx;
- }
- .text {
- font-size: 30rpx;
-
- }
- .text-left {
- text-align: left;
- }
- .text-center {
- text-align: center;
- }
- .text-small {
- font-size: 24rpx;
-
- }
- .flex {
- display: flex;
- }
- .justify-between {
- justify-content: space-between;
- }
- .flex-aligin-center {
- display: flex;
- align-items: center;
- }
- .flex-justify-between {
- display: flex;
- justify-content: space-between;
- }
- .flex-1 {
- flex: 1;
- }
- .flex-grow-1 {
- flex-grow: 1;
- }
- .fixed-bottom {
- position: fixed;
- bottom: 0;
- left: 0;
- right: 0;
- }
- .w-100 {
- width: 100%;
- }
- .h-100 {
- height: 100%;
- }
- .page-section {
- margin:20rpx;
- border-radius: 20rpx;
- background-color: #ffffff;
- }
- .page-section-spacing {
- padding:20rpx;
- }
- .spacing-small {
- padding: 10rpx;
- }
- .px2rem(@name, @px) {
- @{name}: @px * @base * 1rem;
- }
- @marginList: 4,6,8,10,20,40,60,80,100;
- .generMargin(@i) when (@i < length(@marginList)+1) {
- .margin(extract(@marginList, @i));
- .generMargin(@i+1);
- }
- .margin(@size) {
- .m-@{size} {
- margin: @size + 'rpx';
- }
- }
- .border-trans {
- border: 1px solid transparent;
- }
- .ellipsis{
- width: 100%;
- overflow: hidden;
- text-overflow: ellipsis;
- display: -webkit-box;
- -webkit-line-clamp: 1;
- -webkit-box-orient: vertical;
- }
- .ellipsis-2{
- width: 100%;
- overflow: hidden;
- text-overflow: ellipsis;
- display: -webkit-box;
- -webkit-line-clamp: 2;
- -webkit-box-orient: vertical;
- }
|