header.wxss 1.0 KB

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