ys.scss 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377
  1. .template-details {
  2. margin: 0;
  3. width: 100%;
  4. height: 100vh;
  5. color: #fff;
  6. overflow: hidden;
  7. }
  8. /* 胶囊*/
  9. .tn-custom-nav-bar__back {
  10. width: 100%;
  11. height: 100%;
  12. position: relative;
  13. display: flex;
  14. justify-content: space-evenly;
  15. align-items: center;
  16. box-sizing: border-box;
  17. background-color: rgba(0, 0, 0, 0.15);
  18. border-radius: 1000rpx;
  19. border: 1rpx solid rgba(255, 255, 255, 0.5);
  20. color: #FFFFFF;
  21. font-size: 18px;
  22. .icon {
  23. display: block;
  24. flex: 1;
  25. margin: auto;
  26. text-align: center;
  27. }
  28. &:before {
  29. content: " ";
  30. width: 1rpx;
  31. height: 110%;
  32. position: absolute;
  33. top: 22.5%;
  34. left: 0;
  35. right: 0;
  36. margin: auto;
  37. transform: scale(0.5);
  38. transform-origin: 0 0;
  39. pointer-events: none;
  40. box-sizing: border-box;
  41. opacity: 0.7;
  42. background-color: #FFFFFF;
  43. }
  44. }
  45. /* 图标容器15 start */
  46. .icon15 {
  47. &__item {
  48. width: 30%;
  49. border-radius: 10rpx;
  50. padding: 30rpx;
  51. margin: 20rpx 10rpx;
  52. transform: scale(1);
  53. transition: transform 0.3s linear;
  54. transform-origin: center center;
  55. &--icon {
  56. width: 100rpx;
  57. height: 100rpx;
  58. font-size: 50rpx;
  59. border-radius: 50%;
  60. margin-bottom: 18rpx;
  61. position: relative;
  62. z-index: 1;
  63. &::after {
  64. content: " ";
  65. position: absolute;
  66. z-index: -1;
  67. width: 100%;
  68. height: 100%;
  69. left: 0;
  70. bottom: 0;
  71. border-radius: inherit;
  72. opacity: 1;
  73. transform: scale(1, 1);
  74. background-size: 100% 100%;
  75. }
  76. }
  77. }
  78. }
  79. /* 按钮 */
  80. .button-1 {
  81. background-color: rgba(0, 0, 0, 0.15);
  82. position: fixed;
  83. /* bottom:200rpx;
  84. right: 20rpx; */
  85. top: 25%;
  86. right: 30rpx;
  87. z-index: 1001;
  88. border-radius: 100px;
  89. }
  90. .button-2 {
  91. background-color: rgba(0, 0, 0, 0.15);
  92. position: fixed;
  93. /* bottom:200rpx;
  94. right: 20rpx; */
  95. top: 35%;
  96. right: 30rpx;
  97. z-index: 1001;
  98. border-radius: 100px;
  99. }
  100. .button-3 {
  101. background-color: rgba(0, 0, 0, 0.15);
  102. position: fixed;
  103. /* bottom:200rpx;
  104. right: 20rpx; */
  105. top: 45%;
  106. right: 30rpx;
  107. z-index: 1001;
  108. border-radius: 100px;
  109. }
  110. /* 用户头像 start */
  111. .logo-image {
  112. width: 100rpx;
  113. height: 100rpx;
  114. position: relative;
  115. }
  116. .logo-pic {
  117. background-size: cover;
  118. background-repeat: no-repeat;
  119. // background-attachment:fixed;
  120. background-position: top;
  121. border: 6rpx solid rgba(255, 255, 255, 0.25);
  122. box-shadow: 0rpx 0rpx 80rpx 0rpx rgba(0, 0, 0, 0.15);
  123. border-radius: 50%;
  124. overflow: hidden;
  125. // background-color: #FFFFFF;
  126. }
  127. /* 底部tabbar start*/
  128. /* 毛玻璃*/
  129. .dd-glass {
  130. width: 100%;
  131. backdrop-filter: blur(20rpx);
  132. -webkit-backdrop-filter: blur(20rpx);
  133. }
  134. .footerfixed {
  135. position: fixed;
  136. // margin: 20rpx;
  137. margin: 40rpx 5%;
  138. width: 90%;
  139. bottom: calc(env(safe-area-inset-bottom) / 2);
  140. ;
  141. z-index: 999;
  142. background-color: rgba(0, 0, 0, 0.15);
  143. box-shadow: 0rpx 0rpx 30rpx 0rpx rgba(0, 0, 0, 0.07);
  144. }
  145. .tabbar {
  146. display: flex;
  147. align-items: center;
  148. min-height: 110rpx;
  149. justify-content: space-between;
  150. padding: 0;
  151. height: calc(110rpx + env(safe-area-inset-bottom) / 2);
  152. // padding-bottom: calc(env(safe-area-inset-bottom) / 2);
  153. }
  154. .tabbar .action {
  155. font-size: 22rpx;
  156. position: relative;
  157. flex: 1;
  158. text-align: center;
  159. padding: 0;
  160. display: block;
  161. height: auto;
  162. line-height: 1;
  163. margin: 0;
  164. overflow: initial;
  165. }
  166. .tabbar .action .bar-icon {
  167. width: 100rpx;
  168. position: relative;
  169. display: block;
  170. height: auto;
  171. margin: 0 auto 10rpx;
  172. text-align: center;
  173. font-size: 42rpx;
  174. }
  175. .tabbar .action .bar-icon image {
  176. width: 50rpx;
  177. height: 50rpx;
  178. display: inline-block;
  179. }
  180. /* 全屏轮播 start*/
  181. .card-swiper {
  182. height: 100vh !important;
  183. }
  184. .card-swiper swiper-item {
  185. width: 750rpx !important;
  186. left: 0rpx;
  187. box-sizing: border-box;
  188. overflow: initial;
  189. background: #000;
  190. }
  191. .card-swiper swiper-item .swiper-item {
  192. // width: 100%;
  193. // display: block;
  194. // height: 100vh;
  195. // border-radius: 0rpx;
  196. // transform: scale(0.9);
  197. // transition: all 0.2s ease-in 0s;
  198. // will-change: transform;
  199. // overflow: hidden;
  200. display: flex;
  201. align-items: center;
  202. justify-content: center;
  203. height: 100%;
  204. background: #000;
  205. }
  206. .card-swiper swiper-item.cur .swiper-item {
  207. transform: scale(1);
  208. transition: all 0.2s ease-in 0s;
  209. will-change: transform;
  210. }
  211. .image-banner {
  212. display: flex;
  213. align-items: center;
  214. justify-content: center;
  215. }
  216. .image-banner image {
  217. width: 100%;
  218. // height: 100%;
  219. }
  220. /* 轮播指示点 start*/
  221. .indication {
  222. z-index: 9999;
  223. width: 100%;
  224. height: 36rpx;
  225. position: fixed;
  226. display: flex;
  227. flex-direction: row;
  228. align-items: center;
  229. justify-content: center;
  230. }
  231. .spot {
  232. background-color: #FFFFFF;
  233. opacity: 0.6;
  234. width: 10rpx;
  235. height: 10rpx;
  236. border-radius: 20rpx;
  237. top: calc(-280rpx - env(safe-area-inset-bottom) / 2);
  238. top: calc(-280rpx - constant(safe-area-inset-bottom));
  239. margin: 0 8rpx !important;
  240. position: relative;
  241. }
  242. .spot.active {
  243. opacity: 1;
  244. width: 30rpx;
  245. background-color: #FFFFFF;
  246. }
  247. .lazy-load {
  248. background: #000;
  249. display: grid;
  250. align-items: center;
  251. padding-bottom: env(safe-area-inset-bottom);
  252. // height: 100%;
  253. }
  254. .lazy-load view {
  255. width: 100%;
  256. }
  257. .lazy-loading {
  258. background: #000;
  259. height: 100%;
  260. }
  261. .drawing {
  262. position: absolute;
  263. top: 46%;
  264. // color: #606266;
  265. font-size: 18px;
  266. }
  267. .progress {
  268. position: absolute;
  269. top: 52%;
  270. width: 60%;
  271. }
  272. .preloader_1 {
  273. position: absolute;
  274. // right: 8%;
  275. // bottom: 12%;
  276. // position: fixed;
  277. // right: 58%;
  278. margin-right: 65px;
  279. top: 42%;
  280. }
  281. .preloader_1 view {
  282. display: block;
  283. bottom: 0px;
  284. width: 9px;
  285. height: 5px;
  286. background: #9b59b6;
  287. position: absolute;
  288. animation: preloader_1 1.5s infinite ease-in-out;
  289. }
  290. .preloader_1 view:nth-child(2) {
  291. left: 11px;
  292. animation-delay: .2s;
  293. }
  294. .preloader_1 view:nth-child(3) {
  295. left: 22px;
  296. animation-delay: .4s;
  297. }
  298. .preloader_1 view:nth-child(4) {
  299. left: 33px;
  300. animation-delay: .6s;
  301. }
  302. .preloader_1 view:nth-child(5) {
  303. left: 44px;
  304. animation-delay: .8s;
  305. }
  306. @keyframes preloader_1 {
  307. 0% {
  308. height: 5px;
  309. transform: translateY(0px);
  310. background: #9b59b6;
  311. }
  312. 25% {
  313. height: 30px;
  314. transform: translateY(15px);
  315. background: #3498db;
  316. }
  317. 50% {
  318. height: 5px;
  319. transform: translateY(0px);
  320. background: #9b59b6;
  321. }
  322. 100% {
  323. height: 5px;
  324. transform: translateY(0px);
  325. background: #9b59b6;
  326. }
  327. }