style.scss 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. @import "../../style/common";
  2. .address-picker{
  3. position: fixed;
  4. top: 0;
  5. left: 0;
  6. right: 0;
  7. bottom: 0;
  8. background-color: rgba(0,0,0,0.5);
  9. z-index: 999999;
  10. transition: .3s;
  11. }
  12. .address-picker-header{
  13. height: 100upx;
  14. border-bottom: 1upx solid #eee;
  15. padding: 0 30upx;
  16. }
  17. .flex{
  18. display: flex;
  19. flex-direction: column;
  20. }
  21. .flex-1{
  22. flex: 1;
  23. }
  24. .jCenter{
  25. justify-content: center;
  26. }
  27. .address-picker-bottom{
  28. background-color: #fff;
  29. transition: .3s;
  30. border-radius: 20upx 20upx 0 0;
  31. }
  32. .address-picker-control{
  33. width: 100upx;
  34. height: 100upx;
  35. font-size: 30upx;
  36. }
  37. .address-picker-cancel{
  38. color: #999;
  39. }
  40. .address-picker-confirm{
  41. color: #41AE3C;
  42. }
  43. .address-picker-content{
  44. padding: 30upx 0;
  45. }
  46. .picker-column{
  47. height: 72upx;
  48. padding: 0 15upx;
  49. font-size: 32upx;
  50. line-height: 40upx;
  51. }
  52. .picker-view{
  53. height: 504upx;
  54. }
  55. .picker-view-line-1{
  56. white-space: nowrap;
  57. overflow: hidden;
  58. display: block;
  59. width: 100%;
  60. text-overflow: ellipsis;
  61. text-align: center;
  62. }
  63. .picker-show{
  64. opacity: 1;
  65. visibility: inherit;
  66. }
  67. .picker-hide{
  68. opacity: 0;
  69. visibility: hidden;
  70. }
  71. .bottom-show{
  72. transform: translateY(0);
  73. }
  74. .bottom-hide{
  75. transform: translateY(100%);
  76. }