1234567891011121314151617181920212223242526272829303132333435 |
- view,scroll-view,swiper,swiper-item,cover-view,cover-image,text,rich-text,progress,button,checkbox,form,input,label,radio,slider,switch,textarea,navigator,audio,camera,image,video {box-sizing: border-box;font-family: "Microsoft YaHei","黑体","宋体",sans-serif;}
- image{width: 100%;height: 100%;}
- view {font-size:28rpx;color:#000;}
- html, body {background-color: #F2F2F2;}
- // 当自定义标题导航栏时修改showTips的位置
- .u-tips{top: var(--status-bar-height) !important;}
- // 低端机型输入框占位符垂直居中兼容问题
- .uni-input-placeholder { top: 50% !important;transform: translateY(-50%); }
- // 表单验证提示文字位置
- .u-form-item{position: relative;}
- .u-form-item__message{position: absolute;padding-left: 0 !important;bottom: -10rpx;left: 0;}
- .row {
- margin-bottom: 20rpx;
- display: flex;
- justify-content: space-between;
- align-items: center;
- line-height: 1;
- &:last-child {
- margin-bottom: 0;
- }
- .col {
- flex: 1;
- display: flex;
- align-items: flex-start;
- text-align: left;
- .label {
- width: 150rpx;
- line-height: 35rpx;
- }
- .value {
- flex: 1;
- line-height: 35rpx;
- }
- }
- }
|