stock.wxss 4.3 KB

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