微信

page.scss 7.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302
  1. .mainPage{
  2. >div.content{
  3. width: 100%;
  4. position: absolute;
  5. left: 0;
  6. top: 0;
  7. bottom: 0;
  8. overflow-y: scroll;
  9. -webkit-overflow-scrolling: touch;
  10. transform: translateZ(0);
  11. -webkit-transform: translateZ(0);
  12. >h2{
  13. width: 100%;
  14. display: block;
  15. line-height: .3rem;
  16. font-size: .17rem;
  17. text-align: center;
  18. margin: .28rem auto 0;
  19. }
  20. .list{
  21. >div.flex-item{
  22. margin: 0 .2rem;
  23. position: relative;
  24. overflow: hidden;
  25. &>ul{
  26. width: 100%;
  27. position: relative;
  28. overflow: hidden;
  29. margin: .18rem auto 0;
  30. &>li{
  31. align-items: center;
  32. padding: .08rem 0;
  33. border-bottom: .01rem solid #eee;
  34. >div{
  35. >div{
  36. width: 100%;
  37. position: relative;
  38. overflow: hidden;
  39. >span{
  40. width: 100%;
  41. display: block;
  42. line-height: .26rem;
  43. font-size: .11rem;
  44. text-align: right;
  45. }
  46. }
  47. &:nth-child(1){
  48. >div{
  49. span{
  50. text-align: left;
  51. font-size: .14rem;
  52. overflow: hidden;
  53. text-overflow: ellipsis;
  54. white-space: nowrap;
  55. }
  56. }
  57. }
  58. &:nth-child(2){
  59. margin: 0 .05rem;
  60. >div{
  61. span{
  62. text-align: center;
  63. color: #666;
  64. overflow: hidden;
  65. text-overflow: ellipsis;
  66. white-space: nowrap;
  67. }
  68. }
  69. }
  70. }
  71. a{
  72. font-size: 0;
  73. white-space: nowrap;
  74. *{
  75. display: inline-block;
  76. line-height: .26rem;
  77. font-size: .11rem;
  78. color: #ccc;
  79. }
  80. &.active{
  81. *{
  82. color: #fd684a;
  83. font-size: .14rem;
  84. }
  85. }
  86. }
  87. }
  88. }
  89. }
  90. }
  91. h6{
  92. width: 100%;
  93. display: block;
  94. line-height: .34rem;
  95. font-size: .14rem;
  96. text-indent: .2rem;
  97. margin: .3rem auto 0;
  98. }
  99. .remark{
  100. >div{
  101. margin: 0 .2rem;
  102. >div{
  103. width: 100%;
  104. position: relative;
  105. overflow: hidden;
  106. background: #f2f2f2;
  107. border-radius: .06rem;
  108. textarea{
  109. margin: 0 .1rem;
  110. width: 100%;
  111. line-height: .2rem;
  112. padding: .1rem 0;
  113. background: none;
  114. }
  115. }
  116. }
  117. }
  118. >span{
  119. width: 100%;
  120. display: block;
  121. line-height: .36rem;
  122. font-size: .13rem;
  123. color: #666;
  124. text-indent: .2rem;
  125. }
  126. .bottom{
  127. width: 100%;
  128. position: relative;
  129. overflow: hidden;
  130. text-align: center;
  131. font-size: 0;
  132. white-space: nowrap;
  133. margin: .1rem auto .4rem;
  134. a{
  135. display: inline-block;
  136. line-height: .32rem;
  137. border-radius: .05rem;
  138. border: .01rem solid #333;
  139. padding: 0 .4rem;
  140. font-size: .15rem;
  141. color: #333;
  142. &:nth-child(2){
  143. color: #fd684a;
  144. border-color: #fd684a;
  145. margin-left: .4rem;
  146. }
  147. }
  148. }
  149. }
  150. .selectLayer{
  151. width: 100%;
  152. position: absolute;
  153. left: 0;
  154. top: 0;
  155. bottom: 0;
  156. z-index: 100;
  157. background: rgba(0,0,0,.5);
  158. display: none;
  159. &.show{
  160. display: block;
  161. }
  162. >div{
  163. width: 100%;
  164. position: absolute;
  165. left: 0;
  166. bottom: 0;
  167. overflow: hidden;
  168. }
  169. }
  170. .selectCouponLayer{
  171. width: 100%;
  172. position: absolute;
  173. left: 0;
  174. top: 0;
  175. bottom: 0;
  176. z-index: 100;
  177. background: rgba(0,0,0,.5);
  178. display: none;
  179. &.show{
  180. display: block;
  181. }
  182. >div{
  183. width: 100%;
  184. height: 4rem;
  185. position: absolute;
  186. overflow: hidden;
  187. left: 0;
  188. bottom: 0;
  189. background: #fff;
  190. border-radius: .1rem .1rem 0 0;
  191. >div{
  192. width: 100%;
  193. &:first-child{
  194. text-align: right;
  195. margin-top: .1rem;
  196. >i{
  197. margin-right: .1rem;
  198. font-size: .2rem;
  199. color: #666;
  200. }
  201. }
  202. &.flex-item{
  203. position: relative;
  204. overflow: visible;
  205. >div{
  206. width: 100%;
  207. position: absolute;
  208. overflow: visible;
  209. left: 0;
  210. top: 0;
  211. bottom: 0;
  212. >div{
  213. width: 100%;
  214. overflow-y: scroll;
  215. -webkit-overflow-scrolling: touch;
  216. transform: translateZ(0);
  217. -webkit-transform: translateZ(0);
  218. overflow-x: visible;
  219. ul{
  220. width: 100%;
  221. position: relative;
  222. overflow: visible;
  223. li{
  224. width: 100%;
  225. position: relative;
  226. overflow: visible;
  227. margin: .1rem auto 0;
  228. >i{
  229. display: none;
  230. font-size: .2rem;
  231. color: #fd684a;
  232. position: absolute;
  233. right: .1rem;
  234. top: .1rem;
  235. z-index: 110;
  236. }
  237. &.active{
  238. >i{
  239. display: block;
  240. }
  241. }
  242. }
  243. }
  244. }
  245. }
  246. }
  247. }
  248. >a{
  249. width: 100%;
  250. display: block;
  251. text-align: center;
  252. font-size: .16rem;
  253. color: #fff;
  254. background: #fd684a;
  255. line-height: .5rem;
  256. }
  257. }
  258. // >div{
  259. // width: 100%;
  260. // max-height: 3rem;
  261. // overflow: hidden;
  262. // position: absolute;
  263. // left: 0;
  264. // bottom: 0;
  265. // background: #fff;
  266. // border-radius: .1rem .1rem 0 0;
  267. // >div{
  268. // width: 100%;
  269. // position: relative;
  270. // overflow: visible;
  271. // &:first-child{
  272. // text-align: right;
  273. // }
  274. // i{
  275. // font-size: .2rem;
  276. // color: #666;
  277. // margin-right: .1rem;
  278. // }
  279. // >ul{
  280. // position: relative;
  281. // overflow: visible;
  282. // margin: 0 .2rem;
  283. // >li{
  284. // width: 100%;
  285. // position: relative;
  286. // overflow: visible;
  287. // margin: .1rem auto 0;
  288. // }
  289. // }
  290. // }
  291. // >a{
  292. // width: 100%;
  293. // display: block;
  294. // text-align: center;
  295. // font-size: .16rem;
  296. // color: #fff;
  297. // background: #fd684a;
  298. // line-height: .5rem;
  299. // }
  300. // }
  301. }
  302. }