123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373 |
- .clearfix:after {
- content: '';
- display: block;
- height: 0;
- clear: both;
- visibility: hidden;
- }
- .container {
- width: 100%;
- height: 100%;
- }
- /*android一像素兼容*/
- ::-webkit-scrollbar {
- width: 0;
- height: 0;
- color: transparent;
- display: none;
- }
- button {
- display: block;
- margin-left: auto;
- margin-right: auto;
- padding-left: 0;
- padding-right: 0;
- box-sizing: border-box;
- font-size: $font-size-28;
- text-align: center;
- text-decoration: none;
- line-height: 36rpx;
- border-radius: 0;
- -webkit-tap-highlight-color: transparent;
- overflow: hidden;
- color: $text-color;
- background-color: #ffffff;
- }
- button::after {
- border: none;
- border-radius: 0;
- }
- /*输入框样式*/
- .text-input {
- display: flex;
- align-items: center;
- position: relative;
- width: 654rpx;
- height: 40rpx;
- padding: 24rpx;
- margin: 0 auto;
- background: #f7f7f7;
- .input {
- width: 100%;
- height: 100%;
- background: #f7f7f7;
- font-size: $font-size-28;
- line-height: 40rpx;
- color: #333333;
- }
- &.b-b {
- margin: 32rpx 0;
- }
- }
- /*空列表显示样式*/
- .empty-container {
- display: flex;
- align-items: center;
- justify-content: center;
- flex-direction: column;
- position: fixed;
- left: 0;
- top: 0;
- right: 0;
- bottom: 0;
- background: $bg-color;
- // padding-bottom: 120rpx;
- border-top: 1px solid #ebebeb;
- .club-empty-image {
- width: 200rpx;
- height: 200rpx;
- margin-bottom: 20rpx;
- }
- &-image {
- width: 290rpx;
- height: 230rpx;
- margin-bottom: 10rpx;
- margin-top: -120rpx;
- }
- .error-text {
- font-size: $font-size-28;
- color: #999999;
- line-height: 88rpx;
- }
- .txt {
- font-size: $font-size-28;
- color: #999999;
- line-height: 44rpx;
- }
- .login-btn {
- width: 600rpx;
- height: 88rpx;
- font-size: $font-size-28;
- line-height: 88rpx;
- color: #ffffff;
- margin: 0 auto;
- text-align: center;
- background: $btn-confirm;
- border-radius: 44rpx;
- margin-top: 40rpx;
- position: absolute;
- bottom: 10%;
- }
- }
- /*弹窗*/
- .model-warp.none {
- display: none;
- }
- .model-warp.show {
- display: block;
- }
- .model-warp {
- width: 100%;
- height: 100%;
- background: rgba(0, 0, 0, 0.5);
- position: fixed;
- top: 0;
- left: 0;
- z-index: 8888;
- transition: all 0.4s;
- &.none {
- display: none;
- }
- &.show {
- display: block;
- }
- .model-alert {
- width: 518rpx;
- height: 280rpx;
- position: absolute;
- background: $bg-color;
- left: 0;
- right: 0;
- bottom: 0;
- top: 0;
- margin: auto;
- border-radius: 20rpx;
- .alert-content {
- width: 466rpx;
- height: 100rpx;
- padding: 40rpx 26rpx;
- .t-h1,
- .t-p {
- font-size: $font-size-28;
- line-height: 40rpx;
- color: #333333;
- text-align: justify;
- padding: 10rpx;
- }
- .t-h1 {
- border-bottom: 1px solid $border-color;
- }
- }
- .model-content {
- width: 466rpx;
- height: 152rpx;
- padding: 40rpx 26rpx;
- display: flex;
- flex-direction: column;
- align-items: center;
- .sm {
- display: flex;
- flex: 1;
- line-height: 152rpx;
- flex-direction: column;
- align-items: center;
- text-align: center;
- font-size: $font-size-28;
- color: #333333;
- }
- }
- .alert-btn {
- width: 80%;
- height: 70rpx;
- display: flex;
- margin: 0 auto;
- .btn {
- flex: 1;
- line-height: 70rpx;
- font-size: $font-size-28;
- text-align: center;
- color: #ffffff;
- border-radius: 10rpx;
- padding: 0;
- margin: 0 15rpx;
- &.btn-cancel {
- background: $btn-cancel;
- }
- &.btn-confirm {
- background: $btn-confirm;
- }
- }
- }
- }
- }
- /*
- *上滑加载更多
- */
- .load-more {
- font-size: $font-size-24;
- color: #666;
- text-align: center;
- width: 100%;
- }
- /*底部loading*/
- .loading-wrapper {
- width: 100%;
- height: 60rpx;
- padding: 25rpx 0;
- color: #333;
- font-size: 24rpx;
- display: flex;
- align-items: center;
- justify-content: center;
- }
- .loading-wrapper-now text {
- margin-left: 6rpx;
- font-weight: bold;
- }
- .loading-wrapper-btm {
- color: #eee;
- .btm-text {
- color: #333;
- padding: 0 10rpx;
- }
- }
- /*富文本样式调整*/
- .product-rich-text {
- rich-text.h4,
- rich-text.p,
- rich-text.h2 {
- padding: 0 24rpx;
- }
- }
- .rich-text-temp {
- rich-text.div,
- rich-text.h4,
- rich-text.p {
- line-height: 58rpx;
- }
- rich-text.h4,
- rich-text.p {
- font-size: 30rpx;
- }
- rich-text.div {
- margin-bottom: 30rpx;
- font-size: 28rpx;
- }
- rich-text.img {
- width: 100%;
- height: auto;
- }
- }
- .form-item {
- display: flex;
- color: $text-color;
- margin-top: 74rpx;
- font-size: 26rpx;
- .asterisk {
- color: #ff457b;
- margin-right: 10rpx;
- }
- }
- // 表单提交button
- .submit-btn {
- position: fixed;
- left: 24rpx;
- right: 24rpx;
- bottom: 34rpx;
- z-index: 95;
- display: flex;
- align-items: center;
- justify-content: center;
- width: 702rpx;
- height: 88rpx;
- font-size: $font-size-28;
- line-height: 88rpx;
- color: #ffffff;
- text-align: center;
- background: $btn-confirm;
- border-radius: 44rpx;
- }
- // 小红点
- .uni-badge--small {
- -webkit-transform: scale(0.8);
- -ms-transform: scale(0.8);
- transform: scale(0.8);
- -webkit-transform-origin: center center;
- -ms-transform-origin: center center;
- transform-origin: center center;
- }
- .uni-badge {
- font-family: 'Helvetica Neue', Helvetica, sans-serif;
- -webkit-box-sizing: border-box;
- box-sizing: border-box;
- font-size: 12px;
- line-height: 1;
- display: inline-block;
- padding: 3px 6px;
- color: #333;
- border-radius: 100px;
- background-color: #f1f1f1;
- }
- .uni-badge-error {
- color: #fff;
- background-color: #fc464c;
- }
- /* 加入购物模态层*/
- @keyframes showPopup {
- 0% {
- opacity: 0;
- }
- 100% {
- opacity: 1;
- }
- }
- @keyframes hidePopup {
- 0% {
- opacity: 1;
- }
- 100% {
- opacity: 0;
- }
- }
- @keyframes showLayer {
- 0% {
- transform: translateY(0);
- }
- 100% {
- transform: translateY(-100%);
- }
- }
- @keyframes hideLayer {
- 0% {
- transform: translateY(-100%);
- }
- 100% {
- transform: translateY(0);
- }
- }
- @keyframes showAmnation {
- 0% {
- top: -12rpx;
- opacity: 0;
- }
- 50% {
- top: -60rpx;
- opacity: 1;
- }
- 100% {
- top: -100rpx;
- opacity: 0;
- }
- }
- @keyframes hideAmnation {
- 0% {
- top: -100rpx;
- opacity: 0;
- }
- 100% {
- top: -12rpx;
- opacity: 0;
- }
- }
|