Qianbao.vue 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229
  1. <template>
  2. <view>
  3. <customNav :shownav="false" title="" titledetl=""></customNav>
  4. <view class="topContentV">
  5. <view style=" padding-top: 40rpx; width: 100%;;background-color: #1A1A1A;">
  6. <view class="contentInRowL barbgv">
  7. <image style="width: 44rpx;height: 44rpx;" src="/static/imags/fanhuiz@3x.png" mode="scaleToFill" @click="fanhui"></image>
  8. <text style="margin-left: 10rpx;font-size: 36rpx;color: white;">{{$t('dache.qianbao')}}</text>
  9. </view>
  10. </view>
  11. <view class="toptalbarCT">
  12. <view class="contentInRowS topNoteCt">
  13. <view class="contentColumn">
  14. <text class="yuerTxt">{{$t('zhanghu.yuer')}}</text>
  15. <text class="yuershlTxt">¥88.56</text>
  16. </view>
  17. <text class="tixianBtv">{{$t('tixian.tixian')}}</text>
  18. </view>
  19. </view>
  20. <view class="navbarCT">
  21. <view class="contentInRowS" style="width: 92%;margin-left: 4%;">
  22. <view class="contentInRowL" style="align-items: center;">
  23. <picker mode="date" :value="month" fields="month" @change="bindDateChange">
  24. <text class="blacktext">{{month}}</text>
  25. <image style="width: 30rpx;height: 30rpx;" src="/static/imags/dache/xialasanj.png" mode="scaleToFill"></image>
  26. </picker>
  27. </view>
  28. <view class="contentInRowR">
  29. <text :class="slState==1?'btselct':'btselctN'" @click="listState(1)">{{$t('tixian.quanbu')}}</text>
  30. <text :class="slState==2?'btselct':'btselctN'" @click="listState(2)">{{$t('dache.jinshouru')}}</text>
  31. <text :class="slState==3?'btselct':'btselctN'" @click="listState(3)">{{$t('dache.jinzhichu')}}</text>
  32. </view>
  33. </view>
  34. </view>
  35. </view>
  36. <view style="margin-top: 460rpx;">
  37. <view style="background-color: #F7F7F7;width: 100%;">
  38. <view class="contentInRowS timeLine">
  39. <text class="dartext">12月8日</text>
  40. <text class="dartext">合计 12.88元</text>
  41. </view>
  42. </view>
  43. <view class="bottomborder" style="background-color:white;width: 100%;">
  44. <view class="contentInRowS zjcrLine">
  45. <view class="contentColumnC">
  46. <text class="blacktext">收到车费</text>
  47. <text class="dartext">17:44</text>
  48. </view>
  49. <text class="blacktext">+99.99元</text>
  50. </view>
  51. </view>
  52. <view class="bottomborder" style="background-color:white;width: 100%;">
  53. <view class="contentInRowS zjcrLine">
  54. <view class="contentColumnC">
  55. <text class="blacktext">收到车费</text>
  56. <text class="dartext">17:44</text>
  57. </view>
  58. <text class="blacktext">+99.99元</text>
  59. </view>
  60. </view>
  61. <view class="bottomborder" style="background-color:white;width: 100%;">
  62. <view class="contentInRowS zjcrLine">
  63. <view class="contentColumnC">
  64. <text class="blacktext">收到车费</text>
  65. <text class="dartext">17:44</text>
  66. </view>
  67. <text class="blacktext">+99.99元</text>
  68. </view>
  69. </view>
  70. <view style="background-color: #F7F7F7;width: 100%;">
  71. <view class="contentInRowS timeLine">
  72. <text class="dartext">12月8日</text>
  73. <text class="dartext">合计 12.88元</text>
  74. </view>
  75. </view>
  76. <view class="bottomborder" style="background-color:white;width: 100%;">
  77. <view class="contentInRowS zjcrLine">
  78. <view class="contentColumnC">
  79. <text class="blacktext">收到车费</text>
  80. <text class="dartext">17:44</text>
  81. </view>
  82. <text class="blacktext">+99.99元</text>
  83. </view>
  84. </view>
  85. <view style="height: 80rpx;"></view>
  86. </view>
  87. </view>
  88. </template>
  89. <script>
  90. export default {
  91. data() {
  92. return {
  93. slState:1,
  94. month:''
  95. }
  96. },
  97. onLoad() {
  98. var today = new Date();
  99. var year = today.getFullYear();
  100. var month = today.getMonth() + 1;
  101. this.month = year+'-'+month;
  102. },
  103. methods: {
  104. fanhui(){
  105. uni.navigateBack();
  106. },
  107. listState(index){
  108. this.slState=index;
  109. },
  110. bindDateChange: function(e) {
  111. this.month=e.detail.value;
  112. console.log(e.detail.value)
  113. },
  114. },
  115. }
  116. </script>
  117. <style lang="scss">
  118. @import '@/common/common.scss';
  119. page{
  120. background-color: #F4F4F4;
  121. }
  122. .topContentV{
  123. position: fixed;
  124. padding-top: 40rpx;
  125. width: 750upx;
  126. left: 0;
  127. right: 0;
  128. top: 0;
  129. z-index: 999;
  130. }
  131. .toptalbarCT{
  132. width: 100%;
  133. display: flex;
  134. justify-content:center;
  135. align-items: center;
  136. background-color:#384152;
  137. height: 270rpx;
  138. }
  139. .topNoteCt{
  140. width: 88%;
  141. margin-left: 6%;
  142. align-items: center;
  143. }
  144. .yuerTxt{
  145. color:#B2BBCA;
  146. font-size: 32rpx;
  147. }
  148. .yuershlTxt{
  149. color:white;
  150. font-size: 42rpx;
  151. font-weight: bold;
  152. }
  153. .tixianBtv{
  154. padding-left: 40rpx;
  155. padding-right: 40rpx;
  156. line-height: 80rpx;
  157. text-align: center;
  158. font-size: 32rpx;
  159. font-weight: bold;
  160. background-color:#E86E48;
  161. color: white;
  162. border-radius: 16rpx;
  163. letter-spacing: 6rpx;
  164. }
  165. .navbarCT{
  166. width: 100%;
  167. display: flex;
  168. justify-content:center;
  169. align-items: center;
  170. background-color:white;
  171. height: 106rpx;
  172. }
  173. .btselct{
  174. padding-left: 30rpx;
  175. padding-right: 30rpx;
  176. line-height: 50rpx;
  177. border-radius: 25rpx;
  178. border: 1rpx solid #E86E48;
  179. background-color: white;
  180. color: #E86E48;
  181. margin-left: 20rpx;
  182. }
  183. .btselctN{
  184. line-height: 50rpx;
  185. margin-left: 20rpx;
  186. color: #979797;
  187. }
  188. .barbgv{
  189. margin-top: 6rpx;
  190. height: 100rpx;
  191. align-items: center;
  192. padding-left: 30rpx;
  193. width: 100%;
  194. background-color: #444F68;
  195. }
  196. .timeLine{
  197. height: 80rpx;
  198. width: 92%;
  199. margin-left: 4%;
  200. align-items: center;
  201. }
  202. .zjcrLine{
  203. width: 92%;
  204. margin-left: 4%;
  205. align-items: center;
  206. height: 150rpx;
  207. }
  208. .bottomborder{
  209. border: solid lavender;
  210. border-width: 0px 0px 1rpx 0px;
  211. }
  212. .dartext{
  213. font-size: 32rpx;
  214. color: #979797;
  215. }
  216. .blacktext{
  217. font-size: 32rpx;
  218. color:black;
  219. }
  220. </style>