Vue.js框架路由使用方法实例详解

Vue.js框架路由使用方法实例详解

创新互联建站专注为客户提供全方位的互联网综合服务,包含不限于成都网站设计、成都网站建设、图们网络推广、微信平台小程序开发、图们网络营销、图们企业策划、图们品牌公关、搜索引擎seo、人物专访、企业宣传片、企业代运营等,从售前售中售后,我们都将竭诚为您服务,您的肯定,是我们最大的嘉奖;创新互联建站为所有大学生创业者提供图们建站搭建服务,24小时服务热线:028-86922220,官方网址:www.cdcxhl.com

html代码:




  
    
    
    
    
    
    
    
    
    
    模仿app页面
  

  
    
    
    
    
    
    
    
    
  



css代码:

#header{
  background: white;
  text-align: center;
  margin:0 auto;
}
#jiugongge{
  margin-top:20px;
}
#jiugongge div{
  text-align: center;
}
.production{
  display:flex;
  margin-top:10px;
}
.production .image{
  flex: 1;
}
.production .content{
  flex: 2;
}
.image img {
  width:150px;
}
#nav{
  position: fixed;
  bottom: 0px;
  background: white;
  width:100%;
  margin:0 10px;
}
#nav ul{
  width:100%;
}
#nav li{
  width:24%;
}
#produces{
  height:40px;
  margin-bottom: 40px;
}

js代码:

$('ul').on('click','li',function(){
  $('li').attr('class','')
  $(this).attr('class','active')
})

效果图:

Vue.js框架路由使用方法实例详解

以上就是Vue.js框架路由使用方法,如有疑问请留言或者到本站社区交流讨论,感谢阅读,希望能帮助到大家,谢谢大家对本站的支持!


文章名称:Vue.js框架路由使用方法实例详解
网页地址:http://bzwzjz.com/article/jicocs.html

其他资讯

Copyright © 2007-2020 广东宝晨空调科技有限公司 All Rights Reserved 粤ICP备2022107769号
友情链接: 重庆网站建设 成都网站制作 成都网站建设流程 成都网站设计 成都网站设计 企业网站制作 成都响应式网站建设 成都网站制作 重庆企业网站建设 成都品牌网站设计 企业网站设计 营销网站建设 网站建设方案 阿坝网站设计 温江网站设计 成都网站建设 商城网站建设 网站建设 成都网站建设公司 专业网站设计 营销网站建设 温江网站设计