index.wxss 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  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. .share_btn{
  11. position: absolute;
  12. bottom: var(--bottom);
  13. height: 160rpx;
  14. width: 100%;
  15. left: 0;
  16. z-index: 999;
  17. display: flex;
  18. justify-content: space-around;
  19. align-items: center;
  20. }
  21. .share_bg{
  22. background: linear-gradient(180deg, rgba(255, 255, 255, 0.2) 0%, #FFFFFF 100%);
  23. width: 100%;
  24. height: 100%;
  25. position: absolute;
  26. bottom: 0;
  27. left: 0;
  28. opacity: 0.8;
  29. }
  30. .share_btn>view:not(.share_bg){
  31. background: #fff;
  32. width: 112rpx;
  33. height: 112rpx;
  34. border-radius: 20rpx;
  35. position: relative;
  36. }
  37. .share_btn>view:not(.share_bg)>.iconfont{
  38. position: absolute;
  39. top: 50%;
  40. left: 50%;
  41. transform: translate(-50%,-50%);
  42. font-size: 60rpx;
  43. }
  44. .share_btn>view:not(.share_bg)>.iconzhongxinpaizhaoyuan{
  45. color: #545571;
  46. }
  47. .share_btn>view:not(.share_bg)>.iconxiazai{
  48. color: #51BF08;
  49. }
  50. .share_btn>.share-quan{
  51. min-width: 400rpx!important;
  52. display: flex;
  53. align-items: center;
  54. justify-content: center;
  55. padding: 0 20rpx;
  56. color: #202020;
  57. }
  58. .share_btn>.share-quan>image{
  59. width: 70rpx;
  60. height: 70rpx;
  61. margin-right: 12rpx;
  62. }