C端小程序
Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.

402 wiersze
6.2 KiB

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