123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337 |
- @charset "UTF-8";
- /**
- * 这里是uni-app内置的常用样式变量
- *
- * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
- * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
- *
- */
- /**
- * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
- *
- * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
- */
- /* 颜色变量 */
- /* 字体大小变量 */
- /* 行为相关颜色 */
- /* 文字基本颜色 */
- /* 背景颜色 */
- /* 边框颜色 */
- /* 尺寸变量 */
- /* 文字尺寸 */
- /* 图片尺寸 */
- /* Border Radius */
- /* 水平间距 */
- /* 垂直间距 */
- /* 透明度 */
- /* 文章场景相关 */
- page {
- background: #f7f7f7;
- }
- page .all-type-list-wrapper {
- display: flex;
- flex-direction: column;
- }
- /* 加入购物模态层*/
- @-webkit-keyframes showPopup {
- 0% {
- opacity: 0;
- }
- 100% {
- opacity: 1;
- }
- }
- @keyframes showPopup {
- 0% {
- opacity: 0;
- }
- 100% {
- opacity: 1;
- }
- }
- @-webkit-keyframes hidePopup {
- 0% {
- opacity: 1;
- }
- 100% {
- opacity: 0;
- }
- }
- @keyframes hidePopup {
- 0% {
- opacity: 1;
- }
- 100% {
- opacity: 0;
- }
- }
- @-webkit-keyframes showLayer {
- 0% {
- -webkit-transform: translateY(0);
- transform: translateY(0);
- }
- 100% {
- -webkit-transform: translateY(-100%);
- transform: translateY(-100%);
- }
- }
- @keyframes showLayer {
- 0% {
- -webkit-transform: translateY(0);
- transform: translateY(0);
- }
- 100% {
- -webkit-transform: translateY(-100%);
- transform: translateY(-100%);
- }
- }
- @-webkit-keyframes hideLayer {
- 0% {
- -webkit-transform: translateY(-100%);
- transform: translateY(-100%);
- }
- 100% {
- -webkit-transform: translateY(0);
- transform: translateY(0);
- }
- }
- @keyframes hideLayer {
- 0% {
- -webkit-transform: translateY(-100%);
- transform: translateY(-100%);
- }
- 100% {
- -webkit-transform: translateY(0);
- transform: translateY(0);
- }
- }
- @-webkit-keyframes showAmnation {
- 0% {
- top: -12rpx;
- opacity: 0;
- }
- 50% {
- top: -60rpx;
- opacity: 1;
- }
- 100% {
- top: -100rpx;
- opacity: 0;
- }
- }
- @keyframes showAmnation {
- 0% {
- top: -12rpx;
- opacity: 0;
- }
- 50% {
- top: -60rpx;
- opacity: 1;
- }
- 100% {
- top: -100rpx;
- opacity: 0;
- }
- }
- @-webkit-keyframes hideAmnation {
- 0% {
- top: -100rpx;
- opacity: 0;
- }
- 100% {
- top: -12rpx;
- opacity: 0;
- }
- }
- @keyframes hideAmnation {
- 0% {
- top: -100rpx;
- opacity: 0;
- }
- 100% {
- top: -12rpx;
- opacity: 0;
- }
- }
- .popup {
- position: fixed;
- top: 0;
- width: 100%;
- height: 100%;
- z-index: 999;
- display: none;
- }
- .popup .mask {
- position: fixed;
- top: 0;
- width: 100%;
- height: 100%;
- z-index: 21;
- background-color: rgba(0, 0, 0, 0.6);
- }
- .popup .layer {
- position: fixed;
- z-index: 22;
- bottom: -420rpx;
- width: 702rpx;
- padding: 24rpx 24rpx 36rpx 24rpx;
- height: 360rpx;
- border-radius: 20rpx 20rpx 0 0;
- background-color: #fff;
- display: flex;
- flex-wrap: wrap;
- align-content: space-between;
- }
- .popup .layer .content {
- width: 100%;
- margin-top: 40rpx;
- }
- .popup .layer .btn {
- width: 100%;
- height: 88rpx;
- display: flex;
- justify-content: center;
- }
- .popup .layer .btn .button {
- width: 600rpx;
- height: 90rpx;
- color: #fff;
- display: flex;
- align-items: center;
- justify-content: center;
- font-size: 28rpx;
- border-radius: 45rpx;
- }
- .popup .layer .btn .button.buy {
- background: linear-gradient(270deg, #f83c6c 0%, #fc32b4 100%);
- }
- .popup .layer .btn .button.add {
- background: black;
- }
- .popup.show {
- display: block;
- }
- .popup.show .mask {
- -webkit-animation: showPopup 0.2s linear both;
- animation: showPopup 0.2s linear both;
- }
- .popup.show .layer {
- -webkit-animation: showLayer 0.2s linear both;
- animation: showLayer 0.2s linear both;
- }
- .popup.hide {
- display: block;
- }
- .popup.hide .mask {
- -webkit-animation: hidePopup 0.2s linear both;
- animation: hidePopup 0.2s linear both;
- }
- .popup.hide .layer {
- -webkit-animation: hideLayer 0.2s linear both;
- animation: hideLayer 0.2s linear both;
- }
- .popup.none {
- display: none;
- }
- .popup.service .row {
- margin: 30rpx 0;
- }
- .popup.service .row .title {
- font-size: 30rpx;
- margin: 10rpx 0;
- }
- .popup.service .row .description {
- font-size: 28rpx;
- color: #999;
- }
- .popup .layer-smimg {
- border: 1px solid #eee;
- width: 136rpx;
- height: 136rpx;
- float: left;
- border-radius: 10rpx;
- margin-right: 24rpx;
- }
- .popup .layer-smimg image {
- width: 136rpx;
- height: 136rpx;
- border-radius: 10rpx;
- }
- .popup .layer-nunbox {
- justify-content: space-between;
- align-items: center;
- width: 536rpx;
- height: 88rpx;
- padding: 13rpx 0 0 0;
- float: left;
- }
- .popup .layer-nunbox .layer-nunbox-t {
- width: 100%;
- height: 44rpx;
- position: relative;
- display: flex;
- }
- .popup .layer-nunbox .layer-nunbox-t .layer-nunbox-text {
- line-height: 44rpx;
- font-size: 28rpx;
- }
- .popup .layer-nunbox .layer-nunbox-t .number-box {
- display: flex;
- justify-content: center;
- align-items: center;
- border: 2rpx solid #e1e1e1;
- border-radius: 30rpx;
- height: 48rpx;
- margin-left: 20rpx;
- }
- .popup .layer-nunbox .layer-nunbox-t .number-box .iconfont {
- font-size: 24rpx;
- padding: 0 18rpx;
- color: #333333;
- text-align: center;
- line-height: 48rpx;
- font-weight: bold;
- background: #ffffff;
- }
- .popup .layer-nunbox .layer-nunbox-t .number-box .iconfont.icon-jianhao {
- border-radius: 30rpx 0 0 30rpx;
- }
- .popup .layer-nunbox .layer-nunbox-t .number-box .iconfont.icon-jiahao {
- border-radius: 0 30rpx 30rpx 0;
- }
- .popup .layer-nunbox .layer-nunbox-t .number-box .btn-input {
- width: 62rpx;
- height: 44rpx;
- line-height: 44rpx;
- border-radius: 4rpx;
- text-align: center;
- font-size: 24rpx;
- color: #333333;
- background-color: #f7f7f7;
- }
- .popup .layer-nunbox .layer-nunbox-t .product-step {
- position: absolute;
- left: 45rpx;
- bottom: 0;
- height: 44rpx;
- background: #ffffff;
- }
- .popup .layer-nunbox .layer-nunbox-b {
- width: 100%;
- height: 44rpx;
- padding: 8rpx 0 16rpx;
- }
- .popup .layer-nunbox .layer-nunbox-b .text {
- font-weight: bold;
- }
- .popup .layer-nunbox .text {
- line-height: 44rpx;
- font-size: 32rpx;
- }
- .popup .layer-nunbox .text .p {
- color: #ff457b;
- }
- .popup .layer-nunbox .text .p.sm {
- font-size: 24rpx;
- }
|