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

网站建设最新模板wordpress 修改代码

网站建设最新模板,wordpress 修改代码,百度电话查询,上海网站建设哪家目录 一、简单介绍 二、安装 1、下载 2、引入 三、布局 1、简介 2、使用 3、好处 四、布局容器 1、常见排布 2、调整样式 五、按钮 1、简单引用 2、改变样式 3、加载中效果 六、表格 1、简单使用 2、样式修改 七、对话框 1、简单使用 2、添加自定义内容 3、…目录 一、简单介绍 二、安装 1、下载 2、引入 三、布局 1、简介 2、使用 3、好处 四、布局容器 1、常见排布 2、调整样式 五、按钮 1、简单引用 2、改变样式 3、加载中效果 六、表格 1、简单使用 2、样式修改 七、对话框 1、简单使用 2、添加自定义内容 3、认识不同写法的区别 一、简单介绍 1、提供各种组件的UI内容功能现成代码 2、为了快速开发适合用于开发管理系统端学生信息管理系统、社区人口管理系统UI样式 二、安装 1、下载 进入项目终端输入 npm i element-ui -S 2、引入 在main.js文件中引入element-ui import Vue from vue import App from ./App.vue import router from ./router import store from ./store import ElementUI from element-ui; //引入 import element-ui/lib/theme-chalk/index.css; //引入Vue.config.productionTip falseVue.use(ElementUI); //使用new Vue({router,store,render: h h(App) }).$mount(#app)三、布局 1、简介通过基础的 24 分栏迅速简便地创建布局【1行24列】 2、使用 1分两个12份两个8份效果如下 templatediv classhomeel-rowel-col :span12div classgrid-content bg-purple/div/el-colel-col :span12div classgrid-content bg-purple-light/div/el-col/el-rowel-rowel-col :span8div classgrid-content bg-purple/div/el-colel-col :span8div classgrid-content bg-purple-light/div/el-col /el-row/div /templatescript // is an alias to /srcexport default {name: HomeView,components: {}, }; /scriptstyle langscss scoped.grid-content {border-radius: 4px;min-height: 36px;}.bg-purple {background: #d3dce6;}.bg-purple-light {background: #e5e9f2;} /style 2自定义效果 给每行加上margin: 20px; templatediv classhomeel-rowel-col :span12div classgrid-content bg-purple/div/el-colel-col :span12div classgrid-content bg-purple-light/div/el-col/el-rowel-row :gutter20el-col :span8div classgrid-content bg-purple/div/el-colel-col :span8div classgrid-content bg-purple-light/div/el-colel-col :span8div classgrid-content bg-purple/div/el-col/el-row/div /templatescript // is an alias to /srcexport default {name: HomeView,components: {}, }; /scriptstyle langscss scoped .grid-content {border-radius: 4px;min-height: 36px; } .bg-purple {background: #d3dce6; } .bg-purple-light {background: #e5e9f2; } .el-row {// 注意观察文档确定好选择器这里是.el-row而不是el-rowmargin: 20px; } /style 第二行加上属性gutter: 20会自动给该行加padding-left和padding-right各10px 3、好处响应式根据网页的大小自动调整容器大小 四、布局容器 1、常见排布头部、侧边、中间栏、底部 templatediv classaboutel-containerel-headerHeader/el-headerel-containerel-aside width200pxAside/el-asideel-containerel-mainMain/el-mainel-footerFooter/el-footer/el-container/el-container /el-container/div /templatestyle langscss scoped.el-header, .el-footer {background-color: #B3C0D1;color: #333;text-align: center;line-height: 60px;}.el-aside {background-color: #D3DCE6;color: #333;text-align: center;line-height: 200px;}.el-main {background-color: #E9EEF3;color: #333;text-align: center;line-height: 160px;} /style 2、调整样式 实现正好头部中间底部充满一个窗口 templatediv classaboutel-containerel-headerHeader/el-headerel-containerel-aside width200pxAside/el-asideel-containerel-mainMain/el-mainel-footerFooter/el-footer/el-container/el-container /el-container/div /templatestyle langscss scoped.el-header, .el-footer {background-color: #B3C0D1;color: #333;text-align: center;line-height: 60px;}.el-aside {background-color: #D3DCE6;color: #333;text-align: center;line-height: 200px;}.el-main {background-color: #E9EEF3;color: #333;text-align: center;line-height: 160px;}.el-container{//选择器包括MainAsideFooterheight: calc(100vh - 60px);//calc()自动计算100vh正好浏览器窗口大小减去60px头部高度} /style 五、按钮 1、简单引用 templatediv classaboutel-containerel-headerHeader/el-headerel-containerel-aside width200pxAside/el-asideel-containerel-main!-- 按钮 --el-rowel-button默认按钮/el-buttonel-button typeprimary主要按钮/el-buttonel-button typesuccess成功按钮/el-buttonel-button typeinfo信息按钮/el-buttonel-button typewarning警告按钮/el-buttonel-button typedanger危险按钮/el-button/el-rowel-rowel-button iconel-icon-search circle/el-buttonel-button typeprimary iconel-icon-edit circle/el-buttonel-button typesuccess iconel-icon-check circle/el-buttonel-button typeinfo iconel-icon-message circle/el-buttonel-buttontypewarningiconel-icon-star-offcircle/el-buttonel-button typedanger iconel-icon-delete circle/el-button/el-row/el-mainel-footerFooter/el-footer/el-container/el-container/el-container/div /templatestyle langscss scoped .el-header, .el-footer {background-color: #b3c0d1;color: #333;text-align: center; }.el-aside {background-color: #d3dce6;color: #333;text-align: center; }.el-main {background-color: #e9eef3;color: #333;text-align: center; } .el-container {height: calc(100vh - 60px); } /style2、改变样式 除去圆形换掉图标 el-button typesuccess iconel-icon-s-promotion/el-button 3、加载中效果 el-button typeprimary :loadingisClick clickbtnClick加载中/el-button methods:{btnClick(){this.isClick truesetTimeout((){this.isClick false},2000)}}, 六、表格 1、简单使用 templatediv classaboutel-containerel-headerHeader/el-headerel-containerel-aside width200pxAside/el-asideel-containerel-mainMain!-- 表格 --el-table :datatableData stylewidth: 100%el-table-column label日期 width180template slot-scopescopei classel-icon-time/ispan stylemargin-left: 10px{{ scope.row.date }}/span/template/el-table-columnel-table-column label姓名 width180template slot-scopescopeel-popover triggerhover placementtopp姓名: {{ scope.row.name }}/pp住址: {{ scope.row.address }}/pdiv slotreference classname-wrapperel-tag sizemedium{{ scope.row.name }}/el-tag/div/el-popover/template/el-table-columnel-table-column label操作template slot-scopescopeel-buttonsizeminiclickhandleEdit(scope.$index, scope.row)编辑/el-buttonel-buttonsizeminitypedangerclickhandleDelete(scope.$index, scope.row)删除/el-button/template/el-table-column/el-table/el-mainel-footerFooter/el-footer/el-container/el-container/el-container/div /templatescript export default {name: AboutView,components: {},data() {return {tableData: [{date: 2016-05-02,name: 王小虎,address: 上海市普陀区金沙江路 1518 弄}, {date: 2016-05-04,name: 王小虎,address: 上海市普陀区金沙江路 1517 弄}, {date: 2016-05-01,name: 王小虎,address: 上海市普陀区金沙江路 1519 弄}, {date: 2016-05-03,name: 王小虎,address: 上海市普陀区金沙江路 1516 弄}]};},methods: {handleEdit(index, row) {console.log(index, row);},handleDelete(index, row) {console.log(index, row);}}, }; /scriptstyle langscss scoped .el-header, .el-footer {background-color: #b3c0d1;color: #333;text-align: center; }.el-aside {background-color: #d3dce6;color: #333;text-align: center; }.el-main {background-color: #e9eef3;color: #333;text-align: center; } .el-container {height: calc(100vh - 60px); } /style2、样式修改 给表格加上斑马纹、纵向边框、数字列 templatediv classaboutel-containerel-headerHeader/el-headerel-containerel-aside width200pxAside/el-asideel-containerel-mainMain!-- 表格 --el-table :datatableData stylewidth: 100% border stripe !-- 纵向边框 斑马纹 --el-table-column typeindex width50 /el-table-column !-- 数字列 --el-table-column label日期 width180template slot-scopescopei classel-icon-time/ispan stylemargin-left: 10px{{ scope.row.date }}/span/template/el-table-columnel-table-column label姓名 width180template slot-scopescopeel-popover triggerhover placementtopp姓名: {{ scope.row.name }}/pp住址: {{ scope.row.address }}/pdiv slotreference classname-wrapperel-tag sizemedium{{ scope.row.name }}/el-tag/div/el-popover/template/el-table-columnel-table-column label操作template slot-scopescopeel-buttonsizeminiclickhandleEdit(scope.$index, scope.row)编辑/el-buttonel-buttonsizeminitypedangerclickhandleDelete(scope.$index, scope.row)删除/el-button/template/el-table-column/el-table/el-mainel-footerFooter/el-footer/el-container/el-container/el-container/div /templatescript export default {name: AboutView,components: {},data() {return {tableData: [{date: 2016-05-02,name: 王小虎,address: 上海市普陀区金沙江路 1518 弄,},{date: 2016-05-04,name: 王小虎,address: 上海市普陀区金沙江路 1517 弄,},{date: 2016-05-01,name: 王小虎,address: 上海市普陀区金沙江路 1519 弄,},{date: 2016-05-03,name: 王小虎,address: 上海市普陀区金沙江路 1516 弄,},],};},methods: {handleEdit(index, row) {console.log(index, row);},handleDelete(index, row) {console.log(index, row);},}, }; /scriptstyle langscss scoped .el-header, .el-footer {background-color: #b3c0d1;color: #333;text-align: center; }.el-aside {background-color: #d3dce6;color: #333;text-align: center; }.el-main {background-color: #e9eef3;color: #333;text-align: center; } .el-container {height: calc(100vh - 60px); } /style七、对话框 1、简单使用 点击表格编辑弹出对话框 templatediv classaboutel-containerel-headerHeader/el-headerel-containerel-aside width200pxAside/el-asideel-containerel-mainMain!-- 表格 --el-table :datatableData stylewidth: 100% border stripeel-table-column typeindex width50 /el-table-columnel-table-column label日期 width180template slot-scopescopei classel-icon-time/ispan stylemargin-left: 10px{{ scope.row.date }}/span/template/el-table-columnel-table-column label姓名 width180template slot-scopescopeel-popover triggerhover placementtopp姓名: {{ scope.row.name }}/pp住址: {{ scope.row.address }}/pdiv slotreference classname-wrapperel-tag sizemedium{{ scope.row.name }}/el-tag/div/el-popover/template/el-table-columnel-table-column label操作template slot-scopescopeel-buttonsizeminiclickhandleEdit(scope.$index, scope.row)编辑/el-buttonel-buttonsizeminitypedangerclickhandleDelete(scope.$index, scope.row)删除/el-button/template/el-table-column/el-tableel-dialog title修改时间 :visible.syncdialogFormVisibleel-form:modelnumberValidateFormrefnumberValidateFormlabel-width100pxclassdemo-ruleFormel-form-itemlabel时间propage:rules[{ required: true, message: 时间不能为空 },{ type: number, message: 时间必须为数字值 },]el-inputv-model.numbernumberValidateForm.ageautocompleteoff/el-input/el-form-itemel-form-itemel-buttontypeprimaryclicksubmitForm(numberValidateForm)提交/el-buttonel-button clickresetForm(numberValidateForm)重置/el-button/el-form-item/el-form/el-dialog/el-mainel-footerFooter/el-footer/el-container/el-container/el-container/div /templatescript export default {name: AboutView,components: {},data() {return {tableData: [{date: 2016-05-02,name: 王小虎,address: 上海市普陀区金沙江路 1518 弄,},{date: 2016-05-04,name: 王小虎,address: 上海市普陀区金沙江路 1517 弄,},{date: 2016-05-01,name: 王小虎,address: 上海市普陀区金沙江路 1519 弄,},{date: 2016-05-03,name: 王小虎,address: 上海市普陀区金沙江路 1516 弄,},],gridData: [{date: 2016-05-02,name: 王小虎,address: 上海市普陀区金沙江路 1518 弄,},{date: 2016-05-04,name: 王小虎,address: 上海市普陀区金沙江路 1518 弄,},{date: 2016-05-01,name: 王小虎,address: 上海市普陀区金沙江路 1518 弄,},{date: 2016-05-03,name: 王小虎,address: 上海市普陀区金沙江路 1518 弄,},],// 弹窗dialogTableVisible: false,dialogFormVisible: false,form: {name: ,region: ,date1: ,date2: ,delivery: false,type: [],resource: ,desc: ,},formLabelWidth: 120px,numberValidateForm: {age: ,},};},methods: {handleEdit(index, row) {console.log(index, row);this.dialogFormVisible true;},handleDelete(index, row) {console.log(index, row);},// 表单submitForm(formName) {this.$refs[formName].validate((valid) {if (valid) {alert(submit!);} else {console.log(error submit!!);return false;}});},resetForm(formName) {this.$refs[formName].resetFields();},}, }; /scriptstyle langscss scoped .el-header, .el-footer {background-color: #b3c0d1;color: #333;text-align: center; }.el-aside {background-color: #d3dce6;color: #333;text-align: center; }.el-main {background-color: #e9eef3;color: #333;text-align: center; } .el-container {height: calc(100vh - 60px); } /style2、添加自定义内容 添加单选框到对话框中注意标签需要添加的属性及变量存储要放在对话框中 el-form-item label性别 propradio :rules[{ required: true, message: 性别不能为空 }]el-radio v-modelnumberValidateForm.radio label1男/el-radioel-radio v-modelnumberValidateForm.radio label2女/el-radio /el-form-item numberValidateForm: {age: ,radio: ,//属性值绑定到对话框中 }, 3、认识不同写法的区别 el-table-column propname label姓名 width180 /el-table-column label姓名 width180template slot-scopescopeel-popover triggerhover placementtopp姓名: {{ scope.row.name }}/pp住址: {{ scope.row.address }}/pdiv slotreference classname-wrapperel-tag sizemedium{{ scope.row.name }}/el-tag/div/el-popover/template /el-table-column 1popover弹出框 2template上的属性slot-scopescope是作用域插槽关于作用域插槽详细学习小伙伴们可以参考小编下面这篇文章Vue基础语法五_申小兮IU的博客-CSDN博客插槽的基础使用具名插槽作用域插槽子组件向父组件通信总结https://blog.csdn.net/qq_51478745/article/details/127650324
文章转载自:
http://www.morning.jfgmx.cn.gov.cn.jfgmx.cn
http://www.morning.brps.cn.gov.cn.brps.cn
http://www.morning.clqpj.cn.gov.cn.clqpj.cn
http://www.morning.qypjk.cn.gov.cn.qypjk.cn
http://www.morning.zknxh.cn.gov.cn.zknxh.cn
http://www.morning.wjxtq.cn.gov.cn.wjxtq.cn
http://www.morning.nlysd.cn.gov.cn.nlysd.cn
http://www.morning.mkbc.cn.gov.cn.mkbc.cn
http://www.morning.zrdqz.cn.gov.cn.zrdqz.cn
http://www.morning.cxnyg.cn.gov.cn.cxnyg.cn
http://www.morning.bgygx.cn.gov.cn.bgygx.cn
http://www.morning.xbyyd.cn.gov.cn.xbyyd.cn
http://www.morning.lpmlx.cn.gov.cn.lpmlx.cn
http://www.morning.bmssj.cn.gov.cn.bmssj.cn
http://www.morning.qnzgr.cn.gov.cn.qnzgr.cn
http://www.morning.xbwqg.cn.gov.cn.xbwqg.cn
http://www.morning.blbys.cn.gov.cn.blbys.cn
http://www.morning.drbd.cn.gov.cn.drbd.cn
http://www.morning.rfxg.cn.gov.cn.rfxg.cn
http://www.morning.fxwkl.cn.gov.cn.fxwkl.cn
http://www.morning.gwmjy.cn.gov.cn.gwmjy.cn
http://www.morning.rjrnx.cn.gov.cn.rjrnx.cn
http://www.morning.ryfq.cn.gov.cn.ryfq.cn
http://www.morning.wynnb.cn.gov.cn.wynnb.cn
http://www.morning.bzbq.cn.gov.cn.bzbq.cn
http://www.morning.gcbhh.cn.gov.cn.gcbhh.cn
http://www.morning.mjdbd.cn.gov.cn.mjdbd.cn
http://www.morning.gsjfn.cn.gov.cn.gsjfn.cn
http://www.morning.rmtxp.cn.gov.cn.rmtxp.cn
http://www.morning.ckrnq.cn.gov.cn.ckrnq.cn
http://www.morning.kbfzp.cn.gov.cn.kbfzp.cn
http://www.morning.zqbrd.cn.gov.cn.zqbrd.cn
http://www.morning.xnwjt.cn.gov.cn.xnwjt.cn
http://www.morning.qqbw.cn.gov.cn.qqbw.cn
http://www.morning.fwmln.cn.gov.cn.fwmln.cn
http://www.morning.tzzfy.cn.gov.cn.tzzfy.cn
http://www.morning.fslrx.cn.gov.cn.fslrx.cn
http://www.morning.dodoking.cn.gov.cn.dodoking.cn
http://www.morning.jfxth.cn.gov.cn.jfxth.cn
http://www.morning.pzrrq.cn.gov.cn.pzrrq.cn
http://www.morning.lxfdh.cn.gov.cn.lxfdh.cn
http://www.morning.zcwzl.cn.gov.cn.zcwzl.cn
http://www.morning.kzqpn.cn.gov.cn.kzqpn.cn
http://www.morning.dmnqh.cn.gov.cn.dmnqh.cn
http://www.morning.1000sh.com.gov.cn.1000sh.com
http://www.morning.pypqf.cn.gov.cn.pypqf.cn
http://www.morning.xxhc.cn.gov.cn.xxhc.cn
http://www.morning.cmdfh.cn.gov.cn.cmdfh.cn
http://www.morning.xbmwm.cn.gov.cn.xbmwm.cn
http://www.morning.xgzwj.cn.gov.cn.xgzwj.cn
http://www.morning.pqqhl.cn.gov.cn.pqqhl.cn
http://www.morning.ygpdm.cn.gov.cn.ygpdm.cn
http://www.morning.mdjtk.cn.gov.cn.mdjtk.cn
http://www.morning.lkthj.cn.gov.cn.lkthj.cn
http://www.morning.sjbpg.cn.gov.cn.sjbpg.cn
http://www.morning.clkjn.cn.gov.cn.clkjn.cn
http://www.morning.ylqb8.cn.gov.cn.ylqb8.cn
http://www.morning.tdqhs.cn.gov.cn.tdqhs.cn
http://www.morning.whnps.cn.gov.cn.whnps.cn
http://www.morning.lqtwb.cn.gov.cn.lqtwb.cn
http://www.morning.gtkyr.cn.gov.cn.gtkyr.cn
http://www.morning.nmkfy.cn.gov.cn.nmkfy.cn
http://www.morning.tgwfn.cn.gov.cn.tgwfn.cn
http://www.morning.kwcnf.cn.gov.cn.kwcnf.cn
http://www.morning.wnbqy.cn.gov.cn.wnbqy.cn
http://www.morning.hlshn.cn.gov.cn.hlshn.cn
http://www.morning.ykrkb.cn.gov.cn.ykrkb.cn
http://www.morning.tgyqq.cn.gov.cn.tgyqq.cn
http://www.morning.qdxkn.cn.gov.cn.qdxkn.cn
http://www.morning.lynb.cn.gov.cn.lynb.cn
http://www.morning.lsfbb.cn.gov.cn.lsfbb.cn
http://www.morning.caswellintl.com.gov.cn.caswellintl.com
http://www.morning.nwwzc.cn.gov.cn.nwwzc.cn
http://www.morning.xbckm.cn.gov.cn.xbckm.cn
http://www.morning.rqsr.cn.gov.cn.rqsr.cn
http://www.morning.hqxyt.cn.gov.cn.hqxyt.cn
http://www.morning.tkgxg.cn.gov.cn.tkgxg.cn
http://www.morning.kljhr.cn.gov.cn.kljhr.cn
http://www.morning.qbtkg.cn.gov.cn.qbtkg.cn
http://www.morning.schwr.cn.gov.cn.schwr.cn
http://www.tj-hxxt.cn/news/239099.html

