|
@@ -13,7 +13,7 @@ class FolderOrder extends React.Component {
|
|
|
this.state = {
|
|
|
folderModal:false,
|
|
|
selectIndex: -1,
|
|
|
- folderList: null
|
|
|
+ folderList: null,
|
|
|
}
|
|
|
this.textInput = React.createRef();
|
|
|
this.orderFolder = this.orderFolder.bind(this)
|
|
@@ -136,7 +136,8 @@ class FolderOrder extends React.Component {
|
|
|
<div className={style.floderItem} onClick={(e)=>{tmpItm.templateInfo&&tmpItm.templateInfo.length>0 ?this.floderSlide(e,i) :''}}>
|
|
|
<img src={selectIndex == i?floderD:floderR} className={style.floderRD}/>
|
|
|
{tmpItm.name}({tmpItm.templateInfoCount})
|
|
|
- <img class={style.orderIcon} src={i===0?diagDown:diagUp} alt="排序" onClick={this.orderFolder.bind(this, i)}/>
|
|
|
+ <span class={`${i ===0 ? style.arrowDown : style.arrowUp}`} onClick={this.orderFolder.bind(this, i)}></span>
|
|
|
+ {/* <img class={style.orderIcon} src={i===0?diagDown:diagUp} alt="排序" onClick={this.orderFolder.bind(this, i)}/> */}
|
|
|
{/* <span className={`${style.floderPartAction}`} id="floderActionBtn" onClick={(e)=>{this.floderAction(e,i)}}>...</span> */}
|
|
|
</div>
|
|
|
{
|
|
@@ -144,8 +145,8 @@ class FolderOrder extends React.Component {
|
|
|
{ tmpItm.templateInfo.map((templateItem, index) => {
|
|
|
return (<div class={style.templateItem}>
|
|
|
{templateItem.name}
|
|
|
- {/* <span class={style.arrow}>11</span> */}
|
|
|
- <img class={style.orderIcon} src={index===0?diagDown:diagUp} alt="排序" onClick={this.orderTemplate.bind(this, i, index)}/>
|
|
|
+ <span class={`${index===0 ? style.arrowDown : style.arrowUp}`} onClick={this.orderTemplate.bind(this, i, index)}></span>
|
|
|
+ {/* <img class={style.orderIcon} src={index===0?diagDown:diagUp} alt="排序" onClick={this.orderTemplate.bind(this, i, index)}/> */}
|
|
|
</div>)
|
|
|
})}
|
|
|
</div>
|