index.vue 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. <template>
  2. <view>
  3. <car-common ref="common" ></car-common>
  4. <u-picker v-model="show1" mode="selector" @confirm="show1confirm" :default-selector="[selectForm.select1Index]" :range="selectList1" range-key="licensePlateNumber"></u-picker>
  5. <u-picker v-model="show2" mode="selector" @confirm="show2confirm" :default-selector="[selectForm.select2Index]" :range="selectList2" range-key="name"></u-picker>
  6. <u-picker v-model="show3" mode="time" @confirm="show3confirm" @cancel="show3cancel" :default-time="selectForm.select3" range-key="name" :params="params" :end-year="thisyear"></u-picker>
  7. <u-navbar title="收益明细" :is-back="false" >
  8. <view class="slot-wrap"></view>
  9. </u-navbar>
  10. <view class="von-sy">
  11. <view class="von-sy-select flex-sp" style="background-color: white;">
  12. <navigator @click="show1=true">{{selectForm.select1Name}}<text class="icon iconfont icon-xiajiantou"></text></navigator>
  13. <navigator @click="show2=true">{{selectForm.select2Name}}<text class="icon iconfont icon-xiajiantou"></text></navigator>
  14. <navigator@click="show3=true" >{{selectForm.select3Name}}<text class="icon iconfont icon-xiajiantou"></text></navigator>
  15. </view>
  16. <view class="von-sy-content">
  17. <view class="von-sy-area">
  18. <h5 class="flex-sp">{{profitList.dateDesc}}<text>共收入{{profitList.revenue}}元</text></h5>
  19. <u-cell-group>
  20. <u-cell-item v-for="item,i in profitList.list" :key="i" :title="item.dateDesc" :value="'+'+item.revenue+'元'" @click="gotoUrl(item.dateDesc)" ></u-cell-item>
  21. </u-cell-group>
  22. <view v-if="isLoading&&profitList.list&&profitList.list.length==0" style="text-align:center;margin-top: 40px;" >
  23. <img src="static/img/null.png" style="width: 50%;" alt="" >
  24. <view>暂无数据</view>
  25. </view>
  26. </view>
  27. </view>
  28. </view>
  29. </view>
  30. </template>
  31. <script>
  32. import api from './index.js'
  33. export default api;
  34. </script>
  35. <style>
  36. page{
  37. background-color:#eee;
  38. }
  39. </style>