index.scss 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. .nut-ecard {
  2. width: 100%;
  3. &__title {
  4. line-height: 1;
  5. font-size: 15px;
  6. font-family: PingFangSC;
  7. font-weight: normal;
  8. color: rgba(0, 0, 0, 0.6);
  9. }
  10. &__list {
  11. display: flex;
  12. justify-content: space-between;
  13. flex-wrap: wrap;
  14. margin-top: 15px;
  15. &__item {
  16. width: 48%;
  17. height: 46px;
  18. background: $ecard-bg-color;
  19. border-radius: 4px;
  20. margin-bottom: 12px;
  21. display: flex;
  22. justify-content: center;
  23. align-items: center;
  24. &.active {
  25. background: $white;
  26. outline: 1px solid $primary-color;
  27. border-radius: 4px;
  28. }
  29. }
  30. &__input {
  31. width: 100%;
  32. height: 46px;
  33. background: $ecard-bg-color;
  34. color: rgba(0, 0, 0, 0.8);
  35. border-radius: 4px;
  36. display: flex;
  37. padding: 0 15px 0 20px;
  38. font-size: 14px;
  39. justify-content: space-between;
  40. align-items: center;
  41. &--con {
  42. flex: 1;
  43. display: flex;
  44. justify-content: flex-end;
  45. > input {
  46. caret-color: $primary-color; //光标颜色
  47. text-align: right;
  48. background: $ecard-bg-color;
  49. margin-right: 10px;
  50. outline: 0 none;
  51. border: 0;
  52. text-decoration: none;
  53. }
  54. }
  55. &.active {
  56. background: $white;
  57. outline: 1px solid $primary-color;
  58. > view > input {
  59. background: $white;
  60. }
  61. }
  62. }
  63. &__step {
  64. width: 100%;
  65. margin-top: 17px;
  66. display: flex;
  67. justify-content: space-between;
  68. font-size: 20px;
  69. font-family: PingFangSC;
  70. font-weight: normal;
  71. color: $primary-color;
  72. }
  73. }
  74. }