record.vue 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. <template>
  2. <view class="content">
  3. <u-navbar :is-back="false" title="">
  4. <view class="slot-wrap">
  5. <view class="search-wrap">
  6. <u-search placeholder="日照香炉生紫烟" :show-action="false"></u-search>
  7. </view>
  8. <view class="navbar-right">
  9. <span>取消</span>
  10. </view>
  11. </view>
  12. </u-navbar>
  13. <view class="search">
  14. <view class="search-result">
  15. <u-icon name="bus" custom-prefix="custom-icon" size="30" color="#888888"></u-icon>
  16. <view class="search-result-text">
  17. <span>9</span><p>路 方向 宿架转盘</p>
  18. </view>
  19. </view>
  20. <view class="search-result">
  21. <u-icon name="bus" custom-prefix="custom-icon" size="30" color="#888888"></u-icon>
  22. <view class="search-result-text">
  23. <span>9</span><p>路 方向 六中</p>
  24. </view>
  25. </view>
  26. <view class="search-result">
  27. <u-icon name="zhanpai1" custom-prefix="custom-icon" size="30" color="#888888"></u-icon>
  28. <view class="search-result-text">
  29. <span>九</span><p>路 方向 九龙渊公园</p>
  30. </view>
  31. </view>
  32. </view>
  33. </view>
  34. </template>
  35. <script>
  36. import api from './index.js'
  37. export default {
  38. data() {
  39. return {
  40. }
  41. },
  42. methods: {
  43. }
  44. }
  45. </script>
  46. <style>
  47. page{
  48. background-color: #f7f7f7;
  49. }
  50. </style>
  51. <style scoped lang="scss">
  52. .slot-wrap {
  53. display: flex;
  54. align-items: center;
  55. flex: 1;
  56. }
  57. .navbar-right {
  58. display: flex;
  59. margin-right: 20rpx;
  60. }
  61. .navbar-left{
  62. display: flex;
  63. align-items: center;
  64. margin-left: 20rpx;
  65. span{
  66. margin-right: 6rpx;
  67. font-size: 14px;
  68. }
  69. }
  70. .search-wrap {
  71. margin: 0 20rpx;
  72. flex: 1;
  73. }
  74. .search{
  75. padding:0 20rpx;
  76. background-color: #fff;
  77. .search-result{
  78. border-bottom: 1px solid #f7f7f7;
  79. padding:20rpx ;
  80. display: flex;
  81. align-items: center;
  82. .search-result-text{
  83. display: flex;
  84. align-items: center;
  85. margin-left: 20rpx;
  86. span{
  87. color:#ff7826
  88. }
  89. }
  90. }
  91. }
  92. </style>