| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283 |
- image {
- display: block;
- }
- /* 隐藏scroll-view 滚动条 */
- ::-webkit-scrollbar {
- display: none;
- }
- .iPhone-bottom {
- padding-bottom: constant(safe-area-inset-bottom);
- padding-bottom: env(safe-area-inset-bottom);
- }
- /* 不换行 */
- .view-nowrap{
- white-space: nowrap;
- }
- /* 数字和文字不自动换行 */
- .overflowWrap{
- overflowWrap:break-word;
- word-break: break-all;
- }
- /* 自动换行 */
- .view-word-wrap{
- white-space: pre-wrap;
- word-wrap: break-word;
- }
- /*超出三行... */
- .text-overflow-ellipsis-t {
- text-overflow: -o-ellipsis-lastline;
- overflow: hidden;
- text-overflow: ellipsis;
- display: -webkit-box;
- -webkit-line-clamp: 3;
- line-clamp: 3;
- -webkit-box-orient: vertical;
- white-space: pre-wrap;
- word-wrap: break-word;
- }
- /*超出两行... */
- .text-overflow-ellipsis {
- text-overflow: -o-ellipsis-lastline;
- overflow: hidden;
- text-overflow: ellipsis;
- display: -webkit-box;
- -webkit-line-clamp: 2;
- line-clamp: 2;
- -webkit-box-orient: vertical;
- white-space: pre-wrap;
- word-wrap: break-word;
- }
- /*超出一行... */
- .text-overflow-ellipsis-one {
- white-space: nowrap;
- text-overflow: ellipsis;
- overflow: hidden;
- word-break: break-all;
- }
- /* 内部盒子 */
- .box-border-box{
- box-sizing: border-box;
- }
- .flex-common-css {
- width: 100%;
- height: 100vh;
- display: flex;
- flex-direction: column;
- }
- .flex-index-css {
- width: 100%;
- height: 100%;
- display: flex;
- flex-direction: column;
- }
- .flex-direction-column {
- display: flex;
- flex-direction: column;
- }
- .display-flex {
- display: flex;
- }
- .flex-justify-space {
- display: flex;
- justify-content: space-between;
- }
- .flex-justify-around {
- display: flex;
- justify-content: space-around;
- }
- .flex-justify-center {
- display: flex;
- justify-content: center;
- }
- .flex-justify-end {
- display: flex;
- justify-content: flex-end;
- }
- .flex-justify-start {
- display: flex;
- justify-content: flex-start;
- }
- .align-items-start {
- display: flex;
- align-items: flex-start;
- }
- .align-items-center {
- display: flex;
- align-items: center;
- }
- .align-items-flex-end {
- display: flex;
- align-items: flex-end;
- }
- .align-content-space-between{
- align-content: space-between;
- }
- .flex-wrap-wrap {
- display: flex;
- flex-wrap: wrap;
- }
- .common-view-css{
- width: 100%;
- flex: 1;
- }
- .scroll-view-css {
- width: 100%;
- flex: 1;
- overflow: auto;
- }
- .box-sizing-border {
- box-sizing: border-box;
- }
- .text-align-center {
- text-align: center;
- }
- .text-align-right {
- text-align: right;
- }
- .text-align-left {
- text-align: left;
- }
- .flex-1{
- flex: 1;
- }
- .flex-shrink0{
- flex-shrink: 0;
- }
- /* 字体大小 */
- .fs-20{
- font-size: 20rpx;
- }
- .fs-22{
- font-size: 22rpx;
- }
- .fs-24{
- font-size: 24rpx;
- }
- .fs-32{
- font-size: 32rpx;
- }
- .fs-30{
- font-size: 30rpx;
- }
- .fs-40{
- font-size: 40rpx;
- }
- .fs-42{
- font-size: 42rpx;
- }
- /* 字体粗细 */
- .fw-b{
- font-weight: bold;
- }
- .fw-400{
- font-weight: 400;
- }
- .fw-500{
- font-weight: 500;
- }
- .fw-600{
- font-weight: 600;
- }
- /* 字体颜色 */
- .fc-f{
- color: #fff;
- }
- .fc-0{
- color: #000;
- }
- .fc-3{
- color: #333;
- }
- .fc-6{
- color: #666;
- }
- .fc-9{
- color: #999;
- }
- .fc-ED301D{
- color: #ED301D;
- }
- .fc-lv{
- color: #00d563;
- }
- .fc-lan{
- color: #0093dc;
- }
- .fc-074B86{
- color: #074B86;
- }
- .fc-1778FD{
- color: #1778FD;
- }
- /* 背景颜色 */
- .bgc-f{
- background-color: #fff;
- }
- .bgc-c{
- background-color: #ccc;
- }
- .bgc-3{
- background-color: #333;
- }
- .bgc-9{
- background-color: #999;
- }
- .bgc-hui{
- background-color: #dadada;
- }
- .bgc-lv{
- background-color: #3dee96;
- }
- .bgc-lan{
- background-color: #0b90f5;
- }
- .bgc-red{
- background-color: #ff0000;
- }
- /* 内边距 */
- .p-16{
- padding: 16rpx;
- }
- .p-24{
- padding: 24rpx;
- }
- .p-30{
- padding: 30rpx;
- }
- .p-32{
- padding: 32rpx;
- }
- .plr-28{
- padding: 0 28rpx;
- }
- /* 外边距 */
- .m-24{
- margin: 24rpx;
- }
- .mb-25{
- margin-bottom: 25rpx;
- }
- .mb-40{
- margin-bottom: 40rpx;
- }
- .mb-13{
- margin-bottom: 13rpx;
- }
- .mr-10{
- margin-right: 10rpx;
- }
|