common.css 3.1 KB

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