app.wxss 8.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508
  1. /**app.wxss**/
  2. .container {
  3. box-sizing: border-box;
  4. background-color: #f4f4f4;
  5. font-family: PingFangSC-Light, helvetica, 'Heiti SC';
  6. }
  7. view, image, text, navigator {
  8. box-sizing: border-box;
  9. padding: 0;
  10. margin: 0;
  11. }
  12. view, text {
  13. font-family: PingFangSC-Light, helvetica, 'Heiti SC';
  14. font-size: 29rpx;
  15. color: #333;
  16. }
  17. .arrow::after {
  18. content: " ";
  19. display: inline-block;
  20. height: 6px;
  21. width: 6px;
  22. border-width: 2px 2px 0 0;
  23. border-color: #666;
  24. border-style: solid;
  25. transform: matrix(0.71, 0.71, -0.71, 0.71, 0, 0);
  26. position: absolute;
  27. top: 50%;
  28. margin-top: -5px;
  29. right: -16px;
  30. }
  31. .arrow-down::after {
  32. transform: matrix(0.71, 0.71, -0.71, 0.71, 0, 0) rotate(90deg);
  33. }
  34. .arrow-up::after {
  35. transform: matrix(0.71, 0.71, -0.71, 0.71, 0, 0) rotate(-90deg);
  36. }
  37. .list-group {
  38. margin-top: 0.6em;
  39. background-color: #fff;
  40. line-height: 1.41176471;
  41. font-size: 28rpx;
  42. overflow: hidden;
  43. position: relative;
  44. }
  45. .list-group::before {
  46. content: " ";
  47. position: absolute;
  48. left: 0;
  49. top: 0;
  50. right: 0;
  51. height: 1px;
  52. border-top: 1px solid #d9d9d9;
  53. color: #d9d9d9;
  54. transform-origin: 0 0;
  55. transform: scaleY(0.5);
  56. }
  57. .list-group::after {
  58. content: " ";
  59. position: absolute;
  60. left: 0;
  61. bottom: 0;
  62. right: 0;
  63. height: 1px;
  64. border-bottom: 1px solid #d9d9d9;
  65. color: #d9d9d9;
  66. transform-origin: 0 100%;
  67. transform: scaleY(0.5);
  68. }
  69. .list-cell {
  70. padding: 7px 15px;
  71. position: relative;
  72. display: flex;
  73. /* align-items: center; */
  74. }
  75. .list-cell:first-of-type::before {
  76. display: none;
  77. }
  78. .list-cell::before {
  79. content: " ";
  80. position: absolute;
  81. top: 0;
  82. right: 0;
  83. height: 1px;
  84. border-top: 1px solid #d9d9d9;
  85. color: #d9d9d9;
  86. transform-origin: 0 0;
  87. transform: scaleY(0.5);
  88. left: 15px;
  89. }
  90. .list-cell-hd {
  91. display: flex;
  92. align-items: center;
  93. }
  94. .list-cell-bd {
  95. flex: 1;
  96. }
  97. .list-cell-bd .list-label {
  98. font-size: 24rpx;
  99. }
  100. .list-cell-bd .list-label-desc {
  101. font-size: 24rpx;
  102. color: #9b9b9b;
  103. padding-top: 5px;
  104. }
  105. .list-cell-ft {
  106. padding-right: 13px;
  107. position: relative;
  108. text-align: right;
  109. color: #999;
  110. }
  111. .list-cell-ft .txt {
  112. font-size: 24rpx;
  113. }
  114. .list-cell-ft.router::after {
  115. content: " ";
  116. display: inline-block;
  117. height: 6px;
  118. width: 6px;
  119. border-width: 2px 2px 0 0;
  120. border-color: #c8c8cd;
  121. border-style: solid;
  122. transform: matrix(0.71, 0.71, -0.71, 0.71, 0, 0);
  123. top: -2px;
  124. position: absolute;
  125. top: 50%;
  126. margin-top: -4px;
  127. right: 2px;
  128. }
  129. .modal-wrap {
  130. position: fixed;
  131. width: 100%;
  132. height: 100%;
  133. z-index: 500;
  134. top: 0;
  135. left: 0;
  136. background-color: rgba(0, 0, 0, 0.5);
  137. }
  138. .x-close {
  139. position: relative;
  140. display: inline-block;
  141. vertical-align: middle;
  142. color: #999;
  143. width: 48rpx;
  144. height: 48rpx;
  145. }
  146. .x-close::before, .x-close::after {
  147. content: '';
  148. position: absolute;
  149. left: 0;
  150. top: 11px;
  151. width: 24px;
  152. height: 1px;
  153. background-color: currentColor;
  154. transform: rotate(-45deg);
  155. }
  156. .x-close::after {
  157. transform: rotate(45deg);
  158. }
  159. .no-data {
  160. display: flex;
  161. flex-direction: column;
  162. justify-content: center;
  163. align-items: center;
  164. padding-top: 150rpx;
  165. }
  166. .no-data image {
  167. width: 250rpx;
  168. height: 250rpx;
  169. }
  170. .no-data text {
  171. text-align: center;
  172. margin-top: 50rpx;
  173. color: #999;
  174. }
  175. /* 底部购物车 */
  176. .cart-panel {
  177. display: flex;
  178. height: 70rpx;
  179. width: 700rpx;
  180. line-height: 70rpx;
  181. border-radius: 40rpx;
  182. background-color: #4d4d4e;
  183. position: fixed;
  184. bottom: 1rpx;
  185. z-index: 499;
  186. left: 50%;
  187. margin-left: -350rpx;
  188. }
  189. .cart-panel .cart-icon {
  190. width: 80rpx;
  191. height: 80rpx;
  192. background-color: #343434;
  193. border-radius: 50%;
  194. position: relative;
  195. }
  196. .cart-panel .cart-icon navigator {
  197. width: 100%;
  198. height: 100%;
  199. display: flex;
  200. align-items: center;
  201. justify-content: center;
  202. }
  203. .cart-panel .cart-icon .cart-num {
  204. position: absolute;
  205. width: 30rpx;
  206. height: 30rpx;
  207. line-height: 30rpx;
  208. text-align: center;
  209. top: -10rpx;
  210. right: -10rpx;
  211. background-color: #d81e06;
  212. color: #fff;
  213. border-radius: 50%;
  214. font-size: 20rpx;
  215. }
  216. .cart-panel .cart-icon image {
  217. width: 40rpx;
  218. height: 40rpx;
  219. }
  220. .cart-panel .cart-body {
  221. flex: 1;
  222. color: #fff;
  223. padding-left: 20rpx;
  224. }
  225. .cart-panel .cart-pay {
  226. width: 200rpx;
  227. color: #fff;
  228. background-color: #d81e06;
  229. border-radius: 0 40rpx 40rpx 0;
  230. text-align: center;
  231. }
  232. /* 快捷导航 */
  233. .fast-nav {
  234. position: fixed;
  235. right: 20rpx;
  236. bottom: 180rpx;
  237. z-index: 9999;
  238. display: flex;
  239. flex-direction: column;
  240. align-items: flex-end;
  241. }
  242. .fast-nav .nav {
  243. width: 100rpx;
  244. height: 100rpx;
  245. border-radius: 50%;
  246. background-color: #424242;
  247. display: flex;
  248. flex-direction: column;
  249. align-items: center;
  250. justify-content: center;
  251. margin-top: 20rpx;
  252. opacity: 0.6;
  253. }
  254. .fast-nav .nav text {
  255. color: #fff;
  256. font-size: 20rpx;
  257. }
  258. .fast-nav .contact {
  259. width: 100rpx;
  260. height: 100rpx;
  261. border-radius: 50%;
  262. background-color: #19c322;
  263. display: flex;
  264. flex-direction: column;
  265. align-items: center;
  266. opacity: 0.6;
  267. }
  268. .fast-nav .nav-list .nav-item {
  269. height: 80rpx;
  270. width: 200rpx;
  271. margin-bottom: 20rpx;
  272. display: flex;
  273. justify-content: flex-end;
  274. align-items: center;
  275. }
  276. .fast-nav .nav-list .nav-item .nav-text {
  277. line-height: 80rpx;
  278. text-align: center;
  279. padding-right: 20rpx;
  280. color: #fff;
  281. }
  282. .fast-nav .nav-list .nav-item .nav-cell {
  283. height: 80rpx;
  284. width: 80rpx;
  285. display: flex;
  286. justify-content: center;
  287. align-items: center;
  288. background-color: #fff;
  289. border-radius: 50%;
  290. }
  291. .fast-nav .nav-list .nav-item .nav-cell image {
  292. height: 40rpx;
  293. width: 40rpx;
  294. }
  295. .fast-nav .close {
  296. width: 100rpx;
  297. height: 100rpx;
  298. border-radius: 50%;
  299. color: #fff;
  300. background-color: #ff5778;
  301. font-size: 50rpx;
  302. text-align: center;
  303. line-height: 100rpx;
  304. }
  305. .wx-contact-button-wrapper {
  306. background-image: url(http://120.76.26.84:80/group1/M00/00/01/rBJEdVvr1iWAacIoAAABhZLlqls595.png) !important;
  307. margin: 10rpx 0;
  308. }
  309. .fast-nav .contact text {
  310. color: #fff;
  311. font-size: 20rpx;
  312. }
  313. /*商品列表*/
  314. .topic-list {
  315. width: 750rpx;
  316. height: 100%;
  317. overflow: hidden;
  318. background: #f4f4f4;
  319. }
  320. .topic-list .item {
  321. width: 100%;
  322. height: auto;
  323. overflow: hidden;
  324. background: #fff;
  325. margin-bottom: 10rpx;
  326. }
  327. .topic-list .item .imgtt {
  328. width: 100%;
  329. height: 100vw;
  330. position: relative;
  331. }
  332. .topic-list .item .imgtt .img {
  333. width: 100%;
  334. height: 100vw;
  335. position:  relative;
  336. overflow: hidden;
  337. }
  338. .topic-list .item .imgtt .imgline {
  339. position: absolute;
  340. left: 0px;
  341. bottom: 0px;
  342. width: 100%;
  343. background: #333;
  344. opacity: 0.6;
  345. height: 80rpx;
  346. color: #fff;
  347. }
  348. .topic-list .item .imgtt .imgline .priceInfo {
  349. float: left;
  350. text-align: left;
  351. height: 33rpx;
  352. line-height: 38rpx;
  353. overflow: hidden;
  354. color: #fff;
  355. font-size: 33rpx;
  356. margin-top: 25rpx;
  357. padding-left: 33rpx;
  358. }
  359. .topic-list .item .imgtt .imgline .priceInfo .price {
  360. font-size: 33rpx;
  361. color: #fff;
  362. }
  363. .topic-list .item .imgtt .imgline .priceInfo .orgPrice {
  364. font-size: 24rpx;
  365. margin-left: 10rpx;
  366. color: #fff;
  367. }
  368. .topic-list .item .imgtt .imgline .right {
  369. float: right;
  370. color: #fff;
  371. }
  372. .topic-list .item .imgtt .imgline .btn {
  373. height: 80rpx;
  374. line-height: 80rpx;
  375. text-align: center;
  376. font-size: 28rpx;
  377. color: #fff;
  378. background: #b4282d;
  379. border-radius: 0px;
  380. }
  381. .topic-list .info {
  382. width: 100%;
  383. height: 150rpx;
  384. overflow: hidden;
  385. }
  386. .topic-list .title {
  387. display: block;
  388. text-align: center;
  389. width: 100%;
  390. height: 33rpx;
  391. line-height: 35rpx;
  392. color: #333;
  393. overflow: hidden;
  394. font-size: 35rpx;
  395. margin-top: 30rpx;
  396. }
  397. .topic-list .desc {
  398. display: block;
  399. text-align: center;
  400. position: relative;
  401. width: auto;
  402. height: 24rpx;
  403. line-height: 24rpx;
  404. overflow: hidden;
  405. color: #999;
  406. font-size: 24rpx;
  407. margin-top: 16rpx;
  408. margin-bottom: 12rpx;
  409. text-overflow: ellipsis;
  410. white-space: nowrap;
  411. padding: 0 24rpx;
  412. }
  413. .page {
  414. width: 750rpx;
  415. height: 108rpx;
  416. background: #fff;
  417. margin-bottom: 20rpx;
  418. }
  419. .page view {
  420. height: 108rpx;
  421. width: 50%;
  422. float: left;
  423. font-size: 29rpx;
  424. color: #333;
  425. text-align: center;
  426. line-height: 108rpx;
  427. }
  428. .page .prev {
  429. border-right: 1px solid #d9d9d9;
  430. }
  431. .page .disabled {
  432. color: #ccc;
  433. }
  434. .line-through {
  435. text-decoration: line-through;
  436. }
  437. ::-webkit-scrollbar {
  438. width: 5px;
  439. background-color: #f5f5f5;
  440. }
  441. ::-webkit-scrollbar-thumb {
  442. background-color: #999;
  443. }