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

杭州网站建设求职简历阿里巴巴做轮播网站

杭州网站建设求职简历,阿里巴巴做轮播网站,小规模公司需要交哪些税,网页游戏网站官网文章目录 一.首先创建我们的Vue文件夹二.源代码BodyDemoHearderDemoHomeDemoMarkdownDemoFileManager.jsMain.js#xff08;注意绑定#xff09;APP源代码 效果图#xff08;按钮功能#xff09;新增二级菜单#xff08;v-for#xff09;需要的可以私信 一.首先创建我们的… 文章目录 一.首先创建我们的Vue文件夹二.源代码BodyDemoHearderDemoHomeDemoMarkdownDemoFileManager.jsMain.js注意绑定APP源代码 效果图按钮功能新增二级菜单v-for需要的可以私信 一.首先创建我们的Vue文件夹 我们分为三个专题并且创建4个vue文件还有以下js 二.源代码 BodyDemo templateel-container styleheight: 100%;!-- 左边的垂直导航(二级菜单) --el-aside width200px stylebackground-color: #f1f1f1;div/divel-menumodeverticalbackground-color#f1f1f1text-color#777777active-text-color#000000:default-active0selectselectItemel-menu-itemv-foritem in items:indexitem.index:keyitem.indexdiv idtext{{ item.title }}/div/el-menu-item/el-menu/el-aside!-- 通过解析markdown文件后渲染的地方 --el-mainMarkdown :contentcontent/Markdown/el-main/el-container /templatescript import Markdown from ./MarkdownDemo.vue; import FileManager from ../tools/FileManager.jsexport default{mounted(){FileManager.getPostContent(this.topic,this.items[this.currentIndex].title).then((res){this.contentres.data;})},props:[items,topic],data(){return{currentIndex:0,content:}},components:{Markdown:Markdown,},methods:{selectItem(index){this.currentIndexindex}},watch:{currentIndex:function(val){FileManager.getPostContent(this.topic,this.items[val].title).then((res){this.contentres.data;})},topic:function(val){FileManager.getPostContent(val,this.items[this.currentIndex].title).then((res){this.contentres.data;})}} } /scriptstyle scoped .el-menu-item.is-active{background-color: #ffffff !important; } /styleHearderDemo templateel-container stylemargin: 0; padding: 0;el-header stylemargin: 0; padding: 0;div idtitleVue学习笔记/div/el-headerel-main stylemargin: 0; padding: 0;el-menumodehorizontalbackground-color#e8e7e3text-color#777777active-text-color#000000:default-active0selectselectItemel-menu-itemv-foritem in items :indexitem.index:keyitem.indexdiv idtext{{ item.title }}/div/el-menu-item/el-menu/el-main/el-container /templatescript export default{props:[items],methods:{selectItem(index){this.$emit(selected,index)}} } /scriptstyle scoped #title{color: brown;font-size: 40px;font-weight: bold;font-family: Georgia, Times New Roman, Times, serif; } #text{font-size: 20px; } /styleHomeDemo templateel-container idcontainerel-header stylewidth: 100% height120pxHeader :itemsnavItems v-on:selectedchangeSelected/Header/el-headerel-mainBody :itemsbodyItems :topicnavItems[currentTopicIndex].title/Body/el-mainel-footerdiv idfooter{{ desc }}/div/el-footer/el-container /templatescript import Header from ./HeaderDemo.vue; import Body from ./BodyDemo.vue; import FM from ../tools/FileManager.jsexport default{components:{Header:Header,Body:Body,},data(){return{navItems:FM.getAllTopic().map((item,ind){return{index:ind,title:item}}),desc:版权所有仅限学习使用禁止传播,currentTopicIndex:0,};},methods:{changeSelected(index){this.currentTopicIndexindex}},computed:{bodyItems(){return FM.getPosts(this.currentTopicIndex).map((item,ind){return{index:ind,title:item}})}} } /scriptstyle scoped #container{margin-left: 150px;margin-right: 150px;margin-top: 30px;height: 800px; } #footer{text-align: center;background-color: bisque;height: 40px;line-height: 40px;color: #717171; } /styleMarkdownDemo templatep v-htmldata/p /templatescript import marked from marked;export default{props:[content],computed:{data(){return marked(this.content);}} } /script FileManager.js import axios from axios; const FileManager{path:process.env.BASE_URLpost/, //项目public文件夹下的post文件夹路径// 获取所有的主题栏目后续增加可以继续配置getAllTopic:function(){return[HTML专题,JavaScript专题,Vue v-for]},// 获取 某个主题下的所有文章后续增加可以继续配置getPosts:function(topic){switch(topic){case 0:return[文本标签,HTML基础元素];case 1:return[方法与属性,语句与数据类型,about_js]case 2:return[v-for]}},// 获取某个文章的详细内容getPostContent:function(topicName,postName){let urlthis.pathtopicName/postName.md;return new Promise((res,rej){axios.get(url).then((response){res(response)},rej)})} }export default FileManagerMain.js注意绑定 import { createApp } from vue import VueAxios from vue-axios import axios from axios import ElementPlus from element-plus import element-plus/dist/index.css import * as ElementPlusIconsVue from element-plus/icons-vue import App from ./App.vueconst app createApp(App) for (const [key, component] of Object.entries(ElementPlusIconsVue)) {app.component(key, component)} app.use(VueAxios,axios) app.use(ElementPlus) app.mount(#app) APP源代码 templateHome/Home /templatescript import Home from ./components/HomeDemo.vue;export default{name:App,components:{Home:Home,}, } /script 效果图按钮功能 新增二级菜单v-for 需要的可以私信
文章转载自:
http://www.morning.trjr.cn.gov.cn.trjr.cn
http://www.morning.yxbdl.cn.gov.cn.yxbdl.cn
http://www.morning.rlqwz.cn.gov.cn.rlqwz.cn
http://www.morning.hlnys.cn.gov.cn.hlnys.cn
http://www.morning.fbfnk.cn.gov.cn.fbfnk.cn
http://www.morning.lsgsn.cn.gov.cn.lsgsn.cn
http://www.morning.jrbyz.cn.gov.cn.jrbyz.cn
http://www.morning.qmzhy.cn.gov.cn.qmzhy.cn
http://www.morning.srjbs.cn.gov.cn.srjbs.cn
http://www.morning.ppbrq.cn.gov.cn.ppbrq.cn
http://www.morning.xxwhz.cn.gov.cn.xxwhz.cn
http://www.morning.lxfqc.cn.gov.cn.lxfqc.cn
http://www.morning.frnjm.cn.gov.cn.frnjm.cn
http://www.morning.rwcw.cn.gov.cn.rwcw.cn
http://www.morning.yjdql.cn.gov.cn.yjdql.cn
http://www.morning.xiaobaixinyong.cn.gov.cn.xiaobaixinyong.cn
http://www.morning.hmdyl.cn.gov.cn.hmdyl.cn
http://www.morning.bynf.cn.gov.cn.bynf.cn
http://www.morning.rnmc.cn.gov.cn.rnmc.cn
http://www.morning.nkjxn.cn.gov.cn.nkjxn.cn
http://www.morning.zcrjq.cn.gov.cn.zcrjq.cn
http://www.morning.zdfrg.cn.gov.cn.zdfrg.cn
http://www.morning.fdrwk.cn.gov.cn.fdrwk.cn
http://www.morning.ldmtq.cn.gov.cn.ldmtq.cn
http://www.morning.kcbml.cn.gov.cn.kcbml.cn
http://www.morning.plqsc.cn.gov.cn.plqsc.cn
http://www.morning.bxch.cn.gov.cn.bxch.cn
http://www.morning.redhoma.com.gov.cn.redhoma.com
http://www.morning.nlgyq.cn.gov.cn.nlgyq.cn
http://www.morning.mbrbk.cn.gov.cn.mbrbk.cn
http://www.morning.lflsq.cn.gov.cn.lflsq.cn
http://www.morning.rbkml.cn.gov.cn.rbkml.cn
http://www.morning.nrpp.cn.gov.cn.nrpp.cn
http://www.morning.kqbzy.cn.gov.cn.kqbzy.cn
http://www.morning.ybhrb.cn.gov.cn.ybhrb.cn
http://www.morning.rgmls.cn.gov.cn.rgmls.cn
http://www.morning.fhjnh.cn.gov.cn.fhjnh.cn
http://www.morning.dqxph.cn.gov.cn.dqxph.cn
http://www.morning.tstwx.cn.gov.cn.tstwx.cn
http://www.morning.bxqpl.cn.gov.cn.bxqpl.cn
http://www.morning.mkpkz.cn.gov.cn.mkpkz.cn
http://www.morning.rwzkp.cn.gov.cn.rwzkp.cn
http://www.morning.hpkr.cn.gov.cn.hpkr.cn
http://www.morning.jybj.cn.gov.cn.jybj.cn
http://www.morning.rnkq.cn.gov.cn.rnkq.cn
http://www.morning.nxrgl.cn.gov.cn.nxrgl.cn
http://www.morning.wkcl.cn.gov.cn.wkcl.cn
http://www.morning.rqmqr.cn.gov.cn.rqmqr.cn
http://www.morning.zpjhh.cn.gov.cn.zpjhh.cn
http://www.morning.hxpsp.cn.gov.cn.hxpsp.cn
http://www.morning.tbbxn.cn.gov.cn.tbbxn.cn
http://www.morning.ffgbq.cn.gov.cn.ffgbq.cn
http://www.morning.zdfrg.cn.gov.cn.zdfrg.cn
http://www.morning.ptysj.cn.gov.cn.ptysj.cn
http://www.morning.cgdyx.cn.gov.cn.cgdyx.cn
http://www.morning.qtwd.cn.gov.cn.qtwd.cn
http://www.morning.qnrpj.cn.gov.cn.qnrpj.cn
http://www.morning.ypmqy.cn.gov.cn.ypmqy.cn
http://www.morning.hmnhp.cn.gov.cn.hmnhp.cn
http://www.morning.newfeiya.com.cn.gov.cn.newfeiya.com.cn
http://www.morning.nbqwr.cn.gov.cn.nbqwr.cn
http://www.morning.srbfz.cn.gov.cn.srbfz.cn
http://www.morning.zjqwr.cn.gov.cn.zjqwr.cn
http://www.morning.rjnrf.cn.gov.cn.rjnrf.cn
http://www.morning.mswkd.cn.gov.cn.mswkd.cn
http://www.morning.fhqsm.cn.gov.cn.fhqsm.cn
http://www.morning.kllzy.com.gov.cn.kllzy.com
http://www.morning.hbfqm.cn.gov.cn.hbfqm.cn
http://www.morning.dhyzr.cn.gov.cn.dhyzr.cn
http://www.morning.kspfq.cn.gov.cn.kspfq.cn
http://www.morning.iznek.com.gov.cn.iznek.com
http://www.morning.lmxrt.cn.gov.cn.lmxrt.cn
http://www.morning.fsjcn.cn.gov.cn.fsjcn.cn
http://www.morning.tpkxs.cn.gov.cn.tpkxs.cn
http://www.morning.jhrlk.cn.gov.cn.jhrlk.cn
http://www.morning.mznqz.cn.gov.cn.mznqz.cn
http://www.morning.rlhgx.cn.gov.cn.rlhgx.cn
http://www.morning.rqwwm.cn.gov.cn.rqwwm.cn
http://www.morning.sjsfw.cn.gov.cn.sjsfw.cn
http://www.morning.gwqq.cn.gov.cn.gwqq.cn
http://www.tj-hxxt.cn/news/245904.html

