index.wxss 3.0 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. .tabbar-container.data-v-4c8fbffc {
  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-4c8fbffc {
  42. width: 33%;
  43. height: 120rpx;
  44. display: flex;
  45. justify-content: center;
  46. align-items: center;
  47. }
  48. .tabbar-container .tabbar-item .item-right.data-v-4c8fbffc {
  49. margin-left: 30rpx;
  50. font-size: 28rpx;
  51. }
  52. .tabbar-container .tabbar-item .custom-icon-before.data-v-4c8fbffc {
  53. margin-right: 10rpx;
  54. }
  55. .tabbar-container .tabbar-item .custom-icon-before.data-v-4c8fbffc::before {
  56. background: -webkit-linear-gradient(right, #f84a1a, #ffa53e);
  57. -webkit-background-clip: text;
  58. -webkit-text-fill-color: transparent;
  59. font-weight: bold;
  60. }
  61. .tabbar-container .tabbar-item .custom-icon-next.data-v-4c8fbffc {
  62. margin-right: 10rpx;
  63. }
  64. .tabbar-container .tabbar-item .custom-icon-next.data-v-4c8fbffc::before {
  65. background: -webkit-linear-gradient(left, #f84a1a, #ffa53e);
  66. -webkit-background-clip: text;
  67. -webkit-text-fill-color: transparent;
  68. font-weight: bold;
  69. }
  70. .tabbar-container .left.data-v-4c8fbffc {
  71. flex: 1;
  72. background-color: #fff;
  73. border-top-right-radius: 20rpx;
  74. }
  75. .tabbar-container .center.data-v-4c8fbffc {
  76. width: 159rpx;
  77. background: radial-gradient(circle at 50% 0rpx, transparent 80rpx, white 0) top left 100% no-repeat;
  78. position: relative;
  79. }
  80. .tabbar-container .center .center_content.data-v-4c8fbffc {
  81. text-align: center;
  82. line-height: 130rpx;
  83. position: absolute;
  84. background: linear-gradient(45deg, #f84a1a, #ffa53e);
  85. border-radius: 50%;
  86. top: -60rpx;
  87. left: 50%;
  88. -webkit-transform: translateX(-50%);
  89. transform: translateX(-50%);
  90. width: 130rpx;
  91. height: 130rpx;
  92. color: #fff;
  93. font-size: 20px;
  94. }
  95. .tabbar-container .center + .right.data-v-4c8fbffc {
  96. border-top-left-radius: 20rpx;
  97. }
  98. .tabbar-container .right.data-v-4c8fbffc {
  99. flex: 1;
  100. background-color: #fff;
  101. display: flex;
  102. }