Commit b757f342 authored by 田翔's avatar 田翔

fix: 锁死版本号

parent f7074a49
{
"name": "panda-xform",
"version": "2.6.5",
"description": "2.6.5: 样式修改",
"version": "2.6.7",
"description": "2.6.7: 锁死版本号",
"keywords": [
"panda-xform"
],
......@@ -31,8 +31,8 @@
"@wisdom-utils/utils": "0.0.46",
"antd": "4.20.7",
"antd-img-crop": "^3.14.1",
"form-render": "^1.14.7",
"fr-generator": "^2.8.4",
"form-render": "1.14.7",
"fr-generator": "2.8.4",
"http-proxy-middleware": "^1.0.6",
"moment": "^2.29.1",
"qrcode.react": "^3.1.0",
......
import React, { useContext } from 'react'
import { Divider, ConfigProvider } from 'antd'
import './index.less'
import styles from './index.less'
const Header = (props) => {
const { getPrefixCls } = useContext(ConfigProvider.ConfigContext)
const prefixCls = getPrefixCls('pandaXform')
// const { getPrefixCls } = useContext(ConfigProvider.ConfigContext)
// const prefixCls = getPrefixCls('pandaXform')
const { title, value } = props
return (
<div>
<div className={styles.object}>
<div
className={`${prefixCls}-title`}
style={{ justifyContent: 'left' }}
className={styles.title}
>
{title ? <i className={`${prefixCls}-bg`}></i> : null}
{title ? <i className={styles.bg}></i> : null}
{title}
</div>
{title ? <Divider /> : ''}
......
@import '~antd/es/style/themes/default.less';
@pandaXform: ~'@{ant-prefix}-pandaXform';
.@{pandaXform} {
.@{pandaXform}-title {
// @pandaXform: ~'@{ant-prefix}-pandaXform';
// .@{pandaXform} {
// .@{pandaXform}-title {
// display: flex;
// align-items: center;
// justify-content: center;
// font-size: 16px;
// }
// .@{pandaXform}-bg {
// width: 3px;
// height: 16px;
// margin-right: 10px;
// background-color: #337ab7;
// }
// // .fr-label-object {
// // .fr-label-title {
// // padding: 10px 10px 0 0;
// // }
// // .fr-label-title::after {
// // content: '';
// // }
// // }
// // .b--black-20 {
// // border-color: rgba(232, 240, 237, 1);
// // }
// }
.object {
.title {
display: flex;
align-items: center;
justify-content: center;
justify-content: left;
font-size: 16px;
}
.@{pandaXform}-bg {
.bg {
width: 3px;
height: 16px;
margin-right: 10px;
background-color: #337ab7;
}
.fr-label-object {
.fr-label-title {
padding: 10px 10px 0 0;
}
.fr-label-title::after {
content: '';
}
}
.b--black-20 {
border-color: rgba(232, 240, 237, 1);
}
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment