C端小程序
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

335 lines
6.0 KiB

  1. /* pages/spellGroup/spellGroup.wxss */
  2. page {
  3. height: auto;
  4. overflow: auto;
  5. background: #F4F5F9;
  6. /* background-image: url('https://s3.cn-northwest-1.amazonaws.com.cn/iformall-net/cimg/spell-bg.png'); */
  7. background-size: cover;
  8. background-repeat: no-repeat;
  9. }
  10. .content-box{
  11. height: auto;
  12. /* padding-bottom: 200rpx; */
  13. padding: 0 16rpx 200rpx;
  14. }
  15. .loading {
  16. text-align: center;
  17. height: 80rpx;
  18. line-height: 80rpx;
  19. font-size: 26rpx;
  20. color: #fff;
  21. }
  22. .loading image {
  23. width: 60rpx;
  24. height: 60rpx;
  25. vertical-align: middle;
  26. margin-right: 10rpx;
  27. }
  28. .banner{
  29. margin-bottom: 20rpx;
  30. background: none;
  31. border-radius: 16rpx;
  32. }
  33. .banner .bg {
  34. display: block;
  35. width: 100%;
  36. }
  37. image{
  38. padding: 0;
  39. margin: 0;
  40. }
  41. .banner .bannerbg image{
  42. display: none!important;
  43. height: 0;
  44. overflow: hidden;
  45. }
  46. .bannerimg {
  47. display: block;
  48. width: 710rpx;
  49. height: 260rpx;
  50. border-radius: 15rpx;
  51. margin: -132rpx auto 0;
  52. }
  53. .banner .index-slide-view {
  54. margin: -132rpx auto 0;
  55. }
  56. .top{
  57. position: absolute;
  58. top: 30rpx;
  59. width: 710rpx;
  60. height: 260rpx;
  61. background: #fff;
  62. left: 20rpx;
  63. border-radius: 16rpx;
  64. overflow: hidden;
  65. }
  66. .content .sepll-list{
  67. width: 346rpx;
  68. height: 432rpx;
  69. background: #fff;
  70. border-radius: 30rpx;
  71. margin-bottom: 20rpx;
  72. }
  73. .content >view:nth-of-type(2n){
  74. float: right;
  75. }
  76. .content>view:nth-of-type(2n+1){
  77. float: left;
  78. }
  79. .content .spell-left{
  80. width: 100%;
  81. height: 196rpx;
  82. }
  83. .content .spell-left image{
  84. width: 300rpx;
  85. height: 176rpx;
  86. margin: 20rpx;
  87. }
  88. .content .spell-center{
  89. padding: 0 20rpx;
  90. width: 304rpx;
  91. height: 100%;
  92. }
  93. .content .tilte{
  94. font-size:30rpx;
  95. font-family:PingFang-SC-Bold;
  96. font-weight:bold;
  97. color:rgba(51,51,51,1);
  98. line-height:44rpx;
  99. padding-top: 16rpx;
  100. overflow: hidden;
  101. text-overflow:ellipsis;
  102. white-space: nowrap;
  103. }
  104. .content .remark{
  105. width:304rpx;
  106. font-size:24rpx;
  107. font-family:PingFang-SC-Medium;
  108. font-weight:500;
  109. color:rgba(140,140,140,1);
  110. line-height:44rpx;
  111. overflow: hidden;
  112. text-overflow:ellipsis;
  113. white-space: nowrap;
  114. }
  115. .content .numBox{
  116. display: flex;
  117. justify-content: space-between;
  118. }
  119. .content .spell-num{
  120. width: 80rpx;
  121. height: 32rpx;
  122. border:1px solid #FD782D;
  123. border-radius:10rpx;
  124. font-size:24rpx;
  125. font-family:PingFang-SC-Medium;
  126. font-weight:500;
  127. color:#FD782D;
  128. line-height:32rpx;
  129. margin: 10rpx 0;
  130. text-align: center;
  131. }
  132. .content .price{
  133. overflow: hidden;
  134. /* margin-top: 10rpx; */
  135. margin-bottom: 20rpx;
  136. }
  137. .content .price01{
  138. display: inline;
  139. font-size:50rpx;
  140. font-family:PingFang-SC-Medium;
  141. font-weight:500;
  142. color:#FD782D;
  143. line-height:44rpx;
  144. }
  145. .content .price02{
  146. display: inline;
  147. font-size: 24rpx;
  148. font-family:PingFang-SC-Medium;
  149. font-weight:500;
  150. text-decoration:line-through;
  151. color:rgba(140,140,140,1);
  152. }
  153. .content .price-num{
  154. display: inline;
  155. font-size: 40rpx;
  156. }
  157. .content .price-unit{
  158. display: inline;
  159. font-size:24rpx;
  160. /* margin-right:4rpx; */
  161. }
  162. .right-button{
  163. width:100rpx;
  164. height:50rpx;
  165. font-size:24rpx;
  166. background:linear-gradient(127deg,rgba(252,177,74,1) 0%,rgba(254,70,20,1) 100%);
  167. border-radius:20rpx;
  168. font-family:PingFang-SC-Medium;
  169. font-weight:500;
  170. text-align: center;
  171. color:rgba(255,255,255,1);
  172. line-height:50rpx;
  173. float: right;
  174. }
  175. .right-text{
  176. font-size:22rpx;
  177. font-family:PingFang-SC-Medium;
  178. font-weight:500;
  179. color:rgba(140,140,140,1);
  180. line-height:60rpx;
  181. text-align: center;
  182. }
  183. .bottom{
  184. width:100%;
  185. height:100rpx;
  186. position:fixed;
  187. bottom:0;
  188. left: 0;
  189. color:#fff;
  190. overflow:hidden;
  191. }
  192. .bottom-left{
  193. width: 50%;
  194. height: 100%;
  195. float: left;
  196. margin-left: -1rpx;
  197. text-align: center;
  198. line-height: 100rpx;
  199. font-size:30rpx;
  200. font-family:PingFang-SC-Medium;
  201. font-weight:500;
  202. color:rgba(255,253,245,1);
  203. /* border-right:1px solid rgba(255, 222, 67, 1); */
  204. background: linear-gradient(127deg,rgba(252,177,74,1) 0%,rgba(254,70,20,1) 100%);
  205. opacity: 1;
  206. }
  207. .bottom-leftN{
  208. width: 50%;
  209. height: 100%;
  210. float: left;
  211. margin-left: -1rpx;
  212. text-align: center;
  213. line-height: 100rpx;
  214. font-size:30rpx;
  215. font-family:PingFang-SC-Medium;
  216. font-weight:500;
  217. color:#3C3C3C;
  218. background:#FFF;
  219. opacity: 1;
  220. }
  221. .spell-bottom{
  222. overflow: hidden;
  223. }
  224. .spell-top{
  225. height: auto;
  226. margin: 0 20rpx;
  227. overflow: hidden;
  228. box-sizing: border-box;
  229. border-bottom: 1rpx solid #EEEEEE;
  230. }
  231. .spell-top-left{
  232. float: left;
  233. width: 60%;
  234. overflow:hidden;
  235. text-overflow:ellipsis;
  236. white-space:nowrap;
  237. }
  238. .spell-top-right{
  239. float: right;
  240. width: 40%;
  241. overflow:hidden;
  242. text-overflow:ellipsis;
  243. white-space:nowrap;
  244. }
  245. .top-title{
  246. display: inline;
  247. font-size:24rpx;
  248. font-family:PingFang-SC-Medium;
  249. font-weight:500;
  250. color:rgba(51,51,51,1);
  251. line-height:64rpx;
  252. }
  253. .top-num{
  254. display: inline;
  255. font-size:24rpx;
  256. font-family:PingFang-SC-Medium;
  257. font-weight:500;
  258. color:#FF3232;
  259. line-height:64rpx;
  260. padding-left: 8rpx;
  261. }
  262. .spell-top-right{
  263. text-align: right;
  264. font-size:26rpx;
  265. font-family:PingFang-SC-Medium;
  266. font-weight:500;
  267. color:rgba(255,50,50,1);
  268. line-height:64rpx;
  269. }
  270. .no-data01{
  271. width: 690rpx;
  272. padding-top: 174rpx;
  273. height: calc(100vh - 460rpx);
  274. background: #fff;
  275. margin: 0 auto;
  276. border-radius:15rpx;
  277. box-sizing: border-box;
  278. margin-top: 320rpx;
  279. }
  280. .no-data{
  281. width: 690rpx;
  282. padding-top: 174rpx;
  283. height: calc(100vh - 160rpx);
  284. background: #fff;
  285. margin: 0 auto;
  286. border-radius:15rpx;
  287. box-sizing: border-box;
  288. margin-top:20rpx;
  289. }
  290. .no-data01 image{
  291. width: 261rpx;
  292. height: 272rpx;
  293. display: block;
  294. margin: 0 auto;
  295. }
  296. .no-data image{
  297. width: 261rpx;
  298. height: 272rpx;
  299. display: block;
  300. margin: 0 auto;
  301. }
  302. .no-data-text{
  303. text-align: center;
  304. font-size:34rpx;
  305. font-family:PingFang-SC-Medium;
  306. font-weight:500;
  307. color:rgba(0,0,0,1);
  308. }
  309. button::after{ border: none; }
  310. .goback{
  311. position: fixed;
  312. right: 50rpx;
  313. bottom: 60rpx;
  314. width:100rpx!important;
  315. height:100rpx;
  316. z-index: 100;
  317. background:rgba(255,255,255,1);
  318. line-height: 95rpx;
  319. border:1rpx solid rgba(227,227,227,1);
  320. border-radius:50%;
  321. }
  322. .goback image{
  323. position: absolute;
  324. width: 60rpx;
  325. left: 0;
  326. right: 0;
  327. top: 0;
  328. bottom: 0;
  329. margin: auto;
  330. }