BasicDrawer.vue 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. <template>
  2. <view>
  3. <uni-forms :modelValue="basicFrom">
  4. <uni-forms-item label="车牌号:" name="CarPlate" label-align="right" label-width="120px">
  5. <uni-easyinput type="text" v-model.trim="basicFrom.CarPlate" :clear="false"/>
  6. </uni-forms-item>
  7. <uni-forms-item label="车辆识别码:" name="CarVin" label-align="right" label-width="120px">
  8. <uni-easyinput type="text" v-model.trim="basicFrom.CarVin" />
  9. </uni-forms-item>
  10. <uni-forms-item label="电池距离:" name="CarDistance" label-align="right" label-width="120px">
  11. <uni-easyinput type="text" v-model.trim="basicFrom.CarDistance" :clear="false" />
  12. </uni-forms-item>
  13. <!-- <uni-forms-item label="状态:" name="state" label-align="right" label-width="120px">
  14. <uni-data-select v-model.trim="basicFrom.state" :localdata="range"
  15. :clear="false"></uni-data-select>
  16. </uni-forms-item> -->
  17. </uni-forms>
  18. </view>
  19. <!-- 剩个已充时长和落座信号没有对字段 -->
  20. </template>
  21. <script>
  22. export default {
  23. name: 'BasicDrawer',
  24. props: ['basicFrom','range'],
  25. data() {
  26. return {
  27. // getbasicFrom:{}
  28. }
  29. },
  30. methods:{
  31. changeId(e) {
  32. },
  33. }
  34. }
  35. </script>
  36. <style lang="scss" scoped>
  37. ::v-deep .uni-forms-item__content {
  38. background: rgba(255, 255, 255, 0);
  39. border-radius: 2px 2px 2px 2px;
  40. border: 1px solid #263042;
  41. .uni-easyinput__content {
  42. background: none !important;
  43. border: none !important;
  44. color: #fff;
  45. }
  46. }
  47. ::v-deep .uni-forms-item {
  48. width: 100% !important;
  49. }
  50. ::v-deep .uni-icons{
  51. display: none;
  52. }
  53. </style>