123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151 |
- /* #ifndef APP-PLUS-NVUE */
- view,
- scroll-view,
- swiper,
- swiper-item,
- cover-view,
- cover-image,
- icon,
- text,
- rich-text,
- progress,
- button,
- checkbox,
- form,
- input,
- label,
- radio,
- slider,
- switch,
- textarea,
- navigator,
- audio,
- camera,
- image,
- video {
- box-sizing: border-box;
- }
- image{
- display: block;
- }
- text,view{
- line-height: 1;
- /* font-family: Helvetica Neue, Helvetica, sans-serif; */
- }
- button{
- padding: 0;
- margin: 0;
- background-color: rgba(0,0,0,0);
- }
- button:after{
- border: 0;
- }
- /* #endif */
- .clamp {
- /* #ifdef APP-PLUS-NVUE */
- lines: 1;
- /* #endif */
- /* #ifndef APP-PLUS-NVUE */
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
- display: block;
- /* #endif */
- }
- .clamp2 {
- /* #ifdef APP-PLUS-NVUE */
- lines: 2;
- /* #endif */
- /* #ifndef APP-PLUS-NVUE */
- display: -webkit-box;
- -webkit-box-orient: vertical;
- -webkit-line-clamp: 2;
- overflow: hidden;
- /* #endif */
- }
- /* 布局 */
- button {
- margin: 0;
- padding: 0;
- border: 1px solid transparent;
- outline: none;
- background-color: transparent;
- }
- button:active {
- opacity: 0.6;
- }
- .flex-col {
- display: flex;
- flex-direction: column;
- }
- .flex-row {
- display: flex;
- flex-direction: row;
- }
- .justify-start {
- display: flex;
- justify-content: flex-start;
- }
- .justify-center {
- display: flex;
- justify-content: center;
- }
- .justify-end {
- display: flex;
- justify-content: flex-end;
- }
- .justify-evenly {
- display: flex;
- justify-content: space-evenly;
- }
- .justify-around {
- display: flex;
- justify-content: space-around;
- }
- .justify-between {
- display: flex;
- justify-content: space-between;
- }
- .align-start {
- display: flex;
- align-items: flex-start;
- }
- .align-center {
- display: flex;
- align-items: center;
- }
- .align-end {
- display: flex;
- align-items: flex-end;
- }
- .items-start {
- display: flex;
- align-items: flex-start;
- }
- .items-center {
- display: flex;
- align-items: center;
- }
- .items-end {
- display: flex;
- align-items: flex-end;
- }
- .fill{
- flex:1;
- }
- .ml-auto{
- margin-left: auto;
- }
- .mr-auto{
- margin-right: auto;
- }
- ::-webkit-scrollbar{ width: 0; height: 0; color: transparent; }
|