123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546 |
- @charset "UTF-8";
- /**
- * 这里是uni-app内置的常用样式变量
- *
- * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
- * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
- *
- */
- /**
- * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
- *
- * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
- */
- /* 颜色变量 */
- /* 行为相关颜色 */
- /* 文字基本颜色 */
- /* 背景颜色 */
- /* 边框颜色 */
- /* 尺寸变量 */
- /* 文字尺寸 */
- /* 图片尺寸 */
- /* Border Radius */
- /* 水平间距 */
- /* 垂直间距 */
- /* 透明度 */
- /* 文章场景相关 */
- page {
- padding-top: 60px;
- }
- .u-flex {
- display: flex;
- flex-direction: row;
- align-items: center;
- }
- .u-flex-wrap {
- flex-wrap: wrap;
- }
- .u-flex-nowrap {
- flex-wrap: nowrap;
- }
- .u-col-center {
- align-items: center;
- }
- .u-col-top {
- align-items: flex-start;
- }
- .u-col-bottom {
- align-items: flex-end;
- }
- .u-row-center {
- justify-content: center;
- }
- .u-row-left {
- justify-content: flex-start;
- }
- .u-row-right {
- justify-content: flex-end;
- }
- .u-row-between {
- justify-content: space-between;
- }
- .u-row-around {
- justify-content: space-around;
- }
- .u-text-left {
- text-align: left;
- }
- .u-text-center {
- text-align: center;
- }
- .u-text-right {
- text-align: right;
- }
- .u-flex-col {
- display: flex;
- flex-direction: column;
- }
- .u-flex-0 {
- flex: 0;
- }
- .u-flex-1 {
- flex: 1;
- }
- .u-flex-2 {
- flex: 2;
- }
- .u-flex-3 {
- flex: 3;
- }
- .u-flex-4 {
- flex: 4;
- }
- .u-flex-5 {
- flex: 5;
- }
- .u-flex-6 {
- flex: 6;
- }
- .u-flex-7 {
- flex: 7;
- }
- .u-flex-8 {
- flex: 8;
- }
- .u-flex-9 {
- flex: 9;
- }
- .u-flex-10 {
- flex: 10;
- }
- .u-flex-11 {
- flex: 11;
- }
- .u-flex-12 {
- flex: 12;
- }
- .ellipsis-1 {
- overflow: hidden;
- text-overflow: ellipsis;
- display: -webkit-box;
- -webkit-line-clamp: 1;
- -webkit-box-orient: vertical;
- }
- .ellipsis-2 {
- overflow: hidden;
- text-overflow: ellipsis;
- display: -webkit-box;
- -webkit-line-clamp: 2;
- -webkit-box-orient: vertical;
- }
- .product {
- padding-bottom: 30rpx;
- padding-right: 20rpx;
- margin-bottom: 30rpx;
- border-bottom: 1px solid #eee;
- }
- .product .text {
- flex: 1;
- margin-left: 50rpx;
- }
- .product .text .name {
- height: 76rpx;
- font-size: 30rpx;
- font-weight: 600;
- color: #333;
- line-height: 38rpx;
- margin-bottom: 16rpx;
- }
- .product .text .price {
- color: #FF3C3F;
- }
- .product .text .price-num {
- font-size: 40rpx;
- font-weight: bold;
- margin-left: 2px;
- }
- .product .text .sales {
- margin-left: 30rpx;
- }
- .product .text .discount {
- padding: 4rpx 14rpx;
- border: 1px solid #FF3C3F;
- border-radius: 2px;
- color: #FF3C3F;
- margin-right: 50rpx;
- }
- .product .text .up {
- margin-bottom: 10rpx;
- }
- .product .text .down {
- font-size: 20rpx;
- }
- .product.small-product .text {
- margin-left: 30rpx;
- }
- .product.small-product .text .name {
- font-size: 26rpx;
- }
- .product.small-product .text .price-num {
- font-size: 30rpx;
- }
- .product.small-product .text .discount {
- margin-right: 5px;
- }
- .icon-nav {
- margin-bottom: 45rpx;
- }
- .icon-nav .u-image {
- margin-bottom: 15rpx;
- }
- .icon-nav .nav-item {
- text-align: center;
- font-size: 22rpx;
- color: #666;
- }
- .half-product-item {
- background-color: #fff;
- margin-bottom: 30rpx;
- width: 48%;
- }
- .half-product-item .down {
- padding: 20rpx;
- }
- .half-product-item .down .name {
- font-size: 30rpx;
- line-height: 42rpx;
- color: #333;
- margin-bottom: 10rpx;
- }
- .half-product-item .down .price-num {
- font-size: 40rpx;
- margin-left: 10rpx;
- }
- .half-product-item:nth-child(even) {
- margin-left: 10rpx;
- }
- .tabs-wrap {
- margin-bottom: 30rpx;
- }
- .tabs-wrap .more {
- font-size: 24rpx;
- color: #999;
- }
- .news .news-item {
- padding-bottom: 30rpx;
- margin-bottom: 30rpx;
- }
- .news .news-item .text {
- margin-left: 20rpx;
- }
- .news .news-item .text .til {
- font-size: 30rpx;
- color: #333;
- line-height: 1.5;
- font-weight: 600;
- margin-bottom: 17rpx;
- }
- .news .news-item .text .time {
- text-align: right;
- color: #999;
- font-size: 24rpx;
- }
- .page-bg {
- position: absolute;
- z-index: -1;
- left: 0;
- top: 0;
- right: 0;
- }
- .page-bg .img {
- width: 100%;
- }
- /*每个页面公共css */
- .u-line-1 {
- display: -webkit-box !important;
- overflow: hidden;
- text-overflow: ellipsis;
- word-break: break-all;
- -webkit-line-clamp: 1;
- -webkit-box-orient: vertical !important;
- }
- .u-line-2 {
- display: -webkit-box !important;
- overflow: hidden;
- text-overflow: ellipsis;
- word-break: break-all;
- -webkit-line-clamp: 2;
- -webkit-box-orient: vertical !important;
- }
- .u-line-3 {
- display: -webkit-box !important;
- overflow: hidden;
- text-overflow: ellipsis;
- word-break: break-all;
- -webkit-line-clamp: 3;
- -webkit-box-orient: vertical !important;
- }
- .u-line-4 {
- display: -webkit-box !important;
- overflow: hidden;
- text-overflow: ellipsis;
- word-break: break-all;
- -webkit-line-clamp: 4;
- -webkit-box-orient: vertical !important;
- }
- .u-line-5 {
- display: -webkit-box !important;
- overflow: hidden;
- text-overflow: ellipsis;
- word-break: break-all;
- -webkit-line-clamp: 5;
- -webkit-box-orient: vertical !important;
- }
- .u-border {
- border-width: 0.5px !important;
- border-color: #dadbde !important;
- border-style: solid;
- }
- .u-border-top {
- border-top-width: 0.5px !important;
- border-color: #dadbde !important;
- border-top-style: solid;
- }
- .u-border-left {
- border-left-width: 0.5px !important;
- border-color: #dadbde !important;
- border-left-style: solid;
- }
- .u-border-right {
- border-right-width: 0.5px !important;
- border-color: #dadbde !important;
- border-right-style: solid;
- }
- .u-border-bottom {
- border-bottom-width: 0.5px !important;
- border-color: #dadbde !important;
- border-bottom-style: solid;
- }
- .u-border-top-bottom {
- border-top-width: 0.5px !important;
- border-bottom-width: 0.5px !important;
- border-color: #dadbde !important;
- border-top-style: solid;
- border-bottom-style: solid;
- }
- .u-reset-button {
- padding: 0;
- background-color: transparent;
- font-size: inherit;
- line-height: inherit;
- color: inherit;
- }
- .u-reset-button::after {
- border: none;
- }
- .u-hover-class {
- opacity: 0.7;
- }
- .u-primary-light {
- color: #ecf5ff;
- }
- .u-warning-light {
- color: #fdf6ec;
- }
- .u-success-light {
- color: #f5fff0;
- }
- .u-error-light {
- color: #fef0f0;
- }
- .u-info-light {
- color: #f4f4f5;
- }
- .u-primary-light-bg {
- background-color: #ecf5ff;
- }
- .u-warning-light-bg {
- background-color: #fdf6ec;
- }
- .u-success-light-bg {
- background-color: #f5fff0;
- }
- .u-error-light-bg {
- background-color: #fef0f0;
- }
- .u-info-light-bg {
- background-color: #f4f4f5;
- }
- .u-primary-dark {
- color: #398ade;
- }
- .u-warning-dark {
- color: #f1a532;
- }
- .u-success-dark {
- color: #53c21d;
- }
- .u-error-dark {
- color: #e45656;
- }
- .u-info-dark {
- color: #767a82;
- }
- .u-primary-dark-bg {
- background-color: #398ade;
- }
- .u-warning-dark-bg {
- background-color: #f1a532;
- }
- .u-success-dark-bg {
- background-color: #53c21d;
- }
- .u-error-dark-bg {
- background-color: #e45656;
- }
- .u-info-dark-bg {
- background-color: #767a82;
- }
- .u-primary-disabled {
- color: #9acafc;
- }
- .u-warning-disabled {
- color: #f9d39b;
- }
- .u-success-disabled {
- color: #a9e08f;
- }
- .u-error-disabled {
- color: #f7b2b2;
- }
- .u-info-disabled {
- color: #c4c6c9;
- }
- .u-primary {
- color: #3c9cff;
- }
- .u-warning {
- color: #f9ae3d;
- }
- .u-success {
- color: #5ac725;
- }
- .u-error {
- color: #f56c6c;
- }
- .u-info {
- color: #909399;
- }
- .u-primary-bg {
- background-color: #3c9cff;
- }
- .u-warning-bg {
- background-color: #f9ae3d;
- }
- .u-success-bg {
- background-color: #5ac725;
- }
- .u-error-bg {
- background-color: #f56c6c;
- }
- .u-info-bg {
- background-color: #909399;
- }
- .u-main-color {
- color: #303133;
- }
- .u-content-color {
- color: #606266;
- }
- .u-tips-color {
- color: #909193;
- }
- .u-light-color {
- color: #c0c4cc;
- }
- .u-safe-area-inset-top {
- padding-top: 0;
- padding-top: constant(safe-area-inset-top);
- padding-top: env(safe-area-inset-top);
- }
- .u-safe-area-inset-right {
- padding-right: 0;
- padding-right: constant(safe-area-inset-right);
- padding-right: env(safe-area-inset-right);
- }
- .u-safe-area-inset-bottom {
- padding-bottom: 0;
- padding-bottom: constant(safe-area-inset-bottom);
- padding-bottom: env(safe-area-inset-bottom);
- }
- .u-safe-area-inset-left {
- padding-left: 0;
- padding-left: constant(safe-area-inset-left);
- padding-left: env(safe-area-inset-left);
- }
- ::-webkit-scrollbar {
- display: none;
- width: 0 !important;
- height: 0 !important;
- -webkit-appearance: none;
- background: transparent;
- }
- .page-wrap {
- padding: 20rpx;
- }
- .search-wrap {
- background-color: #fff;
- position: relative;
- padding: 20rpx;
- margin-bottom: 24rpx;
- }
- .search-wrap::after {
- content: "";
- position: absolute;
- width: 100%;
- height: 14rpx;
- bottom: -20rpx;
- left: 0;
- background: linear-gradient(to bottom, #F5F5F5, #fff);
- z-index: -1;
- }
- .vip-icon {
- font-weight: bold;
- background: linear-gradient(180deg, #FFD49C 0%, #C27D22 100%);
- -webkit-background-clip: text;
- -webkit-text-fill-color: transparent;
- margin-left: 10rpx;
- }
- .gray {
- color: #999;
- }
- .red {
- color: #FF3C3F;
- }
- .line-through {
- text-decoration: line-through;
- }
- .view-wrap {
- padding: 30rpx 20rpx;
- }
- .full-btn {
- background-color: #00A447;
- color: #fff;
- border-radius: 44rpx;
- padding: 22rpx 0;
- text-align: center;
- margin-bottom: 40rpx;
- margin-top: 20rpx;
- }
- .view-wrap {
- background-color: #fff;
- border-bottom: 10rpx solid #F5F5F5;
- }
- .single-til {
- margin-bottom: 20rpx;
- }
- .single-til .text {
- font-size: 32rpx;
- color: #333;
- font-weight: 600;
- }
- .single-til .more-text {
- font-size: 24rpx;
- color: #999;
- }
|