stock.wxss 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328
  1. /* pages/stock/stock.wxss */
  2. page{
  3. /* padding: 30rpx; */
  4. background-color: #F7F7F7;
  5. }
  6. .top_bg {
  7. position: relative;
  8. }
  9. .top_bg>image{
  10. width: 100%;
  11. }
  12. .top_bg .top_title{
  13. position: absolute;
  14. left: 0;
  15. right: 0;
  16. margin: auto;
  17. color: #fff;
  18. text-align: center;
  19. top: 20rpx;
  20. font-size: 46rpx;
  21. font-weight: 600;
  22. }
  23. .search-img{
  24. width: 40rpx;
  25. position: absolute;
  26. right: 20rpx;
  27. top: 15rpx;
  28. }
  29. .date-picker{
  30. color: #fff;
  31. padding-top: 10rpx;
  32. font-size: 26rpx;
  33. font-weight: 400;
  34. }
  35. .hot_list scroll-view{
  36. height: calc(100vh - 180rpx);
  37. position: relative;
  38. top: -48rpx;
  39. border-radius: 37rpx;
  40. }
  41. .detail image{
  42. width: 100%;
  43. border-radius: 8rpx;
  44. }
  45. .number{
  46. width: 38rpx;
  47. display: inline-block;
  48. text-align: center;
  49. color: #CE994F;
  50. font-size: 26rpx;
  51. font-weight: 600;
  52. margin-right: 10rpx;
  53. margin-top: 6rpx;
  54. }
  55. image.number{
  56. margin-top: 10rpx;
  57. }
  58. .desc{
  59. font-size: 30rpx;
  60. line-height: 48rpx;
  61. margin: 30rpx 0;
  62. padding: 0 30rpx;
  63. }
  64. .name{
  65. font-size: 28rpx;
  66. font-weight: 500;
  67. }
  68. .name>text{
  69. color: #AAAAAA;
  70. font-size: 22rpx;
  71. /* border: 1px solid #AAAAAA; */
  72. border-radius: 4rpx;
  73. font-weight: 400;
  74. padding: 0 4rpx;
  75. position: relative;
  76. top: -3rpx;
  77. }
  78. .name view{
  79. float: right;
  80. color: #CE994F;
  81. font-size: 22rpx;
  82. text-align: center;
  83. position: relative;
  84. top: -5rpx;
  85. }
  86. .info{
  87. font-size: 26rpx;
  88. padding: 10rpx 0;
  89. display: flex;
  90. color: #333;
  91. }
  92. .info view{
  93. width: 85%;
  94. vertical-align: top;
  95. font-size: 27rpx !important;
  96. }
  97. .info label{
  98. font-weight: 500;
  99. }
  100. .info .tag{
  101. font-size: 28rpx;
  102. color: #CE994F;
  103. border: 1px solid #CE994F;
  104. border-radius: 8rpx;
  105. margin-right: 8rpx;
  106. font-weight: 400;
  107. padding: 0 8rpx;
  108. }
  109. .player{
  110. border-bottom: 1px solid #F5F5F5;
  111. margin-bottom: 20rpx;
  112. }
  113. .name view{
  114. float: right;
  115. color: #CE994F;
  116. font-size: 22rpx;
  117. text-align: center;
  118. position: relative;
  119. top: -5rpx;
  120. }
  121. .name view text{
  122. display: block;
  123. font-size: 32rpx;
  124. color: #CE994F;
  125. position: relative;
  126. top: -8rpx;
  127. }
  128. .search{
  129. position: relative;
  130. display: flex;
  131. justify-content: space-between;
  132. }
  133. .search input{
  134. width: 100%;
  135. background: #F7F7F7;
  136. height: 68rpx;
  137. padding-left: 70rpx;
  138. border-radius: 16rpx;
  139. box-sizing: border-box;
  140. font-size: 30rpx;
  141. }
  142. .search text{
  143. font-size: 30rpx;
  144. line-height: 68rpx;
  145. }
  146. .search image{
  147. position: absolute;
  148. height: 40rpx;
  149. left: 20rpx;
  150. top: 0;
  151. bottom: 0;
  152. margin: auto;
  153. }
  154. .list{
  155. padding: 20rpx 0;
  156. border-bottom: 1px solid #F5F5F5;
  157. display: flex;
  158. justify-content: space-between;
  159. }
  160. .stock-name{
  161. width: 70%;
  162. }
  163. .stock-name text{
  164. display: block;
  165. font-size: 24rpx;
  166. color: #666;
  167. }
  168. .num{
  169. font-size: 28rpx;
  170. color: #666;
  171. text-align: right;
  172. float: right;
  173. }
  174. .num text{
  175. font-size: 30rpx;
  176. font-weight: 500;
  177. color: red;
  178. }
  179. .stock_name{
  180. line-height: 100rpx;
  181. padding: 0 30rpx;
  182. font-size: 30rpx;
  183. color: #333;
  184. background: #fff;
  185. position: relative;
  186. }
  187. .stock_name text{
  188. color: #999;
  189. font-weight: 400;
  190. font-size: 26rpx;
  191. padding: 5rpx 10rpx;
  192. }
  193. .tab{
  194. background: #fff;
  195. border-bottom: 1px solid #f2f2f2;
  196. }
  197. .tab view{
  198. line-height: 90rpx;
  199. text-align: center;
  200. /* width: 50%; */
  201. display: inline-block;
  202. font-size: 30rpx;
  203. position: relative;
  204. padding: 0 30rpx;
  205. }
  206. .tab .act{
  207. color: #FF583D;
  208. }
  209. .act text{
  210. position: absolute;
  211. width: 120rpx;
  212. height: 4rpx;
  213. bottom: 0;
  214. left: 0;
  215. right: 0;
  216. margin: auto;
  217. background: rgba(217, 75, 36, 1);
  218. border-radius: 40rpx;
  219. }
  220. ._list{
  221. position: relative;
  222. padding-left: 80rpx;
  223. margin-bottom: 24rpx;
  224. }
  225. ._list>navigator>image,._list>image{
  226. width: 64rpx;
  227. height: 64rpx;
  228. position: absolute;
  229. left: 0;
  230. top: 0;
  231. border-radius: 100%;
  232. }
  233. ._content,._name{
  234. font-size: 30rpx;
  235. line-height: 48rpx;
  236. }
  237. .answer{
  238. background: rgba(247, 247, 247, 1);
  239. padding: 20rpx;
  240. color: #666;
  241. margin: 20rpx 0;
  242. font-size: 28rpx;
  243. line-height: 36rpx;
  244. }
  245. .answer view{
  246. line-height: 48rpx;
  247. }
  248. .answer text{
  249. color: #2383e5;
  250. }
  251. .addr{
  252. position: relative;
  253. padding-bottom: 16px;
  254. border-bottom: 1px solid rgba(245, 245, 245, 1);
  255. }
  256. .addr text{
  257. font-size: 28rpx;
  258. margin-right: 24rpx;
  259. color: #666666;
  260. }
  261. .addr image{
  262. width: 34rpx;
  263. position: absolute;
  264. right: 0;
  265. top: 12rpx;
  266. }
  267. .addr .del{
  268. right: 50rpx;
  269. width: 50rpx;
  270. top: 0;
  271. }
  272. .post{
  273. position: fixed;
  274. padding: 24rpx 30rpx 50rpx;
  275. bottom: 0;
  276. left: 0;
  277. background: #fff;
  278. z-index: 9;
  279. border-top: 1px solid rgba(245, 245, 245, 1);
  280. display: flex;
  281. justify-content: space-between;
  282. width: 100%;
  283. }
  284. .post input{
  285. width: 100%;
  286. height: 80rpx;
  287. border:none;
  288. background-color: #f2f2f2;
  289. border-radius: 9rpx;
  290. font-size: 30rpx;
  291. color: #666;
  292. padding: 0 16rpx;
  293. margin-bottom: 24rpx;
  294. }
  295. .post button:not([size='mini']){
  296. height: 64rpx;
  297. width: 124rpx !important;
  298. background: #D94B24;
  299. border-radius: 8rpx;
  300. line-height: 64rpx;
  301. font-size: 30rpx;
  302. color: #fff;
  303. padding: 0;
  304. font-weight: 400;
  305. margin: 0;
  306. }
  307. .post image{
  308. width: 48rpx;
  309. position: relative;
  310. top: 10rpx;
  311. }
  312. .stock_name view{
  313. position: absolute;
  314. color: #D94B24;
  315. border: 1px solid #D94B24;
  316. width: 72px;
  317. height: 24px;
  318. line-height: 24px;
  319. right: 30rpx;
  320. top: 0;
  321. bottom: 0;
  322. margin: auto;
  323. font-size: 28rpx;
  324. font-weight: 400;
  325. text-align: center;
  326. border-radius: 8rpx;
  327. }