index.wxss 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  1. .main {
  2. position: relative;
  3. width: 100%;
  4. background-color: #ffffff;
  5. padding: 20px 0 0 0;
  6. }
  7. .one {
  8. border-bottom: 1px solid #dddddd;
  9. margin: 0 20px;
  10. height: 40px;
  11. }
  12. .text {
  13. position: relative;
  14. top: 10px;
  15. width: 40%;
  16. }
  17. .input {
  18. position: relative;
  19. text-align: right;
  20. left: 130px;
  21. top: -10px;
  22. width: 60%;
  23. font-size: 14px;
  24. }
  25. .input1 {
  26. position: relative;
  27. text-align: right;
  28. left: 85px;
  29. top: -8px;
  30. width: 50%;
  31. font-size: 14px;
  32. }
  33. .input2 {
  34. width: 50px;
  35. position: relative;
  36. text-align: right;
  37. left: 260px;
  38. top: -27px;
  39. font-size: 14px;
  40. }
  41. .button {
  42. position: relative;
  43. top: 50px;
  44. width: 300px !important;
  45. background-image: linear-gradient(to right, #fd3c1e, #c74df0);
  46. border-radius: 30px;
  47. color: #ffffff;
  48. text-align: center;
  49. font-size: small;
  50. }
  51. .top-text {
  52. float: left;
  53. }
  54. /* 下拉框 */
  55. .top-selected {
  56. width: 50%;
  57. display: flex;
  58. float: right;
  59. align-items: center;
  60. justify-content: space-between;
  61. padding: 0 10rpx;
  62. z-index: 999;
  63. font-size: 30rpx;
  64. }
  65. /* 下拉内容 */
  66. .select_box {
  67. background-color: #fff;
  68. padding: 0 20rpx;
  69. width: 50%;
  70. float: right;
  71. position: relative;
  72. right: 0;
  73. z-index: 1;
  74. overflow: hidden;
  75. text-align: left;
  76. animation: myfirst 0.5s;
  77. font-size: 30rpx;
  78. }
  79. .select_one {
  80. padding-left: 20rpx;
  81. width: 100%;
  82. height: 60rpx;
  83. position: relative;
  84. z-index: 1;
  85. line-height: 60rpx;
  86. border-bottom: 1px solid #ccc;
  87. }
  88. /* 下拉过度效果 */
  89. @keyframes myfirst {
  90. from {
  91. height: 0rpx;
  92. }
  93. to {
  94. height: 210rpx;
  95. }
  96. }