index.wxss 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. /*使屏幕变暗 */
  2. .background_screen {
  3. width: 100%;
  4. height: 100%;
  5. position: fixed;
  6. top: 0;
  7. left: 0;
  8. background: #000;
  9. opacity: 0.2;
  10. overflow: hidden;
  11. z-index: 3;
  12. color: #fff;
  13. }
  14. /*对话框 */
  15. .attr_box {
  16. width: 100%;
  17. overflow: hidden;
  18. position: fixed;
  19. bottom: 0;
  20. left: 0;
  21. z-index: 4;
  22. background: #fff;
  23. border-top-left-radius: 30rpx;
  24. border-top-right-radius: 30rpx;
  25. padding-top: 20rpx;
  26. /*兼容 IOS<11.2*/
  27. padding-bottom: constant(safe-area-inset-bottom);
  28. /*兼容 IOS>11.2*/
  29. padding-bottom: env(safe-area-inset-bottom);
  30. }
  31. .attr_box .share_selects {
  32. display: flex;
  33. align-items: center;
  34. justify-content: space-between;
  35. padding: 30rpx 150rpx;
  36. }
  37. .attr_box .share_selects .share_select {
  38. text-align: center;
  39. }
  40. .attr_box .share_selects .share_select .img {
  41. width: 90rpx;
  42. height: 90rpx;
  43. }
  44. .attr_box .share_selects .share_select .text {
  45. font-size: 28rpx;
  46. color: #333;
  47. }
  48. .attr_box .share_cancel {
  49. padding: 30rpx 0rpx;
  50. border-top: 1px solid #97979763;
  51. text-align: center;
  52. font-size: 32rpx;
  53. letter-spacing: 4rpx;
  54. color: #666;
  55. }