You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

96 lines
2.0 KiB

4 weeks ago
  1. <template>
  2. <view class="titleContent">
  3. <view class="left">
  4. <uni-icons type="back" size="23" color="#111"></uni-icons>
  5. </view>
  6. <view class="title">深度探索</view>
  7. <view class="right">
  8. <image class="notice" src="/static/deepExploration-images/notice.png" mode="aspectFill"></image>
  9. <image class="history" src="/static/deepExploration-images/history.png" mode="aspectFill"></image>
  10. </view>
  11. </view>
  12. <view class="search">
  13. <input class="searchInput" type="text" placeholder="请输入股票名称、股票代码"
  14. placeholder-style="color: #A6A6A6; font-size: 22rpx;" />
  15. <image class="seachIcon" src="/static/deepExploration-images/search.png" mode=""></image>
  16. </view>
  17. </template>
  18. <script>
  19. </script>
  20. <style scoped lang="scss">
  21. *{
  22. box-sizing: border-box;
  23. }
  24. .titleContent {
  25. display: flex;
  26. align-items: center;
  27. justify-content: space-between;
  28. padding: 30rpx 60rpx 40rpx 35rpx;
  29. box-shadow: 2rpx 2rpx 8rpx rgba(0, 0, 0, 0.1);
  30. .left {
  31. display: flex;
  32. align-items: center;
  33. width: 36rpx;
  34. height: 36rpx;
  35. }
  36. .title {
  37. position: absolute;
  38. left: 50%;
  39. transform: translateX(-50%);
  40. color: #000000;
  41. font-family: "PingFang SC";
  42. font-size: 19px;
  43. font-style: normal;
  44. font-weight: 400;
  45. line-height: 25px;
  46. }
  47. .right {
  48. display: flex;
  49. align-items: center;
  50. gap: 20rpx;
  51. .notice {
  52. width: 35rpx;
  53. height: 35rpx;
  54. gap: 20rpx;
  55. }
  56. .history {
  57. width: 32rpx;
  58. height: 30rpx;
  59. align-items: center;
  60. }
  61. }
  62. }
  63. .search {
  64. position: relative;
  65. display: flex;
  66. align-items: center;
  67. background-color: #F3F3F3;
  68. width: calc(100% - 60rpx);
  69. height: 80rpx;
  70. border-radius: 50rpx;
  71. box-shadow: 0 2rpx 8rpx rgba(0, 0, 0, 0.1);
  72. padding: 0 40rpx;
  73. margin: 15rpx 30rpx 0 30rpx;
  74. .seachIcon {
  75. position: absolute;
  76. right: 50rpx;
  77. width: 32rpx;
  78. height: 32rpx;
  79. }
  80. .searchInput {
  81. color: #111;
  82. }
  83. }
  84. </style>