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

网站后台管理员扫描wordpress api下载文件

网站后台管理员扫描,wordpress api下载文件,东莞东城楼盘,四川网站建设公司 会员登录子菜单的展开、收缩功能在许多系统上都很常见#xff0c;如果想要在打开收起时带有动画效果#xff0c;过去常常会通过 jQuery 实现。而在 Vue 项目中#xff0c;我们可以单独封装一个动画组件#xff0c;方便使用。1#xff0c;效果图点击一级菜单时#xff0c;子菜单会…子菜单的展开、收缩功能在许多系统上都很常见如果想要在打开收起时带有动画效果过去常常会通过 jQuery 实现。而在 Vue 项目中我们可以单独封装一个动画组件方便使用。1效果图点击一级菜单时子菜单会从上往下逐渐展开。再次点击一级菜单子菜单又会从下往上收起。        2创建动画组件(collapseTransition.js)组件代码如下其内容是通过 overflow 获取高度的方法创建了一个函数式组件实现展开、收起的动画效果。/* 视图伸缩动画效果组件 *//* jshint esversion: 6 */const elTransition 0.3s height ease-in-out, 0.3s padding-top ease-in-out, 0.3s padding-bottom ease-in-out;const Transition {before-enter (el) {el.style.transition elTransition;if (!el.dataset) el.dataset {};el.dataset.oldPaddingTop el.style.paddingTop;el.dataset.oldPaddingBottom el.style.paddingBottom;el.style.height 0;el.style.paddingTop 0;el.style.paddingBottom 0;},enter (el) {el.dataset.oldOverflow el.style.overflow;if (el.scrollHeight ! 0) {el.style.height el.scrollHeight px;el.style.paddingTop el.dataset.oldPaddingTop;el.style.paddingBottom el.dataset.oldPaddingBottom;} else {el.style.height ;el.style.paddingTop el.dataset.oldPaddingTop;el.style.paddingBottom el.dataset.oldPaddingBottom;}el.style.overflow hidden;},after-enter (el) {el.style.transition ;el.style.height ;el.style.overflow el.dataset.oldOverflow;},before-leave (el) {if (!el.dataset) el.dataset {};el.dataset.oldPaddingTop el.style.paddingTop;el.dataset.oldPaddingBottom el.style.paddingBottom;el.dataset.oldOverflow el.style.overflow;el.style.height el.scrollHeight px;el.style.overflow hidden;},leave (el) {if (el.scrollHeight ! 0) {el.style.transition elTransition;el.style.height 0;el.style.paddingTop 0;el.style.paddingBottom 0;}},after-leave (el) {el.style.transition ;el.style.height ;el.style.overflow el.dataset.oldOverflow;el.style.paddingTop el.dataset.oldPaddingTop;el.style.paddingBottom el.dataset.oldPaddingBottom;}};export default {name: collapseTransition,functional: true,render (h, { children }) {const data {on: Transition};return h(transition, data, children);}};3使用样例使用时我们只需引入这个动画组件包裹在需要显示、隐藏的元素外部即可(不再需要 css 与其它逻辑) {{ firstLevel.title }} {{ secondLevel.title }}import axios from axios// 引入伸缩效果组件import collapseTransition from ./collapseTransitionexport default {data () {return {isActive:false,menus:[{title: 终端,icon: /static/images/icon_1.png,isExpand: true,children: [{title: 智能物联网边缘计算}, {title: 终端融合能力}]}, {title: 网络,icon: /static/images/icon_2.png,isExpand: true,children: [{title: 客户侧内部组织网}]}]}},components: {collapseTransition},methods:{//展开收起按钮点击changeExpand(menu) {menu.isExpand !menu.isExpand;console.log(menu.isExpand);}}}#navigation {background-color: #e7e7e7;}.menu-item {width: 327px;height: 49px;line-height: 49px;font-size: 14px;border-bottom: solid 1px #c4c4c4;color: #3d3d3d;cursor:pointer;}.first-level {background: url(../assets/images/first_level_menu_bg.png);font-weight: bold;}.first-level img:first-child {vertical-align:middle;margin-left: 20px;margin-right: 15px;}.first-level span {width: 230px;display: inline-block;}.second-level {width: 320px;border-left: solid 7px #e7e7e7;}.second-level:hover {background-color: #ffffff;color: #13a3a9;border-left: solid 7px #f6ab36;}.second-level img:first-child {vertical-align:middle;margin-left: 61px;margin-right: 10px;}
http://wiki.neutronadmin.com/news/261250/

相关文章:

  • 有个人代做网站的吗黑马程序员视频库
  • 软件工程35岁就失业吗石家庄seo优化公司
  • 唐山网站设计备案网站名称重复
  • 收废品做网站wordpress4.9.8有中文版
  • 当下网站建设平面设计专用网站
  • 网站验收标准网站优化自己可以做吗
  • 烟台网站制作山海云加强学校网站建设的通知
  • 青岛网站建设比较好云服务器便宜
  • 三亚网站建设平台惠州网站建设惠州
  • 做平台网站上海seo优化公司
  • 南昌做网站公司有哪些在线公司网站查询
  • 凯里网站设计制作网站入门
  • 建一个外贸网站要多少钱php怎么创建网站
  • 宁波制作网站公司携程做网站的流程
  • 餐饮系统网站建设利用店铺网站做灰色优化
  • 获取网站开发语言遵义工作网招聘信息网
  • 某公司网站建设策划网络结构设计
  • 东莞网站建设工作seo优化排名教程
  • 网站开发源码售卖合同c 网站开发需要学什么
  • 重庆建设网站公司登别的网站应怎么做
  • 嘉盛建设集团官方网站网页设计代码基础模板
  • 石家庄模板建站系统建筑工程造价网
  • 资金盘做网站万网官网域名注册多少钱
  • 郑州网站建设详细内容推荐网站建设方案ppt模板
  • 品牌网站设计步骤建设个人网站用到的技术
  • 多肉建设网站前的市场分析三只松鼠网站怎样做
  • 温州电商网站建设asp 企业网站
  • 那些做网站的那些软件都叫啥手机怎么制作图文广告
  • 云信网站建设莆田网站建设建站系统
  • 合川做网站宁波seo公司网站推广