common.scss 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323
  1. $pagegap:32rpx;
  2. .page-wrap{padding: $pagegap;}
  3. .top-search{
  4. position: absolute;
  5. z-index: 31;
  6. background-color: rgba(0,0,0,0.04);
  7. border-radius: 100rpx;
  8. margin-bottom: 20rpx;
  9. margin-left: $pagegap;
  10. }
  11. .search-wrap{
  12. background-color: #fff;
  13. position: relative;
  14. padding: 20rpx;
  15. margin-bottom: 24rpx;
  16. }
  17. .search-wrap::after {
  18. content: "";
  19. position: absolute;
  20. width: 100%;
  21. height: 14rpx;
  22. bottom: -20rpx;
  23. left: 0;
  24. background: linear-gradient(to bottom, #F5F5F5, #fff);
  25. z-index: -1;
  26. }
  27. .search-wrap{
  28. .position{
  29. font-size: 28rpx;
  30. font-weight: bold;
  31. color: #2D2D2D;
  32. /deep/ .u-icon{
  33. position: relative;
  34. top: 5rpx;
  35. margin-left: 8rpx;
  36. }
  37. }
  38. .search-out{
  39. flex: 1;
  40. border: 1px solid #DADADA;
  41. border-radius: 50rpx;
  42. margin-left: 24rpx;
  43. }
  44. .conditions{
  45. // margin-top: 48rpx;
  46. .item{
  47. margin: 0 24rpx;
  48. padding: 48rpx 0 20rpx;
  49. font-size: 24rpx;
  50. font-weight: 400;
  51. color: #363636;
  52. .text{
  53. margin-right: 10rpx;
  54. }
  55. }
  56. }
  57. }
  58. .gray{
  59. color: #999;
  60. }
  61. .red{
  62. color: #FF3C3F;
  63. }
  64. .view-wrap{
  65. padding: 30rpx 20rpx;
  66. }
  67. .full-btn{
  68. background-color: #F01414;
  69. color: #fff;
  70. border-radius: 44rpx;
  71. padding: 22rpx 0;
  72. text-align: center;
  73. margin-bottom: 40rpx;
  74. margin-top: 20rpx;
  75. font-weight: bold;
  76. &.gray{
  77. background-color: #ddd;
  78. color: #999;
  79. }
  80. &.white{
  81. background-color: #fff;
  82. color: #606060;
  83. }
  84. &.red{
  85. background-color: #ED0000;
  86. color: #fff;
  87. }
  88. }
  89. .single-til{
  90. margin-bottom: 20rpx;
  91. .text{
  92. font-size: 32rpx;
  93. color: #333;
  94. font-weight: 600;
  95. .sub-title{
  96. margin-left: 20rpx;
  97. font-size: 24rpx;
  98. font-weight: 400;
  99. color: #999999;
  100. }
  101. }
  102. .more-text{
  103. font-size: 24rpx;
  104. color: #999;
  105. }
  106. }
  107. .date-list{
  108. .date-item{
  109. position: relative;
  110. overflow: hidden;
  111. flex: 1;
  112. background: #FFFFFF;
  113. border-radius: 16rpx;
  114. border: 2rpx solid #EEEEEE;
  115. text-align: center;
  116. margin: 0 8rpx;
  117. box-sizing: border-box;
  118. &.active{
  119. border-color: #ED0000;
  120. background-color: #FFC8C8 ;
  121. .name,.date{
  122. color: #ED0000;
  123. }
  124. .selected-img{
  125. display: block;
  126. }
  127. }
  128. .selected-img{
  129. width: 32rpx;
  130. height: 32rpx;
  131. position: absolute;
  132. right: 0;
  133. bottom: 0;
  134. display: none;
  135. }
  136. &.dot::after{
  137. content: '';
  138. width: 4px;
  139. height: 4px;
  140. border-radius: 50%;
  141. background-color: #ED0000;
  142. position: absolute;
  143. right: 10rpx;
  144. top: 5px; }
  145. .name{
  146. padding-top: 26rpx;
  147. margin-bottom: 12rpx;
  148. font-size: 24rpx;
  149. font-weight: 400;
  150. color: #7F7F7F;
  151. line-height: 36rpx;
  152. }
  153. .date{
  154. font-size: 28rpx;
  155. font-weight: 500;
  156. color: #2D2D2D;
  157. line-height: 42rpx;
  158. padding-bottom: 28rpx;
  159. }
  160. }
  161. .more-date{
  162. height: 148rpx;
  163. .text{
  164. margin-left: 20rpx;
  165. margin-right: 10rpx;
  166. font-size: 24rpx;
  167. font-weight: 400;
  168. color: #7F7F7F;
  169. line-height: 36rpx;
  170. }
  171. }
  172. }
  173. .date-block.auditorium{
  174. .name{
  175. margin-bottom: 0;
  176. padding: 34rpx 0;
  177. }
  178. }
  179. // 分享 海报
  180. .share-option{
  181. transform: translateY(100%);
  182. .overlay{
  183. position: fixed;
  184. left: 0;
  185. top: 0;
  186. width: 100vw;
  187. height: 100vh;
  188. background-color: rgba(0, 0, 0, 0.35);
  189. transform: translateY(-100%);
  190. }
  191. &.shareShow{
  192. transform: translateY(0);
  193. }
  194. position: fixed;
  195. width: 100%;
  196. left: 0;
  197. bottom: 0;
  198. z-index: 50;
  199. background-color: #fff;
  200. .share-option-item{
  201. position: relative;
  202. height: 46px;
  203. line-height: 46px;
  204. border: 0;
  205. background-color: #fff;
  206. text-align: center;
  207. border-radius: 0;
  208. border-bottom: 1px solid #eee;
  209. font-size: 30rpx;
  210. }
  211. .wx-share{
  212. border-bottom: 0;
  213. }
  214. }
  215. .poster-wrap{
  216. position: fixed;
  217. left: 0;
  218. top: 0;
  219. width: 100%;
  220. height: 100vh;
  221. .poster-inner{
  222. flex: 1;
  223. margin: 0 75rpx;
  224. .close-wrap{
  225. display: flex;
  226. justify-content: flex-end;
  227. margin-bottom: 16rpx;
  228. }
  229. }
  230. .poster{
  231. position: relative;
  232. // padding-bottom: 90rpx;
  233. background-color: transparent;
  234. .posterBg{
  235. position: absolute;
  236. left: 0;
  237. bottom: 0;
  238. right: 0;
  239. width: 100%;
  240. z-index: 1;
  241. }
  242. .placard{
  243. position: relative;
  244. z-index: 10;
  245. }
  246. .bottom{
  247. position: relative;
  248. z-index: 20;
  249. margin: 33rpx 40rpx 0;
  250. .left{
  251. margin-right: 58rpx;
  252. .price{
  253. font-size: 22rpx;
  254. font-weight: 600;
  255. color: #FF3538;
  256. line-height: 30rpx;
  257. margin-bottom: 10rpx;
  258. .num{
  259. font-size: 40rpx;
  260. font-weight: 600;
  261. margin-left: 5rpx;
  262. }
  263. }
  264. .goodsName{
  265. font-size: 30rpx;
  266. font-weight: 400;
  267. color: #333333;
  268. line-height: 38rpx;
  269. margin-bottom: 16rpx;
  270. }
  271. .slogan{
  272. font-size: 26rpx;
  273. font-weight: 600;
  274. line-height: 37rpx;
  275. }
  276. }
  277. .right{
  278. text-align: center;
  279. .imgTip{
  280. margin-top: 12rpx;
  281. font-size: 20rpx;
  282. font-weight: 400;
  283. color: #333333;
  284. line-height: 28rpx;
  285. }
  286. .qrcode{
  287. width: 108rpx;
  288. height:108rpx;
  289. }
  290. }
  291. }
  292. }
  293. .poster-btn{
  294. height: 88rpx;
  295. line-height: 88rpx;
  296. border-radius: 44rpx;
  297. text-align: center;
  298. color: #fff;
  299. margin-top: 40rpx;
  300. font-size: 32rpx;
  301. font-weight: 600;
  302. background: linear-gradient(90deg, #FF7979 0%, #ED0000 100%);
  303. }
  304. }
  305. // 分享 海报
  306. // 富文本
  307. .parse-content{
  308. font-size: 26rpx;
  309. font-family: SourceHanSansCN, SourceHanSansCN;
  310. font-weight: 400;
  311. color: #4E4E4E;
  312. line-height: 40rpx;
  313. rich-text,p{
  314. display: block;
  315. margin-bottom: 8px;
  316. }
  317. }