imageCode.wxss 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. @charset "UTF-8";
  2. /* 需要放到文件最上面 */
  3. /* 水平间距 */
  4. /* 水平间距 */
  5. /*
  6. 以下变量是默认值,如不需要修改可以不用给下面的变量重新赋值
  7. */
  8. /* 水平间距 */
  9. .model-container {
  10. width: 100%;
  11. height: 100%;
  12. position: fixed;
  13. top: 0;
  14. left: 0;
  15. z-index: -1;
  16. display: none;
  17. }
  18. .model-container.show {
  19. z-index: 900;
  20. display: block;
  21. }
  22. .model {
  23. position: absolute;
  24. width: 622rpx;
  25. background-color: #ffffff;
  26. top: 50%;
  27. left: 50%;
  28. -webkit-transform: translate3d(-50%, -50%, 0);
  29. transform: translate3d(-50%, -50%, 0);
  30. margin-top: -100rpx;
  31. border-radius: 30rpx;
  32. color: #1f1f1f;
  33. z-index: 902;
  34. }
  35. .model .model-content {
  36. padding: 40rpx 30rpx;
  37. }
  38. .model .model-title {
  39. text-align: center;
  40. }
  41. .model .model-bottom {
  42. display: flex;
  43. }
  44. .model .model-bottom .model-bottom-item {
  45. flex: 1;
  46. }
  47. .model .model-bottom .model-bottom-item:last-of-type .model-bottom-btn {
  48. border-left: 1px solid #EDEDED;
  49. border-bottom-left-radius: 0;
  50. }
  51. .model .model-bottom .model-bottom-btn {
  52. border: 0;
  53. border-top: 1px solid #EDEDED;
  54. border-top-left-radius: 0;
  55. border-top-right-radius: 0;
  56. font-size: 32rpx;
  57. }
  58. .model .model-bottom .model-bottom-btn.active {
  59. opacity: 0.6;
  60. }
  61. .model .model-bottom .confirm-btn {
  62. color: #08979c;
  63. }
  64. .model-mask {
  65. background-color: rgba(0, 0, 0, 0.4);
  66. z-index: 901;
  67. width: 100%;
  68. height: 100%;
  69. position: fixed;
  70. }