navbar.wxss 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. @charset "UTF-8";
  2. /**
  3. * 这里是uni-app内置的常用样式变量
  4. *
  5. * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
  6. * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
  7. *
  8. */
  9. /**
  10. * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
  11. *
  12. * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
  13. */
  14. /* 颜色变量 */
  15. /* 行为相关颜色 */
  16. /* 文字基本颜色 */
  17. /* 背景颜色 */
  18. /* 边框颜色 */
  19. /* 尺寸变量 */
  20. /* 文字尺寸 */
  21. /* 图片尺寸 */
  22. /* Border Radius */
  23. /* 水平间距 */
  24. /* 垂直间距 */
  25. /* 透明度 */
  26. /* 文章场景相关 */
  27. .placeholder-box.data-v-3f9c1e44 {
  28. height: 35px;
  29. }
  30. .navbar-box.data-v-3f9c1e44 {
  31. position: fixed;
  32. z-index: 100000;
  33. topL: 0;
  34. left: 0;
  35. width: 100%;
  36. height: 35px;
  37. }
  38. .navbar-box .status-bar.data-v-3f9c1e44 {
  39. width: 100%;
  40. float: left;
  41. }
  42. .navbar-box .search-box.data-v-3f9c1e44 {
  43. width: 100%;
  44. height: 45px;
  45. float: left;
  46. }
  47. .navbar-box .search-box .search-input.data-v-3f9c1e44 {
  48. position: relative;
  49. color: #fff;
  50. height: 35px;
  51. line-height: 35px;
  52. border-radius: 50rpx;
  53. margin: 10rpx 20rpx;
  54. background-color: #fff;
  55. color: #666;
  56. }
  57. .navbar-box .search-box .search-input.data-v-3f9c1e44::before {
  58. position: absolute;
  59. content: "\e629";
  60. left: 30rpx;
  61. top: 0rpx;
  62. font-size: 38rpx;
  63. color: #aaa;
  64. }
  65. .navbar-box .search-box .search-input text.data-v-3f9c1e44 {
  66. padding-left: 90rpx;
  67. font-size: 30rpx;
  68. }
  69. .navbar-box .navbar.data-v-3f9c1e44 {
  70. float: left;
  71. width: 100%;
  72. position: relative;
  73. }
  74. .navbar-box .navbar .title.data-v-3f9c1e44 {
  75. width: 100%;
  76. text-align: center;
  77. font-size: 33rpx;
  78. }
  79. .navbar-box .navbar .prevPage.data-v-3f9c1e44 {
  80. position: absolute;
  81. left: 20rpx;
  82. top: 2%;
  83. width: 60rpx;
  84. height: 60rpx;
  85. }
  86. .navbar-box .navbar .prevPage text.data-v-3f9c1e44 {
  87. color: #666;
  88. font-size: 65rpx;
  89. font-weight: bold;
  90. }
  91. .navbar-box .navbar .backPage.data-v-3f9c1e44 {
  92. background-color: rgba(0, 0, 0, 0.5);
  93. border-radius: 50%;
  94. }
  95. .navbar-box .navbar .backPage text.data-v-3f9c1e44 {
  96. color: #fff;
  97. position: absolute;
  98. left: 30%;
  99. top: 50%;
  100. -webkit-transform: translate(-30%, -50%);
  101. transform: translate(-30%, -50%);
  102. }