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ů.

425 řádky
8.4 KiB

  1. /* pages/spellDetail/index.wxss */
  2. page {
  3. height: auto;
  4. overflow: auto;
  5. background: #f89132;
  6. background-image: url('https://s3.cn-northwest-1.amazonaws.com.cn/iformall-net/cimg/spelldetail-bg.png');
  7. background-size: cover;
  8. background-repeat: no-repeat;
  9. }
  10. .container{
  11. margin-bottom:40rpx;
  12. }
  13. .status{
  14. width: 690rpx;
  15. padding:0 28rpx;
  16. margin: 0 auto;
  17. box-sizing: border-box;
  18. background:rgba(255,255,255,1);
  19. border-radius:15rpx;
  20. }
  21. .edit{
  22. position: fixed;
  23. width: 750rpx;
  24. height: 185rpx;
  25. bottom: 60rpx;
  26. left: 0;
  27. }
  28. .status-top{
  29. width: 100%;
  30. height: 75rpx;
  31. box-sizing: border-box;
  32. border-bottom: 1rpx solid #F9F9F9;
  33. /* overflow: hidden; */
  34. }
  35. .p-status{
  36. float: left;
  37. width: 260rpx;
  38. font-size:32rpx;
  39. font-family:PingFang-SC-Bold;
  40. font-weight:bold;
  41. color:rgba(243,69,58,1);
  42. line-height: 75rpx;
  43. }
  44. .p-time{
  45. float: right;
  46. font-size:26rpx;
  47. font-family:PingFang-SC-Medium;
  48. font-weight:500;
  49. color:rgba(243,69,58,1);
  50. width: 38rpx;
  51. height: 30rpx;
  52. margin-top: 22rpx;
  53. background:rgba(252,220,221,1);
  54. border-radius:10rpx;
  55. line-height: 30rpx;
  56. text-align: center;
  57. margin: 22rpx 6rpx;
  58. }
  59. .p-mao{
  60. float: right;
  61. font-size:26rpx;
  62. font-family:PingFang-SC-Medium;
  63. font-weight:500;
  64. color:rgba(243,69,58,1);
  65. line-height: 75rpx;
  66. }
  67. .p-text{
  68. float: right;
  69. font-size:26rpx;
  70. font-family:PingFang-SC-Regular;
  71. font-weight:400;
  72. color:rgba(51,51,51,1);
  73. line-height:75rpx;
  74. }
  75. .status-center{
  76. width: 100%;
  77. overflow: hidden;
  78. padding: 20rpx 0;
  79. text-align: center;
  80. border-bottom: 1rpx solid #F9F9F9;
  81. }
  82. .tuanzhang{
  83. float: left;
  84. width: 120rpx;
  85. height: 120rpx;
  86. position: relative;
  87. box-sizing:border-box;
  88. }
  89. .touxiangitems{
  90. padding: 20rpx;
  91. margin: 0;
  92. overflow: hidden;
  93. }
  94. .touxiang{
  95. width: 80rpx;
  96. height: 80rpx;
  97. border-radius: 40rpx;
  98. overflow: hidden;
  99. }
  100. .no-touxiang{
  101. width: 80rpx;
  102. height: 80rpx;
  103. overflow: hidden;
  104. background:rgba(252,220,221,1);
  105. border:1rpx solid rgba(243,69,58,1);
  106. border-radius:50%;
  107. box-sizing: border-box;
  108. line-height: 78rpx;
  109. text-align: center;
  110. font-size:32rpx;
  111. font-family:PingFang-SC-Regular;
  112. font-weight:400;
  113. color:rgba(243,69,58,1);
  114. margin: 0;
  115. padding: 0;
  116. }
  117. .touxiang image{
  118. width: 80rpx;
  119. height: 80rpx;
  120. }
  121. .tuan-icon{
  122. position: absolute;
  123. bottom:20rpx;
  124. left:28rpx;
  125. width: 64rpx;
  126. height: 27rpx;
  127. }
  128. .tuan-icon image{
  129. display: block;
  130. width: 64rpx;
  131. height: 27rpx;
  132. }
  133. .status-bottom{
  134. width: 100%;
  135. height: auto;
  136. overflow: hidden;
  137. }
  138. .position-icon{
  139. width: 38rpx;
  140. float: left;
  141. }
  142. .position-icon image{
  143. width: 27rpx;
  144. height: 37rpx;
  145. margin-top: 17rpx;
  146. }
  147. .position{
  148. font-size:28rpx;
  149. font-family:PingFang-SC-Medium;
  150. font-weight:500;
  151. color:rgba(51,51,51,1);
  152. line-height: 72rpx;
  153. }
  154. .detail{
  155. position: relative;
  156. width: 690rpx;
  157. padding:0 28rpx;
  158. margin: 30rpx auto 0;
  159. box-sizing: border-box;
  160. background:rgba(255,255,255,1);
  161. border-radius:15rpx;
  162. }
  163. .return-index{
  164. position: absolute;
  165. right: 30rpx;
  166. top: 30rpx;
  167. width: 50rpx;
  168. height: 50rpx;
  169. }
  170. .return-index image{
  171. display: block;
  172. width: 50rpx;
  173. height: 50rpx;
  174. }
  175. .detail-top{
  176. width: 100%;
  177. height: auto;
  178. overflow: hidden;
  179. padding-bottom: 12rpx;
  180. }
  181. .detail-top01{
  182. float: left;
  183. width: 180rpx;
  184. }
  185. .detail-top01 image{
  186. width: 180rpx;
  187. height: 180rpx;
  188. margin-top: 33rpx;
  189. }
  190. .detail-top02{
  191. width: 208rpx;
  192. float: left;
  193. margin-left: 16rpx;
  194. }
  195. .title{
  196. font-size:30rpx;
  197. font-family:PingFang-SC-Bold;
  198. font-weight:bold;
  199. color:rgba(51,51,51,1);
  200. line-height:44rpx;
  201. margin-top: 30rpx;
  202. overflow:hidden;
  203. text-overflow:ellipsis;
  204. white-space:nowrap;
  205. }
  206. .des{
  207. font-size:26rpx;
  208. font-family:PingFang-SC-Medium;
  209. font-weight:500;
  210. color:rgba(134,134,134,1);
  211. line-height:40rpx;
  212. overflow:hidden;
  213. text-overflow:ellipsis;
  214. white-space:nowrap;
  215. }
  216. .detail-top03{
  217. float: left;
  218. padding-top: 180rpx;
  219. width: 230rpx;
  220. }
  221. .detail-p-name{
  222. float: right;
  223. font-size:26rpx;
  224. font-family:PingFang-SC-Medium;
  225. font-weight:500;
  226. color:rgba(134,134,134,1);
  227. line-height:44rpx;
  228. }
  229. .detail-p-price{
  230. float: right;
  231. font-size:26rpx;
  232. font-family:PingFang-SC-Medium;
  233. font-weight:500;
  234. color:rgba(51,51,51,1);
  235. }
  236. .detail-bottom{
  237. border-top: 1rpx solid #F9F9F9;
  238. width: 100%;
  239. overflow: hidden;
  240. height: 86rpx;
  241. }
  242. .b-unit{
  243. float: right;
  244. font-size:24rpx;
  245. font-family:PingFang-SC-Medium;
  246. font-weight:500;
  247. color:rgba(237,63,46,1);
  248. margin-top: 36rpx;
  249. }
  250. .b-price{
  251. float: right;
  252. font-size:40rpx;
  253. font-family:PingFang-SC-Medium;
  254. font-weight:500;
  255. color:rgba(237,63,46,1);
  256. margin-top: 18rpx;
  257. }
  258. .b-name{
  259. float: right;
  260. font-size:26rpx;
  261. font-family:PingFang-SC-Medium;
  262. font-weight:500;
  263. color:rgba(51,51,51,1);
  264. margin-right: 6rpx;
  265. margin-top: 34rpx;
  266. }
  267. .order{
  268. width: 690rpx;
  269. padding:10rpx 28rpx;
  270. margin: 30rpx auto 0;
  271. box-sizing: border-box;
  272. background:rgba(255,255,255,1);
  273. border-radius:15rpx;
  274. }
  275. .order-list{
  276. height: 55rpx;
  277. }
  278. .order-title{
  279. line-height: 55rpx;
  280. float: left;
  281. font-size:26rpx;
  282. font-family:PingFang-SC-Medium;
  283. font-weight:500;
  284. color:rgba(51,51,51,1);
  285. }
  286. .order-text{
  287. float: right;
  288. text-align: right;
  289. line-height: 55rpx;
  290. font-size:26rpx;
  291. font-family:PingFang-SC-Medium;
  292. font-weight:500;
  293. color:rgba(134,134,134,1);
  294. }
  295. .user-motto {
  296. border: 0;
  297. width:650rpx;
  298. height:85rpx;
  299. background:linear-gradient(90deg,rgba(248,85,45,1) 0%,rgba(241,60,66,1) 0%,rgba(248,86,46,1) 100%);
  300. box-shadow:0px 8rpx 8rpx 1rpx rgba(242,61,65,0.32);
  301. border-radius:43rpx;
  302. font-size:36rpx;
  303. font-family:PingFang-SC-Medium;
  304. font-weight:500;
  305. color:rgba(254,254,254,1);
  306. line-height: 85rpx;
  307. margin-top: 100rpx;
  308. }
  309. .user-motto::after {
  310. border: none;
  311. }
  312. .button button:nth-of-type(1){
  313. width:520rpx;
  314. height:95rpx;
  315. margin: 30rpx auto 38rpx;
  316. background:linear-gradient(90deg,rgba(248,85,45,1) 0%,rgba(241,60,66,1) 0%,rgba(248,86,46,1) 100%);
  317. border-radius:47rpx;
  318. color: #fff;
  319. }
  320. .button button:nth-of-type(2){
  321. width:520rpx;
  322. height:95rpx;
  323. background:rgba(255,255,255,1);
  324. border:1rpx solid rgba(190,190,190,1);
  325. border-radius:47rpx;
  326. color:#333333;
  327. margin-bottom: 50rpx;
  328. }
  329. .alert-bg{
  330. width: 100%;
  331. height: 100vh;
  332. position: fixed;
  333. opacity: 0.7;
  334. background: #000;
  335. top: 0;
  336. left: 0;
  337. z-index: 200;
  338. }
  339. .alert-box{
  340. width: 600rpx;
  341. height: 332rpx;
  342. position: fixed;
  343. z-index: 300;
  344. background: #fff;
  345. top: 50vh;
  346. margin-top: -162rpx;
  347. left: 85rpx;
  348. border-radius:15rpx;
  349. }
  350. .alert-close{
  351. position: absolute;
  352. width: 47rpx;
  353. height: 98rpx;
  354. top: -98rpx;
  355. right: 0;
  356. }
  357. .alert-close image{
  358. width: 47rpx;
  359. height: 98rpx;
  360. }
  361. .alert-title{
  362. text-align: center;
  363. font-size:30rpx;
  364. line-height: 30rpx;
  365. margin-top: 79rpx;
  366. font-family:PingFang-SC-Medium;
  367. font-weight:500;
  368. color:rgba(51,51,51,1);
  369. }
  370. .alert-button .share{
  371. width:500rpx;
  372. height:95rpx;
  373. background:linear-gradient(90deg,rgba(248,85,45,1) 0%,rgba(241,60,66,1) 0%,rgba(248,86,46,1) 100%);
  374. border-radius:47rpx;
  375. margin-top: 79rpx;
  376. }
  377. .al-bg{
  378. position: fixed;
  379. width: 100%;
  380. height: 100vh;
  381. top: 0;
  382. left: 0;
  383. background:rgba(0,0,0,1);
  384. opacity:0.65;
  385. z-index: 200;
  386. }
  387. .al-content{
  388. background: #fff;
  389. position: fixed;
  390. width: 545rpx;
  391. z-index: 300;
  392. top: 200rpx;
  393. left: 102rpx;
  394. border-radius: 15rpx;
  395. }
  396. .al-top{
  397. width: 100%;
  398. }
  399. .al-top image{
  400. position: relative;
  401. height: 298rpx;
  402. margin-top: -96rpx;
  403. width: 545rpx;
  404. }
  405. .al-center{
  406. padding: 80rpx 30rpx;
  407. font-size:30rpx;
  408. font-family:PingFang-SC-Regular;
  409. font-weight:400;
  410. color:rgba(51,51,51,1);
  411. }
  412. .al-bottom{
  413. width:462rpx;
  414. height:95rpx;
  415. background:linear-gradient(90deg,rgba(248,85,45,1) 0%,rgba(241,60,66,1) 0%,rgba(248,86,46,1) 100%);
  416. border-radius:47rpx;
  417. font-size:30rpx;
  418. font-family:PingFang-SC-Medium;
  419. font-weight:500;
  420. color:rgba(255,255,255,1);
  421. text-align: center;
  422. line-height: 95rpx;
  423. margin: 0 auto 43rpx;
  424. }