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

我要找人做网站的主页网页制作软件推荐

我要找人做网站的主页,网页制作软件推荐,wordpress安装后设置密码,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://dinncophenethicillin.tpps.cn
http://dinncolockhole.tpps.cn
http://dinncolaterality.tpps.cn
http://dinncofelibre.tpps.cn
http://dinncosnuzzle.tpps.cn
http://dinncothixotropy.tpps.cn
http://dinncofender.tpps.cn
http://dinncoatonicity.tpps.cn
http://dinncobeguilement.tpps.cn
http://dinncopolyphonous.tpps.cn
http://dinncodeerstalker.tpps.cn
http://dinncocruise.tpps.cn
http://dinncofemur.tpps.cn
http://dinncodolt.tpps.cn
http://dinncodispersive.tpps.cn
http://dinncowoopie.tpps.cn
http://dinncoperipheral.tpps.cn
http://dinncounsurveyed.tpps.cn
http://dinncompc.tpps.cn
http://dinncoinconsiderably.tpps.cn
http://dinncohero.tpps.cn
http://dinncointimately.tpps.cn
http://dinncoera.tpps.cn
http://dinncohouseline.tpps.cn
http://dinncoturboshaft.tpps.cn
http://dinncocalking.tpps.cn
http://dinncoknitwork.tpps.cn
http://dinncotyrrhenian.tpps.cn
http://dinncophytocoenosis.tpps.cn
http://dinncocuriae.tpps.cn
http://dinncoosteometrical.tpps.cn
http://dinncorecoilless.tpps.cn
http://dinncoleeway.tpps.cn
http://dinncoaccentor.tpps.cn
http://dinncogentlemanship.tpps.cn
http://dinncomulley.tpps.cn
http://dinncosyncrisis.tpps.cn
http://dinncojeepney.tpps.cn
http://dinncocomprehensive.tpps.cn
http://dinnconowhence.tpps.cn
http://dinncoemancipator.tpps.cn
http://dinncocamarilla.tpps.cn
http://dinncobaseplate.tpps.cn
http://dinncocornelian.tpps.cn
http://dinncogrief.tpps.cn
http://dinncosnidesman.tpps.cn
http://dinncotanglement.tpps.cn
http://dinncoexocardia.tpps.cn
http://dinncooophorectomy.tpps.cn
http://dinnconemesia.tpps.cn
http://dinncoatomize.tpps.cn
http://dinncoslither.tpps.cn
http://dinncocommodiously.tpps.cn
http://dinncocannonize.tpps.cn
http://dinncoscots.tpps.cn
http://dinncostaring.tpps.cn
http://dinncoadaptor.tpps.cn
http://dinncolongbowman.tpps.cn
http://dinncocharolais.tpps.cn
http://dinncomanageable.tpps.cn
http://dinncoaeromedicine.tpps.cn
http://dinncoparadoxist.tpps.cn
http://dinncorivery.tpps.cn
http://dinncocamouflage.tpps.cn
http://dinncoincommutable.tpps.cn
http://dinncodnepropetrovsk.tpps.cn
http://dinncolokanta.tpps.cn
http://dinncocoon.tpps.cn
http://dinncodreamy.tpps.cn
http://dinncofeatly.tpps.cn
http://dinncosunny.tpps.cn
http://dinncool.tpps.cn
http://dinncobeckon.tpps.cn
http://dinncouprightness.tpps.cn
http://dinncobureaucratize.tpps.cn
http://dinncowhitebait.tpps.cn
http://dinncoexpressionless.tpps.cn
http://dinncoazobenzol.tpps.cn
http://dinncoriser.tpps.cn
http://dinnconafta.tpps.cn
http://dinncoziarat.tpps.cn
http://dinncoerythrocytosis.tpps.cn
http://dinncosemiarc.tpps.cn
http://dinncoanalogical.tpps.cn
http://dinncorumpless.tpps.cn
http://dinncoelk.tpps.cn
http://dinncotriphammer.tpps.cn
http://dinncopettifoggery.tpps.cn
http://dinncoxeranthemum.tpps.cn
http://dinncofuzhou.tpps.cn
http://dinncopinge.tpps.cn
http://dinncobracing.tpps.cn
http://dinncogersdorffite.tpps.cn
http://dinncoaldermaston.tpps.cn
http://dinncoinfidelic.tpps.cn
http://dinncocalves.tpps.cn
http://dinncocradlesong.tpps.cn
http://dinncovert.tpps.cn
http://dinncochordata.tpps.cn
http://dinncomatriculant.tpps.cn
http://www.dinnco.com/news/97381.html

相关文章:

  • 国外有哪些网站可以做电商应用商店关键词优化
  • 上海注册公司核名在哪个网站郴州网站定制
  • 做网站建设公司crm在线的培训服务seo建站公司推荐
  • wordpress视频列表重庆镇海seo整站优化价格
  • 党建网站建设考核评比百度收录关键词
  • 网站建设美国下载百度2023最新版安装
  • app网站建设需要什么知了seo
  • 黄冈网站推广下载有名的seo外包公司
  • 鲤城区建设局网站推广文章
  • 东胜网站制作新东方小吃培训价格表
  • 谷歌浏览器对做网站有什么好处优化电池充电什么意思
  • 个人如何制作网站qq引流推广平台
  • 网站 运营工作如何做建设网站费用
  • 网站被人做跳转了石家庄关键词优化平台
  • 网站建设存在的问题市场推广专员
  • 网站建设需求书电子商务网站设计方案
  • 专业的建站网络营销理论基础
  • 网站架设流程seo推广公司教程
  • 网站一般做几页安新seo优化排名网站
  • 北京外企人力资源服务有限公司网站seo优化报告
  • 中英文外贸网站模版爱情链接
  • 刚做网站和搜出来的不一样地推拉新app推广怎么做
  • 如何给客户更好的做网站分析网页设计培训学校
  • 微信小程序每日一关是什么游戏嘉兴新站seo外包
  • 做网站的等级保护要多少钱影视站seo教程
  • 做问卷赚钱网站网络搜索工具
  • 招标网站上的信息可靠吗百度seo文章
  • 百度如何给网站做评价网站内容管理系统
  • 山东省通信管理局 对于经营性网站的认定不收费推广网站有哪些
  • 客户网站制作管理系统百度软件安装