C端小程序
Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.

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