stationListPage.vue 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132
  1. <template>
  2. <view class="stationList">
  3. <view class="stationList_top" @click="back">
  4. <text>退出</text>
  5. </view>
  6. <view class="stationList_logo flex justify-end">
  7. <view class="stationList_logo_sty flex">
  8. <image src="../../static/jnImage/loginPage/logo.png" mode=""></image>
  9. <text>请选择风场</text>
  10. </view>
  11. </view>
  12. <view class="stationList_List">
  13. <uni-list>
  14. <uni-list-item title="宝龙山风电场" thumb="../../static/jnImage/commonPage/wind.png" thumb-size="sm" clickable
  15. @click="onClick('宝龙山风电场')" />
  16. <uni-list-item title="乌力吉风电场" thumb="../../static/jnImage/commonPage/wind.png" thumb-size="sm" />
  17. <uni-list-item title="浩日格吐风电场" thumb="../../static/jnImage/commonPage/wind.png" thumb-size="sm" />
  18. <uni-list-item title="开鲁风电场" thumb="../../static/jnImage/commonPage/wind.png" thumb-size="sm" />
  19. <uni-list-item title="景观风电场" thumb="../../static/jnImage/commonPage/wind.png" thumb-size="sm" />
  20. <uni-list-item title="高力板风电场" thumb="../../static/jnImage/commonPage/wind.png" thumb-size="sm" />
  21. </uni-list>
  22. </view>
  23. <view class="stationListback flex justify-center">
  24. <image src="../../static/jnImage/commonPage/closed.png" mode="" @click="back"></image>
  25. </view>
  26. </view>
  27. </template>
  28. <script>
  29. export default {
  30. data() {
  31. return {}
  32. },
  33. methods: {
  34. back() {
  35. this.$tab.navigateBack()
  36. },
  37. onClick(name) {
  38. this.$tab.navigateTo('/pages/home/stationIndex?stationName=' + name)
  39. },
  40. }
  41. }
  42. </script>
  43. <style lang="scss">
  44. page {
  45. background-color: #202246;
  46. }
  47. .stationList {
  48. width: 100vw;
  49. background: url('../../static/jnImage/loginPage/windBack.png'), url('../../static/jnImage/loginPage/backWav.png');
  50. background-repeat: no-repeat, repeat;
  51. background-size: 100% 260px, 100% 5px;
  52. .stationList_top {
  53. width: 100vw;
  54. height: 60px;
  55. line-height: 60px;
  56. text {
  57. margin-left: 30px;
  58. font-size: 36upx;
  59. color: #4287FF;
  60. }
  61. }
  62. .stationList_logo {
  63. margin-bottom: 40px;
  64. .stationList_logo_sty {
  65. height: 80px;
  66. width: 60%;
  67. background: url('../../static/jnImage/commonPage/stationBack.png');
  68. background-size: cover;
  69. position: relative;
  70. image {
  71. width: 60px;
  72. height: 45px;
  73. position: absolute;
  74. top: 20px;
  75. left: 20px;
  76. }
  77. text {
  78. color: #4287FF;
  79. font-size: 34upx;
  80. position: absolute;
  81. top: 50px;
  82. left: 80px;
  83. font-style: italic;
  84. }
  85. }
  86. }
  87. .stationList_List {
  88. .uni-list {
  89. .uni-list--border-top,
  90. .uni-list--border-bottom {
  91. background-color: rgba(255, 255, 255, 0.3) !important;
  92. }
  93. .uni-list--border:after {
  94. background-color: rgba(255, 255, 255, 0.3) !important;
  95. }
  96. .uni-list-item {
  97. background-color: #021D64 !important;
  98. .uni-list-item__container {
  99. .uni-list-item__content {
  100. .uni-list-item__content-title {
  101. color: #fff;
  102. }
  103. }
  104. }
  105. }
  106. }
  107. }
  108. .stationListback {
  109. margin-top: 30px;
  110. image {
  111. width: 30px;
  112. height: 30px;
  113. }
  114. }
  115. }
  116. </style>