C端小程序
Não pode escolher mais do que 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

356 linhas
5.2 KiB

  1. .index-slide, swiper-item
  2. .index-slide-image {
  3. display: block;
  4. width: 750rpx;
  5. margin: 0 auto;
  6. overflow: hidden;
  7. position: relative;
  8. height: 476rpx;
  9. }
  10. .index-slide-view .dots {
  11. position: absolute;
  12. left: 0;
  13. right: 0;
  14. bottom: 20rpx;
  15. display: flex;
  16. justify-content: center;
  17. }
  18. .index-slide-view .dots .dot {
  19. margin: 0 8rpx;
  20. width: 12rpx;
  21. height: 12rpx;
  22. background: #b6b6b7;
  23. border-radius: 50%;
  24. transition: all 0.6s;
  25. }
  26. .index-slide-view .dots .dot.active {
  27. background: #02c0ff;
  28. width: 30rpx;
  29. height: 12rpx;
  30. border-radius: 10rpx;
  31. opacity: 1;
  32. }
  33. .bannerbg {
  34. width: 100%;
  35. }
  36. .bannerbg image {
  37. display: block;
  38. width: 100%;
  39. }
  40. .merchant-detail {
  41. width: 100%;
  42. padding: 30rpx 0 0;
  43. background: #fff;
  44. border-top-left-radius: 20rpx;
  45. border-top-right-radius: 20rpx;
  46. }
  47. .merchant-brand, .merchant-shop, .merchant-phone {
  48. width: 100%;
  49. display: flex;
  50. padding: 20rpx 0;
  51. background: #fff;
  52. border-bottom: 1rpx solid #efefef;
  53. }
  54. .merchant-brand view:nth-child(1) {
  55. width: 130rpx;
  56. border-radius: 16rpx;
  57. height: 130rpx;
  58. }
  59. .merchant-brand view:nth-child(1) image {
  60. display: block;
  61. width: 130rpx;
  62. height: 130rpx;
  63. border-radius: 16rpx;
  64. border: 1px solid #e5e5e5;
  65. }
  66. .merchant-brand view:nth-child(2) {
  67. display: flex;
  68. flex-direction: column;
  69. flex: 6;
  70. padding-left: 30rpx;
  71. }
  72. .merchant-brand view:nth-child(2) text:nth-child(1) {
  73. margin-top: 20rpx;
  74. }
  75. .merchant-shop text, .merchant-phone text {
  76. font-size: 30rpx;
  77. }
  78. .merchant-shop view, .merchant-phone view {
  79. display: flex;
  80. flex: 2;
  81. color: #333;
  82. }
  83. .merchant-shop view:nth-child(2) {
  84. font-size: 30rpx;
  85. }
  86. .merchant-info {
  87. display: block !important;
  88. color: #999;
  89. font-size: 28rpx;
  90. }
  91. .merchant-phones {
  92. border-top:8px solid #efefef;
  93. padding: 20rpx 0;
  94. display: block;
  95. font-size: 30rpx;
  96. background: linear-gradient(0deg, rgba(235, 235, 235, 1) 0%, rgba(255, 255, 255, 0.8) 100%);
  97. }
  98. .tel {
  99. right: 0;
  100. top: 0;
  101. bottom: 0;
  102. margin: auto;
  103. width: 50rpx;
  104. height: 50rpx;
  105. }
  106. .shoplists {
  107. display: flex;
  108. }
  109. .shoplists text {
  110. flex: 2;
  111. }
  112. .godetail {
  113. color: #999;
  114. font-size: 30rpx;
  115. position: absolute;
  116. right: 10rpx;
  117. }
  118. .merchants text {
  119. display: block;
  120. text-align: left;
  121. font-size: 26rpx;
  122. margin-bottom: 6rpx;
  123. line-height: 15rpx;
  124. }
  125. .merchants {
  126. display: block !important;
  127. }
  128. .merchant-brand {
  129. border: none !important;
  130. width: 92%;
  131. margin: 0 auto;
  132. }
  133. .title{
  134. font-size: 24rpx;
  135. color: #666;
  136. }
  137. .merchant-shop,.merchant-phone{
  138. width: 92%;
  139. margin: 0 auto;
  140. }
  141. .tabs-item.selected {
  142. color: rgba(171, 149, 109, 0.8);
  143. border-bottom: 2px solid rgba(171, 149, 109, 0.8);
  144. }
  145. .tabs-item {
  146. width: 33.3%;
  147. color: #c7c7cb;
  148. font-size: 28rpx;
  149. display: flex;
  150. align-items: center;
  151. justify-content: center;
  152. border-bottom: 1rpx solid #d0d0d7;
  153. }
  154. .swiper-tab {
  155. text-align: left;
  156. width: 100%;
  157. display: flex;
  158. flex-flow: row;
  159. height: 88rpx;
  160. line-height: 88rpx;
  161. margin-bottom: 30rpx;
  162. }
  163. .swiper-tab-item {
  164. color: #434343;
  165. font-size: 30rpx;
  166. margin-right: 50rpx;
  167. }
  168. .active-tab {
  169. color: #af6e34;
  170. border-bottom: 6rpx solid #af6e34;
  171. }
  172. .fenxiang {
  173. position: absolute;
  174. right: 0;
  175. top: 27rpx;
  176. width: 108rpx;
  177. }
  178. .merchant-phones{
  179. padding: 0 4%;
  180. }
  181. .fenxiang image {
  182. width: 108rpx;
  183. position: absolute;
  184. top: 0;
  185. right: 0;
  186. }
  187. .user-motto {
  188. width: 270rpx;
  189. border: 0;
  190. background: none;
  191. height: 260rpx;
  192. color: #fff;
  193. position: fixed;
  194. }
  195. .user-motto::after {
  196. border: none;
  197. }
  198. /* 商户活动列表 */
  199. .coupons c-coupons {
  200. width: 335rpx;
  201. height: 354rpx;
  202. margin-bottom: 22rpx;
  203. }
  204. .coupons c-coupons:nth-of-type(2n+1) {
  205. float: left;
  206. }
  207. .coupons c-coupons:nth-of-type(2n) {
  208. float: right;
  209. }
  210. .loading image {
  211. width: 60rpx;
  212. height: 60rpx;
  213. vertical-align: middle;
  214. margin-right: 10rpx;
  215. }
  216. .dingdan text {
  217. display: block;
  218. text-align: center;
  219. color: #999;
  220. }
  221. .swiperactive {
  222. min-height: 400rpx;
  223. padding-bottom: 44rpx;
  224. }
  225. .modal {
  226. width: 100%;
  227. height: 100%;
  228. position: fixed;
  229. top: 0;
  230. left: 0;
  231. background: rgba(0, 0, 0, 0.5);
  232. overflow: hidden;
  233. z-index: 10;
  234. color: #fff;
  235. }
  236. .modal-content {
  237. width: 540rpx;
  238. height: 260rpx;
  239. line-height: 60rpx;
  240. overflow: hidden;
  241. position: fixed;
  242. top: 50%;
  243. left: 0;
  244. z-index: 11;
  245. background: #f9f9f9;
  246. margin: -130rpx 105rpx;
  247. border-radius: 36rpx;
  248. display: flex;
  249. }
  250. .modal-content view {
  251. display: inline-block;
  252. flex: 1;
  253. text-align: center;
  254. }
  255. .modal-content view>text {
  256. color: #000;
  257. display: block;
  258. height: 80rpx;
  259. line-height: 80rpx;
  260. }
  261. .modal-content view>image {
  262. margin-top: 30rpx;
  263. width: 100rpx;
  264. height: 100rpx;
  265. }
  266. /*分享海报样式*/
  267. .canvas-content {
  268. display: flex;
  269. top: 0;
  270. left: 0;
  271. /* left: 500%; 分享图不显示在页面上面,就将画布设置在页面之外*/
  272. }
  273. .save-button {
  274. position: fixed;
  275. width: 80rpx;
  276. height: 80rpx;
  277. bottom: 40rpx;
  278. right: 40rpx;
  279. border-radius: 50rpx;
  280. z-index: 200;
  281. background: rgba(0, 0, 0, 0.75);
  282. }
  283. .save-button .share-image {
  284. position: absolute;
  285. top: 22rpx;
  286. left: 22rpx;
  287. width: 36rpx;
  288. height: 36rpx;
  289. }
  290. /*分享海报蒙层*/
  291. .postermodal {
  292. width: 100%;
  293. height: 100%;
  294. position: fixed;
  295. top: 0;
  296. left: 0;
  297. background: rgba(0, 0, 0, 0.5);
  298. overflow: hidden;
  299. z-index: 50;
  300. color: #fff;
  301. }
  302. .dingdan image {
  303. display: block;
  304. width: 300rpx;
  305. margin: 30rpx auto 0;
  306. }