turntableOne.wxss 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205
  1. @charset "UTF-8";
  2. /**
  3. * 这里是uni-app内置的常用样式变量
  4. *
  5. * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
  6. * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
  7. *
  8. */
  9. /**
  10. * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
  11. *
  12. * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
  13. */
  14. /* 颜色变量 */
  15. /* 行为相关颜色 */
  16. /* 文字基本颜色 */
  17. /* 背景颜色 */
  18. /* 边框颜色 */
  19. /* 尺寸变量 */
  20. /* 文字尺寸 */
  21. /* 图片尺寸 */
  22. /* Border Radius */
  23. /* 水平间距 */
  24. /* 垂直间距 */
  25. /* 透明度 */
  26. /* 文章场景相关 */
  27. @-webkit-keyframes spin-data-v-f7d474fa {
  28. from {
  29. -webkit-transform: rotate(0deg);
  30. transform: rotate(0deg);
  31. }
  32. to {
  33. -webkit-transform: rotate(360deg);
  34. transform: rotate(360deg);
  35. }
  36. }
  37. @keyframes spin-data-v-f7d474fa {
  38. from {
  39. -webkit-transform: rotate(0deg);
  40. transform: rotate(0deg);
  41. }
  42. to {
  43. -webkit-transform: rotate(360deg);
  44. transform: rotate(360deg);
  45. }
  46. }
  47. .infinite-spin.data-v-f7d474fa {
  48. -webkit-animation: spin-data-v-f7d474fa 1s linear infinite;
  49. animation: spin-data-v-f7d474fa 1s linear infinite;
  50. }
  51. .close.data-v-f7d474fa {
  52. width: 64rpx;
  53. height: 64rpx;
  54. margin: 24rpx auto 0 auto;
  55. display: block;
  56. }
  57. .turntable.data-v-f7d474fa {
  58. position: relative;
  59. width: 660rpx;
  60. height: 880rpx;
  61. /* 分隔线 */
  62. }
  63. .turntable .bg.data-v-f7d474fa {
  64. width: 660rpx;
  65. height: 880rpx;
  66. position: absolute;
  67. top: 0;
  68. left: 0;
  69. }
  70. .turntable-con.data-v-f7d474fa {
  71. width: 660rpx;
  72. height: 880rpx;
  73. display: flex;
  74. flex-direction: column;
  75. align-items: center;
  76. position: relative;
  77. z-index: 2;
  78. }
  79. .turntable .text.data-v-f7d474fa {
  80. width: 520rpx;
  81. height: 104rpx;
  82. margin-top: 47rpx;
  83. }
  84. .turntable .base.data-v-f7d474fa {
  85. width: 451rpx;
  86. height: 177rpx;
  87. position: absolute;
  88. bottom: 55rpx;
  89. left: 50%;
  90. -webkit-transform: translateX(-50%);
  91. transform: translateX(-50%);
  92. z-index: 3;
  93. }
  94. .turntable .decoration_img.data-v-f7d474fa {
  95. width: 637rpx;
  96. height: 592rpx;
  97. position: absolute;
  98. bottom: 85rpx;
  99. left: 50%;
  100. -webkit-transform: translateX(-50%);
  101. transform: translateX(-50%);
  102. z-index: 4;
  103. }
  104. .turntable .ring.data-v-f7d474fa {
  105. width: 502rpx;
  106. height: 502rpx;
  107. background: #FFFDFD;
  108. border-radius: 50%;
  109. position: relative;
  110. margin-top: 79rpx;
  111. z-index: 9;
  112. }
  113. .turntable .button.data-v-f7d474fa {
  114. width: 158rpx;
  115. height: 200rpx;
  116. position: absolute;
  117. top: calc(50% - 21rpx);
  118. left: 50%;
  119. -webkit-transform: translate(-50%, -50%);
  120. transform: translate(-50%, -50%);
  121. z-index: 99;
  122. }
  123. .turntable .ring_bg.data-v-f7d474fa {
  124. width: 620rpx;
  125. height: 620rpx;
  126. position: absolute;
  127. bottom: 74rpx;
  128. left: 50%;
  129. -webkit-transform: translateX(-50%);
  130. transform: translateX(-50%);
  131. z-index: 6;
  132. }
  133. .turntable .canvas-content.data-v-f7d474fa {
  134. position: absolute;
  135. left: 0;
  136. top: 0;
  137. z-index: 1;
  138. display: block;
  139. width: 502rpx;
  140. height: 502rpx;
  141. border-radius: inherit;
  142. /* background-clip: padding-box; */
  143. /* background-color: #ffcb3f; */
  144. }
  145. .turntable .icon-awrad.data-v-f7d474fa {
  146. width: 72rpx;
  147. height: 72rpx;
  148. margin-top: 10rpx;
  149. object-fit: contain;
  150. }
  151. .turntable .canvas-list.data-v-f7d474fa {
  152. position: absolute;
  153. left: 0;
  154. top: 0;
  155. width: inherit;
  156. height: inherit;
  157. z-index: 99;
  158. }
  159. .turntable .canvas-item.data-v-f7d474fa {
  160. position: absolute;
  161. left: 0;
  162. top: 0;
  163. width: 100%;
  164. height: 100%;
  165. color: #e4370e;
  166. /* text-shadow: 0 1rpx 1rpx rgba(255, 255, 255, 0.6); */
  167. }
  168. .turntable .canvas-item-text.data-v-f7d474fa {
  169. position: relative;
  170. display: block;
  171. padding-top: 14rpx;
  172. margin: 0 auto;
  173. text-align: center;
  174. -webkit-transform-origin: 50% 251rpx;
  175. transform-origin: 50% 251rpx;
  176. display: flex;
  177. flex-direction: column;
  178. align-items: center;
  179. color: #F72F26;
  180. font-weight: 500;
  181. font-size: 24rpx;
  182. }
  183. .turntable .canvas-item-text text.data-v-f7d474fa {
  184. font-size: 30rpx;
  185. }
  186. .turntable .canvas-line.data-v-f7d474fa {
  187. position: absolute;
  188. left: 0;
  189. top: 0;
  190. width: inherit;
  191. height: inherit;
  192. z-index: 99;
  193. }
  194. .turntable .canvas-litem.data-v-f7d474fa {
  195. position: absolute;
  196. left: 251rpx;
  197. top: 0;
  198. width: 1rpx;
  199. height: 251rpx;
  200. background-color: #FF4D2C;
  201. overflow: hidden;
  202. -webkit-transform-origin: 50% 251rpx;
  203. transform-origin: 50% 251rpx;
  204. }