indexes.wxss 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. page {
  2. padding-top: 50px;
  3. }
  4. .indexes {
  5. position: relative;
  6. }
  7. .indexBar {
  8. position: fixed;
  9. right: 0px;
  10. bottom: 0px;
  11. padding: 10px 10px 10px 30px;
  12. display: flex;
  13. align-items: center;
  14. }
  15. .indexBar .indexBar-box {
  16. width: 20px;
  17. height: auto;
  18. background: #fff;
  19. display: flex;
  20. flex-direction: column;
  21. box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  22. border-radius: 5px;
  23. }
  24. .indexBar-item {
  25. flex: 1;
  26. width: 20px;
  27. height: 20px;
  28. display: flex;
  29. align-items: center;
  30. justify-content: center;
  31. font-size: 12px;
  32. color: #888;
  33. }
  34. movable-view.indexBar-item {
  35. width: 20px;
  36. height: 20px;
  37. z-index: 9;
  38. }
  39. movable-view.indexBar-item::before {
  40. content: "";
  41. display: block;
  42. position: absolute;
  43. left: 0;
  44. top: 5px;
  45. height: 10px;
  46. width: 2px;
  47. background-color: #f37b1d;
  48. }
  49. .indexToast{
  50. position: fixed;
  51. top: 0;
  52. right: 40px;
  53. bottom: 0;
  54. background: rgba(0,0,0,0.5);
  55. width: 50px;
  56. height: 50px;
  57. border-radius: 5px;
  58. margin: auto;
  59. color: #fff;
  60. line-height: 50px;
  61. text-align: center;
  62. font-size: 24px;
  63. }