相关文章:

  • 陶瓷 网站模板wordpress图片加载快
  • 四川建设信息共享网站用rem做移动网站
  • 江门建站模板大型网站开发工具
  • 开发手机应用网站友情链接分析
  • 网站怎么添加假备案号免费建设论坛网站
  • 襄阳网站开发平面设计培训班价格
  • 中国建设教育网站网站建设基础培训
  • 企业网站建设费属于办公费吗东莞市网站建设平台
  • 移动网站适配网站开发需要后台吗
  • 企业网站怎么收录wordpress 引用 样式
  • 股票实时交易网站开发新乡最新消息
  • 深圳创新网站建设文化馆网站建设意义
  • 钓鱼网站的主要危害手机如何制作图片
  • 网站安全检测网站统一用户管理系统
  • 网站前端建设都需要什么福建省建设监理网官方网站
  • 如何将自己做的网站织梦做网站主页容易吗
  • 网站排名推广自己怎么做大型网站建设哪家服务好
  • 做淘宝门头的网站单职业传奇手机手游版
  • 云天下网站建设怎么做公司网页
  • 上海的建设网站制作一线城市做网站工资有多少钱
  • 泰安住房和城乡建设厅网站深圳网站建设怎样做
  • 三门峡建设银行网站网站开发需要哪些语言
  • 做球衣外贸用什么网站网站结构是什么 怎么做
  • 石家庄建设集团有限公司网站旅游电子商务网站开发方案
  • 地图网站开发青岛seo网站管理
  • 企业网站备案时间宁波软件开发制作
  • 商城网站平台怎么做的pico笔克品牌介绍
  • 哪个网站可以做结婚请柬东莞市建设局网app
  • 北仑网站制作山东德州网站建设
  • 设计师网站赚钱导购网站建设需求模版