| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415 |
- @charset "UTF-8";
- /**
- * 这里是uni-app内置的常用样式变量
- *
- * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
- * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
- *
- */
- /**
- * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
- *
- * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
- */
- /* 颜色变量 */
- /* 行为相关颜色 */
- page {
- /* 定义一些主题色及基础样式 */
- font-family: PingFang SC, Arial, Hiragino Sans GB, Microsoft YaHei, sans-serif;
- font-size: 28rpx;
- color: #333333;
- padding-bottom: env(safe-area-inset-bottom);
- background-color: #F6F6F6;
- }
- .bold {
- font-weight: bold;
- }
- /* 定义字体颜色 */
- .primary {
- color: #FF2C3C;
- }
- .bg-primary {
- background-color: #FF2C3C;
- }
- .bg-white {
- background-color: #ffffff;
- }
- .bg-body {
- background-color: #F6F6F6;
- }
- .bg-gray {
- background-color: #E5E5E5;
- }
- .black {
- color: #101010;
- }
- .white {
- color: #ffffff;
- }
- .normal {
- color: #333333;
- }
- .lighter {
- color: #666666;
- }
- .muted {
- color: #999999;
- }
- /* 定义字体大小 */
- .xxl {
- font-size: 36rpx;
- }
- .xl {
- font-size: 34rpx;
- }
- .lg {
- font-size: 32rpx;
- }
- .md {
- font-size: 30rpx;
- }
- .nr {
- font-size: 28rpx;
- }
- .sm {
- font-size: 26rpx;
- }
- .xs {
- font-size: 24rpx;
- }
- .xxs {
- font-size: 22rpx;
- }
- /* 定义常用外边距 */
- .ml5 {
- margin-left: 5rpx;
- }
- .ml10 {
- margin-left: 10rpx;
- }
- .ml20 {
- margin-left: 20rpx;
- }
- .ml30 {
- margin-left: 30rpx;
- }
- .mr5 {
- margin-right: 5rpx;
- }
- .mr10 {
- margin-right: 10rpx;
- }
- .mr20 {
- margin-right: 20rpx;
- }
- .mr30 {
- margin-right: 30rpx;
- }
- .mt5 {
- margin-top: 5rpx;
- }
- .mt10 {
- margin-top: 10rpx;
- }
- .mt20 {
- margin-top: 20rpx;
- }
- .mt30 {
- margin-top: 30rpx;
- }
- .mb5 {
- margin-bottom: 5rpx;
- }
- .mb10 {
- margin-bottom: 10rpx;
- }
- .mb20 {
- margin-bottom: 20rpx;
- }
- .mb30 {
- margin-bottom: 30rpx;
- }
- /* 定义常用的弹性布局 */
- .flex1 {
- flex: 1;
- }
- .flexnone {
- flex: none;
- }
- .wrap {
- flex-wrap: wrap;
- }
- .row {
- display: flex;
- align-items: center;
- }
- .row-center {
- display: flex;
- align-items: center;
- justify-content: center;
- }
- .row-end {
- display: flex;
- align-items: center;
- justify-content: flex-end;
- }
- .row-between {
- display: flex;
- align-items: center;
- justify-content: space-between;
- }
- .row-around {
- display: flex;
- align-items: center;
- justify-content: space-around;
- }
- .column {
- display: flex;
- flex-direction: column;
- justify-content: center;
- }
- .column-center {
- display: flex;
- flex-direction: column;
- align-items: center;
- justify-content: center;
- }
- .column-around {
- display: flex;
- flex-direction: column;
- align-items: center;
- justify-content: space-around;
- }
- .column-end {
- display: flex;
- flex-direction: column;
- align-items: center;
- justify-content: flex-end;
- }
- .column-between {
- display: flex;
- flex-direction: column;
- align-items: center;
- justify-content: space-between;
- }
- /* 超出隐藏 */
- .line1 {
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
- }
- .line2 {
- word-break: break-all;
- display: -webkit-box;
- -webkit-line-clamp: 2;
- -webkit-box-orient: vertical;
- overflow: hidden;
- }
- /* 中划线 */
- .line-through {
- text-decoration: line-through;
- }
- /* br60 */
- .br60 {
- border-radius: 60rpx;
- }
- /* 初始化按钮 */
- page button {
- padding: 0;
- margin: 0;
- background-color: transparent;
- font-weight: normal;
- font-size: 28rpx;
- overflow: unset;
- margin-left: 0;
- margin-right: 0;
- }
- page button::after {
- border: none;
- }
- button[type=primary] {
- background-color: #FF2C3C;
- }
- .button-hover[type=primary] {
- background-color: #FF2C3C;
- }
- button[disabled][type=primary] {
- background-color: #FF2C3C;
- }
- /* 按钮大小 */
- button[size="xs"] {
- line-height: 58rpx;
- height: 58rpx;
- font-size: 26rpx;
- padding: 0 30rpx;
- }
- button[size="sm"] {
- line-height: 62rpx;
- height: 62rpx;
- font-size: 28rpx;
- padding: 0 30rpx;
- }
- button[size="md"] {
- line-height: 70rpx;
- height: 70rpx;
- font-size: 30rpx;
- padding: 0 30rpx;
- }
- button[size="lg"] {
- line-height: 80rpx;
- height: 80rpx;
- font-size: 32rpx;
- padding: 0 30rpx;
- }
- .icon-xs {
- min-height: 28rpx;
- min-width: 28rpx;
- height: 28rpx;
- width: 28rpx;
- vertical-align: middle;
- }
- .icon-sm {
- min-height: 30rpx;
- min-width: 30rpx;
- height: 30rpx;
- width: 30rpx;
- vertical-align: middle;
- }
- .icon {
- min-height: 34rpx;
- min-width: 34rpx;
- height: 34rpx;
- width: 34rpx;
- vertical-align: middle;
- }
- .icon-md {
- min-height: 44rpx;
- min-width: 44rpx;
- height: 44rpx;
- width: 44rpx;
- vertical-align: middle;
- }
- .icon-lg {
- min-height: 52rpx;
- min-width: 52rpx;
- height: 52rpx;
- width: 52rpx;
- vertical-align: middle;
- }
- .icon-xl {
- min-height: 64rpx;
- min-width: 64rpx;
- height: 64rpx;
- width: 64rpx;
- vertical-align: middle;
- }
- .icon-xxl {
- min-height: 120rpx;
- min-width: 120rpx;
- height: 120rpx;
- width: 120rpx;
- vertical-align: middle;
- }
- .img-null {
- width: 300rpx;
- height: 300rpx;
- }
- /* 隐藏滚动条 */
- ::-webkit-scrollbar {
- width: 0;
- height: 0;
- color: transparent;
- }
- /* 单选 */
- radio .uni-radio-input {
- border-radius: 50%;
- width: 34rpx;
- height: 34rpx;
- }
- radio .uni-radio-input {
- border-radius: 50%;
- width: 34rpx;
- height: 34rpx;
- }
- radio .uni-radio-input.uni-radio-input-checked {
- border: 1px solid #FF2C3C !important;
- background-color: #FF2C3C !important;
- }
- /* 多选 */
- checkbox .uni-checkbox-input {
- border-radius: 50%;
- width: 34rpx;
- height: 34rpx;
- }
- checkbox .uni-checkbox-input.uni-checkbox-input-checked {
- border: 1px solid #FF2C3C !important;
- background-color: #FF2C3C !important;
- color: #fff !important;
- }
- checkbox .uni-checkbox-input.uni-checkbox-input-checked::before {
- font-size: 35rpx;
- }
- /* 单选 */
- radio .wx-radio-input {
- border-radius: 50%;
- width: 34rpx;
- height: 34rpx;
- }
- radio .wx-radio-input {
- border-radius: 50%;
- width: 34rpx;
- height: 34rpx;
- }
- radio .wx-radio-input.wx-radio-input-checked {
- border: 1px solid #FF2C3C !important;
- background-color: #FF2C3C !important;
- }
- /* 多选 */
- checkbox .wx-checkbox-input {
- border-radius: 50%;
- width: 34rpx;
- height: 34rpx;
- }
- checkbox .wx-checkbox-input.wx-checkbox-input-checked {
- border: 1px solid #FF2C3C !important;
- background-color: #FF2C3C !important;
- color: #fff !important;
- }
- checkbox .wx-checkbox-input.wx-checkbox-input-checked::before {
- font-size: 35rpx;
- }
- .group-list {
- min-height: calc(100vh - 80rpx);
- padding: 0 20rpx;
- overflow: hidden;
- }
- .group-list .item {
- border-radius: 10rpx;
- position: relative;
- }
- .group-list .item .group-header {
- height: 80rpx;
- padding: 0 24rpx;
- border-bottom: 1px dotted #E5E5E5;
- }
- .group-list .item .team-chief {
- position: absolute;
- z-index: 100;
- top: 105rpx;
- padding: 4rpx 20rpx;
- border-radius: 0 60rpx 60rpx 0;
- background: linear-gradient(87deg, #F95F2F 0%, #FF2C3C 100%);
- }
- .group-list .item .all-price {
- text-align: right;
- padding: 0 24rpx 20rpx;
- }
- .group-list .item .group-footer {
- height: 100rpx;
- border-top: 1px solid #E5E5E5;
- padding: 0 24rpx;
- }
- .group-list .item .group-footer .btn {
- width: 244rpx;
- }
|