index.wxss 6.5 KB

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