promotionProd.wxss 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337
  1. page {
  2. background: #f9f9f9;
  3. position: relative;
  4. }
  5. .promotionProd {
  6. padding: 0;
  7. margin: 0;
  8. }
  9. /** 搜索框 */
  10. .pd-seach {
  11. border: none;
  12. background: #fff;
  13. padding-top: 30rpx;
  14. padding-bottom: 15rpx;
  15. }
  16. .pd-seach image {
  17. width: 20px;
  18. height: 20px;
  19. text-align: center;
  20. position: absolute;
  21. top: 45rpx;
  22. margin-left: 50rpx;
  23. }
  24. .pd-seach input {
  25. width: 95%;
  26. background-color: whitesmoke;
  27. border: 1rpx solid whitesmoke;
  28. border-radius: 50rpx;
  29. font-size: 30rpx;
  30. align-items: center;
  31. margin: auto;
  32. text-align: center;
  33. height:70rpx;
  34. line-height: 70rpx;
  35. }
  36. /** 搜索框 end*/
  37. /** 头部导航 */
  38. .pd-tab-list {
  39. height: 80rpx;
  40. width: 100%;
  41. line-height: 90rpx;
  42. color: gray;
  43. font-size: 28rpx;
  44. background-color: white;
  45. display: flex;
  46. justify-content: space-around;
  47. border-bottom: 1rpx solid whitesmoke;
  48. align-items: center;
  49. }
  50. .tab-item.down::after, .tab-item.up::after {
  51. content: " ";
  52. display: block;
  53. width: 0;
  54. height: 0;
  55. position: absolute;
  56. right: -24rpx;
  57. top: 40rpx;
  58. border: 10rpx solid transparent;
  59. }
  60. .tab-item.down::after {
  61. border-top: 10rpx solid #eb2444;
  62. }
  63. .tab-item.up::after {
  64. top: 30rpx;
  65. border-bottom: 10rpx solid #eb2444;
  66. }
  67. .tab-item {
  68. position: relative;
  69. }
  70. .tab-item.up, .tab-item.down {
  71. color: #eb2444;
  72. }
  73. .pd-tab {
  74. background: #fff;
  75. }
  76. /** 头部导航 end */
  77. /** 商品列表 */
  78. .pd-main {
  79. padding: 20rpx;
  80. width: 100%;
  81. font-size: 28rpx;
  82. }
  83. .pd-item {
  84. padding: 20rpx;
  85. width: 670rpx;
  86. background: #fff;
  87. border-radius: 6rpx;
  88. margin-bottom: 20rpx;
  89. }
  90. .pd-item-top {
  91. overflow: auto;
  92. }
  93. .pd-item-left {
  94. float: left;
  95. width: 220rpx;
  96. }
  97. .pd-item-left image {
  98. width: 200rpx;
  99. height: 200rpx;
  100. border-radius: 6rpx;
  101. }
  102. .pd-item-right {
  103. position: relative;
  104. float: left;
  105. width: 450rpx;
  106. }
  107. .pd-item-tit {
  108. height: 80rpx;
  109. line-height: 40rpx;
  110. overflow: hidden;
  111. text-overflow: ellipsis;
  112. display: -webkit-box;
  113. -webkit-line-clamp: 2;
  114. -webkit-box-orient: vertical;
  115. }
  116. .pd-item-price {
  117. font-weight: bold;
  118. margin-top: 20rpx;
  119. }
  120. .pd-item-info {
  121. font-size: 24rpx;
  122. margin-top: 20rpx;
  123. }
  124. .pd-item-info .rate {
  125. color: #3a86b9;
  126. margin-right: 20rpx;
  127. }
  128. .pd-item-price text {
  129. font-size: 22rpx;
  130. }
  131. .pd-item-btm {
  132. position: absolute;
  133. bottom: 0;
  134. right: 0;
  135. }
  136. .pd-item-btm .btn {
  137. width: 120rpx;
  138. height: 50rpx;
  139. line-height: 50rpx;
  140. background: #e43130;
  141. color: #fff;
  142. text-align: center;
  143. border-radius: 50rpx;
  144. display: inline-block;
  145. font-size: 28rpx;
  146. }
  147. /** 商品列表 end*/
  148. .loading, .empty {
  149. text-align: center;
  150. font-size: 28rpx;
  151. width: 100%;
  152. height: 80rpx;
  153. line-height: 80rpx;
  154. color: #666;
  155. }
  156. /*分享弹窗 */
  157. .promo-share {
  158. position: fixed;
  159. top: 0;
  160. left: 0;
  161. background: rgba(0, 0, 0, 0.7);
  162. width: 100%;
  163. height: 100%;
  164. z-index: 9999;
  165. }
  166. .promo-tit {
  167. padding-top: 40rpx;
  168. font-size: 28rpx;
  169. text-align: center;
  170. margin-left: 80rpx;
  171. }
  172. .promo-main {
  173. background: #fff;
  174. position: absolute;
  175. bottom: 0rpx;
  176. width: 100%;
  177. height: 400rpx;
  178. z-index: 9998;
  179. }
  180. .promo-icons-close image {
  181. width: 45rpx;
  182. height: 45rpx;
  183. /* border-radius: 50%; */
  184. float: right;
  185. padding-right: 20rpx;
  186. padding-top: 20rpx;
  187. }
  188. .promo-desc {
  189. margin-left: 73rpx;
  190. width: 600rpx;
  191. text-align: center;
  192. }
  193. .promo-desc text {
  194. padding: 20rpx;
  195. font-size: 24rpx;
  196. color: #999;
  197. line-height: 34rpx;
  198. display: inline-block;
  199. }
  200. .promo-icons {
  201. font-size: 20rpx;
  202. color: #666;
  203. display: flex;
  204. justify-content: space-around;
  205. padding: 10rpx 150rpx;
  206. }
  207. .promo-icons image {
  208. width: 75rpx;
  209. height: 75rpx;
  210. border-radius: 50%;
  211. }
  212. .promo-img1 {
  213. display: flex;
  214. flex-flow: column;
  215. align-items: center;
  216. line-height: 75rpx;
  217. font-size: 22rpx;
  218. background: none;
  219. border: 0;
  220. margin: 0;
  221. padding: 0;
  222. }
  223. .promo-img1::after {
  224. border: 0;
  225. }
  226. .promo-btn {
  227. font-size: 28rpx;
  228. width: 90%;
  229. height: 80rpx;
  230. border: 1px #e5e5e5 solid;
  231. text-align: center;
  232. line-height: 80rpx;
  233. margin-left: 40rpx;
  234. }
  235. /*分享弹窗 end */
  236. /** 二维码弹窗 */
  237. .code-popup {
  238. position: fixed;
  239. top: 0;
  240. left: 0;
  241. background: rgba(0, 0, 0, 0.7);
  242. width: 100%;
  243. height: 100%;
  244. z-index: 9999;
  245. }
  246. .code-main {
  247. margin: auto;
  248. left: 0;
  249. right: 0;
  250. top: 0;
  251. bottom: 0;
  252. position: fixed;
  253. width: 500rpx;
  254. height: 700rpx;
  255. }
  256. .close-png {
  257. width: 50rpx;
  258. height: 50rpx;
  259. margin-top: -10rpx;
  260. }
  261. .code-v {
  262. padding: 20rpx;
  263. border-radius: 6rpx;
  264. background: #fff;
  265. }
  266. .wx-code {
  267. width: 460rpx;
  268. height: 460rpx;
  269. }
  270. .close-v {
  271. text-align: right;
  272. height: 60rpx;
  273. }
  274. .code-txt {
  275. margin-top: 20rpx;
  276. text-align: center;
  277. color: #fff;
  278. font-size: 28rpx;
  279. background: #3a86b9;
  280. border-radius: 6rpx;
  281. height: 80rpx;
  282. line-height: 80rpx;
  283. }
  284. /** 二维码弹窗 end */