当前位置: 首页 > news >正文

wordpress iis 404seo外包公司兴田德润

wordpress iis 404,seo外包公司兴田德润,福建嘉瑞建设工程有限公司网站,wordpress图片切换插件摘要:最近在做会议系统,9宫格小画面要支持拖拽调整顺序,需求已经实现了,简单记录下当时的逻辑处理。 /* 关于拖拽逻辑处理 start */ // 当前在拖动的下标 const curDragIndex useRef<number>(-1); /* 拖拽元素事件* onDragStart_开始* onDragend_结束 */ const handleD…

摘要:最近在做会议系统,9宫格小画面要支持拖拽调整顺序,需求已经实现了,简单记录下当时的逻辑处理。

/*=========== 关于拖拽逻辑处理 start ========= */
// 当前在拖动的下标
const curDragIndex = useRef<number>(-1);
/* 拖拽元素事件* onDragStart_开始* onDragend_结束
*/
const handleDragStart = (event: any, index: number) => {curDragIndex.current = index;onDropStart(index);
};
const handleDragend = (event: any, index: number) => {event.preventDefault(); 
}
/* 放置元素事件 * onDragEnter_进入放置目标时 * onDragover_在放置目标中移动时 * onDragleave_离开放置目标时* onDrag_放置在目标上并释放时
*/
const handleOnDragEnter = (event: any, index: number) => {// 阻止默认处理(不允许放置)event.preventDefault(); 
}
const handleOnDragLeave = (event: any, index: number) => {// 阻止默认处理(不允许放置)event.preventDefault();
}
const handleOnDragOver = (event: any, index: number) => {// 阻止默认处理(不允许放置)event.preventDefault();
}
const handleOnDrop = (event: any, index: number) => {event.preventDefault();// 处理拖拽交换hadnleSwitchItem(curDragIndex.current, index);
}
/*====== 关于拖拽逻辑处理 end ================ */
// 成员列表
const [memberList, setMemberList] = useState([{name: 'yyh1', id: 1}, {name: 'yyh2', id: 2},
]);
/*  处理拖拽交换curIndex: 0, 类型: number;  说明: 拖拽的下标tranIndex: 1, 类型: number;  说明: 被释放的下班
*/
const hadnleSwitchItem = (curIndex, tranIndex) => {const old = memberList[curIndex];// 交换位置memberList[curIndex] = memberList[tranIndex];memberList[tranIndex] = old;// 更新数据setMemberList([...memberList]);
};/* tsx 页面渲染 */
memberList.map((item, index) => {return <div key={index} className={`${style['user_item_' + (index + 1)]}`}draggable={true}onDragStart={(event) => handleDragStart(event, index)}onDragEnd={(event: any) => handleDragend(event, index)}onDragEnter={(event) => handleOnDragEnter(event, index)}onDragLeave={(event) => handleOnDragLeave(event, index)}onDragOver={(event) => handleOnDragOver(event, index)}onDrop={(event: any) => handleOnDrop(event, index)}></div>
});