相关文章:

  • 网站建设公司(推荐乐云践新)有高级感的公司名字
  • 如何看网站开发语言自学网站查分数
  • 吉林律师网站建设多少钱新闻类网站设计
  • 做外贸好的网站网店代运营公司哪家强
  • 知名高端网站设计企业网站开发频道构架
  • 十大电子商务网站制作网站建设规划书的结构为
  • 做网站去哪里找广告主提高wordpress访问速度
  • 分析可口可乐网站建设的目的怎么开网店流程
  • 网站建设平台合同模板下载kaalus wordpress
  • 网站刷链接怎么做的网站的建设需要虚拟机吗
  • 大访问量的网站怎么做优化做网站资料
  • 国际要闻军事新闻百度排名优化咨询电话
  • 5g对网站建设的影响建程网官网平台
  • 网站搜索排名和什么有关系网站系统cms
  • 大连网站制作机构网页程序开发
  • 夹江网站建设能做外链的产品网站
  • 地产平台网站模板上海网站建设服务商
  • 标志空间网站连云港网站搜索优化
  • 网站建设先做后付费网络培训的好处
  • 河北廊坊seo网站建设网站优化苏州大学网站建设目标
  • 免费一键建站官网大全微信营销的10种方法技巧
  • 网站设计在线crm系统wordpress同步到豆瓣
  • 郑州网站建设套餐网站建设电脑大多怎么办
  • 阿里能帮做网站吗征二级网站建设意见 通知
  • 合肥商城网站开发上海建筑建材业招标公告
  • 怀集建设房管部门网站长沙优化官网推广
  • 企业网站建设费未付款怎样挂账做牛仔裤的小视频网站
  • 深圳南山做网站的公司调查问卷在哪个网站做
  • php网站超市推广网站哪家做的好
  • 浦口区网站建设技术指导成都住建局官网投诉