detail.wxss 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204
  1. /* pages/kabaw/detail.wxss */
  2. page{
  3. background: #e3e3e3;
  4. }
  5. .main{
  6. width: 80vw;
  7. height: auto;
  8. margin: 5vw 10vw;
  9. }
  10. .detail-box{
  11. width: 100%;
  12. height: auto;
  13. border-radius: 8px;
  14. border:1px solid #eee;
  15. /* padding: 5px 5vw; */
  16. background: #fff;
  17. box-sizing: none;
  18. }
  19. .title{
  20. width: 100%;
  21. height: 36px;
  22. line-height: 36px;
  23. text-align: center;
  24. }
  25. .img{
  26. width: 100%;
  27. height: 40vw;
  28. border-radius: 8px 8px 0 0;
  29. overflow: hidden;
  30. /* margin: 10px 0; */
  31. /* border: 1px solid #eee; */
  32. /* background: #eee; */
  33. }
  34. .img image{
  35. width: 100%;
  36. height: 40vw;
  37. }
  38. .store{
  39. width: 100%;
  40. /* height: 70px; */
  41. }
  42. .store .title{
  43. width: 100%;
  44. height: 30px;
  45. line-height: 30px;
  46. text-align: left;
  47. }
  48. .store .address{
  49. width: 100%;
  50. height: 40px;
  51. display: flex;
  52. line-height: 40px;
  53. position: relative;
  54. }
  55. .address image{
  56. width: 20px;
  57. height: 20px;
  58. margin: 10px 2px;
  59. }
  60. .address .daohang{
  61. float: right;
  62. display: flex;
  63. width: auto;
  64. height: 40px;
  65. line-height: 40px;
  66. position: absolute;
  67. right: 0;
  68. }
  69. .daohang image{
  70. width: 8px;
  71. height: 12px;
  72. margin: 14px 3px;
  73. }
  74. .info{
  75. width: 100%;
  76. height: auto;
  77. }
  78. .info .title{
  79. width: 100%;
  80. height: 30px;
  81. line-height: 30px;
  82. text-align: left;
  83. }
  84. .info .txt{
  85. width: 100%;
  86. height: auto;
  87. line-height: 30px;
  88. font-size: 12px;
  89. }
  90. .txt image{
  91. width: 10px;
  92. height: 10px;
  93. }
  94. .btn-box{
  95. width: 100%;
  96. height: 50px;
  97. /* margin-bottom: 10px; */
  98. line-height: 50px;
  99. display: flex;
  100. justify-content: space-between
  101. }
  102. .btn-box .btns{
  103. width: auto;
  104. height: 30px;
  105. line-height: 30px;
  106. padding: 0 12px;
  107. border-radius: 30px;
  108. background:linear-gradient(270deg,rgba(15,40,98,1) 0%,rgba(75,113,161,1) 100%);
  109. color: #fff;
  110. margin:10px 0;
  111. font-size: 12px;
  112. }
  113. .qr_box{
  114. width: 100vw;
  115. height: 100vh;
  116. background: rgba(0,0,0, 0.5);
  117. position: fixed;
  118. top: 0;
  119. left: 0;
  120. z-index: 22;
  121. }
  122. .qr_box .qr{
  123. width: 70vw;
  124. height: 75vw;
  125. background: #fff;
  126. border-radius: 10px;
  127. margin: calc( 50vh - 40vw ) 15vw;
  128. padding: 4px 0;
  129. position: relative;
  130. }
  131. .qr .goclose{
  132. width: 24px;
  133. height: 24px;
  134. border: 1px solid #f54;
  135. border-radius: 24px;
  136. position: absolute;
  137. color: #f54;
  138. top: 3px;
  139. right: 3px;
  140. text-align: center;
  141. line-height: 24px;
  142. font-size: 18px;
  143. }
  144. .qr .title{
  145. width: 100%;
  146. height: 10vw;
  147. line-height: 10vw;
  148. margin: 2vw 0;
  149. text-align: center;
  150. font-size: 18px;
  151. }
  152. .qr .qrcode{
  153. width: 40vw;
  154. height:40vw;
  155. margin: 0 15vw;
  156. }
  157. .qrcode image{
  158. width:100%;
  159. height: 100%;
  160. background: #eee;
  161. }
  162. .shuabtn{
  163. width: 100%;
  164. height: 12vw;
  165. line-height: 12vw;
  166. display: flex;
  167. justify-content: center;
  168. margin-top: 3vw;
  169. }
  170. .shuabtn image{
  171. width: 20px;
  172. height: 20px;
  173. margin: calc( 6vw - 10px ) 0;
  174. }
  175. .shuabtn view{
  176. width: auto;
  177. height: 12vw;
  178. line-height: 12vw;
  179. }
  180. .minfo{
  181. width: 100%;
  182. height: auto;
  183. padding: 15px;
  184. }
  185. .minfo .names{
  186. width: 100%;
  187. display: flex;
  188. height: 52px;
  189. justify-content: space-between;
  190. }
  191. .names .name{
  192. width: 70%;
  193. height: 52px;
  194. line-height: 26px;
  195. }
  196. .names .price{
  197. width: 30%;
  198. height: 52px;
  199. line-height: 30px;
  200. text-align: right;
  201. }