index.wxss 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327
  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. }
  26. .swiper-item image {
  27. width: 100%;
  28. height: 100%;
  29. }
  30. .bg1 {
  31. background: url(https://cirraybucket.oss-cn-shanghai.aliyuncs.com/nwres/1.jpg) no-repeat top center;
  32. }
  33. .bg2 {
  34. background: url(https://cirraybucket.oss-cn-shanghai.aliyuncs.com/nwres/2.jpg) no-repeat top center;
  35. }
  36. .bg3 {
  37. background: url(https://cirraybucket.oss-cn-shanghai.aliyuncs.com/nwres/3.jpg) no-repeat top center;
  38. }
  39. .swiper {
  40. position: relative;
  41. height: 686rpx;
  42. transition: all ease .4s;
  43. }
  44. .submit {
  45. z-index: 3;
  46. position: fixed;
  47. left: 50%;
  48. transform: translateX(-50%);
  49. bottom: 60rpx;
  50. display: flex;
  51. align-items: center;
  52. justify-content: center;
  53. text-align: center;
  54. font-size: 32rpx;
  55. color: #fff;
  56. }
  57. .submit .share {
  58. position: relative;
  59. display: flex;
  60. align-items: center;
  61. justify-content: center;
  62. width: 278rpx;
  63. height: 100rpx;
  64. border-radius: 50rpx;
  65. border: 2rpx solid rgba(109, 90, 210, 1);
  66. margin:0 44rpx;
  67. color: rgba(109, 90, 210, 1);
  68. background: #fff;
  69. }
  70. .submit button:not([size='mini']){
  71. position: absolute;
  72. top:0;
  73. left:0;
  74. right:0;
  75. bottom:0;
  76. background: none;
  77. }
  78. .submit .add {
  79. position: relative;
  80. display: flex;
  81. align-items: center;
  82. justify-content: center;
  83. width: 278rpx;
  84. height: 100rpx;
  85. background: linear-gradient(135deg, rgba(143, 103, 232, 1) 0%, rgba(99, 87, 204, 1) 100%);
  86. border-radius: 50rpx;
  87. color: #fff;
  88. margin:0 44rpx;
  89. }
  90. .section {
  91. position: relative;
  92. flex: 1;
  93. transition: all ease .3s;
  94. background: #fff;
  95. /* padding: 70rpx 50rpx 0; */
  96. /* box-sizing: border-box; */
  97. overflow: hidden;
  98. box-sizing: border-box;
  99. padding-top: 70rpx;
  100. }
  101. .title {
  102. /* padding-top: 70rpx; */
  103. display: flex;
  104. align-items: center;
  105. justify-content: space-between;
  106. line-height: 56rpx;
  107. }
  108. .title-l {
  109. line-height: 56rpx;
  110. font-size: 40rpx;
  111. }
  112. .title-r {
  113. width: 150rpx;
  114. font-size: 48rpx;
  115. }
  116. .title-r text {
  117. font-size: 20rpx;
  118. margin-left: 28rpx;
  119. }
  120. .title-r .fee {
  121. font-size: 48rpx;
  122. }
  123. .label {
  124. display: flex;
  125. align-items: center;
  126. justify-content: space-between;
  127. height: 98rpx;
  128. border-bottom: 2rpx dashed #E5E5E5;
  129. }
  130. .label-icon {
  131. width: 40rpx;
  132. height: 40rpx;
  133. margin-right: 16rpx;
  134. }
  135. .label-icon image {
  136. width: 100%;
  137. height: 100%;
  138. }
  139. .label-text {
  140. flex: 1;
  141. font-size: 24rpx;
  142. color: #313131;
  143. }
  144. .time-text {
  145. font-size: 28rpx;
  146. }
  147. .time-text text {
  148. color: #838383;
  149. }
  150. .pd {
  151. padding: 0 50rpx;
  152. }
  153. .black-70 {
  154. height: 70rpx;
  155. clear: both;
  156. }
  157. .black-210 {
  158. height: 210rpx;
  159. clear: both;
  160. }
  161. .section-scroll {
  162. z-index: 2;
  163. border-top-left-radius: 80rpx;
  164. border-top-right-radius: 80rpx;
  165. margin-top: -80rpx;
  166. }
  167. .dots {
  168. position: absolute;
  169. right: 0;
  170. bottom: 12rpx;
  171. left: 0;
  172. text-align: center;
  173. }
  174. /*未选中时的小圆点样式 */
  175. .dot {
  176. display: inline-block;
  177. width: 20rpx;
  178. height: 20rpx;
  179. margin: 0 10rpx;
  180. border-radius: 50%;
  181. background-color: rgba(255, 255, 255, .4);
  182. }
  183. /*选中以后的小圆点样式 */
  184. .active {
  185. background-color: white;
  186. }
  187. .activity {
  188. line-height: 44rpx;
  189. font-size: 32rpx;
  190. color: #313131;
  191. }
  192. .activity-title {
  193. padding-top: 48rpx;
  194. padding-bottom: 24rpx;
  195. }
  196. .activity .activity-content {
  197. line-height: 50rpx;
  198. font-size: 28rpx;
  199. }
  200. .sign-up {
  201. padding-top: 82rpx;
  202. }
  203. .sign-up-title {
  204. font-size: 32rpx;
  205. color: #313131;
  206. padding-bottom: 40rpx;
  207. line-height: 44rpx;
  208. }
  209. .sign-up-title text {
  210. font-size: 28rpx;
  211. color: #838383;
  212. }
  213. .sign-up-list {
  214. display: flex;
  215. align-items: center;
  216. }
  217. .sign-up-item {
  218. width: 64rpx;
  219. height: 64rpx;
  220. border-radius: 50%;
  221. overflow: hidden;
  222. margin: 0 22rpx;
  223. background: blue;
  224. margin-bottom: 10rpx;
  225. }
  226. .traffic {
  227. padding-top: 62rpx;
  228. color: #313131;
  229. }
  230. .traffic-title {
  231. font-size: 32rpx;
  232. }
  233. .traffic-desc {
  234. font-size: 28rpx;
  235. }
  236. .traffic-map {
  237. width: 650rpx;
  238. height: 250rpx;
  239. }
  240. .traffic-map map {
  241. width: 100%;
  242. height: 100%;
  243. }
  244. .line-active {
  245. margin: 0 auto;
  246. width: 100rpx;
  247. height: 8rpx;
  248. border-radius: 8rpx;
  249. background-color: #8F67E8;
  250. }
  251. .pd-top {
  252. position: absolute;
  253. width: 500rpx;
  254. top: 0;
  255. left: 50%;
  256. transform: translateX(-50%);
  257. padding-top: 20rpx;
  258. box-sizing: border-box;
  259. }
  260. .submit button:not([size='mini']) {
  261. width: 100%;
  262. height: 100%;
  263. background-color: none;
  264. margin: 0;
  265. padding: 0;
  266. position: absolute;
  267. top: 0;
  268. left: 0;
  269. right: 0;
  270. bottom: 0;
  271. background: none;
  272. }
  273. .go-share {
  274. display: flex;
  275. align-items: center;
  276. justify-content: center;
  277. width: 100%;
  278. height: 100%;
  279. }