index.wxss 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  1. /* pages/work/index.wxss */
  2. .w_body{
  3. width: 100%;
  4. height: 100%;
  5. }
  6. .w_body > .work{
  7. width: 100%;
  8. height: 100%;
  9. }
  10. .c_top{
  11. position: fixed;
  12. z-index: 999;
  13. left: var(--left);
  14. height: var(--h);
  15. top: var(--top);
  16. font-weight: bold;
  17. padding: 0 30rpx;
  18. border-radius: 40rpx;
  19. background: rgba(255, 255, 255, 0.7);
  20. border: 1rpx solid rgba(0, 0, 0, 0.1);
  21. display: flex;
  22. align-items: center;
  23. }
  24. .c_top>.iconfont{
  25. color: #3B3B3B;
  26. font-size: 20rpx;
  27. }
  28. .c_top>.txt{
  29. color: #3B3B3B;
  30. font-size: 26rpx;
  31. display: inline-block;
  32. margin-left: 20rpx;
  33. }
  34. .c_bg{
  35. position: fixed;
  36. z-index: -1;
  37. transform: translate(-50%,-50%);
  38. left: 50%;
  39. top: 50%;
  40. width: 100%;
  41. height: 100%;
  42. filter: blur(10px);
  43. }
  44. .share_btn{
  45. position: absolute;
  46. bottom: var(--bottom);
  47. height: 160rpx;
  48. width: 100%;
  49. left: 0;
  50. z-index: 99;
  51. display: flex;
  52. justify-content: space-around;
  53. align-items: center;
  54. }
  55. .share_bg{
  56. background: linear-gradient(180deg, rgba(255, 255, 255, 0.2) 0%, #FFFFFF 100%);
  57. width: 100%;
  58. height: 100%;
  59. position: absolute;
  60. bottom: 0;
  61. left: 0;
  62. opacity: 0.8;
  63. z-index: -1;
  64. }
  65. .share_btn>view:not(.share_bg){
  66. background: #fff;
  67. width: 320rpx;
  68. height: 112rpx;
  69. border-radius: 20rpx;
  70. position: relative;
  71. display: flex;
  72. align-items: center;
  73. justify-content: center;
  74. }
  75. .share_btn>view:not(.share_bg) .txt{
  76. color: #3B3B3B;
  77. margin-left: 20rpx;
  78. display: inline-block;
  79. font-size: 32rpx;
  80. }
  81. .share_btn>view:not(.share_bg)>.iconfont{
  82. font-size: 48rpx;
  83. }
  84. .share_btn>view:not(.share_bg)>.iconzhongxinpaizhaoyuan{
  85. color: #545571;
  86. }
  87. .share_btn>view:not(.share_bg)>.iconxiazai{
  88. color: #51BF08;
  89. }
  90. .share_btn>.share-quan{
  91. min-width: 400rpx!important;
  92. display: flex;
  93. align-items: center;
  94. justify-content: center;
  95. padding: 0 20rpx;
  96. color: #202020;
  97. }
  98. .share_btn>.share-quan>image{
  99. width: 70rpx;
  100. height: 70rpx;
  101. margin-right: 12rpx;
  102. }