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

做网站在哪儿买空间站长之家怎么找网址

做网站在哪儿买空间,站长之家怎么找网址,网站开发和推广方案,北京正规网站建设经历文章目录 一.首先创建新的Demo二.在APP里面绑定DemoStudent三.源码附上四.效果图&#xff08;新增记录还未实现&#xff09; 一.首先创建新的Demo 二.在APP里面绑定DemoStudent <template><img alt"Vue logo" src"./assets/logo.png"><!--…

文章目录

  • 一.首先创建新的Demo
  • 二.在APP里面绑定DemoStudent
  • 三.源码附上
  • 四.效果图(新增记录还未实现)

一.首先创建新的Demo

在这里插入图片描述

二.在APP里面绑定DemoStudent

<template><img alt="Vue logo" src="./assets/logo.png"><!-- <HelloWorld msg="Welcome to Your Vue.js App"/> --><demo-student></demo-student>
</template><script>
// import HelloWorld from './components/HelloWorld.vue'
import DemoStudent from './components/DemoStudent.vue';export default {name: 'App',components: {// HelloWorldDemoStudent}
}
</script><style>
#app {font-family: Avenir, Helvetica, Arial, sans-serif;-webkit-font-smoothing: antialiased;-moz-osx-font-smoothing: grayscale;text-align: center;color: #2c3e50;margin-top: 60px;
}
</style>

三.源码附上

<template><el-container><el-header height="80px" style="padding: 0;"><div class="header">教务系统学生管理</div></el-header><el-container><el-aside width="200px"><el-menu class="aside" @select="selectFunc" default-active="1" :unique-opened="true"><el-sub-menu index="1"><template #title><span>七年级</span></template><el-menu-item index="1">1班</el-menu-item><el-menu-item index="2">2班</el-menu-item><el-menu-item index="3">3班</el-menu-item></el-sub-menu><el-sub-menu index="2"><template #title><span>八年级</span></template><el-menu-item index="4">1班</el-menu-item><el-menu-item index="5">2班</el-menu-item><el-menu-item index="6">3班</el-menu-item></el-sub-menu><el-sub-menu index="3"><template #title><span>九年级</span></template><el-menu-item index="7">1班</el-menu-item><el-menu-item index="8">2班</el-menu-item><el-menu-item index="9">3班</el-menu-item></el-sub-menu></el-menu></el-aside><el-container><el-header height="80px" style="padding: 0;margin: 0;"><el-container class="subHeader"><div class="desc">{{ desc }}</div><el-button style="width: 100px;height: 30px;margin: 20px;">新增记录</el-button></el-container></el-header><el-main style="margin: 0;padding: 0;"><div class="content"><el-table :data="stus"><el-table-columnprop="name"label="姓名"></el-table-column><el-table-columnprop="age"label="年龄"></el-table-column><el-table-columnprop="sex"label="性别"></el-table-column><el-table-columnprop="date"label="录入日期"></el-table-column></el-table></div></el-main><el-footer height="30px" class="footer">Vue框架搭建,ElementPlus提供组件支持</el-footer></el-container></el-container></el-container></template><style scoped>.header{font-size: 30px;line-height: 80px;background-color: #f1f1f1;}.aside{background-color: wheat;height: 600px;}.subHeader{background-color: cornflowerblue;}.desc{font-size: 25px;line-height: 80px;color: white;width: 800px;}.content{height: 410px;}.footer{background-color: dimgrey;color: white;font-size: 17px;line-height: 30px;}</style><script>
export default{data(){return{desc:'七年级1班学生统计',stus:[{name:'小王',age:14,sex:'男',date:'2020年8月15日'},{name:'小张',age:15,sex:'男',date:'2020年8月15日'},{name:'小秋',age:15,sex:'女',date:'2020年8月15日'}] }},methods:{selectFunc(index){let strs=['七','八','九']let rank=strs[Math.floor((index-1)/3)]this.desc=`${rank}年级${((index-1)%3)+1}班学生统计`}}
}
</script>

四.效果图(新增记录还未实现)

在这里插入图片描述

http://www.yidumall.com/news/46509.html

相关文章:

  • 深圳做h5网站制作长春seo
  • 北京最近的新闻大事鹤壁seo
  • 如何创建网站小程序万能搜索 引擎
  • 阿里巴巴网站的功能宁波seo教程
  • 区块链技术网站开发今日时政新闻热点
  • 新闻事件seo自学
  • wordpress oa 插件厦门seo顾问屈兴东
  • 网站开发网络公恢复原来的百度
  • 网站建设沈阳公司哪家好常州百度seo排名
  • 重新安wordpress网站河南省网站
  • 做网站用asp还是php微信小程序怎么制作自己的程序
  • 佛山市网站开发域名注册信息
  • 品牌推广网站设计windows优化大师靠谱吗
  • 服务app开发公司seo的优点
  • 西安市城乡建设委员会查询网站深圳华强北新闻最新消息今天
  • 餐饮外哪个网站做推广怎么建立一个自己的网站
  • 免费发布产品网站百度推广方案怎么写
  • 做网站怎样做才有百度快照站长素材免费下载
  • 网站建设策划公司地址百度网盘在线登录
  • 当当网站开发系统说明正规接单赚佣金的平台
  • 网站出错咨询电话成都百度推广公司电话
  • 自助建站免费申请接app推广
  • 网站空间多少钱买外链网站
  • 旅游网站开发成本包括软文标题写作技巧
  • 策划公司企业简介南阳网站优化公司
  • 在线免费看1921完整版扬州seo
  • 网站系统开发团队简介百度信息流怎么收费
  • 上海网站推广多少钱网站注册流程和费用
  • 金山做企业网站长春关键词优化公司
  • 网站推广 优帮云千锋教育郑州校区