carddetail.wxss 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370
  1. /* pages/kabaw/detail.wxss */
  2. page{
  3. background: #fff;
  4. }
  5. .main{
  6. width: 90vw;
  7. height: auto;
  8. margin: 5vw;
  9. }
  10. /* .detail-box{
  11. width: 100%;
  12. height: auto;
  13. border-radius: 8px;
  14. border:1px solid #eee;
  15. padding: 5px 5vw;
  16. } */
  17. .title{
  18. width: 100%;
  19. height: 36px;
  20. line-height: 36px;
  21. text-align: center;
  22. }
  23. .img{
  24. width: 80vw;
  25. height: 40vw;
  26. margin: 10px 0;
  27. /* border: 1px solid #eee; */
  28. /* background: #eee; */
  29. }
  30. .img image{
  31. width: 80vw;
  32. height: 40vw;
  33. }
  34. .store{
  35. width: 100%;
  36. /* height: 70px; */
  37. }
  38. .store .title{
  39. width: 100%;
  40. height: 30px;
  41. line-height: 30px;
  42. text-align: left;
  43. }
  44. .store .address{
  45. width: 100%;
  46. height: 40px;
  47. display: flex;
  48. line-height: 40px;
  49. position: relative;
  50. }
  51. .address image{
  52. width: 20px;
  53. height: 20px;
  54. margin: 10px 2px;
  55. }
  56. .address .daohang{
  57. float: right;
  58. display: flex;
  59. width: auto;
  60. height: 40px;
  61. line-height: 40px;
  62. position: absolute;
  63. right: 0;
  64. }
  65. .daohang image{
  66. width: 8px;
  67. height: 12px;
  68. margin: 14px 3px;
  69. }
  70. .info{
  71. width: 100%;
  72. height: auto;
  73. }
  74. .info .title{
  75. width: 100%;
  76. height: 30px;
  77. line-height: 30px;
  78. text-align: left;
  79. }
  80. .info .txt{
  81. width: 100%;
  82. height: auto;
  83. line-height: 30px;
  84. font-size: 12px;
  85. }
  86. .btn-box .btns{
  87. width: auto;
  88. height: 30px;
  89. line-height: 30px;
  90. padding: 0 12px;
  91. border-radius: 5px;
  92. background: #f40;
  93. color: #fff;
  94. margin:10px 0;
  95. }
  96. .qr_box{
  97. width: 100vw;
  98. height: 100vh;
  99. background: rgba(0,0,0, 0.5);
  100. position: fixed;
  101. top: 0;
  102. left: 0;
  103. z-index: 22;
  104. }
  105. .qr_box .qr{
  106. width: 70vw;
  107. height: 65vw;
  108. background: #fff;
  109. border-radius: 10px;
  110. margin: calc( 50vh - 40vw ) 15vw;
  111. padding: 4px 0;
  112. position: relative;
  113. }
  114. .qr .goclose{
  115. width: 24px;
  116. height: 24px;
  117. border: 1px solid #f54;
  118. border-radius: 24px;
  119. position: absolute;
  120. color: #f54;
  121. top: 3px;
  122. right: 3px;
  123. text-align: center;
  124. line-height: 24px;
  125. font-size: 18px;
  126. }
  127. .qr .title{
  128. width: 100%;
  129. height: 10vw;
  130. line-height: 10vw;
  131. margin: 2vw 0;
  132. text-align: center;
  133. font-size: 18px;
  134. }
  135. .qr .qrcode{
  136. width: 40vw;
  137. height:40vw;
  138. margin: 0 15vw;
  139. }
  140. .qrcode image{
  141. width:100%;
  142. height: 100%;
  143. background: #eee;
  144. }
  145. .shuabtn{
  146. width: 100%;
  147. height: 12vw;
  148. line-height: 12vw;
  149. display: flex;
  150. justify-content: center;
  151. margin-top: 3vw;
  152. }
  153. .shuabtn image{
  154. width: 20px;
  155. height: 20px;
  156. margin: calc( 6vw - 10px ) 15px;
  157. }
  158. .shuabtn view{
  159. width: auto;
  160. height: 12vw;
  161. line-height: 12vw;
  162. }
  163. /* pages/kabaw/detail.wxss */
  164. page{
  165. background: #e3e3e3;
  166. }
  167. .main{
  168. width: 80vw;
  169. height: auto;
  170. margin: 5vw 10vw;
  171. }
  172. .detail-box{
  173. width: 100%;
  174. height: auto;
  175. border-radius: 8px;
  176. border:1px solid #eee;
  177. /* padding: 5px 5vw; */
  178. background: #fff;
  179. box-sizing: none;
  180. }
  181. .title{
  182. width: 100%;
  183. height: 36px;
  184. line-height: 36px;
  185. text-align: center;
  186. }
  187. .img{
  188. width: 100%;
  189. height: 40vw;
  190. border-radius: 8px 8px 0 0;
  191. overflow: hidden;
  192. /* margin: 10px 0; */
  193. /* border: 1px solid #eee; */
  194. /* background: #eee; */
  195. }
  196. .img image{
  197. width: 100%;
  198. height: 40vw;
  199. }
  200. .store{
  201. width: 100%;
  202. /* height: 70px; */
  203. }
  204. .store .title{
  205. width: 100%;
  206. height: 30px;
  207. line-height: 30px;
  208. text-align: left;
  209. }
  210. .store .address{
  211. width: 100%;
  212. height: 40px;
  213. display: flex;
  214. line-height: 40px;
  215. position: relative;
  216. }
  217. .address image{
  218. width: 20px;
  219. height: 20px;
  220. margin: 10px 2px;
  221. }
  222. .address .daohang{
  223. float: right;
  224. display: flex;
  225. width: auto;
  226. height: 40px;
  227. line-height: 40px;
  228. position: absolute;
  229. right: 0;
  230. }
  231. .daohang image{
  232. width: 8px;
  233. height: 12px;
  234. margin: 14px 3px;
  235. }
  236. .info{
  237. width: 100%;
  238. height: auto;
  239. }
  240. .info .title{
  241. width: 100%;
  242. height: 30px;
  243. line-height: 30px;
  244. text-align: left;
  245. }
  246. .info .txt{
  247. width: 100%;
  248. height: auto;
  249. line-height: 30px;
  250. font-size: 12px;
  251. }
  252. .txt image{
  253. width: 10px;
  254. height: 10px;
  255. }
  256. .btn-box{
  257. width: 100%;
  258. height: 50px;
  259. /* margin-bottom: 10px; */
  260. line-height: 50px;
  261. display: flex;
  262. justify-content: space-between
  263. }
  264. .btn-box .btns{
  265. width: auto;
  266. height: 30px;
  267. line-height: 30px;
  268. padding: 0 12px;
  269. border-radius: 30px;
  270. background:linear-gradient(270deg,rgba(15,40,98,1) 0%,rgba(75,113,161,1) 100%);
  271. color: #fff;
  272. margin:10px 0;
  273. font-size: 12px;
  274. }
  275. .qr_box{
  276. width: 100vw;
  277. height: 100vh;
  278. background: rgba(0,0,0, 0.5);
  279. position: fixed;
  280. top: 0;
  281. left: 0;
  282. z-index: 22;
  283. }
  284. .qr_box .qr{
  285. width: 70vw;
  286. height: 75vw;
  287. background: #fff;
  288. border-radius: 10px;
  289. margin: calc( 50vh - 40vw ) 15vw;
  290. padding: 4px 0;
  291. position: relative;
  292. }
  293. .qr .goclose{
  294. width: 24px;
  295. height: 24px;
  296. border: 1px solid #f54;
  297. border-radius: 24px;
  298. position: absolute;
  299. color: #f54;
  300. top: 3px;
  301. right: 3px;
  302. text-align: center;
  303. line-height: 24px;
  304. font-size: 18px;
  305. }
  306. .qr .title{
  307. width: 100%;
  308. height: 10vw;
  309. line-height: 10vw;
  310. margin: 2vw 0;
  311. text-align: center;
  312. font-size: 18px;
  313. }
  314. .qr .qrcode{
  315. width: 40vw;
  316. height:40vw;
  317. margin: 0 15vw;
  318. }
  319. .qrcode image{
  320. width:100%;
  321. height: 100%;
  322. background: #eee;
  323. }
  324. .shuabtn{
  325. width: 100%;
  326. height: 12vw;
  327. line-height: 12vw;
  328. display: flex;
  329. justify-content: center;
  330. margin-top: 3vw;
  331. }
  332. .shuabtn image{
  333. width: 20px;
  334. height: 20px;
  335. margin: calc( 6vw - 10px ) 0;
  336. }
  337. .shuabtn view{
  338. width: auto;
  339. height: 12vw;
  340. line-height: 12vw;
  341. }
  342. .minfo{
  343. width: 100%;
  344. height: auto;
  345. padding: 15px;
  346. }
  347. .minfo .names{
  348. width: 100%;
  349. display: flex;
  350. height: 52px;
  351. justify-content: space-between;
  352. }
  353. .names .name{
  354. width: 70%;
  355. height: 52px;
  356. line-height: 26px;
  357. }
  358. .names .price{
  359. width: 30%;
  360. height: 52px;
  361. line-height: 30px;
  362. text-align: right;
  363. }