C端小程序
Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

279 Zeilen
4.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. .coedTiem{
  21. text-align: center;
  22. color: rgba(253,131,45,1);
  23. margin-bottom: 10rpx;
  24. }
  25. .title {
  26. line-height: 36rpx;
  27. text-align: center;
  28. padding-top: 54rpx;
  29. font-size: 32rpx;
  30. color: #1f2d3d;
  31. letter-spacing: 0;
  32. }
  33. .subtitle {
  34. color: #7f8b9e;
  35. font-size: 26rpx;
  36. line-height: 30rpx;
  37. margin-top: 16rpx;
  38. text-align: center;
  39. }
  40. .line {
  41. height: 10rpx;
  42. display: block;
  43. width: 100%;
  44. margin-top: 20rpx;
  45. }
  46. .panel, .zhuangtai image {
  47. width:500rpx;
  48. display:block;
  49. border-radius:10rpx;
  50. margin:0 auto;
  51. padding:0;
  52. z-index:10000;
  53. }
  54. .panel{
  55. position: relative;
  56. }
  57. .pane2 {
  58. background: #fff;
  59. opacity: 0.6;
  60. }
  61. .pane2 image {
  62. width: 500rpx;
  63. display: block;
  64. margin: 40rpx auto 0;
  65. }
  66. .barcode {
  67. height: 100rpx;
  68. width: 500rpx;
  69. margin: 0 auto;
  70. }
  71. .barnum{
  72. background: #fff;
  73. height: 88rpx;
  74. width: 540rpx;
  75. line-height: 88rpx;
  76. border: 2rpx solid #ccc;
  77. border-radius: 10px;
  78. font-size: 36rpx;
  79. color: #333;
  80. letter-spacing: 0;
  81. text-align: center;
  82. overflow: hidden;
  83. margin-left: -10rpx;
  84. }
  85. .barnumtext{
  86. float: left;
  87. margin-left: 20rpx;
  88. font-size: 30rpx;
  89. }
  90. .barnumImg{
  91. float: left;
  92. height: 40rpx;
  93. width: 40rpx !important;
  94. margin: 24rpx 20rpx !important;
  95. }
  96. .barnumtext::before{
  97. content: "优惠券码:";
  98. font-size: 24rpx;
  99. color: #999;
  100. }
  101. .barcode > canvas {
  102. width: 500rpx;
  103. height: 100rpx;
  104. }
  105. .qrcode {
  106. position: relative;
  107. height: 360rpx;
  108. display: flex;
  109. flex-direction: column;
  110. justify-content: flex-end;
  111. align-items: center;
  112. }
  113. .qrcode > canvas {
  114. width: 350rpx;
  115. height: 350rpx;
  116. }
  117. .jine {
  118. color: #f96563 !important;
  119. font-size: 36rpx !important;
  120. }
  121. .buy-view {
  122. background: #fff;
  123. position: fixed;
  124. padding-top: 10rpx;
  125. height: 98rpx;
  126. bottom: 0rpx;
  127. left: 0;
  128. right: 0;
  129. }
  130. .buy {
  131. background: #fff;
  132. height: 88rpx;
  133. width: 100%;
  134. margin: 0 auto 40rpx;
  135. line-height: 88rpx;
  136. border: 2rpx solid #ccc;
  137. border-radius: 10px;
  138. font-size: 36rpx;
  139. color: #333;
  140. letter-spacing: 0;
  141. }
  142. .mai {
  143. font-size: 24rpx;
  144. color: #919191;
  145. letter-spacing: 0;
  146. }
  147. .remark {
  148. padding-top: 17rpx;
  149. font-size: 24rpx;
  150. color: #333;
  151. letter-spacing: 0;
  152. line-height: 42rpx;
  153. }
  154. /* 小游戏入口
  155. */
  156. .game-entry{
  157. width: 690rpx;
  158. height: 140rpx;
  159. margin: 0 auto;
  160. border-radius: 14rpx;
  161. box-shadow: 1px 4px 20px #C4C4C4;
  162. background: #fff;
  163. }
  164. .game {
  165. position: relative;
  166. width: 750rpx;
  167. height: 200rpx;
  168. margin: 0 auto;
  169. padding-top: 30rpx;
  170. box-sizing: border-box;
  171. }
  172. .gameimg{
  173. position: absolute;
  174. right: 25rpx;
  175. top: -14rpx;
  176. width: 250rpx;
  177. }
  178. .game text {
  179. display: block;
  180. position: relative;
  181. }
  182. .game text:nth-of-type(1) {
  183. display: inline-block;
  184. padding-top: 39rpx;
  185. padding-left: 70rpx;
  186. font-size: 32rpx;
  187. color: #333;
  188. line-height: 36rpx;
  189. }
  190. .game text:nth-of-type(2) {
  191. font-size: 24rpx;
  192. color: #999;
  193. line-height: 24rpx;
  194. padding-left: 70rpx;
  195. }
  196. .notes view:nth-child(1) {
  197. height: 87rpx;
  198. line-height: 87rpx;
  199. background: #fff;
  200. }
  201. .notes {
  202. width: 92%;
  203. margin: 0 auto;
  204. }
  205. .notes view:nth-child(1) text {
  206. color: #333;
  207. letter-spacing: 0;
  208. font-size: 30rpx;
  209. height: 70rpx;
  210. line-height: 70rpx;
  211. }
  212. .notes view:nth-child(2) {
  213. background: #fff;
  214. display: flex;
  215. flex-direction: column;
  216. }
  217. .notes view:nth-child(2)>text {
  218. font-size: 24rpx;
  219. color: #919191;
  220. letter-spacing: 0;
  221. line-height: 42rpx;
  222. }
  223. .closeRq{
  224. position: absolute;
  225. width: 420rpx;
  226. height: 420rpx;
  227. line-height: 420rpx;
  228. text-align: center;
  229. background-color: rgba(0, 0, 0, 0.8);
  230. left: 50%; top: 42%;
  231. transform: translate(-50%, -50%); /* 50%为自身尺寸的一半 */
  232. z-index: 10000000;
  233. color: #fff;
  234. font-size: 38rpx;
  235. }
  236. .updataRqCode{
  237. width: 80rpx !important;
  238. height: 80rpx;
  239. margin-top: calc(50%-80rpx) !important;
  240. margin-left: calc(50%-80rpx) !important;
  241. display: inline-block !important;
  242. }
  243. .upDataRq{
  244. position: absolute;
  245. width: 100%;
  246. text-align: center;
  247. height: 80rpx;
  248. color: #fff ;
  249. top: 20%;
  250. left: 0;
  251. }
  252. /* rich-text img{
  253. max-width: 100%;
  254. } */