index.wxss 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314
  1. /**index.wxss**/
  2. .container {
  3. padding: 0;
  4. }
  5. .body {
  6. min-height: 100vh;
  7. overflow-y: auto;
  8. background: no-repeat top / 100% auto;
  9. background-color: var(--bg-color);
  10. }
  11. .swp {
  12. position: relative;
  13. }
  14. .swp__shadow {
  15. position: absolute;
  16. left: 0;
  17. right: 0;
  18. bottom: -10rpx;
  19. height: 10rpx;
  20. filter: blur(2px);
  21. background-image: linear-gradient(
  22. to bottom,
  23. rgba(0, 0, 0, 0.6),
  24. rgba(0, 0, 0, 0)
  25. );
  26. }
  27. .swp__bd {
  28. position: absolute;
  29. z-index: 1;
  30. }
  31. .swp__bd.top {
  32. top: 0;
  33. }
  34. .swp__bd.bt {
  35. bottom: 0;
  36. }
  37. .swp__bd.bt.lf {
  38. left: 0;
  39. }
  40. .swp__bd.bt.rt {
  41. right: 0;
  42. transform: scaleX(-1);
  43. }
  44. .swp__bd.top.lf {
  45. left: 0;
  46. transform: scaleX(-1);
  47. }
  48. .swp__bd.top.rt {
  49. right: 0;
  50. }
  51. .swiper {
  52. font-size: 0;
  53. height: 424rpx;
  54. }
  55. .swiper-item image {
  56. width: 100%;
  57. height: 100%;
  58. }
  59. .dots {
  60. position: absolute;
  61. bottom: 10px;
  62. transform: translateX(-50%);
  63. left: 50%;
  64. z-index: 9999;
  65. display: flex;
  66. }
  67. .dots > image {
  68. width: 30rpx;
  69. height: 30rpx;
  70. margin: 0 12rpx;
  71. }
  72. .body .title {
  73. padding: 57rpx 47rpx 32rpx;
  74. display: flex;
  75. align-items: flex-end;
  76. }
  77. .body .title image {
  78. width: 173rpx;
  79. }
  80. .body .title text {
  81. display: inline-block;
  82. color: var(--text-tips-color);
  83. margin-left: 16rpx;
  84. margin-bottom: -4rpx;
  85. font-size: 23rpx;
  86. white-space: nowrap;
  87. }
  88. .body .lunbo {
  89. width: 100%;
  90. display: flex;
  91. align-items: center;
  92. flex-wrap: nowrap;
  93. padding-left: 30rpx;
  94. overflow-x: auto;
  95. white-space: nowrap;
  96. box-sizing: border-box;
  97. /* justify-content: space-between;
  98. align-items: center;
  99. flex-wrap: wrap; */
  100. }
  101. .lunbo__item {
  102. display: inline-block;
  103. margin-right: 25rpx;
  104. }
  105. .lunbo__item.active .lunbo__item__text {
  106. color: var(--primary-color);
  107. font-weight: bold;
  108. }
  109. .lunbo__item__text {
  110. margin-top: 12rpx;
  111. text-align: center;
  112. font-size: 25rpx;
  113. color: var(--text-color);
  114. }
  115. .lunbo__item__img {
  116. position: relative;
  117. font-size: 0;
  118. }
  119. .lunbo__item.active .lunbo__item__img {
  120. display: flex;
  121. align-items: center;
  122. justify-content: center;
  123. background: no-repeat center / contain;
  124. }
  125. .lunbo__item.active .lunbo__item__img image {
  126. position: relative;
  127. top: -4rpx;
  128. }
  129. .lunbo__item__img image {
  130. position: relative;
  131. width: 190rpx;
  132. height: 265rpx;
  133. z-index: 1;
  134. }
  135. .body .record {
  136. padding: 0 30rpx;
  137. }
  138. .body .record > view {
  139. padding: 25rpx 35rpx 0;
  140. height: 150rpx;
  141. box-sizing: border-box;
  142. color: var(--record-title-color);
  143. font-size: 28rpx;
  144. background: no-repeat center / contain;
  145. opacity: 1;
  146. }
  147. .body .record > view > text {
  148. font-weight: bold;
  149. }
  150. .body .record > view > view {
  151. color: var(--record-inner-color);
  152. margin-top: 20rpx;
  153. display: flex;
  154. justify-content: space-between;
  155. align-items: center;
  156. }
  157. .body .record > view > view > text:last-of-type {
  158. font-size: 21rpx;
  159. }
  160. .body .record .norecord > view {
  161. margin-top: 0;
  162. }
  163. .body .record .norecord > .record-title {
  164. color: #000;
  165. font-size: 30rpx;
  166. font-weight: bold;
  167. }
  168. .body .record .norecord > .norecord-text {
  169. text-align: center;
  170. width: 100%;
  171. display: inline-block;
  172. margin-top: 20rpx;
  173. font-size: 28rpx;
  174. color: var(--text-tips-color);
  175. }
  176. .btn_paise {
  177. position: fixed;
  178. left: 0;
  179. bottom: 0;
  180. width: 100%;
  181. font-size: 0;
  182. z-index: 99;
  183. }
  184. .btn_paise__tools {
  185. display: flex;
  186. align-items: center;
  187. justify-content: space-between;
  188. height: inherit;
  189. }
  190. .btn_paise__tools .paizhao,
  191. .btn_paise__tools .luxiang {
  192. display: flex;
  193. align-items: center;
  194. justify-content: center;
  195. flex: 1;
  196. height: 100%;
  197. }
  198. .btn_paise__tools > view image {
  199. width: 281rpx;
  200. }
  201. .btn_paise__rescan {
  202. display: flex;
  203. align-items: center;
  204. justify-content: center;
  205. height: inherit;
  206. }
  207. .btn_paise_tips {
  208. position: fixed;
  209. left: 0;
  210. right: 0;
  211. font-size: 28rpx;
  212. color: #999999;
  213. background-color: #fff;
  214. padding: 10rpx 0;
  215. text-align: center;
  216. box-shadow: 0 -6rpx 10rpx 0px rgba(0, 0, 0, 0.2);
  217. }
  218. .btn_paise__tools .btn_paise__border {
  219. width: 4rpx;
  220. height: 89rpx;
  221. background: #d9d9d9;
  222. }
  223. .shotting {
  224. position: fixed;
  225. z-index: 999;
  226. top: 0;
  227. left: 0;
  228. width: 100%;
  229. height: 100%;
  230. }
  231. .shotting .shot_bg {
  232. width: 100%;
  233. height: 100%;
  234. }
  235. .shotting .tips {
  236. position: absolute;
  237. top: 40%;
  238. left: 50%;
  239. transform: translateX(-50%);
  240. z-index: 9999;
  241. width: 80%;
  242. }
  243. .shotting .record {
  244. position: absolute;
  245. top: 30rpx;
  246. left: 30rpx;
  247. z-index: 9999;
  248. color: #fff;
  249. width: 50%;
  250. display: flex;
  251. align-items: center;
  252. }
  253. .shotting .tips > image {
  254. width: 100%;
  255. }
  256. .shotting .record > image {
  257. width: 50rpx;
  258. margin-right: 10rpx;
  259. }
  260. .shotting .tips .xiaolian {
  261. background: rgba(25, 25, 25, 0.75);
  262. border-radius: 20rpx;
  263. text-align: center;
  264. color: #fff;
  265. width: 80%;
  266. margin: 0 auto;
  267. padding: 10% 0;
  268. }
  269. .shotting .tips .xiaolian image {
  270. width: 20%;
  271. }
  272. .shotting .tips .xiaolian text {
  273. display: block;
  274. margin-top: 20rpx;
  275. }
  276. .shotcon {
  277. width: 100%;
  278. height: 100%;
  279. left: 0;
  280. top: 0;
  281. position: absolute;
  282. }