| | |
| | | <template #right>kg</template> |
| | | </NumberInput> |
| | | </nut-form-item> |
| | | <nut-form-item label="鞋码:" class="bole-form-item" prop="shoeSize"> |
| | | <NumberInput v-model="form.shoeSize" placeholder="请输入"> |
| | | <template #right>码</template> |
| | | </NumberInput> |
| | | </nut-form-item> |
| | | <nut-form-item |
| | | label="个人生活照(单张照片不超过5m,最多不超过6张):" |
| | | class="bole-form-item person-photo" |
| | |
| | | import { useQuery } from '@tanstack/vue-query'; |
| | | import { Uploader as UploaderIcon } from '@nutui/icons-vue-taro'; |
| | | import { OssAssets } from '@/constants'; |
| | | import { FormRules } from '@nutui/nutui-taro/dist/types/__VUE/form/types'; |
| | | |
| | | defineOptions({ |
| | | name: 'InnerPage', |
| | |
| | | const form = reactive({ |
| | | height: 0, |
| | | weight: 0, |
| | | shoeSize: 0, |
| | | photos: [] as FileItem[], |
| | | videos: [] as FileItem[], |
| | | }); |
| | | |
| | | const rules = reactive<FormRules>({}); |
| | | |
| | | async function handleConfirm() { |
| | | try { |
| | | let params: API.SaveUserResumeDetailCommand = { |
| | | weight: form.weight, |
| | | height: form.height, |
| | | shoeSize: form.shoeSize, |
| | | photos: convertFormUrl2Api(form.photos), |
| | | videos: convertFormUrl2Api(form.videos), |
| | | }; |