Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

1 год назад
1 год назад
1 год назад
1 год назад
1 год назад
1 год назад
1 год назад
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179
  1. <template>
  2. <view class="content">
  3. <view class="des">请查收您的通行记忆,让每段行程都有意义。</view>
  4. <view class="choice-content">
  5. <view class="choice-car">
  6. <picker @change="bindPickerChange" :value="state.index" :range="state.array">
  7. <view class="uni-input">{{state.array[state.index]}}</view>
  8. </picker>
  9. </view>
  10. <view class="content-det">
  11. <view class="left">
  12. <view class="left-item">
  13. <image src="../../static/image/home-on.png" ></image>
  14. <view>
  15. <view class="data">0km</view>
  16. <view>高速通行总里程</view>
  17. </view>
  18. </view>
  19. <view class="left-item">
  20. <image src="../../static/image/home-on.png" ></image>
  21. <view>
  22. <view class="data">0元</view>
  23. <view>高速通行总金额</view>
  24. </view>
  25. </view>
  26. <view class="left-item">
  27. <image src="../../static/image/home-on.png" ></image>
  28. <view>
  29. <view class="data">0次</view>
  30. <view>高速通行总消费次数</view>
  31. </view>
  32. </view>
  33. <view class="left-item">
  34. <image src="../../static/image/home-on.png" ></image>
  35. <view>
  36. <view class="data">5个</view>
  37. <view>高速通行曾抵达过的城市教</view>
  38. </view>
  39. </view>
  40. <view class="left-item" style="margin-bottom: 30rpx;">
  41. <image src="../../static/image/home-on.png"></image>
  42. <view>
  43. <view class="data">暂无</view>
  44. <view>您最喜爱的目的地,曾累计到访过0次</view>
  45. </view>
  46. </view>
  47. </view>
  48. <view class="right">
  49. <view>您超过了1%的九州ETC用户</view>
  50. <image src="../../../static/image/home-on.png" mode="" ></image>
  51. <view class="see" @click="see()">查看我的轨迹图</view>
  52. </view>
  53. </view>
  54. </view>
  55. <view class="record">
  56. <view class="current">
  57. <text>6月通行</text>
  58. <view class="more" @click="seeMonth()">查看历史月度统计 <image src="../../../static/image/icon-back.png"></image></view>
  59. </view>
  60. <view class="detail">木月九州EC比你通行了0次高速通行查看历史月度统计要消费0元要通行</view>
  61. </view>
  62. </view>
  63. </template>
  64. <script setup lang="ts">
  65. import { reactive } from "vue";
  66. import {request} from "@/utils/network/request.js";
  67. import {stringToJson} from "@/utils/network/encryption.js";
  68. import { onLoad} from "@dcloudio/uni-app";
  69. import {} from "@/utils/network/api.js";
  70. const state = reactive({
  71. array: ['贵Z11111', '贵Z22222'],
  72. index: 0,
  73. })
  74. onLoad((option : any) => {
  75. })
  76. const bindPickerChange=(e)=> {
  77. console.log('picker发送选择改变,携带值为', e.detail.value)
  78. state.index = e.detail.value
  79. }
  80. const see=()=>{
  81. uni.navigateTo({
  82. url:"/subpackage/service/trajectory-map"
  83. })
  84. }
  85. const seeMonth=()=>{
  86. uni.navigateTo({
  87. url:"./see-month"
  88. })
  89. }
  90. </script>
  91. <style scoped>
  92. .content{
  93. font-size: 32rpx;
  94. }
  95. .des{
  96. margin: 20rpx 0 20rpx 40rpx;
  97. }
  98. .choice-content{
  99. width:90%;
  100. margin: 0 auto;
  101. min-height:500rpx;
  102. box-shadow: 0px 0px 8px 2px rgb(218, 247, 247) inset;
  103. overflow: hidden;
  104. }
  105. .choice-car{
  106. width: 180rpx;
  107. background-color: rgb(158, 247, 247);
  108. margin-top: 30rpx;
  109. padding: 10rpx;
  110. }
  111. .left-item{
  112. display: flex;
  113. margin-bottom: 50rpx;
  114. }
  115. .left-item>image{
  116. width: 70rpx;
  117. height: 70rpx;
  118. display: inline-block;
  119. margin-right: 30rpx;
  120. flex-shrink: 0;
  121. }
  122. .data{
  123. font-weight: bold;
  124. }
  125. .content-det{
  126. padding: 30rpx;
  127. box-sizing: border-box;
  128. display: flex;
  129. }
  130. .right>image{
  131. width: 120rpx;
  132. height: 120rpx;
  133. display: inline-block;
  134. margin: 30rpx auto;
  135. margin-left: 40rpx;
  136. }
  137. .see{
  138. background-color: rgb(158, 247, 247);
  139. border-radius: 20rpx;
  140. text-align: center;
  141. height: 54rpx;
  142. line-height: 54rpx;
  143. font-size: 28rpx;
  144. }
  145. .left{
  146. flex: 2;
  147. }
  148. .right{
  149. flex: 1;
  150. }
  151. .record{
  152. width: 90%;
  153. min-height: 220rpx;
  154. box-shadow: 0px 0px 8px 2px rgb(218, 247, 247) inset;
  155. margin: 20rpx auto;
  156. padding: 30rpx;
  157. box-sizing: border-box;
  158. }
  159. .current{
  160. border-bottom: 1rpx solid #ccc;
  161. display: flex;
  162. justify-content: space-between;
  163. align-items: center;
  164. padding-bottom: 20rpx;
  165. }
  166. .more>image{
  167. transform: rotate(180deg);
  168. width: 30rpx;
  169. height: 30rpx;
  170. vertical-align: middle;
  171. }
  172. .detail{
  173. margin-top: 20rpx;
  174. line-height: 40rpx;
  175. }
  176. </style>