demo.wxss 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. /* pages/demo/demo.wxss */
  2. /* 弹窗 */
  3. .pop_root {
  4. position: fixed;
  5. top: 0;
  6. right: 0;
  7. bottom: 0;
  8. left: 0;
  9. background: rgb(0, 0, 0, 0.6);
  10. z-index: 1000;
  11. }
  12. .pop_content {
  13. position: fixed;
  14. bottom: 0;
  15. left: 0;
  16. right: 0;
  17. background: white;
  18. display: flex;
  19. flex-direction: column;
  20. align-items: center;
  21. border-radius: 30rpx 30rpx 0 0;
  22. }
  23. .pot_tip {
  24. font-size: 48rpx;
  25. margin-top: 30rpx;
  26. }
  27. .pop_avatar {
  28. width: 200rpx;
  29. height: 200rpx;
  30. border-radius: 50%;
  31. background: gainsboro;
  32. font-size: 35rpx;
  33. display: flex;
  34. flex-direction: center;
  35. align-items: center;
  36. margin: 30rpx;
  37. padding: 0;
  38. }
  39. .pop_img {
  40. width: 100%;
  41. height: 100%;
  42. }
  43. .pop_name {
  44. width: 400rpx;
  45. bottom: 1px solid gray;
  46. border-radius: 25rpx;
  47. padding-left: 160rpx;
  48. margin-bottom: 50rpx;
  49. }
  50. .pop_bot {
  51. display: flex;
  52. margin-bottom: 50rpx;
  53. }
  54. .btn {
  55. width: 150rpx;
  56. border: 1px solid gray;
  57. border-radius: 20rpx;
  58. text-align: center;
  59. background: red;
  60. color: white;
  61. }
  62. .btn1 {
  63. width: 150rpx;
  64. border: 1px solid gray;
  65. border-radius: 20rpx;
  66. text-align: center;
  67. background: green;
  68. color: white;
  69. margin-left: 90rpx;
  70. }