index.less 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. /* nova-tourism/components/template1/headerComponent/index.wxss */
  2. page{
  3. position: relative;
  4. .header{
  5. width: 100%;
  6. .shadow{
  7. position: fixed;
  8. top: 0;
  9. color: black;
  10. width: 100%;
  11. height: 400rpx;
  12. // background-color:rgba(120, 205, 50, 0.5);
  13. // box-shadow:0px 90rpx 30rpx rgba(112, 197, 42, 0.3);
  14. background-image: linear-gradient(#B7D173 , #FFFFFF00);
  15. display: flex;
  16. padding: 50rpx 10rpx;
  17. // justify-content: space-between;
  18. // align-items: center;
  19. // padding-left: 30rpx;
  20. font-size: 25rpx;
  21. .addressImg{
  22. height: 40rpx;
  23. display: flex;
  24. align-items: center;
  25. image{
  26. width: 30rpx;
  27. height: 40rpx;
  28. margin-right: 10rpx;
  29. }
  30. .address{
  31. font-weight: bold;
  32. }
  33. }
  34. .title{
  35. position: fixed;
  36. left: 50%;
  37. transform: translateX(-50%);
  38. // margin-left: 150rpx;
  39. font-size: 40rpx;
  40. }
  41. }
  42. }
  43. .search{
  44. position: absolute;
  45. top: 150rpx;
  46. left: 50%;
  47. transform: translateX(-50%);
  48. width: 685.2rpx;
  49. height: 72rpx;
  50. background: white;
  51. display: flex;
  52. align-items: center;
  53. padding: 10rpx;
  54. border-radius: 60rpx;
  55. .image{
  56. width: 50rpx;
  57. height: 50rpx;
  58. margin-right: 21rpx;
  59. image{
  60. width: 100%;
  61. height: 100%;
  62. }
  63. }
  64. }
  65. .swiper {
  66. height: 600rpx;
  67. .slide-image {
  68. width: 100%;
  69. height: 98%;
  70. }
  71. }
  72. }