common.css 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. /* 全屏状态栏占位 */
  2. .hold-status-bar{ height: var(--status-bar-height);width: 100%;display: none;}
  3. /* 全屏图片背景 */
  4. .page-bg-wrap{position: fixed;left: 0;right: 0;top: 0;bottom: 0;}
  5. .page-bg{width: 100%;max-height: 100%;}
  6. /* 头部图片 */
  7. .top-img{position: relative;height: 390rpx;overflow: hidden;}
  8. .top-img .img{width: 100%;height: 100%;position: absolute;left: 0;top: 0;z-index: -1;}
  9. .wrap{margin: 24rpx;}
  10. .padding24{padding: 24rpx;}
  11. .wrap40{margin: 32rpx 40rpx;}
  12. .full-btn{height: 98rpx;line-height: 98rpx;background-color: #26D18B;border-radius: 8rpx;font-size: 36rpx;color: #fff;text-align: center;}
  13. /* 浮底按钮 */
  14. .bottom-btn-wrap{height: 146rpx;margin-top: 44rpx;}
  15. .bottom-btn-wrap-bg{position: fixed;left: 0;right: 0;bottom: 0;background-color: #fff;height: inherit;}
  16. .bottom-btn{height: 98rpx;line-height: 98rpx;position: fixed;left: 24rpx;right: 24rpx;bottom: 24rpx;text-align: center;z-index: 99;border-radius: 8rpx;}
  17. .bottom-btn.btn{background-color: #26D18B;color: #fff;}
  18. /* 截取隐藏 */
  19. .f-ellipsis{overflow: hidden;white-space: nowrap;text-overflow: ellipsis;}
  20. .common-content{margin-bottom: 32rpx;border-radius: 16rpx;box-shadow: 0px 0px 12rpx 0px rgba(0, 0, 0, 0.04);background-color: #fff;padding: 24rpx;}
  21. .common-content-title{display: flex;align-items: center;margin-bottom: 24rpx;}
  22. .common-content-icon{width: 45rpx;height: 45rpx;}
  23. .common-content-icon .icon{width: 100%;height: 100%;}
  24. .common-content-til{margin-left: 24rpx;font-size: 32rpx;color: #333;line-height: 45rpx;font-weight: 500;flex: 1;}
  25. .common-content-right{margin-right: 0;display: flex;align-items: center;font-size: 24rpx;color: #999;}
  26. .common-content-right .icon{width: 45rpx;height: 45rpx;margin-right: 18rpx;}
  27. .common-content-blink{margin-top: 6rpx;text-align: center;font-size: 24rpx;color: #26D18B;}
  28. .icon-form-item-wrap{margin-bottom: 32rpx;background-color: #fff;}
  29. .icon-form-item{display: flex;position: relative;height: 104rpx;align-items: center;}
  30. .icon-form-item::after{content: '';position: absolute;right: 0;bottom: 0;width: calc( 100% - 144rpx);height: 2rpx;background-color: #EDEEED;}
  31. .icon-form-item-wrap .icon-form-item:last-of-type::after{height: 0;}
  32. .icon-form-item-wrap .icon-form-item.full-border::after{width: 100%;}
  33. .icon-form-item-imgwrap{width: 144rpx;height: 44rpx;box-sizing: border-box;text-align: right;padding-right: 40rpx;}
  34. .icon-form-item-img{width: 44rpx;height: 100%;}
  35. .icon-form-item-text{flex: 1;font-size: 28rpx;color: #333;}
  36. .icon-form-item-icon{margin-right: 0;width: 68rpx;}
  37. .icon-form-item-icon .iconfont{font-size: 30rpx;color: #ccc;}
  38. /* 头部轮播 */
  39. .swiper-wrap{margin: 0 auto 32rpx;height: 320rpx;overflow: hidden;position: relative;}
  40. .swiper{height: 100%;}
  41. .adv-item{height: 100%;}
  42. .swiper-wrap .pic{width: 100%;height: 100%;}