123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396 |
- @import "/icon.wxss";
- @import "/common.wxss";
- page {
- background-color: #f6f6f6;
- font-size: 28rpx;
- font-weight: 400;
- color: #333;
- }
- .i-load-more {
- width: 65%;
- font-size: 24rpx;
- display: flex;
- align-items: center;
- justify-content: center;
- margin: 60rpx auto;
- }
- .i-load-more-loading {
- display: inline-block;
- margin-right: 24rpx;
- vertical-align: middle;
- width: 28rpx;
- height: 28rpx;
- background: 0 0;
- border-radius: 50%;
- border: 4rpx solid #e9eaec;
- border-color: #e9eaec #e9eaec #e9eaec #2d8cf0;
- animation: btn-spin 0.6s linear;
- animation-iteration-count: infinite;
- }
- .i-load-more-tip {
- display: inline-block;
- vertical-align: middle;
- color: #999;
- }
- .i-load-more-line {
- display: flex;
- border-top: 0;
- }
- .i-load-more-line .i-load-more-tip {
- position: relative;
- top: -.1em;
- padding: 0 0.55em;
- }
- .i-load-more-empty {
- width: 8rpx;
- height: 8rpx;
- border-radius: 50%;
- background-color: #e5e5e5;
- display: inline-block;
- position: relative;
- vertical-align: 0;
- top: -.16em;
- }
- @-webkit-keyframes btn-spin {
- 0% {
- transform: rotate(0);
- }
- 100% {
- transform: rotate(360deg);
- }
- }
- @keyframes btn-spin {
- 0% {
- transform: rotate(0);
- }
- 100% {
- transform: rotate(360deg);
- }
- }
- /**首页规格弹窗begin ***/
- .sku-content {
- position: fixed;
- bottom: 0px;
- z-index: 9999;
- }
- .sku-card {
- width: 750rpx;
- box-sizing: border-box;
- border-radius: 30rpx 30rpx 0 0;
- background: #fff;
- overflow: hidden;
- padding: 40rpx 40rpx 0 40rpx;
- padding-bottom: constant(safe-area-inset-bottom);
- padding-bottom: env(safe-area-inset-bottom);
- }
- .sku-card .close {
- position: absolute;
- right: 28rpx;
- top: 28rpx;
- width: 40rpx;
- height: 40rpx;
- display: flex;
- align-items: center;
- justify-content: center;
- }
- .sku-card .close image {
- width: 26rpx;
- height: 26rpx;
- }
- .sku-card .sku-header {
- display: flex;
- align-items: flex-start;
- margin-bottom: 40rpx;
- }
- .sku-card .sku-header .sku-img {
- width: 160rpx;
- height: 160rpx;
- border: 1rpx solid #e4e4e4;
- margin-right: 30rpx;
- }
- .sku-card .sku-header .sku-img image {
- border: none;
- }
- .sku-card .sku-header .sku-desc {
- display: flex;
- flex-direction: column;
- }
- .sku-card .sku-header .sku-desc .sku-title {
- width: 390rpx;
- min-height: 60rpx;
- margin-bottom: 16rpx;
- color: #444;
- font-weight: bold;
- position: relative;
- }
- .sku-card .sku-header .sku-desc .sku-title span {
- position: absolute;
- width: 390rpx;
- height: 60rpx;
- left: 0;
- top: 0;
- font-size: 26rpx;
- line-height: 31rpx;
- display: -webkit-box;
- -webkit-box-orient: vertical;
- -webkit-line-clamp: 2;
- overflow: hidden;
- text-overflow: initial;
- white-space: normal;
- }
- .sku-card .sku-header .sku-price {
- display: flex;
- align-items: flex-end;
- margin-bottom: 12rpx;
- font-size: 24rpx;
- line-height: 24rpx;
- }
- .sku-card .sku-header .sku-price .sale-price {
- color: #ff5344;
- margin-right: 12rpx;
- margin-bottom: -4rpx;
- }
- .sku-card .sku-header .sku-price .sale-price span {
- font-size: 56rpx;
- line-height: 56rpx;
- margin-left: 8rpx;
- font-weight: bold;
- }
- .sku-card .sku-header .sku-price .market-price {
- text-decoration: line-through;
- color: #999;
- margin-right: 30rpx;
- }
- .sku-card .sku-header .sku-switch-on {
- font-size: 24rpx;
- color: #444;
- }
- .sku-card .sku-msg {
- width: 670rpx;
- margin: 0 auto 60rpx;
- border-radius: 16rpx;
- background: linear-gradient(to right, #fff7f0, #fff4ec);
- display: flex;
- align-items: flex-start;
- padding: 20rpx;
- color: #ca7e57;
- box-sizing: border-box;
- }
- .sku-card .sku-msg .tag {
- border-radius: 16rpx;
- border: 1rpx solid #ffa49c;
- font-size: 20rpx;
- line-height: 28rpx;
- font-weight: 500;
- padding: 0 8rpx;
- margin-right: 8rpx;
- color: #ff5344;
- white-space: nowrap;
- vertical-align: middle;
- }
- .sku-card .sku-msg .sku-activity-msg {
- color: #ca7e57;
- font-size: 24rpx;
- line-height: 32rpx;
- width: 540rpx;
- font-weight: 500;
- }
- .sku-card .sku-spec {
- width: 670rpx;
- margin: 0 auto 40rpx;
- display: flex;
- align-items: flex-start;
- }
- .sku-card .sku-spec .title {
- font-size: 26rpx;
- line-height: 50rpx;
- margin-right: 8rpx;
- }
- .sku-card .sku-spec .spec-list {
- width: 600rpx;
- display: flex;
- flex: 1;
- flex-wrap: wrap;
- }
- .sku-card .sku-spec .spec-list span {
- position: relative;
- height: 46rpx;
- background: #f6f6f6;
- border: 2rpx solid #f6f6f6;
- text-align: center;
- line-height: 46rpx;
- font-size: 26rpx;
- margin: 0 8rpx 20rpx 0;
- color: #666;
- border-radius: 46rpx;
- padding: 0 30rpx;
- display: block;
- white-space: nowrap;
- }
- .sku-card .sku-spec .spec-list .on {
- border-color: #ffa49c;
- color: #ff5344;
- background: #fff;
- }
- .sku-card .sku-spec .spec-list .disabled {
- color: #ccc;
- }
- .sku-card .sku-num-content {
- width: 670rpx;
- margin: 0 auto 32rpx;
- display: flex;
- align-items: center;
- }
- .sku-card .sku-num-content .title {
- width: 80rpx;
- font-size: 26rpx;
- line-height: 50rpx;
- }
- .sku-card .sku-num-content .msg {
- width: 420rpx;
- color: #aaa;
- font-size: 26rpx;
- line-height: 50rpx;
- text-align: right;
- }
- .sku-card .sku-num-content .even-num {
- color: #ff5344;
- font-size: 20rpx;
- white-space: nowrap;
- }
- .sku-card .sku-confirm {
- width: 750rpx;
- height: 96rpx;
- background: linear-gradient(to right, #ff5041, #ff695c);
- line-height: 96rpx;
- text-align: center;
- color: #fff;
- font-size: 30rpx;
- margin: 0 0 0 -40rpx;
- padding: 0;
- border-radius: 0;
- font-weight: bold;
- }
- .sku-card button.sku-confirm::after{
- border: 0;
- }
- .sku-card button[disabled].sku-confirm{
- background: #f6f6f6;
- }
- .i-input-number {
- color: #495060;
- display: flex;
- align-items: center;
- position: relative;
- }
- .i-input-number view {
- width: 48rpx;
- height: 48rpx;
- display: inline-block;
- vertical-align: middle;
- }
- .i-input-number view image {
- width: 48rpx;
- height: 48rpx;
- }
- .i-input-number-minus {
- border-right: none;
- border-radius: 4rpx 0 0 4rpx;
- }
- .i-input-number-plus {
- border-left: none;
- border-radius: 0 4rpx 4rpx 0;
- }
- .i-input-number-text {
- text-align: center;
- height: 48rpx;
- width: 66rpx;
- font-size: 24rpx;
- line-height: 48rpx;
- color: #495060;
- z-index: 0;
- }
- /**首页规格弹出end***/
- .mask {
- width: 100%;
- height: 100%;
- background: #000;
- position: fixed;
- left: 0;
- top: 0;
- z-index: 99;
- line-height: 80rpx;
- opacity: 0.5;
- }
- /* 订单提醒begin */
- .order-notify {
- position: fixed;
- left: 0;
- top: 100rpx;
- z-index: 200;
- }
- /* 订单提醒end */
- image {
- will-change: transform;
- }
- .bgDisabled {
- background: #ccc!important;
- }
- /* 安全区域 */
- .safebottom {
- padding-bottom: env(safe-area-inset-bottom) !important;
- }
|