index.wxss 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398
  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. height: 480rpx;
  145. padding: 20rpx 30rpx;
  146. box-sizing: border-box;
  147. background: rgba(255, 255, 255, 1);
  148. z-index: 10002;
  149. }
  150. .tabList{
  151. width: 100%;
  152. height: 65rpx;
  153. padding-bottom: 20rpx;
  154. display: flex;
  155. align-items: center;
  156. justify-content: center;
  157. gap: 130rpx;
  158. color: rgba(51, 51, 51, 1);
  159. }
  160. .tabList .tab_active{
  161. position: relative;
  162. font-weight: bold;
  163. color: rgba(13, 121, 217, 1);
  164. }
  165. .tabList .tab_active::after{
  166. content: "";
  167. width: 80%;
  168. height: 5rpx;
  169. position: absolute;
  170. bottom: -8rpx;
  171. left: 50%;
  172. transform: translateX(-50%);
  173. background-color: rgba(13, 121, 217, 1);
  174. }
  175. .titleTab{
  176. max-height: 400rpx;
  177. display: flex;
  178. flex-direction: column;
  179. gap: 10rpx;
  180. }
  181. .titleTab .titleArea{
  182. width: 100%;
  183. height: 160rpx;
  184. padding: 30rpx 30rpx;
  185. border: 1rpx solid rgba(217, 217, 217, 1);
  186. border-radius: 10rpx;
  187. box-sizing: border-box;
  188. font-size: 24rpx;
  189. }
  190. .titleTab .titleArea::placeholder{
  191. color: rgba(217, 217, 217, 1);
  192. }
  193. .titleTab .colorSelect{
  194. width: 100%;
  195. height: 80rpx;
  196. display: flex;
  197. align-items: center;
  198. font-size: 26rpx;
  199. color: rgba(0, 0, 0, 1);
  200. gap: 30rpx;
  201. }
  202. .titleTab .colorSelect .color{
  203. width: 45rpx;
  204. height: 45rpx;
  205. border-radius: 50%;
  206. }
  207. .titleTab .colorSelect .color1{
  208. background-color:rgba(148, 216, 53, 1) ;
  209. }
  210. .titleTab .colorSelect .color2{
  211. background-color:rgba(13, 121, 217, 1) ;
  212. }
  213. .titleTab .colorSelect .color3{
  214. background-color:rgba(251, 158, 19, 1) ;
  215. }
  216. .titleTab .colorSelect .color4{
  217. background-color:rgba(255, 114, 114, 1);
  218. }
  219. .titleTab .colorSelect .colorAc{
  220. box-shadow: 0rpx 8rpx 13rpx 2rpx rgba(0,0,0,0.25);
  221. }
  222. .titleTab .colorSelect .colorSelectPick{
  223. width: 170rpx;
  224. height: 45rpx;
  225. display: flex;
  226. align-items: center;
  227. gap: 14rpx;
  228. }
  229. .titleTab .colorSelect .colorSelectPick .selfColor{
  230. width: 45rpx;
  231. height: 45rpx;
  232. }
  233. .confirmBox{
  234. width: 100%;
  235. height: 60rpx;
  236. display: flex;
  237. align-items: center;
  238. justify-content: center;
  239. gap: 20rpx;
  240. margin-top: 16rpx;
  241. }
  242. .confirmBox .cCancel,.cConfirm{
  243. width: 47%;
  244. height: 80rpx;
  245. font-size: 28rpx;
  246. border-radius: 10rpx;
  247. border: 1px solid rgba(13, 121, 217, 1);
  248. display: flex;
  249. align-items: center;
  250. justify-content: center;
  251. color: rgba(13, 121, 217, 1);
  252. }
  253. .confirmBox .cConfirm{
  254. background-color: rgba(13, 121, 217, 1);
  255. color:rgba(255, 255, 255, 1) ;
  256. }
  257. .dateTab{
  258. max-height: 400rpx;
  259. display: flex;
  260. flex-direction: column;
  261. gap: 20rpx;
  262. }
  263. .picker-title {
  264. font-size: 32rpx;
  265. color: rgba(0, 0, 0, 1);
  266. margin-bottom: 20rpx;
  267. }
  268. /* 日期选择器样式 */
  269. .date-picker {
  270. box-sizing: border-box;
  271. padding:10rpx 40rpx ;
  272. width: 100%;
  273. height: 240rpx;
  274. border-radius: 16rpx;
  275. }
  276. /* 选项文字样式 */
  277. .picker-item {
  278. text-align: center;
  279. font-size: 36rpx;
  280. color: #333;
  281. line-height: 80rpx;
  282. }
  283. .ip-scroll {
  284. max-height: 360rpx;
  285. }
  286. .ip-grid {
  287. display: flex;
  288. flex-wrap: wrap;
  289. }
  290. .ip-item-wrapper {
  291. width: 25%;
  292. padding: 10rpx 0;
  293. display: flex;
  294. justify-content: center;
  295. }
  296. .ip-item {
  297. width: 140rpx;
  298. height: 140rpx;
  299. border-radius: 16rpx;
  300. background: #f5f5f5;
  301. }
  302. .ip-item__active {
  303. border: 4rpx solid #ff9900;
  304. box-sizing: border-box;
  305. }
  306. .ip-overlay {
  307. position: absolute;
  308. right: 40rpx;
  309. bottom: 40rpx;
  310. width: 240rpx;
  311. height: 240rpx;
  312. z-index: 10001;
  313. }
  314. .ip-overlay-title{
  315. padding: 30rpx;
  316. position: absolute;
  317. right: 40rpx;
  318. bottom: 40rpx;
  319. width: fit-content;
  320. height: fit-content;
  321. max-width: 100%;
  322. z-index: 10001;
  323. }
  324. .ip-main {
  325. width: 240rpx;
  326. height: 240rpx;
  327. }
  328. .ip-title-main{
  329. font-family: 'cexwz';
  330. background-color: rgba(255, 255, 255, 0.70);
  331. border-radius: 20px;
  332. text-align: center;
  333. font-size: 35rpx;
  334. padding: 10rpx;
  335. width: 100%;
  336. min-width: 140rpx;
  337. height: fit-content;
  338. line-height: 55rpx;
  339. min-height: 60rpx;
  340. word-break: break-all;
  341. }
  342. .ip-btn {
  343. position: absolute;
  344. width: 84rpx;
  345. height: 84rpx;
  346. }
  347. .ip-btn__rotate {
  348. top: -28rpx;
  349. left: -28rpx;
  350. }
  351. .ip-btn__scale {
  352. top: -28rpx;
  353. right: -28rpx;
  354. }
  355. .ip-btn__delete {
  356. bottom: -28rpx;
  357. left: -28rpx;
  358. }
  359. .ip-btn__confirm {
  360. bottom: -28rpx;
  361. right: -28rpx;
  362. }
  363. .ip-overlay__confirmed .ip-btn {
  364. display: none;
  365. }