dtl.scss 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359
  1. @import '@css/mixin.scss';
  2. @import '@css/list-box.scss';
  3. page {
  4. height: 100%;
  5. background: #f2f2f2;
  6. font-size: 28px;
  7. }
  8. .dtl-header {
  9. position: relative;
  10. swiper {
  11. height: 500px;
  12. }
  13. .dh-item {
  14. width: 100%;
  15. background: #fff;
  16. .img {
  17. width: 100%;
  18. height: 500px;
  19. }
  20. }
  21. .dh-count {
  22. position: absolute;
  23. right: 50%;
  24. margin-right: -45rpx;
  25. bottom: 20px;
  26. width: 90px;
  27. height: 40px;
  28. line-height: 40px;
  29. border-radius: 20px;
  30. overflow: hidden;
  31. .bg {
  32. position: absolute;
  33. width: 100%;
  34. height: 100%;
  35. background: #000;
  36. opacity: .6;
  37. z-index: 1;
  38. }
  39. .num {
  40. position: absolute;
  41. color: #fff;
  42. z-index: 2;
  43. font-size: 24px;
  44. left: 0;
  45. top: 0;
  46. text-align: center;
  47. width: 100%;
  48. }
  49. }
  50. }
  51. .dtl-options {
  52. background: #fff;
  53. margin-bottom: 20px;
  54. &:last-child {
  55. margin-bottom: 0;
  56. }
  57. .do-title {
  58. padding: 20px 20px 10px;
  59. position: relative;
  60. .t {
  61. display: inline-block;
  62. vertical-align: top;
  63. font-size: 30px;
  64. height: 30px;
  65. line-height: 30px;
  66. overflow: hidden;
  67. border-left: 4PX solid $mainColor;
  68. padding-left: 10px;
  69. font-weight: bold;
  70. }
  71. .s {
  72. display: inline-block;
  73. vertical-align: top;
  74. color: #999;
  75. font-size: 28px;
  76. text-decoration: underline;
  77. padding-left: 20px;
  78. }
  79. .r {
  80. position: absolute;
  81. top: 20px;
  82. right: 20px;
  83. font-size: 28px;
  84. color: #999;
  85. }
  86. .r2 {
  87. display: inline-block;
  88. vertical-align: top;
  89. margin-left: 10px;
  90. font-size: 24px;
  91. font-weight: bold;
  92. color: $dangerColor;
  93. }
  94. }
  95. .do-content {
  96. padding: 0 20px 20px;
  97. }
  98. .do-p {
  99. display: flex;
  100. padding: 10px;
  101. &:nth-child(2n) {
  102. background: #f2f2f2;
  103. }
  104. .k {
  105. width: 20%;
  106. color: #777;
  107. }
  108. .v {
  109. width: 80%;
  110. text-align: left;
  111. color: #555;
  112. }
  113. .v-item {
  114. .n {
  115. display: inline-block;
  116. color: $mainColor;
  117. }
  118. }
  119. }
  120. }
  121. .scoped-main {
  122. background: #fff;
  123. margin-bottom: 20px;
  124. padding: 20px 30px;
  125. position: relative;
  126. .sm-tags {
  127. .s {
  128. display: inline-block;
  129. vertical-align: middle;
  130. font-size: 20px;
  131. color: #369af7;
  132. background: #dff0ff;
  133. border-radius: 6px;
  134. margin-right: 20px;
  135. margin-bottom: 10px;
  136. padding: 4px 6px;
  137. &.s2 {
  138. color: #fff;
  139. background: #13CE66;
  140. }
  141. &.s3 {
  142. color: #fff;
  143. background: #FFC82C;
  144. }
  145. }
  146. }
  147. .sm-title {
  148. font-size: 40px;
  149. font-weight: bold;
  150. margin-bottom: 20px;
  151. }
  152. .sm-focus {
  153. display: flex;
  154. padding: 10px 0 30px;
  155. .op {
  156. &:nth-child(1) {
  157. width: 250px;
  158. }
  159. &:nth-child(2) {
  160. width: 280px;
  161. }
  162. &:last-child {
  163. width: 120px;
  164. }
  165. .v {
  166. color: #e6624b;
  167. font-size: 36px;
  168. font-weight: bold;
  169. }
  170. .k {
  171. font-size: 24px;
  172. color: #9499ac;
  173. }
  174. }
  175. }
  176. .sm-op {
  177. display: flex;
  178. flex-wrap: wrap;
  179. padding-top: 10px;
  180. margin-bottom: 20px;
  181. .op {
  182. width: 50%;
  183. display: flex;
  184. margin-bottom: 16px;
  185. position: relative;
  186. &.full {
  187. width: 100%;
  188. }
  189. .m {
  190. color: $mainColor;
  191. }
  192. .r {
  193. width: 30px;
  194. height: 30px;
  195. position: absolute;
  196. top: 0;
  197. right: 0;
  198. }
  199. .k {
  200. width: 80px;
  201. color: #999;
  202. font-size: 28px;
  203. }
  204. .v {
  205. flex: 1;
  206. color: #212121;
  207. font-size: 28px;
  208. &.c2 {
  209. font-weight: bold;
  210. color: #e94141;
  211. font-size: 32px;
  212. }
  213. .s {
  214. display: inline-block;
  215. color: $mainColor;
  216. }
  217. &.t2 {
  218. color: $mainColor;
  219. }
  220. }
  221. }
  222. }
  223. .sm-more {
  224. display: block;
  225. width: 690px;
  226. height: 100px;
  227. border-radius: 10px;
  228. margin: 0 auto;
  229. }
  230. }
  231. .scoped-img {
  232. display: block;
  233. margin: 0 auto;
  234. width: 700px;
  235. height: 200px;
  236. text-align: center;
  237. position: relative;
  238. overflow: hidden;
  239. border: 1PX dashed #f2f2f2;
  240. .img {
  241. width: 700px;
  242. height: 700px;
  243. }
  244. .tips {
  245. position: absolute;
  246. bottom: 0;
  247. left: 0;
  248. height: 60px;
  249. width: 100%;
  250. .bg {
  251. position: absolute;
  252. width: 100%;
  253. height: 60px;
  254. left: 0;
  255. bottom: 0;
  256. background: #000;
  257. opacity: .2;
  258. z-index: 1;
  259. }
  260. .t {
  261. position: absolute;
  262. width: 100%;
  263. height: 60px;
  264. line-height: 60px;
  265. left: 0;
  266. bottom: 0;
  267. color: #fff;
  268. z-index: 1;
  269. font-size: 28px;
  270. }
  271. }
  272. }
  273. .scoped-qrcode {
  274. position: absolute;
  275. bottom: 140px;
  276. right: 30px;
  277. width: 160px;
  278. height: 160px;
  279. border: 4PX solid #f8f8f8;
  280. border-radius: 10px;
  281. }
  282. .scoped-sale {
  283. position: fixed;
  284. left: 0;
  285. bottom: 0;
  286. width: 100%;
  287. height: 140px;
  288. background: #fff;
  289. display: flex;
  290. box-sizing: border-box;
  291. padding: 20px;
  292. z-index: 99;
  293. border: 1PX solid #f2f2f2;
  294. .ss-img {
  295. width: 90px;
  296. height: 90px;
  297. border-radius: 50%;
  298. overflow: hidden;
  299. margin-right: 20px;
  300. .img {
  301. width: 90px;
  302. height: 90px;
  303. border-radius: 50%;
  304. overflow: hidden;
  305. }
  306. }
  307. .ss-info {
  308. flex: 1;
  309. .p1 {
  310. color: #313131;
  311. font-weight: bold;
  312. font-size: 30px;
  313. padding-bottom: 6px;
  314. padding-left: 10px;
  315. }
  316. .p2 {
  317. display: inline-block;
  318. padding: 6px 10px;
  319. color: #8b94b1;
  320. background: #eceff5;
  321. font-size: 24px;
  322. border-radius: 10px;
  323. }
  324. }
  325. .ss-r {
  326. width: 350px;
  327. display: flex;
  328. padding-top: 10px;
  329. justify-content: space-between;
  330. .b {
  331. width: 170px;
  332. height: 80px;
  333. line-height: 80px;
  334. text-align: center;
  335. background: #3bc48b;
  336. color: #fff;
  337. border-radius: 10px;
  338. &.t2 {
  339. background: #3072f6;
  340. }
  341. }
  342. }
  343. }
  344. .scoped-share-card-img {
  345. text-align: center;
  346. .img {
  347. width: 500px;
  348. height: 708px;
  349. }
  350. }