上一页 1 ··· 4 5 6 7 8 9 10 11 12 下一页
摘要: 首先接到的任务是这样的: 那么打开参考对象看一眼: 总结一下组件的内容和功能点: 1.一个输入框,两个按钮(确定,取消) 2.点击文本,弹出气泡,进行编辑,提交/取消,关闭气泡,更新数据(数据不变则不更新) 而原本的组件,则是直接点击编辑按钮,变为编辑模式: 因此,我选择了antd提供的Popove 阅读全文
posted @ 2021-04-27 13:20 芝麻小仙女 阅读(631) 评论(0) 推荐(0) 编辑
摘要: 1.自我介绍 自我介绍必须包括三点: (1)个人信息:姓名,岗位,工作年限,教育背景(如学历亮点) 》【我是谁】 (2)技术能力:简要介绍自己的技术栈(切忌介绍不怎么会的技术栈,避免后续被问到) 》【我会什么】 (3)技能擅长:强调自己擅长的技术(切忌盲目自信、夸大其词),比如我擅长使用react框 阅读全文
posted @ 2021-01-21 18:04 芝麻小仙女 阅读(94) 评论(0) 推荐(0) 编辑
摘要: import Taro from '@tarojs/taro'; import { View, Image, Text } from '@tarojs/components'; import IconFont from '@/components/iconfont'; import { toast, 阅读全文
posted @ 2020-12-15 11:02 芝麻小仙女 阅读(1228) 评论(0) 推荐(0) 编辑
摘要: 组件: {form.getFieldValue('status') '03' && getFieldDecorator('timingPublishTime', { initialValue: isEdit && infomentDetail.timingPublishTime ? moment(i 阅读全文
posted @ 2020-12-11 11:17 芝麻小仙女 阅读(2039) 评论(0) 推荐(0) 编辑
摘要: UI设计图: 组件代码: import Taro from '@tarojs/taro'; import { View, Button } from '@tarojs/components'; import classNames from 'classnames'; import IconFont 阅读全文
posted @ 2020-11-19 14:20 芝麻小仙女 阅读(500) 评论(0) 推荐(0) 编辑
摘要: // 来自antd的menu组件定义 export interface SelectParam { key: string; keyPath: Array<string>; item: any; domEvent: Event; selectedKeys: Array<string>; } expo 阅读全文
posted @ 2020-11-09 17:40 芝麻小仙女 阅读(448) 评论(0) 推荐(0) 编辑
摘要: 可以在rowSelection对象内声明selectedRowKeys,通过改变它来控制表格的选中状态: const [selectKeys, setSelectedKeys] = useState<any[]>([]); // 通过 rowSelection 对象表明需要行选择 const row 阅读全文
posted @ 2020-10-26 13:39 芝麻小仙女 阅读(5051) 评论(1) 推荐(1) 编辑
摘要: Demo效果: 组件实现: import React from 'react'; import clsx from 'clsx'; import { makeStyles } from '@material-ui/core/styles'; import { Box, Typography } fr 阅读全文
posted @ 2020-08-19 17:26 芝麻小仙女 阅读(426) 评论(0) 推荐(0) 编辑
摘要: background: 'linear-gradient(45deg, #FE6B8B 30%, #FF8E53 90%)', border: 0, borderRadius: 3, boxShadow: '0 3px 5px 2px rgba(255, 105, 135, .3)', color: 阅读全文
posted @ 2020-08-06 14:02 芝麻小仙女 阅读(478) 评论(0) 推荐(0) 编辑
摘要: 效果: 需求:显示所有的图标(现在是我写的mock数据),可以切换图标类型,可以进行关键词搜索 代码: import React from 'react'; import copy from 'copy-to-clipboard'; import SvgOaIconAddressDefault fr 阅读全文
posted @ 2020-07-24 18:05 芝麻小仙女 阅读(479) 评论(0) 推荐(0) 编辑
上一页 1 ··· 4 5 6 7 8 9 10 11 12 下一页