C端小程序
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

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