yx-navbar.less 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  1. .narBarCon {
  2. width: 100%;
  3. position: relative;
  4. .topBarCon {
  5. width: 100%;
  6. height: 176rpx;
  7. background-image: url('../../static/img/bg.png');
  8. background-size: 100% 100%;
  9. background-repeat: no-repeat;
  10. position: relative;
  11. .itemCon {
  12. color: #fff;
  13. width: 100%;
  14. height: 60rpx;
  15. display: flex;
  16. flex-direction: row;
  17. align-items: center;
  18. padding: 0 40rpx;
  19. box-sizing: border-box;
  20. position: absolute;
  21. left: 0;
  22. bottom: 20rpx;
  23. .leftIcon {
  24. width: 10%;
  25. }
  26. .title {
  27. width: 78%;
  28. text-align: center;
  29. font-size: 36rpx;
  30. overflow: hidden;
  31. white-space: nowrap;
  32. text-overflow: ellipsis;
  33. }
  34. .rightIcon {
  35. width: 12%;
  36. .yuan {
  37. margin-left: 20rpx;
  38. width: 52rpx;
  39. height: 52rpx;
  40. background-color: #fff;
  41. border-radius: 50%;
  42. display: flex;
  43. flex-direction: row;
  44. align-items: center;
  45. justify-content: center;
  46. }
  47. }
  48. }
  49. }
  50. .searchOptions {
  51. width: 100%;
  52. height: auto;
  53. position: absolute;
  54. margin-top: 0px;
  55. z-index: 999;
  56. display: flex;
  57. flex-direction: column;
  58. background-color: #fff;
  59. .myList {
  60. width: 100%;
  61. height: 100rpx;
  62. display: flex;
  63. flex-direction: row;
  64. align-items: center;
  65. justify-content: space-around;
  66. border-bottom: 1px solid #ccc;
  67. .name {
  68. width: 70%;
  69. font-size: 28rpx;
  70. }
  71. }
  72. }
  73. .addMenuCon {
  74. position: absolute;
  75. z-index: 99;
  76. right: 20rpx;
  77. top: 175rpx;
  78. width: 210rpx;
  79. height: 310rpx;
  80. background-color: #444;
  81. border-radius: 12rpx;
  82. color: white;
  83. font-size: 28rpx;
  84. }
  85. .addMenuCon::after {
  86. content: '';
  87. position: absolute;
  88. top: -10rpx;
  89. left: 60%;
  90. width: 0;
  91. height: 0;
  92. border-left: 10rpx solid transparent;
  93. border-right: 10rpx solid transparent;
  94. border-bottom: 10rpx solid #444;
  95. }
  96. .addMenuConZhe {
  97. position: absolute;
  98. z-index: 90;
  99. width: 100vw;
  100. height: 100vh;
  101. top: 0;
  102. left: 0;
  103. }
  104. .close-icon {
  105. position: absolute;
  106. right: 28rpx;
  107. bottom: 28rpx;
  108. }
  109. }