stock.wxss 5.5 KB

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