index.wxss 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285
  1. @charset "UTF-8";
  2. /**
  3. * 这里是uni-app内置的常用样式变量
  4. *
  5. * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
  6. * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
  7. *
  8. */
  9. /**
  10. * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
  11. *
  12. * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
  13. */
  14. /* 颜色变量 */
  15. /* 字体大小变量 */
  16. /* 行为相关颜色 */
  17. /* 文字基本颜色 */
  18. /* 背景颜色 */
  19. /* 边框颜色 */
  20. /* 尺寸变量 */
  21. /* 文字尺寸 */
  22. /* 图片尺寸 */
  23. /* Border Radius */
  24. /* 水平间距 */
  25. /* 垂直间距 */
  26. /* 透明度 */
  27. /* 文章场景相关 */
  28. page {
  29. background-color: #FFFFFF;
  30. }
  31. .navbar-wrap {
  32. position: fixed;
  33. width: 100%;
  34. top: 0;
  35. z-index: 100000;
  36. box-sizing: border-box;
  37. background-image: linear-gradient(0deg, #f83c6c 0%, #fa55bf 100%);
  38. background-size: cover;
  39. border-bottom: none;
  40. }
  41. .navbar-wrap.bgnone {
  42. background: rgba(255, 255, 255, 0);
  43. }
  44. .navbar-wrap.bgclass {
  45. background: #F94A9B;
  46. }
  47. .navbar-text {
  48. font-size: 30rpx;
  49. color: #000000;
  50. font-weight: 500;
  51. }
  52. .navbar-text.center {
  53. text-align: center;
  54. }
  55. .navbar-text.left {
  56. text-align: left;
  57. padding-left: 45px;
  58. }
  59. .navbar-icon {
  60. position: fixed;
  61. display: flex;
  62. box-sizing: border-box;
  63. }
  64. .navbar-icon .iconfont {
  65. display: inline-block;
  66. overflow: hidden;
  67. font-size: 44rpx;
  68. padding-right: 40rpx;
  69. margin-top: 1px;
  70. }
  71. .navbar-icon .icon-iconfonticonfontsousuo1 {
  72. color: #000000;
  73. }
  74. .navbar-icon view {
  75. height: 18px;
  76. border-left: 0.5px solid rgba(0, 0, 0, 0.3);
  77. margin-top: 6px;
  78. }
  79. .navbar-loading {
  80. background: #fff;
  81. text-align: center;
  82. }
  83. .search-input {
  84. width: 100%;
  85. height: 110rpx;
  86. padding: 20rpx 24rpx;
  87. box-sizing: border-box;
  88. }
  89. .search-input .gosearch-btn {
  90. width: 100%;
  91. height: 100%;
  92. border-radius: 40rpx;
  93. background: #F0F0F0;
  94. margin: 0 auto;
  95. font-size: 28rpx;
  96. line-height: 70rpx;
  97. color: #8A8A8A;
  98. background: #FFFFFF;
  99. position: relative;
  100. box-sizing: border-box;
  101. padding-left: 80rpx;
  102. }
  103. .search-input .gosearch-btn .search-icon {
  104. width: 80rpx;
  105. height: 70rpx;
  106. position: absolute;
  107. left: 0;
  108. top: 0;
  109. text-align: center;
  110. line-height: 70rpx;
  111. }
  112. .search-input .gosearch-btn .search-icon .icon-iconfonticonfontsousuo1 {
  113. margin: 0 6rpx;
  114. font-size: 34rpx;
  115. color: #8A8A8A;
  116. z-index: 10;
  117. }
  118. .search-input .gosearch-btn .search-text {
  119. font-size: 24rpx;
  120. line-height: 70rpx;
  121. color: #8A8A8A;
  122. }
  123. .container-home {
  124. background: #F7F7F7 url(https://static.caimei365.com/app/mini-hehe/icon/icon-index-bg.png) top center no-repeat;
  125. background-size: contain;
  126. min-height: 485rpx;
  127. }
  128. .container-section {
  129. width: 100%;
  130. height: auto;
  131. background-color: #F7F7F7;
  132. box-sizing: border-box;
  133. padding: 0 24rpx;
  134. }
  135. .container-section .product-list {
  136. width: 339rpx;
  137. height: 532rpx;
  138. float: left;
  139. margin-right: 24rpx;
  140. margin-bottom: 24rpx;
  141. background-color: #FFFFFF;
  142. border-radius: 16rpx;
  143. }
  144. .container-section .product-list:nth-child(2n+1) {
  145. margin-right: 0;
  146. }
  147. .container-section .product-list .product-list-image {
  148. width: 100%;
  149. height: 339rpx;
  150. float: left;
  151. position: relative;
  152. }
  153. .container-section .product-list .product-list-image .product-image {
  154. width: 100%;
  155. height: 100%;
  156. display: block;
  157. border-radius: 16rpx 16rpx 0 0;
  158. }
  159. .container-section .product-list .product-list-image .product-icon {
  160. width: 68rpx;
  161. height: 55rpx;
  162. display: block;
  163. position: absolute;
  164. top: 0;
  165. left: 34rpx;
  166. }
  167. .container-section .product-list .product-list-msg {
  168. width: 100%;
  169. height: 193rpx;
  170. box-sizing: border-box;
  171. padding: 16rpx 24rpx;
  172. float: left;
  173. position: relative;
  174. }
  175. .container-section .product-list .product-list-msg .product-msg-name {
  176. width: 100%;
  177. height: 72rpx;
  178. line-height: 35rpx;
  179. text-overflow: ellipsis;
  180. overflow: hidden;
  181. display: -webkit-box;
  182. -webkit-line-clamp: 2;
  183. line-clamp: 2;
  184. -webkit-box-orient: vertical;
  185. font-size: 26rpx;
  186. color: #333333;
  187. text-align: justify;
  188. float: left;
  189. }
  190. .container-section .product-list .product-list-msg .product-list-tag {
  191. position: relative;
  192. z-index: 9;
  193. width: 100%;
  194. height: 30rpx;
  195. margin-top: 8rpx;
  196. float: left;
  197. }
  198. .container-section .product-list .product-list-msg .product-list-tag .tag {
  199. display: inline-block;
  200. height: 32rpx;
  201. font-size: 22rpx;
  202. line-height: 30rpx;
  203. text-align: center;
  204. color: #f83c6c;
  205. float: left;
  206. margin-right: 10rpx;
  207. }
  208. .container-section .product-list .product-list-msg .product-list-tag .tag.tag-02 {
  209. width: 80rpx;
  210. background: url(https://static.caimei365.com/app/mini-hehe/icon/icon-active.png) top center no-repeat;
  211. background-size: contain;
  212. }
  213. .container-section .product-list .product-list-msg .product-list-tag .tag.tag-01 {
  214. width: 56rpx;
  215. color: #fff;
  216. background-color: #f83c6c;
  217. border-radius: 4rpx;
  218. }
  219. .container-section .product-list .product-list-msg .product-list-pri {
  220. width: 100%;
  221. height: 44rpx;
  222. float: left;
  223. position: absolute;
  224. bottom: 16rpx;
  225. left: 0;
  226. box-sizing: border-box;
  227. padding: 0 24rpx;
  228. }
  229. .container-section .product-list .product-list-msg .product-list-pri .price {
  230. float: left;
  231. font-size: 26rpx;
  232. color: #f83c6c;
  233. font-weight: bold;
  234. line-height: 44rpx;
  235. }
  236. .container-section .product-list .product-list-msg .product-list-pri .carts {
  237. float: right;
  238. }
  239. .container-section .product-list .product-list-msg .product-list-pri .carts .carts-add {
  240. width: 44rpx;
  241. height: 44rpx;
  242. text-align: center;
  243. line-height: 44rpx;
  244. background-color: #ff457b;
  245. border-radius: 50%;
  246. }
  247. .container-section .product-list .product-list-msg .product-list-pri .carts .carts-add .iconfont {
  248. font-size: 32rpx;
  249. color: #FFFFFF;
  250. }
  251. .tui-group-name {
  252. width: 100%;
  253. height: 92rpx;
  254. padding: 20rpx 0;
  255. }
  256. .tui-group-title {
  257. width: 100%;
  258. float: left;
  259. }
  260. .tui-group-title .tui-group-l {
  261. float: left;
  262. font-size: 34rpx;
  263. font-weight: bold;
  264. text-align: left;
  265. line-height: 49rpx;
  266. color: #333;
  267. }
  268. .tui-group-title .tui-group-r {
  269. float: right;
  270. font-size: 26rpx;
  271. text-align: right;
  272. line-height: 49rpx;
  273. color: #999999;
  274. }
  275. .tui-group-title .tui-group-r .icon-xiayibu {
  276. font-size: 30rpx;
  277. color: #999999;
  278. }
  279. .tui-sub__desc {
  280. width: 100%;
  281. float: left;
  282. color: rgba(153, 153, 153, 0.9);
  283. font-size: 26rpx;
  284. }