index.wxss 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262
  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. /* Border Radius */
  23. /* 水平间距 */
  24. /* 垂直间距 */
  25. /* 透明度 */
  26. /* 文章场景相关 */
  27. .bar-item-text {
  28. max-width: 250rpx !important;
  29. }
  30. .screen-bar::after {
  31. display: none;
  32. }
  33. .discountsDetail cc-drop-down-menu .screen-bar {
  34. top: 0%;
  35. left: 0;
  36. width: 100%;
  37. }
  38. .discountsDetail {
  39. background: #f9f9f9;
  40. }
  41. .discountsDetail .banner {
  42. width: 100%;
  43. height: 310rpx;
  44. position: relative;
  45. z-index: 99;
  46. }
  47. .discountsDetail .recommend {
  48. display: flex;
  49. justify-content: space-between;
  50. padding: 0 20rpx;
  51. margin-top: 20rpx;
  52. }
  53. .discountsDetail .recommend .recommend-item.color {
  54. background: linear-gradient(180deg, #FFD2B5 0%, #FFFFFF 100%);
  55. }
  56. .discountsDetail .recommend .recommend-item.color .type-box {
  57. background: linear-gradient(90deg, #FF4A39 0%, #FFA770 100%) !important;
  58. }
  59. .discountsDetail .recommend .recommend-item {
  60. padding: 15rpx;
  61. border-radius: 16rpx;
  62. width: 332rpx;
  63. height: 284rpx;
  64. box-sizing: border-box;
  65. background: linear-gradient(180deg, #FFDEDE 0%, #FFFFFF 100%);
  66. box-shadow: inset 0rpx 6rpx 12rpx 2rpx rgba(255, 255, 255, 0.16);
  67. }
  68. .discountsDetail .recommend .recommend-item .top-box {
  69. display: flex;
  70. align-items: center;
  71. justify-content: space-between;
  72. }
  73. .discountsDetail .recommend .recommend-item .top-box .title {
  74. color: #0F0F0F;
  75. font-size: 26rpx;
  76. }
  77. .discountsDetail .recommend .recommend-item .top-box .type-box {
  78. display: flex;
  79. align-items: center;
  80. padding: 0 16rpx;
  81. height: 40rpx;
  82. line-height: 40rpx;
  83. border-radius: 20rpx;
  84. background: linear-gradient(90deg, #FE574C 0%, #FE2A5C 100%);
  85. }
  86. .discountsDetail .recommend .recommend-item .top-box .type-box .hot {
  87. width: 16.7rpx;
  88. height: 21.7rpx;
  89. }
  90. .discountsDetail .recommend .recommend-item .top-box .type-box .type {
  91. font-size: 20rpx;
  92. font-weight: 400;
  93. color: #FFFFFF;
  94. margin-left: 6rpx;
  95. }
  96. .discountsDetail .recommend .recommend-item .image-box {
  97. position: relative;
  98. margin-top: 20rpx;
  99. }
  100. .discountsDetail .recommend .recommend-item .image-box .image {
  101. width: 302rpx;
  102. height: 182rpx;
  103. border-radius: 16rpx;
  104. }
  105. .discountsDetail .recommend .recommend-item .image-box .btn-box {
  106. position: absolute;
  107. left: 0;
  108. bottom: 10rpx;
  109. display: flex;
  110. align-items: center;
  111. }
  112. .discountsDetail .recommend .recommend-item .image-box .btn-box .desc {
  113. font-size: 24rpx;
  114. font-weight: 400;
  115. color: #FFFFFF;
  116. margin-left: 10rpx;
  117. }
  118. .discountsDetail .recommend .recommend-item .image-box .btn-box .btn {
  119. height: 36rpx;
  120. line-height: 36rpx;
  121. padding: 0 14rpx;
  122. background: linear-gradient(263deg, #FF4A39 0%, #FFA770 100%);
  123. border-radius: 8rpx;
  124. color: #FFFFFF;
  125. font-size: 20rpx;
  126. }
  127. .discountsDetail .zs-list .item {
  128. display: flex;
  129. padding: 20rpx 30rpx;
  130. background: #fff;
  131. border-radius: 16rpx;
  132. margin: 20rpx 30rpx 0;
  133. }
  134. .discountsDetail .zs-list .item .icon {
  135. width: 200rpx;
  136. height: 180rpx;
  137. border-radius: 8px;
  138. }
  139. .discountsDetail .zs-list .item .info {
  140. flex: 1;
  141. padding-left: 20rpx;
  142. display: flex;
  143. flex-direction: column;
  144. justify-content: space-between;
  145. position: relative;
  146. }
  147. .discountsDetail .zs-list .item .info .title {
  148. font-size: 28rpx;
  149. font-weight: bold;
  150. width: 340rpx;
  151. white-space: nowrap;
  152. overflow: hidden;
  153. text-overflow: ellipsis;
  154. }
  155. .discountsDetail .zs-list .item .info .address {
  156. color: #bebebe;
  157. display: flex;
  158. align-items: center;
  159. font-size: 24rpx;
  160. padding: 15rpx 0;
  161. }
  162. .discountsDetail .zs-list .item .info .address .u-icon {
  163. align-self: flex-start;
  164. }
  165. .discountsDetail .zs-list .item .info .handle-box {
  166. display: flex;
  167. justify-content: space-between;
  168. align-items: center;
  169. }
  170. .discountsDetail .zs-list .item .info .handle-box .tags {
  171. display: flex;
  172. align-items: center;
  173. }
  174. .discountsDetail .zs-list .item .info .handle-box .tags .tag-item {
  175. line-height: 50rpx;
  176. border-radius: 8rpx;
  177. padding: 6rpx 0;
  178. font-size: 24rpx;
  179. margin-left: 10rpx;
  180. display: flex;
  181. }
  182. .discountsDetail .zs-list .item .info .handle-box .tags .tag-item .label {
  183. background: #FE5B47;
  184. color: #fff;
  185. padding: 0 10rpx;
  186. border-radius: 8rpx 0 0 8rpx;
  187. }
  188. .discountsDetail .zs-list .item .info .handle-box .tags .tag-item .value {
  189. color: #FE5B47;
  190. background: rgba(254, 91, 71, 0.1);
  191. padding: 0 14rpx;
  192. border-radius: 0 8rpx 8rpx 0;
  193. }
  194. .discountsDetail .zs-list .item .info .handle-box .btn {
  195. font-size: 22rpx;
  196. font-weight: 400;
  197. color: #9E6A34;
  198. width: 132rpx;
  199. height: 44rpx;
  200. line-height: 44rpx;
  201. text-align: center;
  202. background: linear-gradient(137deg, #F9E093 0%, #F7D269 100%);
  203. border-radius: 24rpx;
  204. position: relative;
  205. }
  206. .discountsDetail .zs-list .item .info .handle-box .btn .hand {
  207. width: 36rpx;
  208. height: 32rpx;
  209. position: absolute;
  210. top: 50%;
  211. right: 6rpx;
  212. -webkit-animation: click 0.3s cubic-bezier(0.39, 0.575, 0.565, 1) infinite;
  213. animation: click 0.3s cubic-bezier(0.39, 0.575, 0.565, 1) infinite;
  214. }
  215. .discountsDetail .zs-list .item .info .handle-box .btn .addGas {
  216. width: 42rpx;
  217. height: 26rpx;
  218. position: absolute;
  219. top: -10rpx;
  220. left: 6rpx;
  221. -webkit-animation: click 0.6s cubic-bezier(0.39, 0.575, 0.565, 1) infinite;
  222. animation: click 0.6s cubic-bezier(0.39, 0.575, 0.565, 1) infinite;
  223. }
  224. @-webkit-keyframes click {
  225. 0% {
  226. -webkit-transform: scale(1);
  227. transform: scale(1);
  228. }
  229. 50% {
  230. -webkit-transform: scale(1.3);
  231. transform: scale(1.3);
  232. }
  233. 100% {
  234. -webkit-transform: scale(1);
  235. transform: scale(1);
  236. }
  237. }
  238. @keyframes click {
  239. 0% {
  240. -webkit-transform: scale(1);
  241. transform: scale(1);
  242. }
  243. 50% {
  244. -webkit-transform: scale(1.3);
  245. transform: scale(1.3);
  246. }
  247. 100% {
  248. -webkit-transform: scale(1);
  249. transform: scale(1);
  250. }
  251. }
  252. .discountsDetail .zs-list .item .info .like {
  253. position: absolute;
  254. top: 0%;
  255. right: 10rpx;
  256. }
  257. .discountsDetail #map {
  258. position: relative;
  259. top: -100000px;
  260. left: -1000000px;
  261. }