C端小程序
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

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