stock.wxss 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341
  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: 70%;
  175. }
  176. .stock-name text{
  177. display: block;
  178. font-size: 24rpx;
  179. color: #666;
  180. }
  181. .num{
  182. font-size: 28rpx;
  183. color: #666;
  184. text-align: right;
  185. float: right;
  186. }
  187. .num text{
  188. font-size: 30rpx;
  189. font-weight: 500;
  190. color: red;
  191. }
  192. .stock_name{
  193. line-height: 100rpx;
  194. padding: 0 30rpx;
  195. font-size: 30rpx;
  196. color: #333;
  197. background: #fff;
  198. position: relative;
  199. }
  200. .stock_name text{
  201. color: #999;
  202. font-weight: 400;
  203. font-size: 26rpx;
  204. padding: 5rpx 10rpx;
  205. }
  206. .tab{
  207. background: #fff;
  208. border-bottom: 1px solid #f2f2f2;
  209. }
  210. .tab view{
  211. line-height: 90rpx;
  212. text-align: center;
  213. /* width: 50%; */
  214. display: inline-block;
  215. font-size: 30rpx;
  216. position: relative;
  217. padding: 0 30rpx;
  218. }
  219. .tab .act{
  220. color: #FF583D;
  221. }
  222. .act text{
  223. position: absolute;
  224. width: 120rpx;
  225. height: 4rpx;
  226. bottom: 0;
  227. left: 0;
  228. right: 0;
  229. margin: auto;
  230. background: rgba(217, 75, 36, 1);
  231. border-radius: 40rpx;
  232. }
  233. ._list{
  234. position: relative;
  235. padding-left: 80rpx;
  236. margin-bottom: 24rpx;
  237. }
  238. ._list>navigator>image,._list>image{
  239. width: 64rpx;
  240. height: 64rpx;
  241. position: absolute;
  242. left: 0;
  243. top: 0;
  244. border-radius: 100%;
  245. }
  246. ._content,._name{
  247. font-size: 30rpx;
  248. line-height: 48rpx;
  249. }
  250. .answer{
  251. background: rgba(247, 247, 247, 1);
  252. padding: 20rpx;
  253. color: #666;
  254. margin: 20rpx 0;
  255. font-size: 28rpx;
  256. line-height: 36rpx;
  257. }
  258. .answer view{
  259. line-height: 48rpx;
  260. }
  261. .answer text{
  262. color: #2383e5;
  263. }
  264. .addr{
  265. position: relative;
  266. padding-bottom: 16px;
  267. border-bottom: 1px solid rgba(245, 245, 245, 1);
  268. }
  269. .addr text{
  270. font-size: 28rpx;
  271. margin-right: 24rpx;
  272. color: #666666;
  273. }
  274. .addr image{
  275. width: 34rpx;
  276. position: absolute;
  277. right: 0;
  278. top: 12rpx;
  279. }
  280. .addr .del{
  281. right: 50rpx;
  282. width: 50rpx;
  283. top: 0;
  284. }
  285. .post{
  286. position: fixed;
  287. padding: 24rpx 30rpx 50rpx;
  288. bottom: 0;
  289. left: 0;
  290. background: #fff;
  291. z-index: 9;
  292. border-top: 1px solid rgba(245, 245, 245, 1);
  293. display: flex;
  294. justify-content: space-between;
  295. width: 100%;
  296. }
  297. .post input{
  298. width: 100%;
  299. height: 80rpx;
  300. border:none;
  301. background-color: #f2f2f2;
  302. border-radius: 9rpx;
  303. font-size: 30rpx;
  304. color: #666;
  305. padding: 0 16rpx;
  306. margin-bottom: 24rpx;
  307. }
  308. .post button:not([size='mini']){
  309. height: 64rpx;
  310. width: 124rpx !important;
  311. background: #D94B24;
  312. border-radius: 8rpx;
  313. line-height: 64rpx;
  314. font-size: 30rpx;
  315. color: #fff;
  316. padding: 0;
  317. font-weight: 400;
  318. margin: 0;
  319. }
  320. .post image{
  321. width: 48rpx;
  322. position: relative;
  323. top: 10rpx;
  324. }
  325. .stock_name view{
  326. position: absolute;
  327. color: #D94B24;
  328. border: 1px solid #D94B24;
  329. width: 72px;
  330. height: 24px;
  331. line-height: 24px;
  332. right: 30rpx;
  333. top: 0;
  334. bottom: 0;
  335. margin: auto;
  336. font-size: 28rpx;
  337. font-weight: 400;
  338. text-align: center;
  339. border-radius: 8rpx;
  340. }