|
@@ -27,7 +27,7 @@ class TreatDesc extends Component {
|
|
const { title, basic, otherDrugIndex, drugDesc} = treatDesc
|
|
const { title, basic, otherDrugIndex, drugDesc} = treatDesc
|
|
return (treatment && treatment.length >0 && <div className={style['treat-desc-box']}>
|
|
return (treatment && treatment.length >0 && <div className={style['treat-desc-box']}>
|
|
|
|
|
|
- {title && title === '药品推荐' ? <div>
|
|
|
|
|
|
+ {title && title === '药品推荐' ? <div id='treatDescBox'>
|
|
{/* { basic && basic.length > 0 && <div> //推荐依据不需要展示
|
|
{/* { basic && basic.length > 0 && <div> //推荐依据不需要展示
|
|
<h3 className={style['recommend-title']}>推荐依据</h3>
|
|
<h3 className={style['recommend-title']}>推荐依据</h3>
|
|
{basic.map((item, index) =>{
|
|
{basic.map((item, index) =>{
|
|
@@ -36,7 +36,7 @@ class TreatDesc extends Component {
|
|
})}
|
|
})}
|
|
|
|
|
|
</div> } */}
|
|
</div> } */}
|
|
- { otherDrugIndex > -1 && <div id='treatDescBox' className={style['similar-drug']}>
|
|
|
|
|
|
+ { otherDrugIndex > -1 && <div className={style['similar-drug']}>
|
|
<h3 className={style['drug-desc-title']}>同类药物 <img src={close} onClick={this.hideTreatDesc} className={style['close-drug-desc']} /></h3>
|
|
<h3 className={style['drug-desc-title']}>同类药物 <img src={close} onClick={this.hideTreatDesc} className={style['close-drug-desc']} /></h3>
|
|
{treatment[otherDrugIndex].medicitionsList.map((item, index) =>{
|
|
{treatment[otherDrugIndex].medicitionsList.map((item, index) =>{
|
|
return (<span style={item.forbidden === '2' ? {opacity: '0.3', filter:'alpha(opacity=30)'} : ''}>
|
|
return (<span style={item.forbidden === '2' ? {opacity: '0.3', filter:'alpha(opacity=30)'} : ''}>
|