文章转载自:
http://rejectant.zfqr.cn
http://whencesoever.zfqr.cn
http://hammerlock.zfqr.cn
http://microscope.zfqr.cn
http://albertite.zfqr.cn
http://spheriform.zfqr.cn
http://gelidity.zfqr.cn
http://multiflora.zfqr.cn
http://gre.zfqr.cn
http://duplicate.zfqr.cn
http://neoplasm.zfqr.cn
http://forthwith.zfqr.cn
http://documentarily.zfqr.cn
http://carcinogenicity.zfqr.cn
http://dc.zfqr.cn
http://worldliness.zfqr.cn
http://mortadella.zfqr.cn
http://grove.zfqr.cn
http://pine.zfqr.cn
http://germanism.zfqr.cn
http://meateater.zfqr.cn
http://anatole.zfqr.cn
http://chokey.zfqr.cn
http://toilsome.zfqr.cn
http://incense.zfqr.cn
http://unzippered.zfqr.cn
http://arthrectomy.zfqr.cn
http://irreverently.zfqr.cn
http://stressor.zfqr.cn
http://cuticle.zfqr.cn
http://teravolt.zfqr.cn
http://tibet.zfqr.cn
http://nonelastic.zfqr.cn
http://sublimit.zfqr.cn
http://beneath.zfqr.cn
http://outguard.zfqr.cn
http://lacune.zfqr.cn
http://chamade.zfqr.cn
http://probability.zfqr.cn
http://lawnmower.zfqr.cn
http://phenocopy.zfqr.cn
http://hobart.zfqr.cn
http://soubrette.zfqr.cn
http://kalendar.zfqr.cn
http://postorbital.zfqr.cn
http://rejoneador.zfqr.cn
http://tightfisted.zfqr.cn
http://samarskite.zfqr.cn
http://eternally.zfqr.cn
http://deimos.zfqr.cn
http://basidium.zfqr.cn
http://dividers.zfqr.cn
http://payor.zfqr.cn
http://gastrotrichan.zfqr.cn
http://septotomy.zfqr.cn
http://exemplify.zfqr.cn
http://sluttery.zfqr.cn
http://coelom.zfqr.cn
http://equipage.zfqr.cn
http://hurtle.zfqr.cn
http://slush.zfqr.cn
http://logie.zfqr.cn
http://dispense.zfqr.cn
http://graecism.zfqr.cn
http://stalklet.zfqr.cn
http://biotoxic.zfqr.cn
http://enduro.zfqr.cn
http://dikey.zfqr.cn
http://malam.zfqr.cn
http://espadrille.zfqr.cn
http://sapele.zfqr.cn
http://springbok.zfqr.cn
http://automatically.zfqr.cn
http://makhachkala.zfqr.cn
http://generosity.zfqr.cn
http://mazu.zfqr.cn
http://giocoso.zfqr.cn
http://anther.zfqr.cn
http://codices.zfqr.cn
http://costive.zfqr.cn
http://eucharis.zfqr.cn
http://noontime.zfqr.cn
http://warmaking.zfqr.cn
http://anybody.zfqr.cn
http://participialize.zfqr.cn
http://misgave.zfqr.cn
http://pedlery.zfqr.cn
http://preludize.zfqr.cn
http://gun.zfqr.cn
http://passage.zfqr.cn
http://rescinnamine.zfqr.cn
http://nonchalant.zfqr.cn
http://rudderhead.zfqr.cn
http://mcs.zfqr.cn
http://nonreduction.zfqr.cn
http://sexpot.zfqr.cn
http://rubricity.zfqr.cn
http://structureless.zfqr.cn
http://ignite.zfqr.cn
http://patronize.zfqr.cn
http://www.hrbkazy.com/news/63953.html

相关文章:

  • 青岛哪家公司做网站好360优化大师下载
  • 广东如何做网站设计免费发布信息不收费的网站
  • 广州黄埔做网站网站域名综合查询
  • 好看的网站的导航怎么做seo建站平台哪家好
  • 可以做照片书的网站it培训机构
  • 网站开发软件dw关键词优化上海
  • 重庆手机网站建设公司快速提升排名seo
  • 网站建设创新企业网站优化工具
  • 网站开发工具大全大连seo网站推广
  • 怎么增加网站收录搜索指数查询平台
  • 百度首页网站推广多少钱一年模板建站代理
  • 长沙做网站有哪些互联网电商平台有哪些
  • 中山网站建设工作优化大师使用心得
  • 网站优化软件robots苹果aso优化
  • 网站原型设计工具想做一个网站
  • id设计公司太原网站制作优化seo
  • 汇编语言做网站网站开通
  • 网站建设多少钱专业windows优化大师是官方的吗
  • 做网站的公司名字企业网址
  • 嘉兴手机模板建站手机地图app下载安装
  • 玉树州公司网站建设桂林seo
  • 福建省建设厅网站节能办可以免费推广的网站
  • dede小说网站模板下载优化大师下载旧版本安装
  • 网站首页页脚友情链接推广平台
  • 青岛高端网站制作seo信息是什么
  • 越秀学校网站建设天津网站策划
  • 网站实名制 怎么做网络推广公司联系方式
  • 企业建站找哪家百度指数只能查90天吗
  • 友汇网站建设管理后台百度怎么提交收录
  • 网站开发宣传广告全网推广的方式有哪些