<template>
|
<ContentScrollView :paddingH="false">
|
<nut-form :model-value="form" ref="formRef">
|
<nut-form-item label="刷脸:" class="bole-form-item alignTop" prop="licenseUrl" required>
|
</nut-form-item>
|
</nut-form>
|
</ContentScrollView>
|
<PageFooter :isOnlyAction="false">
|
<PageFooterBtn type="primary" @click="handleSubmit()" :loading="loading"
|
>刷脸认证</PageFooterBtn
|
>
|
</PageFooter>
|
</template>
|
|
<script setup lang="ts">
|
import Taro from '@tarojs/taro';
|
|
defineOptions({
|
name: 'InnerPage',
|
});
|
|
const form = reactive({
|
licenseUrl: [],
|
});
|
|
const formRef = ref<any>(null);
|
const loading = ref(false);
|
|
function handleSubmit() {
|
if (!formRef.value) return;
|
formRef.value.validate().then(({ valid, errors }: any) => {
|
if (valid) {
|
// submit();
|
}
|
});
|
}
|
</script>
|
|
<style lang="scss">
|
@import '@/styles/common.scss';
|
</style>
|