C端小程序
Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

225 řádky
3.4 KiB

  1. @import "../../app.wxss";
  2. .couponBox{
  3. height: 100%;
  4. margin-top: 20rpx;
  5. background:linear-gradient(180deg,rgba(253,131,45,1) 0%,rgba(254,74,22,1) 100%);
  6. }
  7. page {
  8. background: linear-gradient(180deg,rgba(253,131,45,1) 0%,rgba(254,74,22,1) 100%);
  9. height: auto !important;
  10. }
  11. .couponbg {
  12. position: relative;
  13. background: #fff;
  14. overflow: hidden;
  15. width: 92%;
  16. margin: 0 auto 6%;
  17. border-radius: 16rpx;
  18. padding-bottom: 20rpx;
  19. }
  20. .title {
  21. line-height: 36rpx;
  22. text-align: center;
  23. padding-top: 54rpx;
  24. font-size: 32rpx;
  25. color: #1f2d3d;
  26. letter-spacing: 0;
  27. }
  28. .subtitle {
  29. color: #7f8b9e;
  30. font-size: 26rpx;
  31. line-height: 30rpx;
  32. margin-top: 16rpx;
  33. text-align: center;
  34. }
  35. .line {
  36. height: 10rpx;
  37. display: block;
  38. width: 100%;
  39. margin-top: 20rpx;
  40. }
  41. .panel, .zhuangtai image {
  42. width:500rpx;
  43. display:block;
  44. border-radius:10rpx;
  45. margin:0 auto;
  46. padding:0;
  47. z-index:10000;
  48. }
  49. .pane2 {
  50. background: #fff;
  51. opacity: 0.6;
  52. }
  53. .pane2 image {
  54. width: 500rpx;
  55. display: block;
  56. margin: 40rpx auto 0;
  57. }
  58. .barcode {
  59. height: 100rpx;
  60. width: 500rpx;
  61. margin: 0 auto;
  62. }
  63. .barnum {
  64. height: 46rpx;
  65. line-height: 46rpx;
  66. font-size: 24rpx;
  67. text-align: center;
  68. letter-spacing: 2rpx;
  69. white-space: nowrap;
  70. color: #7f7f7f;
  71. }
  72. .barnum text {
  73. display: inline-block;
  74. vertical-align: top;
  75. font-size: 24rpx;
  76. color: #999;
  77. letter-spacing: 0;
  78. margin-right: 6rpx;
  79. }
  80. .barcode > canvas {
  81. width: 500rpx;
  82. height: 100rpx;
  83. }
  84. .qrcode {
  85. position: relative;
  86. height: 360rpx;
  87. display: flex;
  88. flex-direction: column;
  89. justify-content: flex-end;
  90. align-items: center;
  91. }
  92. .qrcode > canvas {
  93. width: 350rpx;
  94. height: 350rpx;
  95. }
  96. .jine {
  97. color: #f96563 !important;
  98. font-size: 36rpx !important;
  99. }
  100. .buy-view {
  101. background: #fff;
  102. position: fixed;
  103. padding-top: 10rpx;
  104. height: 98rpx;
  105. bottom: 0rpx;
  106. left: 0;
  107. right: 0;
  108. }
  109. .buy {
  110. background: #fff;
  111. height: 88rpx;
  112. width: 100%;
  113. margin: 0 auto 40rpx;
  114. line-height: 88rpx;
  115. border: 2rpx solid #ccc;
  116. border-radius: 10px;
  117. font-size: 36rpx;
  118. color: #333;
  119. letter-spacing: 0;
  120. }
  121. .mai {
  122. font-size: 24rpx;
  123. color: #919191;
  124. letter-spacing: 0;
  125. }
  126. .remark {
  127. padding-top: 17rpx;
  128. font-size: 24rpx;
  129. color: #333;
  130. letter-spacing: 0;
  131. line-height: 42rpx;
  132. }
  133. /* 小游戏入口
  134. */
  135. .game-entry{
  136. width: 690rpx;
  137. height: 140rpx;
  138. margin: 0 auto;
  139. border-radius: 14rpx;
  140. box-shadow: 1px 4px 20px #C4C4C4;
  141. background: #fff;
  142. }
  143. .game {
  144. position: relative;
  145. width: 750rpx;
  146. height: 200rpx;
  147. margin: 0 auto;
  148. padding-top: 30rpx;
  149. box-sizing: border-box;
  150. }
  151. .gameimg{
  152. position: absolute;
  153. right: 25rpx;
  154. top: -14rpx;
  155. width: 250rpx;
  156. }
  157. .game text {
  158. display: block;
  159. position: relative;
  160. }
  161. .game text:nth-of-type(1) {
  162. display: inline-block;
  163. padding-top: 39rpx;
  164. padding-left: 70rpx;
  165. font-size: 32rpx;
  166. color: #333;
  167. line-height: 36rpx;
  168. }
  169. .game text:nth-of-type(2) {
  170. font-size: 24rpx;
  171. color: #999;
  172. line-height: 24rpx;
  173. padding-left: 70rpx;
  174. }
  175. .notes view:nth-child(1) {
  176. height: 87rpx;
  177. line-height: 87rpx;
  178. background: #fff;
  179. }
  180. .notes {
  181. width: 92%;
  182. margin: 0 auto;
  183. }
  184. .notes view:nth-child(1) text {
  185. color: #333;
  186. letter-spacing: 0;
  187. font-size: 30rpx;
  188. height: 70rpx;
  189. line-height: 70rpx;
  190. }
  191. .notes view:nth-child(2) {
  192. background: #fff;
  193. display: flex;
  194. flex-direction: column;
  195. }
  196. .notes view:nth-child(2)>text {
  197. font-size: 24rpx;
  198. color: #919191;
  199. letter-spacing: 0;
  200. line-height: 42rpx;
  201. }