index.wxss 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  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. .tabbar-container.data-v-12929e3c {
  28. position: fixed;
  29. bottom: 0;
  30. left: 0;
  31. z-index: 1;
  32. width: 100%;
  33. height: 120rpx;
  34. display: flex;
  35. align-items: center;
  36. justify-content: space-around;
  37. padding: 5rpx 0;
  38. box-shadow: 0 -20rpx 40rpx 4rpx rgba(0, 0, 0, 0.1);
  39. background-color: rgba(0, 0, 0, 0.1);
  40. }
  41. .tabbar-container .tabbar-item.data-v-12929e3c {
  42. width: 20%;
  43. height: 120rpx;
  44. display: flex;
  45. flex-direction: column;
  46. justify-content: center;
  47. align-items: center;
  48. text-align: center;
  49. }
  50. .tabbar-container .tabbar-item .item-top image.data-v-12929e3c {
  51. width: 50rpx;
  52. height: 50rpx;
  53. }
  54. .tabbar-container .tabbar-item .item-bottom.data-v-12929e3c {
  55. font-size: 28rpx;
  56. width: 100%;
  57. }
  58. .tabbar-container .left.data-v-12929e3c {
  59. flex: 1;
  60. background-color: #fff;
  61. display: flex;
  62. }
  63. .tabbar-container .left_last.data-v-12929e3c {
  64. border-top-right-radius: 20rpx;
  65. }
  66. .tabbar-container .center.data-v-12929e3c {
  67. width: 159rpx;
  68. background: radial-gradient(circle at 50% 0rpx, transparent 80rpx, white 0) top left 100% no-repeat;
  69. position: relative;
  70. }
  71. .tabbar-container .center .item-bottom.data-v-12929e3c {
  72. text-align: center;
  73. line-height: 130rpx;
  74. position: absolute;
  75. background: linear-gradient(45deg, #f84a1a, #ffa53e);
  76. border-radius: 50%;
  77. top: -60rpx;
  78. left: 50%;
  79. -webkit-transform: translateX(-50%);
  80. transform: translateX(-50%);
  81. width: 130rpx;
  82. height: 130rpx;
  83. color: #fff;
  84. font-size: 20px;
  85. }
  86. .tabbar-container .center + .right.data-v-12929e3c {
  87. border-top-left-radius: 20rpx;
  88. }
  89. .tabbar-container .right.data-v-12929e3c {
  90. flex: 1;
  91. background-color: #fff;
  92. display: flex;
  93. }