switchAccount.wxss 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. /* pages/switchAccount/switchAccount.wxss */
  2. @import '../ticketWait/ticketWait';
  3. .tabBar {
  4. position: fixed;
  5. top: 0;
  6. left: 0;
  7. right: 0;
  8. display: flex;
  9. background: #fff;
  10. z-index: 100;
  11. }
  12. .tabItem {
  13. position: relative;
  14. flex: 1;
  15. width: 0;
  16. height: 88rpx;
  17. line-height: 88rpx;
  18. font-size: 30rpx;
  19. color: #666;
  20. text-align: center;
  21. transition: all .3s ease;
  22. }
  23. .tabItem:before {
  24. position: absolute;
  25. bottom: 0;
  26. left: 50%;
  27. margin-left: -47rpx;
  28. content: "";
  29. height: 6rpx;
  30. width: 94rpx;
  31. transform: scaleX(0);
  32. background: #007dff;
  33. transition: all .3s ease;
  34. }
  35. .tabItem.active {
  36. color: #007dff;
  37. }
  38. .tabItem.active:before {
  39. transform: scaleX(1);
  40. }
  41. .list {
  42. padding: 24rpx 24rpx 0;
  43. }
  44. .item {
  45. position: relative;
  46. padding: 36rpx 24rpx 36rpx 140rpx;
  47. background: #fff;
  48. border-radius: 10rpx;
  49. box-shadow: 0 0 20rpx rgba(229, 229, 229, .23);
  50. }
  51. .item+.item {
  52. margin-top: 24rpx;
  53. }
  54. .item .avatar {
  55. position: absolute;
  56. top: 50%;
  57. transform: translateY(-50%);
  58. left: 24rpx;
  59. width: 84rpx;
  60. height: 84rpx;
  61. }
  62. .item .name {
  63. height: 32rpx;
  64. line-height: 32rpx;
  65. font-size: 32rpx;
  66. font-weight: 450;
  67. color: #282828;
  68. }
  69. .item .mobile {
  70. margin-top: 20rpx;
  71. height: 28rpx;
  72. line-height: 28rpx;
  73. font-size: 28rpx;
  74. color: #c4c4c4;
  75. }
  76. .item .selected {
  77. display: block;
  78. position: absolute;
  79. top: 50%;
  80. transform: translateY(-50%);
  81. right: 24rpx;
  82. font-size: 36rpx;
  83. color: #fd482c;
  84. }