fuzhuXiaohai.vue 816 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. <template>
  2. <view class="fwnr-item-box">
  3. <view class="title-row-box">
  4. <text>辅助照顾小孩:</text>
  5. <view class="title-del-btn">
  6. <icon class="del-icon"></icon>
  7. </view>
  8. </view>
  9. <view class="fwnr-label-input">
  10. <view class="fwnr-form-label"><text class="form-label-require"></text>孩子人数</view>
  11. <uni-easyinput v-model="data.hetong.fzHaizi" placeholder="请输入照顾几个孩子" />
  12. </view>
  13. <haiziNianlingVue2 @change="onChange"></haiziNianlingVue2>
  14. </view>
  15. </template>
  16. <script setup>
  17. import haiziNianlingVue2 from './haiziNianling2.vue';
  18. import {
  19. useHetong
  20. } from "../useHetong.js"
  21. const {
  22. injectHetong
  23. } = useHetong();
  24. const emits = defineEmits(['change'])
  25. const data = injectHetong()
  26. function onChange() {
  27. emits('change')
  28. }
  29. </script>
  30. <style>
  31. </style>