Commit 70818e10 authored by wangxuelai's avatar wangxuelai

'最新代码提交'

parent 2635a093
import dva from 'dva';
import createLoading from 'dva-loading';
import 'antd/dist/antd.less';
import './index.less';
import 'antd/dist/antd.less'; // eslint-disable-line
import models from './models/index';
// 1. Initialize
const app = dva();
......
@import './less/variables.less';
@import './less/reboot.less';
html, body, :global(#root) {
height: 100%;
min-height: 500px;
......
......@@ -19,7 +19,7 @@ html {
overflow: auto;
}
body {
// font-size: inherit;
font-size: inherit;
font-family: @font-family;
line-height: @line-height;
......
......@@ -1288,7 +1288,7 @@ class DrawImg extends React.Component {
</div>
<div className={pageStyle.imagegallery}>
{batchCommentImgObj.map(ele => (
<div onClick={() => this.chooseImg(ele)} className={`${pageStyle.imageitembox} ${currentDrawImage == ele.copysrc ? pageStyle.imageitemboxselecter : ''}`}>
<div key={ele.src} onClick={() => this.chooseImg(ele)} className={`${pageStyle.imageitembox} ${currentDrawImage == ele.copysrc ? pageStyle.imageitemboxselecter : ''}`}>
<img className={pageStyle.imageitem} alt={ele.copysrc} src={imagify(ele.copysrc)} />
</div>
))}
......
......@@ -49,7 +49,7 @@ class Institutions extends React.Component {
<div className={pageStyles.rowinfotitle}>机构位置:</div>
<div className={pageStyles.rowinfo}>{schoolDetail.location_address}</div>
</div>
<div className={pageStyles.rowline} gutter={32}>
<div className={pageStyles.rowline} style={{ alignItems: 'flex-start' }} gutter={32}>
<div className={pageStyles.rowinfotitle}>科目类别:</div>
<div className={`${pageStyles.rowinfo} ${pageStyles.categorybox}`}>
{schoolDetail.category && schoolDetail.category.length > 0 && categorys.map((ele) => {
......
......@@ -52,6 +52,7 @@
font-size: 12px;
text-align: center;
margin-right: 12px;
margin-bottom: 10px;
}
}
}
\ 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