C端小程序
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

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