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.

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