common.scss 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396
  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: 1rpx solid #7F7F7F;
  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. &.stock-over{
  129. // border-color: #7F7F7F;
  130. background-color: #FFFFFF ;
  131. .name,.date{
  132. color: #7F7F7F;
  133. }
  134. }
  135. .selected-img{
  136. width: 32rpx;
  137. height: 32rpx;
  138. position: absolute;
  139. right: 0;
  140. bottom: 0;
  141. display: none;
  142. }
  143. &.dot::after{
  144. content: '';
  145. width: 4px;
  146. height: 4px;
  147. border-radius: 50%;
  148. background-color: #ED0000;
  149. position: absolute;
  150. right: 10rpx;
  151. top: 5px; }
  152. .name{
  153. padding-top: 26rpx;
  154. margin-bottom: 12rpx;
  155. font-size: 24rpx;
  156. font-weight: 400;
  157. color: #7F7F7F;
  158. line-height: 36rpx;
  159. }
  160. .date{
  161. font-size: 28rpx;
  162. font-weight: 500;
  163. color: #2D2D2D;
  164. line-height: 42rpx;
  165. padding-bottom: 28rpx;
  166. }
  167. }
  168. .more-date{
  169. height: 148rpx;
  170. .text{
  171. margin-left: 20rpx;
  172. margin-right: 10rpx;
  173. font-size: 24rpx;
  174. font-weight: 400;
  175. color: #7F7F7F;
  176. line-height: 36rpx;
  177. }
  178. }
  179. }
  180. .date-block.generic-block{
  181. .date-list{
  182. display: grid;
  183. grid-template-columns: repeat(3, 1fr);
  184. gap: 10rpx;
  185. }
  186. .name{
  187. padding-top: 0;
  188. margin-bottom: 0;
  189. display: grid;
  190. align-content: center;
  191. height: 52px;
  192. // padding: 34rpx 0;
  193. }
  194. }
  195. // 分享 海报
  196. .share-option{
  197. transform: translateY(100%);
  198. .overlay{
  199. position: fixed;
  200. left: 0;
  201. top: 0;
  202. width: 100vw;
  203. height: 100vh;
  204. background-color: rgba(0, 0, 0, 0.35);
  205. transform: translateY(-100%);
  206. }
  207. &.shareShow{
  208. transform: translateY(0);
  209. }
  210. position: fixed;
  211. width: 100%;
  212. left: 0;
  213. bottom: 0;
  214. z-index: 50;
  215. background-color: #fff;
  216. .share-option-item{
  217. position: relative;
  218. height: 46px;
  219. line-height: 46px;
  220. border: 0;
  221. background-color: #fff;
  222. text-align: center;
  223. border-radius: 0;
  224. border-bottom: 1px solid #eee;
  225. font-size: 30rpx;
  226. }
  227. .wx-share{
  228. border-bottom: 0;
  229. }
  230. }
  231. .poster-wrap{
  232. position: fixed;
  233. left: 0;
  234. top: 0;
  235. width: 100%;
  236. height: 100vh;
  237. .poster-inner{
  238. flex: 1;
  239. margin: 0 75rpx;
  240. .close-wrap{
  241. display: flex;
  242. justify-content: flex-end;
  243. margin-bottom: 16rpx;
  244. }
  245. }
  246. .poster{
  247. position: relative;
  248. // padding-bottom: 90rpx;
  249. background-color: transparent;
  250. .posterBg{
  251. position: absolute;
  252. left: 0;
  253. bottom: 0;
  254. right: 0;
  255. width: 100%;
  256. z-index: 1;
  257. }
  258. .placard{
  259. position: relative;
  260. z-index: 10;
  261. }
  262. .bottom{
  263. position: relative;
  264. z-index: 20;
  265. margin: 33rpx 40rpx 0;
  266. .left{
  267. margin-right: 58rpx;
  268. .price{
  269. font-size: 22rpx;
  270. font-weight: 600;
  271. color: #FF3538;
  272. line-height: 30rpx;
  273. margin-bottom: 10rpx;
  274. .num{
  275. font-size: 40rpx;
  276. font-weight: 600;
  277. margin-left: 5rpx;
  278. }
  279. }
  280. .goodsName{
  281. font-size: 30rpx;
  282. font-weight: 400;
  283. color: #333333;
  284. line-height: 38rpx;
  285. margin-bottom: 16rpx;
  286. }
  287. .slogan{
  288. font-size: 26rpx;
  289. font-weight: 600;
  290. line-height: 37rpx;
  291. }
  292. }
  293. .right{
  294. text-align: center;
  295. .imgTip{
  296. margin-top: 12rpx;
  297. font-size: 20rpx;
  298. font-weight: 400;
  299. color: #333333;
  300. line-height: 28rpx;
  301. }
  302. .qrcode{
  303. width: 108rpx;
  304. height:108rpx;
  305. }
  306. }
  307. }
  308. }
  309. .poster-btn{
  310. height: 88rpx;
  311. line-height: 88rpx;
  312. border-radius: 44rpx;
  313. text-align: center;
  314. color: #fff;
  315. margin-top: 40rpx;
  316. font-size: 32rpx;
  317. font-weight: 600;
  318. background: linear-gradient(90deg, #FF7979 0%, #ED0000 100%);
  319. }
  320. }
  321. // 分享 海报
  322. // 富文本
  323. .parse-content{
  324. font-size: 26rpx;
  325. font-family: SourceHanSansCN, SourceHanSansCN;
  326. font-weight: 400;
  327. color: #4E4E4E;
  328. line-height: 40rpx;
  329. rich-text,p{
  330. display: block;
  331. margin-bottom: 8px;
  332. }
  333. }
  334. // 剧场
  335. .programme{
  336. // background-color: #FFFFFF;
  337. position: relative;
  338. border-radius: 30rpx;
  339. overflow: hidden;
  340. // background: radial-gradient(circle at -26rpx 230rpx, transparent 10%, #fff 4%) left, radial-gradient(circle at calc( 100% + 26rpx ) 232rpx, transparent 10%, #fff 4%) right;
  341. background-color: #fff;
  342. background-size: 50% 100%;
  343. background-repeat: no-repeat;
  344. .img{
  345. width: 100%;
  346. height: 242rpx;
  347. display: block;
  348. }
  349. .text{
  350. position: relative;
  351. padding: 32rpx 30rpx;
  352. .name{
  353. font-size: 28rpx;
  354. font-weight: bold;
  355. color: #363636;
  356. line-height: 42rpx;
  357. // margin-bottom: 18rpx;
  358. }
  359. .addr{
  360. font-size: 22rpx;
  361. font-weight: 400;
  362. color: #7F7F7F;
  363. line-height: 34rpx;
  364. }
  365. .btn{
  366. height: 51rpx;
  367. line-height: 51rpx;
  368. padding: 0 24rpx;
  369. background: linear-gradient(90deg, #FF7979 0%, #ED0000 100%);
  370. border-radius: 25rpx;
  371. font-size: 20rpx;
  372. font-weight: 400;
  373. color: #FFFFFF;
  374. }
  375. }
  376. .share{
  377. position: absolute;
  378. right: 16rpx;
  379. top: 16rpx;
  380. padding: 10rpx;
  381. border-radius: 50%;
  382. background-color: rgba(0,0,0,0.4);
  383. .icon{
  384. display: block;
  385. width: 32rpx;
  386. height: 32rpx;
  387. }
  388. }
  389. }