我的卡片

This commit is contained in:
Chengliang 2022-09-23 16:53:25 +08:00
parent 01dc126302
commit d651883081
5 changed files with 41 additions and 9 deletions

View File

@ -0,0 +1,30 @@
import {
WeaFormItem,
} from 'ecCom'
import {
Spin,
Button,
} from 'antd'
import {
i18n
} from '../../public/i18n';
import '../../style/common.less';
export default class AnchorDetect extends React.Component {
constructor(props) {
super(props);
this.state = {
}
}
render() {
return (
<div></div>
)
}
}

View File

@ -12,7 +12,6 @@ import {
} from '../../public/i18n';
import '../../style/common.less';
import Group from '../group/Group';
import { chunk } from 'lodash';
export default class FormItem extends React.Component {

View File

@ -12,7 +12,6 @@ import {
} from '../../public/i18n';
import '../../style/common.less';
import Group from '../group/Group';
import { chunk } from 'lodash';
export default class IframeItem extends React.Component {

View File

@ -20,12 +20,13 @@ import {
Button,
message,
Switch,
Menu, Dropdown,Icon
} from 'antd'
Menu, Dropdown,Icon,Anchor
} from 'antd';
import {
WeaSwitch,
WeaTableNew
} from 'comsMobx'
} from 'comsMobx';
import {
i18n
} from '../../public/i18n';
@ -122,9 +123,6 @@ export default class ResourceCard extends React.Component {
<WeaNewScrollPagination
height='100%'
onScrollEnd={this.onScrollEnd}
// onScroll={(e)=> {
// console.log(e)
// }}
>
<div className="gutter-resource-card">
<div className="gutter-row">
@ -223,7 +221,7 @@ export default class ResourceCard extends React.Component {
</div>
<div className="gutter-row">
<div className='right'>
{/* <a onClick={() => this.scrollToAnchor("activity1")}>测试</a> */}
<a onClick={() => this.scrollToAnchor("educationInfo")}>教育经历</a>
</div>
</div>
</div>

View File

@ -180,6 +180,12 @@
width: 10%;
background-color: #ffffff;
margin-left: 20px;
.right{
a{
position: fixed;
top: 0;
}
}
}
}