index.wxss 7.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488
  1. /* pages/detail/index.wxss */
  2. .container {
  3. display: flex;
  4. flex-direction: column;
  5. position: relative;
  6. width: 100vw;
  7. height: 100vh;
  8. overflow: hidden;
  9. }
  10. .container-bg {
  11. position: absolute;
  12. top: 0;
  13. left: 0;
  14. right: 0;
  15. z-index: 2;
  16. background-size: cover;
  17. background-position: center;
  18. background-repeat: no-repeat;
  19. filter: blur(10px);
  20. }
  21. .swiper-item {
  22. height: 100%;
  23. background-size: cover;
  24. background: #eee;
  25. transition: all ease .4s;
  26. }
  27. .swiper-item image {
  28. width: 100%;
  29. height: 100%;
  30. }
  31. .bg1 {
  32. background: url(https://cirraybucket.oss-cn-shanghai.aliyuncs.com/nwres/1.jpg) no-repeat top center;
  33. }
  34. .bg2 {
  35. background: url(https://cirraybucket.oss-cn-shanghai.aliyuncs.com/nwres/2.jpg) no-repeat top center;
  36. }
  37. .bg3 {
  38. background: url(https://cirraybucket.oss-cn-shanghai.aliyuncs.com/nwres/3.jpg) no-repeat top center;
  39. }
  40. .swiper {
  41. position: relative;
  42. /* height: 381rpx; */
  43. transition: all ease .4s;
  44. background-color: #ccc;
  45. }
  46. .swiper image{
  47. transition: all ease .4s;
  48. }
  49. .submit {
  50. z-index: 3;
  51. position: fixed;
  52. left: 50%;
  53. transform: translateX(-50%);
  54. bottom: 60rpx;
  55. display: flex;
  56. align-items: center;
  57. justify-content: center;
  58. text-align: center;
  59. font-size: 32rpx;
  60. color: #fff;
  61. }
  62. .submit .share {
  63. position: relative;
  64. display: flex;
  65. align-items: center;
  66. justify-content: center;
  67. width: 278rpx;
  68. height: 100rpx;
  69. border-radius: 50rpx;
  70. border: 2rpx solid rgba(109, 90, 210, 1);
  71. margin:0 44rpx;
  72. color: rgba(109, 90, 210, 1);
  73. background: #fff;
  74. }
  75. .submit button:not([size='mini']){
  76. position: absolute;
  77. top:0;
  78. left:0;
  79. right:0;
  80. bottom:0;
  81. background: none;
  82. }
  83. .submit .add {
  84. position: relative;
  85. display: flex;
  86. align-items: center;
  87. justify-content: center;
  88. width: 278rpx;
  89. height: 100rpx;
  90. background: linear-gradient(135deg, rgba(143, 103, 232, 1) 0%, rgba(99, 87, 204, 1) 100%);
  91. border-radius: 50rpx;
  92. color: #fff;
  93. margin:0 44rpx;
  94. }
  95. .section {
  96. position: relative;
  97. flex: 1;
  98. transition: all ease .4s;
  99. background: #fff;
  100. /* padding: 70rpx 50rpx 0; */
  101. /* box-sizing: border-box; */
  102. overflow: hidden;
  103. box-sizing: border-box;
  104. padding-top: 70rpx;
  105. }
  106. .title {
  107. /* padding-top: 70rpx; */
  108. display: flex;
  109. align-items: center;
  110. justify-content: space-between;
  111. line-height: 56rpx;
  112. }
  113. .title-l {
  114. line-height: 56rpx;
  115. font-size: 40rpx;
  116. flex: 1;
  117. white-space:normal; word-break:break-all;
  118. }
  119. .title-r {
  120. font-size: 48rpx;
  121. margin-left: 10rpx;
  122. }
  123. .title-r text {
  124. font-size: 20rpx;
  125. white-space:nowrap;
  126. }
  127. .title-r .fee {
  128. font-size: 48rpx;
  129. }
  130. .label {
  131. display: flex;
  132. align-items: center;
  133. justify-content: space-between;
  134. height: 98rpx;
  135. border-bottom: 2rpx dashed #E5E5E5;
  136. }
  137. .label-icon {
  138. width: 40rpx;
  139. height: 40rpx;
  140. margin-right: 16rpx;
  141. }
  142. .label-icon image {
  143. width: 100%;
  144. height: 100%;
  145. }
  146. .label-text {
  147. flex: 1;
  148. font-size: 24rpx;
  149. color: #313131;
  150. }
  151. .time-text {
  152. font-size: 28rpx;
  153. }
  154. .time-text text {
  155. color: #838383;
  156. }
  157. .pd {
  158. padding: 0 50rpx;
  159. }
  160. .black-70 {
  161. height: 70rpx;
  162. clear: both;
  163. }
  164. .black-210 {
  165. height: 210rpx;
  166. clear: both;
  167. }
  168. .section-scroll {
  169. z-index: 2;
  170. border-top-left-radius: 80rpx;
  171. border-top-right-radius: 80rpx;
  172. margin-top: -80rpx;
  173. }
  174. .dots {
  175. position: absolute;
  176. right: 0;
  177. bottom: 12rpx;
  178. left: 0;
  179. text-align: center;
  180. }
  181. /*未选中时的小圆点样式 */
  182. .dot {
  183. display: inline-block;
  184. width: 20rpx;
  185. height: 20rpx;
  186. margin: 0 10rpx;
  187. border-radius: 50%;
  188. background-color: rgba(255, 255, 255, .4);
  189. }
  190. /*选中以后的小圆点样式 */
  191. .active {
  192. background-color: white;
  193. }
  194. .activity {
  195. line-height: 44rpx;
  196. font-size: 32rpx;
  197. color: #313131;
  198. }
  199. .activity-title {
  200. padding-top: 48rpx;
  201. }
  202. .activity .activity-content {
  203. line-height: 50rpx;
  204. font-size: 28rpx;
  205. }
  206. .sign-up {
  207. padding-top: 82rpx;
  208. }
  209. .sign-up-title {
  210. font-size: 32rpx;
  211. color: #313131;
  212. padding-bottom: 40rpx;
  213. line-height: 44rpx;
  214. }
  215. .sign-up-title text {
  216. font-size: 28rpx;
  217. color: #838383;
  218. }
  219. .sign-up-list {
  220. display: flex;
  221. align-items: center;
  222. flex-wrap: wrap;
  223. }
  224. .sign-up-item {
  225. width: 64rpx;
  226. height: 64rpx;
  227. border-radius: 50%;
  228. overflow: hidden;
  229. margin: 0 20rpx;
  230. background: blue;
  231. margin-bottom: 15rpx;
  232. }
  233. .sign-up-item image{
  234. width: 100%;
  235. height: 100%;
  236. background-color: #eee;
  237. }
  238. .sign-up-item:first-child{
  239. border:2rpx solid #8F67E8;
  240. }
  241. .traffic {
  242. padding-top: 32rpx;
  243. color: #313131;
  244. }
  245. .traffic-title {
  246. font-size: 32rpx;
  247. }
  248. .traffic-desc {
  249. font-size: 28rpx;
  250. padding-bottom: 25rpx;
  251. }
  252. .traffic-map {
  253. width: 650rpx;
  254. height: 250rpx;
  255. }
  256. .traffic-map map {
  257. width: 100%;
  258. height: 100%;
  259. }
  260. .line-active {
  261. margin: 0 auto;
  262. width: 100rpx;
  263. height: 8rpx;
  264. border-radius: 8rpx;
  265. background-color: #8F67E8;
  266. }
  267. .pd-top {
  268. position: absolute;
  269. width: 500rpx;
  270. top: 0;
  271. left: 50%;
  272. transform: translateX(-50%);
  273. padding-top: 20rpx;
  274. box-sizing: border-box;
  275. }
  276. .submit button:not([size='mini']) {
  277. width: 100%;
  278. height: 100%;
  279. background-color: none;
  280. margin: 0;
  281. padding: 0;
  282. position: absolute;
  283. top: 0;
  284. left: 0;
  285. right: 0;
  286. bottom: 0;
  287. background: none;
  288. }
  289. .go-share {
  290. display: flex;
  291. align-items: center;
  292. justify-content: center;
  293. width: 100%;
  294. height: 100%;
  295. }
  296. /* 获取个人信息 */
  297. .get-info {
  298. position: fixed;
  299. top: 0;
  300. left: 0;
  301. right: 0;
  302. bottom: 0;
  303. background: rgba(0, 0, 0, .3);
  304. z-index: 100000;
  305. }
  306. .get-info .in {
  307. position: absolute;
  308. left: 50%;
  309. top: 50%;
  310. transform: translate(-50%, -50%);
  311. width: 500rpx;
  312. border-radius: 16rpx;
  313. background: #fff;
  314. font-size: 26rpx;
  315. }
  316. .get-info .get-info-head {
  317. font-size: 32rpx;
  318. color: #666;
  319. text-align: center;
  320. padding: 15rpx 0;
  321. }
  322. .get-info .get-info-content {
  323. text-align: center;
  324. padding: 20rpx 0 30rpx;
  325. }
  326. .get-info .get-info-footer {
  327. position: relative;
  328. border-top: 1px solid #eee;
  329. padding: 30rpx 0;
  330. text-align: center;
  331. color: rgba(143, 103, 232, 1);
  332. font-size: 30rpx;
  333. }
  334. .get-info .get-info-footer button:not([size='mini']) {
  335. position: absolute;
  336. top: 0;
  337. right: 0;
  338. left: 0;
  339. bottom: 0;
  340. width: auto;
  341. background: none;
  342. }
  343. .title-des{
  344. color:#999;
  345. }
  346. .get-info-mask{
  347. position: fixed;
  348. top: 0;
  349. left: 0;
  350. right: 0;
  351. bottom: 0;
  352. background: rgba(0, 0, 0, .3);
  353. z-index: 100000;
  354. }
  355. .get-info-mask .in{
  356. position: absolute;
  357. bottom:0;
  358. left:0;
  359. right:0;
  360. height: 600rpx;
  361. background-color: #fff;
  362. border-top-left-radius: 50rpx;
  363. border-top-right-radius: 50rpx;
  364. }
  365. .get-info-mask .avatar{
  366. width: 130rpx;
  367. height: 130rpx;
  368. border-radius: 50%;
  369. background-color: #ccc;
  370. margin: 80rpx auto 0;
  371. overflow: hidden;
  372. }
  373. .get-info-mask .avatar image{
  374. display: block;
  375. width: 100%;
  376. height: 100%;
  377. }
  378. .get-info-mask .name{
  379. text-align: center;
  380. padding: 20rpx 0 10rpx;
  381. font-size: 38rpx;
  382. font-weight: bold;
  383. color:#333;
  384. }
  385. .get-info-mask .des{
  386. text-align: center;
  387. font-size: 28rpx;
  388. color:#666;
  389. }
  390. .get-info-mask .btn{
  391. width:700rpx;
  392. height: 100rpx;
  393. background-color: blue;
  394. margin: 100rpx auto 0;
  395. border-radius: 10rpx;
  396. }
  397. .get-info-mask button:not([size='mini']) {
  398. display: flex;
  399. align-items: center;
  400. justify-content: center;
  401. font-weight: normal;
  402. width: 100%;
  403. height: 100%;
  404. margin:0;
  405. padding:0;
  406. color: #fff;
  407. background-color: rgba(143, 103, 232, 1);
  408. }
  409. .get-info-mask .scroll-in{
  410. bottom:0;
  411. animation: myScroll .4s forwards;
  412. }
  413. @keyframes myScroll {
  414. 0% {
  415. bottom: -600rpx;
  416. }
  417. 100% {
  418. bottom: 0;
  419. }
  420. }
  421. .loading{
  422. position: fixed;
  423. top:0;
  424. left:0;
  425. right:0;
  426. bottom:0;
  427. background-color: #fff;
  428. z-index: 2000000;
  429. }