header.wxss 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. /* components/header/header.wxss */
  2. .header {
  3. height: 330rpx;
  4. position: fixed;
  5. z-index: 1200;
  6. width: 100%;
  7. }
  8. .header .header-bg {
  9. z-index: 1;
  10. position: absolute;
  11. top: 0;
  12. left: 0;
  13. width: 100vw;
  14. height: 295rpx;
  15. background: #CFEAE5;
  16. }
  17. .header .logo {
  18. width: 150rpx;
  19. height: 150rpx;
  20. z-index: 99;
  21. }
  22. .header .logo.logo-at-left {
  23. position: absolute;
  24. top: 96rpx;
  25. left: 36rpx;
  26. }
  27. .header .logo.logo-at-left .back{
  28. width: 25rpx;
  29. height: 40rpx;
  30. margin-top: 10rpx;
  31. }
  32. .header .logo-image {
  33. width: 100%;
  34. height: 100%;
  35. }
  36. .header .mark-icon{
  37. width: 100%;
  38. height: 295rpx;
  39. position: absolute;
  40. top:0;
  41. right:0;
  42. z-index: 2;
  43. }
  44. .header .mark-icon .mark-image{
  45. width: 100%;
  46. position: absolute;
  47. right: 0;
  48. bottom: 0;
  49. }
  50. .header .search-icon {
  51. position: absolute;
  52. z-index: 99;
  53. top: 260rpx;
  54. left: 30rpx;
  55. height: 65rpx;
  56. width: 530rpx;
  57. }
  58. .header .cart-icon {
  59. position: absolute;
  60. z-index: 99;
  61. top: 260rpx;
  62. right: 30rpx;
  63. height: 65rpx;
  64. width: 146rpx;
  65. }
  66. .header .my-logo{
  67. width: 305rpx;
  68. height: 114rpx;
  69. }