feat: 签到打卡
This commit is contained in:
@@ -9,11 +9,18 @@ import {
|
||||
Icon,
|
||||
} from "@antmjs/vantui";
|
||||
import { Input, View } from "@tarojs/components";
|
||||
import { getCurrentInstance } from "@tarojs/taro";
|
||||
import React, { useCallback, useEffect } from "react";
|
||||
import './index.scss'
|
||||
|
||||
const CheckIn = () => {
|
||||
const formIt = Form.useForm();
|
||||
|
||||
let $instance:any = getCurrentInstance()
|
||||
const {fileID}=$instance?.router?.params
|
||||
console.log('fileID---',fileID)
|
||||
|
||||
|
||||
useEffect(() => {
|
||||
// 设置标题
|
||||
definePageConfig({
|
||||
@@ -38,7 +45,7 @@ const CheckIn = () => {
|
||||
width="100%"
|
||||
height="180px"
|
||||
fit="cover"
|
||||
src="https://img.yzcdn.cn/vant/cat.jpeg"
|
||||
src={fileID}
|
||||
/>
|
||||
</View>
|
||||
<FormItem
|
||||
|
||||
Reference in New Issue
Block a user