|
@@ -57,7 +57,8 @@ class DrugInfo extends Component {
|
|
|
const { currentIndex } = this.state
|
|
|
return (<div className={style['drug-info-wrapper']} id="drugWrapper">
|
|
|
<img src={close} onClick={hideDrugInfo} className={style['close-drug-desc']}/>
|
|
|
- <h1 onMouseDown={this.setDragBox} id="drugTitle" className={style['drug-title']}>{drugInfo.tagType == 8 ? drugInfo.title+'说明书' : drugInfo.tagType == 10 ? drugInfo.title+ '说明': ''}</h1>
|
|
|
+ <div id="drugTitle" className={`${style['details-drag-name']}`}></div>
|
|
|
+ <h1 onMouseDown={this.setDragBox} className={style['drug-title']}>{drugInfo.tagType == 8 ? drugInfo.title+'说明书' : drugInfo.tagType == 10 ? drugInfo.title+ '说明': ''}</h1>
|
|
|
{ drugInfo && drugInfo.drugDesc.length > 0 && <div className={style['drug-desc-wrapper']} id='drugDesc' onScroll={this.handleScrollModal.bind(this, drugInfo.drugDesc)}>
|
|
|
{/* <div className={style['drug-title1']} >{drugInfo.tagType == 8 ? drugInfo.title+'说明书' : drugInfo.tagType == 10 ? drugInfo.title+ '说明': ''}</div> */}
|
|
|
{drugInfo.drugDesc.map((item, index) =>{
|