123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312 |
- @charset "UTF-8";
- /**
- * 这里是uni-app内置的常用样式变量
- *
- * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
- * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
- *
- */
- /* uni.scss */
- /* 页面左右间距 */
- /* 文字尺寸 */
- /* 文字尺寸 */
- /*文字颜色*/
- /* 边框颜色 */
- /* 图片加载中颜色 */
- /* 行为相关颜色 */
- /* 颜色变量 */
- /* 项目主色 */
- /* 文字基本颜色 */
- .red {
- color: #f60808;
- }
- .green {
- color: #15ab54;
- }
- .yellow {
- color: #f0ad4e;
- }
- .blue {
- color: #1f96f6;
- }
- .blank {
- color: #000;
- }
- .white {
- color: #fff;
- }
- .promain {
- color: #025b58;
- }
- .prosecond {
- color: #ed742f;
- }
- .textmain {
- color: #333;
- }
- .textgrey {
- color: #999;
- }
- .fuColor {
- color: #c6cadb;
- }
- .fontssm {
- font-size: 22rpx;
- }
- .fontsm {
- font-size: 24rpx;
- }
- .fontmid {
- font-size: 28rpx;
- }
- .fontbase {
- font-size: 30rpx;
- }
- /* 背景颜色 */
- /* 边框颜色 */
- /* input 样式 */
- .input-placeholder {
- color: #999999;
- }
- .navigator-hover {
- background: transparent !important;
- opacity: 1;
- }
- .uni-page-head-transparent .uni-page-head-btn {
- background: transparent !important;
- }
- uni-toast {
- z-index: 99999;
- }
- button {
- background: transparent;
- }
- button::after {
- border: 0;
- }
- .u-button {
- width: 690rpx;
- background: #ed742e;
- margin-top: 100rpx;
- }
- .u-button .u-button__text {
- color: #fff;
- }
- .u-button--info {
- width: 690rpx;
- background: #ed742e;
- margin-top: 100rpx;
- color: #fff;
- }
- .defaultBtn {
- margin: 0;
- padding: 0;
- }
- /* 骨架屏替代方案 */
- .Skeleton {
- background: #f3f3f3;
- padding: 20rpx 0;
- border-radius: 8rpx;
- }
- /*边框*/
- .b-b:after,
- .b-t:after {
- position: absolute;
- z-index: 3;
- left: 0;
- right: 0;
- height: 0;
- content: '';
- -webkit-transform: scaleY(0.5);
- transform: scaleY(0.5);
- border-bottom: 1px solid #ededed;
- }
- .b-b:after {
- bottom: 0;
- }
- .b-t:after {
- top: 0;
- }
- /* input 样式 */
- .input-placeholder {
- color: #c6cadb;
- }
- .placeholder {
- color: #c6cadb;
- }
- .selIcon {
- width: 28rpx;
- height: 28rpx;
- margin: 0 12rpx;
- }
- .clickbtn {
- width: 690rpx;
- height: 90rpx;
- line-height: 90rpx;
- background: #ed742e;
- font-size: 32rpx;
- text-align: center;
- margin: 40rpx auto 20rpx;
- letter-spacing: 2rpx;
- color: #fff;
- border-radius: 45rpx;
- }
- .bold {
- font-weight: 600;
- }
- .center {
- width: 100%;
- text-align: center;
- }
- .bb {
- border-bottom: 1px solid #eeeded;
- }
- .selAttr {
- font-size: 28rpx;
- height: 52rpx;
- padding: 0 10rpx;
- line-height: 52rpx;
- background: #f9f9f9;
- border-radius: 6rpx;
- color: #999;
- margin-bottom: 15rpx;
- }
- .del {
- font-size: 24rpx;
- color: #999;
- text-decoration: line-through;
- }
- .scrollx {
- display: -webkit-box;
- overflow-x: auto;
- }
- .scrollx::-webkit-scrollbar {
- display: none;
- }
- .flex1 {
- flex: 1;
- }
- /* 一行 */
- .oneelli {
- overflow: hidden;
- white-space: nowrap;
- /* 文字超出宽度则显示ellipsis省略号 */
- text-overflow: ellipsis;
- }
- /* 两行,超出...表示 */
- .elli {
- text-overflow: -o-ellipsis-lastline;
- overflow: hidden;
- text-overflow: ellipsis;
- display: -webkit-box;
- -webkit-line-clamp: 2;
- line-clamp: 2;
- -webkit-box-orient: vertical;
- }
- .nodata,
- .moredata {
- width: 100%;
- padding: 30rpx 0;
- text-align: center;
- color: #999;
- align-items: center;
- justify-content: center;
- }
- .fixBox {
- position: fixed;
- bottom: 0;
- left: 0;
- height: 100rpx;
- width: 100%;
- background-color: #fff;
- }
- .status {
- height: 0;
- }
- /* 常用样式 */
- .dfsb {
- display: flex;
- flex-direction: row;
- justify-content: space-between;
- align-items: center;
- }
- .dfsa {
- display: flex;
- flex-direction: row;
- justify-content: space-around;
- align-items: center;
- }
- .dffs {
- display: flex;
- flex-direction: row;
- justify-content: flex-start;
- align-items: center;
- }
- .dffd {
- display: flex;
- flex-direction: column;
- justify-content: space-between;
- align-items: flex-start;
- }
- /*每个页面公共css */
- page {
- background: #f8f9fe;
- }
- .priceDan {
- font-size: 38rpx;
- font-family: DINPro-Bold, DINPro;
- font-weight: bold;
- color: #f16630;
- line-height: 33rpx;
- display: flex;
- flex-direction: row;
- }
- .priceDan::before {
- content: '¥';
- font-size: 26rpx;
- }
- .mt20 {
- margin-top: 20rpx;
- }
- .mt30 {
- margin-top: 30rpx;
- }
- .pd30 {
- padding: 30rpx;
- }
- .custom-style {
- background-color: #0bb291;
- color: #fff;
- width: 690rpx;
- margin-top: 40rpx;
- }
- 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 {
- color: #333;
- font-family: PingFangSC-Regular, PingFang SC;
- box-sizing: border-box;
- font-size: 32rpx;
- }
|