index.wxss 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239
  1. /* pages/work/index.wxss */
  2. .w_body {
  3. position: relative;
  4. width: 100%;
  5. height: 100%;
  6. }
  7. .w_body > .work {
  8. width: 100%;
  9. height: 100%;
  10. }
  11. .w_video {
  12. background: #fff;
  13. position: fixed;
  14. top: 40%;
  15. left: 50%;
  16. transform: translate(-50%, -50%);
  17. z-index: 9999;
  18. font-size: 0;
  19. width: calc(100% - 40rpx);
  20. box-sizing: border-box;
  21. background: no-repeat center / 100% 100%;
  22. }
  23. .w_video > video,
  24. .w_video > image {
  25. width: 100%;
  26. height: 400px;
  27. }
  28. .fill-img{
  29. width: 100%;
  30. height: 600rpx;
  31. }
  32. .w_video.fill-img .zoom-scroll {
  33. width: 100%;
  34. height: 100%;
  35. overflow-x: scroll;
  36. }
  37. .w_video.fill-img .zoom-image {
  38. height: 600rpx;
  39. width: auto;
  40. display: block;
  41. }
  42. .work_bg,
  43. .work_bg_filter {
  44. position: fixed;
  45. z-index: 999;
  46. top: 0;
  47. left: 0;
  48. width: 100%;
  49. height: 100%;
  50. }
  51. .work_bg.filter::after {
  52. content: "";
  53. position: absolute;
  54. top: 0;
  55. left: 0;
  56. width: 100%;
  57. height: 100%;
  58. background: rgba(0, 0, 0, 0.7);
  59. }
  60. .work_bg_filter {
  61. z-index: 1000;
  62. }
  63. .w_btn {
  64. position: fixed;
  65. z-index: 9999;
  66. left: 0;
  67. bottom: 0;
  68. width: 100%;
  69. display: flex;
  70. align-items: center;
  71. justify-content: space-around;
  72. }
  73. .w_btn > view:not(:nth-child(2)) {
  74. flex: 1;
  75. display: flex;
  76. align-items: center;
  77. justify-content: center;
  78. }
  79. .w_btn image {
  80. width: 240rpx;
  81. }
  82. .btn_paise__border {
  83. width: 4rpx;
  84. height: 89rpx;
  85. background: #d9d9d9;
  86. }
  87. .top_bar {
  88. position: fixed;
  89. top: 0; /* Adjusted to be below standard header or just visually placed */
  90. left: 0;
  91. width: 100%;
  92. padding: 40rpx;
  93. box-sizing: border-box;
  94. display: flex;
  95. align-items: center;
  96. z-index: 10001;
  97. pointer-events: none;
  98. }
  99. .zoom_tip {
  100. display: flex;
  101. flex-direction: row;
  102. align-items: center;
  103. pointer-events: auto;
  104. }
  105. .zoom_tip image {
  106. width: 60rpx;
  107. height: 60rpx;
  108. margin-right: 10rpx;
  109. margin-bottom: 0;
  110. animation: swipe 1.5s infinite;
  111. }
  112. .zoom_tip text {
  113. color: #fff;
  114. font-size: 28rpx;
  115. text-shadow: 0 2rpx 4rpx rgba(0,0,0,0.5);
  116. }
  117. .w_zoom {
  118. margin-left: auto;
  119. display: flex;
  120. align-items: center;
  121. justify-content: center;
  122. border: 2rpx solid #fff;
  123. border-radius: 40rpx;
  124. padding: 10rpx 30rpx;
  125. color: #fff;
  126. font-size: 28rpx;
  127. pointer-events: auto;
  128. }
  129. .w_zoom image {
  130. width: 40rpx;
  131. height: 40rpx;
  132. margin-right: 10rpx;
  133. }
  134. @keyframes swipe {
  135. 0% { transform: translateX(-10rpx); }
  136. 50% { transform: translateX(10rpx); }
  137. 100% { transform: translateX(-10rpx); }
  138. }
  139. .ip-list {
  140. position: fixed;
  141. left: 0;
  142. bottom: 140rpx;
  143. width: 100%;
  144. padding: 20rpx 30rpx;
  145. box-sizing: border-box;
  146. background: rgba(255, 255, 255, 0.96);
  147. z-index: 10002;
  148. }
  149. .ip-scroll {
  150. max-height: 300rpx;
  151. }
  152. .ip-grid {
  153. display: flex;
  154. flex-wrap: wrap;
  155. }
  156. .ip-item-wrapper {
  157. width: 25%;
  158. padding: 10rpx 0;
  159. display: flex;
  160. justify-content: center;
  161. }
  162. .ip-item {
  163. width: 140rpx;
  164. height: 140rpx;
  165. border-radius: 16rpx;
  166. background: #f5f5f5;
  167. }
  168. .ip-item__active {
  169. border: 4rpx solid #ff9900;
  170. box-sizing: border-box;
  171. }
  172. .ip-overlay {
  173. position: absolute;
  174. right: 40rpx;
  175. bottom: 40rpx;
  176. min-width: 140rpx;
  177. max-width: 220rpx;
  178. min-height: 160rpx;
  179. max-height: 240rpx;
  180. z-index: 10001;
  181. }
  182. .ip-main {
  183. min-width: 140rpx;
  184. max-width: 220rpx;
  185. min-height: 160rpx;
  186. max-height: 240rpx;
  187. }
  188. .ip-btn {
  189. position: absolute;
  190. width: 84rpx;
  191. height: 84rpx;
  192. }
  193. .ip-btn__rotate {
  194. top: -28rpx;
  195. left: -28rpx;
  196. }
  197. .ip-btn__scale {
  198. top: -28rpx;
  199. right: -28rpx;
  200. }
  201. .ip-btn__delete {
  202. bottom: -28rpx;
  203. left: -28rpx;
  204. }
  205. .ip-btn__confirm {
  206. bottom: -28rpx;
  207. right: -28rpx;
  208. }
  209. .ip-overlay__confirmed .ip-btn {
  210. display: none;
  211. }