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.

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