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.

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