stationListPage.vue 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133
  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')
  39. uni.setStorageSync('stationName', name)
  40. },
  41. }
  42. }
  43. </script>
  44. <style lang="scss">
  45. page {
  46. background-color: #202246;
  47. }
  48. .stationList {
  49. width: 100vw;
  50. background: url('../../static/jnImage/loginPage/windBack.png'), url('../../static/jnImage/loginPage/backWav.png');
  51. background-repeat: no-repeat, repeat;
  52. background-size: 100% 260px, 100% 5px;
  53. .stationList_top {
  54. width: 100vw;
  55. height: 60px;
  56. line-height: 60px;
  57. text {
  58. margin-left: 30px;
  59. font-size: 36upx;
  60. color: #4287FF;
  61. }
  62. }
  63. .stationList_logo {
  64. margin-bottom: 40px;
  65. .stationList_logo_sty {
  66. height: 80px;
  67. width: 60%;
  68. background: url('../../static/jnImage/commonPage/stationBack.png');
  69. background-size: cover;
  70. position: relative;
  71. image {
  72. width: 60px;
  73. height: 45px;
  74. position: absolute;
  75. top: 20px;
  76. left: 20px;
  77. }
  78. text {
  79. color: #4287FF;
  80. font-size: 34upx;
  81. position: absolute;
  82. top: 50px;
  83. left: 80px;
  84. font-style: italic;
  85. }
  86. }
  87. }
  88. .stationList_List {
  89. .uni-list {
  90. .uni-list--border-top,
  91. .uni-list--border-bottom {
  92. background-color: rgba(255, 255, 255, 0.3) !important;
  93. }
  94. .uni-list--border:after {
  95. background-color: rgba(255, 255, 255, 0.3) !important;
  96. }
  97. .uni-list-item {
  98. background-color: #021D64 !important;
  99. .uni-list-item__container {
  100. .uni-list-item__content {
  101. .uni-list-item__content-title {
  102. color: #fff;
  103. }
  104. }
  105. }
  106. }
  107. }
  108. }
  109. .stationListback {
  110. margin-top: 30px;
  111. image {
  112. width: 30px;
  113. height: 30px;
  114. }
  115. }
  116. }
  117. </style>