index.wxss 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. .modal-wrapper {
  2. position:relative;
  3. color:#FFFFFF;
  4. height:70rpx;
  5. width:80%;
  6. margin: 0 auto;
  7. z-index:70;
  8. opacity:0.9;
  9. }
  10. .modal-triangle {
  11. position:relative;
  12. margin: 0 auto;
  13. top: 28px;
  14. height:0;
  15. width:0;
  16. border:5px solid #000000;
  17. transform:rotate(45deg);
  18. }
  19. .modal-hidden {
  20. position:fixed;
  21. top:0;
  22. left:0;
  23. width:100%;
  24. height:100%;
  25. background-color:#FFFFFF;
  26. opacity:0;
  27. z-index:69
  28. }
  29. .menu-modal {
  30. height:70rpx;
  31. font-size:14px;
  32. position:absolute;
  33. top:0;
  34. width:100%;
  35. display:flex;
  36. display: -webkit-flex;
  37. -webkit-align-items:center;
  38. align-items:center;
  39. box-sizing:border-box;
  40. }
  41. .menu-modal-item {
  42. color:#FFFFFF;
  43. position:relative;
  44. width:35%;
  45. height:100%;
  46. display:flex;
  47. display: -webkit-flex;
  48. align-items:center;
  49. -webkit-align-items:center;
  50. justify-content:center;
  51. -webkit-justify-content:center;
  52. background-clip: content-box;
  53. background-color:#000000;
  54. }
  55. .menu-modal-item:first-child {
  56. border-top-left-radius: 8px;
  57. border-bottom-left-radius: 8px;
  58. }
  59. .menu-modal-item:last-child {
  60. border-top-right-radius: 8px;
  61. border-bottom-right-radius: 8px;
  62. }
  63. .menu-modal-item + .menu-modal-item {
  64. border-left: 1rpx solid #FFFFFF;
  65. }
  66. .menu-modal-item:active {
  67. background-color: #9e9e9e;
  68. }