@@ -458,7 +458,7 @@ class HistoryCaseContainer extends React.Component {
>
<div className={styles.outBox}>
<span>病历名称:</span>
- <input type="text" placeholder="请输入病历名称" value={this.state.templateName} onChange={this.handleChange} autocomplete="off"/>
+ <input type="text" className={styles.innerInput} placeholder="请输入病历名称" value={this.state.templateName} onChange={this.handleChange} autocomplete="off"/>
</div>
</ConfirmModal>
@@ -195,5 +195,18 @@
display: flex;
align-items: center;
}
-
+.innerInput{
+ outline-style: none ;
+ border: 1px solid #ccc;
+ border-radius: 3px;
+ padding: 7px 4px;
+ font-size: 14px;
+ font-family: "Microsoft soft";
+}
+.innerInput:focus{
+ border-color: #66afe9;
+ outline: 0;
+ -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6);
+ box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6)
@@ -585,7 +585,7 @@ class Operation extends Component {
<div className={style.outBox}>
<div className={style.innerInp}>
- <input type="text" placeholder="请输入病历名称" value={this.state.medicalName} onChange={this.handleMedicalChange} autocomplete="off" />
+ <input type="text" className={style.innerInput} placeholder="请输入病历名称" value={this.state.medicalName} onChange={this.handleMedicalChange} autocomplete="off" />
{this.state.showValit ? (<div className={style.valit}>请输入病历名称</div>) : null}
@@ -351,6 +351,20 @@
// justify-content: center;
margin-bottom: 40px;
.innerInp{
+ .innerInput{
+ }
+ .innerInput:focus{
.valit{
float: left;