C端小程序
No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.

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