yx-navbar.wxss 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. .narBarCon {
  2. width: 100%;
  3. }
  4. .narBarCon .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. }
  12. .narBarCon .topBarCon .itemCon {
  13. color: #fff;
  14. width: 100%;
  15. height: 60rpx;
  16. display: flex;
  17. flex-direction: row;
  18. align-items: center;
  19. padding: 0 40rpx;
  20. box-sizing: border-box;
  21. position: absolute;
  22. left: 0;
  23. bottom: 20rpx;
  24. }
  25. .narBarCon .topBarCon .itemCon .leftIcon {
  26. width: 10%;
  27. }
  28. .narBarCon .topBarCon .itemCon .title {
  29. width: 78%;
  30. text-align: center;
  31. font-size: 36rpx;
  32. }
  33. .narBarCon .topBarCon .itemCon .rightIcon {
  34. width: 12%;
  35. }
  36. .narBarCon .topBarCon .itemCon .rightIcon .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. .narBarCon .searchOptions {
  48. width: 100%;
  49. height: auto;
  50. position: absolute;
  51. margin-top: 0px;
  52. z-index: 999;
  53. display: flex;
  54. flex-direction: column;
  55. background-color: #fff;
  56. }
  57. .narBarCon .searchOptions .myList {
  58. width: 100%;
  59. height: 100rpx;
  60. display: flex;
  61. flex-direction: row;
  62. align-items: center;
  63. justify-content: space-around;
  64. border-bottom: 1px solid #ccc;
  65. }
  66. .narBarCon .searchOptions .myList .name {
  67. width: 70%;
  68. font-size: 28rpx;
  69. }
  70. .narBarCon .addMenuCon {
  71. position: absolute;
  72. z-index: 99;
  73. right: 20rpx;
  74. top: 175rpx;
  75. width: 210rpx;
  76. height: 310rpx;
  77. background-color: #444;
  78. border-radius: 12rpx;
  79. color: white;
  80. font-size: 28rpx;
  81. }
  82. .narBarCon .addMenuCon::after {
  83. content: '';
  84. position: absolute;
  85. top: -10rpx;
  86. left: 60%;
  87. width: 0;
  88. height: 0;
  89. border-left: 10rpx solid transparent;
  90. border-right: 10rpx solid transparent;
  91. border-bottom: 10rpx solid #444;
  92. }
  93. .narBarCon .addMenuConZhe {
  94. position: absolute;
  95. z-index: 90;
  96. width: 100vw;
  97. height: 100vh;
  98. top: 0;
  99. left: 0;
  100. }