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.

352 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: 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: 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. .merchant-shop,.merchant-phone{
  134. width: 92%;
  135. margin: 0 auto;
  136. }
  137. .tabs-item.selected {
  138. color: rgba(171, 149, 109, 0.8);
  139. border-bottom: 2px solid rgba(171, 149, 109, 0.8);
  140. }
  141. .tabs-item {
  142. width: 33.3%;
  143. color: #c7c7cb;
  144. font-size: 28rpx;
  145. display: flex;
  146. align-items: center;
  147. justify-content: center;
  148. border-bottom: 1rpx solid #d0d0d7;
  149. }
  150. .swiper-tab {
  151. text-align: left;
  152. width: 100%;
  153. display: flex;
  154. flex-flow: row;
  155. height: 88rpx;
  156. line-height: 88rpx;
  157. margin-bottom: 30rpx;
  158. }
  159. .swiper-tab-item {
  160. color: #434343;
  161. font-size: 30rpx;
  162. margin-right: 50rpx;
  163. }
  164. .active-tab {
  165. color: #af6e34;
  166. border-bottom: 6rpx solid #af6e34;
  167. }
  168. .fenxiang {
  169. position: absolute;
  170. right: 0;
  171. top: 27rpx;
  172. width: 108rpx;
  173. }
  174. .merchant-phones{
  175. padding: 0 4%;
  176. }
  177. .fenxiang image {
  178. width: 108rpx;
  179. position: absolute;
  180. top: 0;
  181. right: 0;
  182. }
  183. .user-motto {
  184. width: 270rpx;
  185. border: 0;
  186. background: none;
  187. height: 260rpx;
  188. color: #fff;
  189. position: fixed;
  190. }
  191. .user-motto::after {
  192. border: none;
  193. }
  194. /* 商户活动列表 */
  195. .coupons c-coupons {
  196. width: 335rpx;
  197. height: 354rpx;
  198. margin-bottom: 22rpx;
  199. }
  200. .coupons c-coupons:nth-of-type(2n+1) {
  201. float: left;
  202. }
  203. .coupons c-coupons:nth-of-type(2n) {
  204. float: right;
  205. }
  206. .loading image {
  207. width: 60rpx;
  208. height: 60rpx;
  209. vertical-align: middle;
  210. margin-right: 10rpx;
  211. }
  212. .dingdan text {
  213. display: block;
  214. text-align: center;
  215. color: #999;
  216. }
  217. .swiperactive {
  218. min-height: 400rpx;
  219. padding-bottom: 44rpx;
  220. }
  221. .modal {
  222. width: 100%;
  223. height: 100%;
  224. position: fixed;
  225. top: 0;
  226. left: 0;
  227. background: rgba(0, 0, 0, 0.5);
  228. overflow: hidden;
  229. z-index: 10;
  230. color: #fff;
  231. }
  232. .modal-content {
  233. width: 540rpx;
  234. height: 260rpx;
  235. line-height: 60rpx;
  236. overflow: hidden;
  237. position: fixed;
  238. top: 50%;
  239. left: 0;
  240. z-index: 11;
  241. background: #f9f9f9;
  242. margin: -130rpx 105rpx;
  243. border-radius: 36rpx;
  244. display: flex;
  245. }
  246. .modal-content view {
  247. display: inline-block;
  248. flex: 1;
  249. text-align: center;
  250. }
  251. .modal-content view>text {
  252. color: #000;
  253. display: block;
  254. height: 80rpx;
  255. line-height: 80rpx;
  256. }
  257. .modal-content view>image {
  258. margin-top: 30rpx;
  259. width: 100rpx;
  260. height: 100rpx;
  261. }
  262. /*分享海报样式*/
  263. .canvas-content {
  264. display: flex;
  265. top: 0;
  266. left: 0;
  267. /* left: 500%; 分享图不显示在页面上面,就将画布设置在页面之外*/
  268. }
  269. .save-button {
  270. position: fixed;
  271. width: 80rpx;
  272. height: 80rpx;
  273. bottom: 40rpx;
  274. right: 40rpx;
  275. border-radius: 50rpx;
  276. z-index: 200;
  277. background: rgba(0, 0, 0, 0.75);
  278. }
  279. .save-button .share-image {
  280. position: absolute;
  281. top: 22rpx;
  282. left: 22rpx;
  283. width: 36rpx;
  284. height: 36rpx;
  285. }
  286. /*分享海报蒙层*/
  287. .postermodal {
  288. width: 100%;
  289. height: 100%;
  290. position: fixed;
  291. top: 0;
  292. left: 0;
  293. background: rgba(0, 0, 0, 0.5);
  294. overflow: hidden;
  295. z-index: 50;
  296. color: #fff;
  297. }
  298. .dingdan image {
  299. display: block;
  300. width: 300rpx;
  301. margin: 30rpx auto 0;
  302. }