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

南宁网站seo公司哪家好网易企业邮箱怎么申请

南宁网站seo公司哪家好,网易企业邮箱怎么申请,网站建设使用软件,怎样在手机上无货源开店第025个 查看专栏目录: VUE ------ element UI 专栏目标 在vue和element UI联合技术栈的操控下#xff0c;本专栏提供行之有效的源代码示例和信息点介绍#xff0c;做到灵活运用。 #xff08;1#xff09;提供vue2的一些基本操作#xff1a;安装、引用#xff0c;模板使… 第025个 查看专栏目录: VUE ------ element UI 专栏目标 在vue和element UI联合技术栈的操控下本专栏提供行之有效的源代码示例和信息点介绍做到灵活运用。 1提供vue2的一些基本操作安装、引用模板使用computedwatch生命周期(beforeCreatecreated,beforeMountmounted, beforeUpdateupdated, beforeDestroydestroyedactivateddeactivatederrorCapturedcomponents)、 $root , $parent , $children , $slots , $refs , props, $emit , eventbus ,provide / inject, Vue.observable, $listeners, $attrs, $nextTick , v-for, v-if, v-else,v-else-ifv-onv-prev-cloakv-oncev-model v-html, v-text, keep-aliveslot-scope filters, v-bind.stop, .native, directivesmixinrender国际化Vue Router等 2提供element UI的经典操作安装引用国际化el-rowel-colel-buttonel-linkel-radioel-checkbox el-inputel-select, el-cascader, el-input-number, el-switch,el-slider, el-time-picker, el-date-picker, el-upload, el-rate, el-color-picker, el-transfer, el-form, el-table, el-tree, el-pagination,el-badge,el-avatar,el-skeleton, el-empty, el-descriptions, el-result, el-statistic, el-alert, v-loading, $message, $alert, $prompt, $confirm , $notify, el-breadcrumb, el-page-header,el-tabs ,el-dropdown,el-steps,el-dialog, el-tooltip, el-popover, el-popconfirm, el-card, el-carousel, el-collapse, el-timeline, el-divider, el-calendar, el-image, el-backtopv-infinite-scroll el-drawer等 本文章目录 专栏目标需求背景示例效果示例源代码父组件共99行子组件 child.vue共37行 理论介绍 需求背景 这是一个父子组件之间的控制方法父组件可以通过‘ c h i l d r e n ’ 或 ′ children’或 children’或′refs’来控制子组件中的方法子组件可以通过$parent或 $emit来控制子组件中的方法 示例效果 示例源代码 父组件共99行 /* * Author: 大剑师兰特xiaozhuanlan还是大剑师兰特CSDN * 此源代码版权归大剑师兰特所有可供学习或商业项目中借鉴未经授权不得重复地发表到博客、论坛问答git等公共空间或网站中。 * Email: 2909222303qq.com * weixin: gis-dajianshi * First published in CSDN * First published time: 2022-09-04 */templatediv classcontainerdiv classtoph3父子方法控制$emit,$refs,$parent,$children /h3div classauthor大剑师兰特, 还是大剑师兰特gis-dajianshi/div/divel-button sizemini typeprimary clickshowc1() refs子组件控制1 /el-buttonel-button sizemini typeprimary clickshowc2() children子组件控制2 /el-buttonChildcom refmychild showPshowP2 /div v-ifisParent2这是用$emit方法显示的父组件信息 parent2/divdiv v-ifisParent1div classoneLine v-for(item,index) in listData :keyindexdiv classfl20img :srcitem.thumbnail_pic_s alt/divdiv classfl20 {{item.date}} /divdiv classfl20{{item.title}} /div/div/div/div /templatescriptimport Childcom from /components/child.vueexport default {data() {return {listData:[],isParent1:false,isParent2:false,}},components: {Childcom},mounted() {this.getdata()},methods: {showc1(){this.$refs.mychild.showChild1()},showc2(){console.log(this.$children)this.$children[2].showChild2()},showP1(){this.isParent1true;},showP2(){this.isParent2true;},getdata() {let url /listdatathis.$request(url, {}, GET).then((res) {this.listData res.data.dataconsole.log(this.listData)})},}} /script style scoped.container {width: 1000px;height: 540px;margin: 50px auto;border: 1px solid orange;}.top{margin:0 auto 30px; padding:10px 0;background-color: aquamarine;}.oneLine {width: 100%;height: 50px;line-height: 50px;background: #eee;margin-top: 10px;overflow: hidden;cursor: pointer;}.oneLine .fl20{ float: left; padding:0 10px;min-width: 150px;} /style 子组件 child.vue共37行 templatediv div v-ifis1{{text1}}/divdiv v-ifis2{{text2}}/div hr el-button clickshowparent1() typedanger sizemini 开启父组件内容1/el-button el-button clickshowparent2() typedanger sizemini 开启父组件内容2/el-button /div /templatescriptexport default{data() { return {is1:false,is2:false,text1:通过第一种方法显示出来,text2:通过第二种方法显示出来,}},methods:{showChild1(){this.is1true;},showChild2(){this.is2true;},showparent1(){this.$parent.showP1();},showparent2(){this.$emit(showP)}, },}/script 理论介绍 父组件访问子组件使用this.$children或 $refs this.$children得到是一个子组件数组它包含所有子组件对象。 子组件访问父组件使用this.$parent , this.$emit 子组件访问根Vue实例使用this.$root
http://www.dnsts.com.cn/news/116465.html

相关文章:

  • 有区域名和主机怎么做网站有哪些网站做外贸的
  • 昆明网站seo技术厂家富阳市建设局网站
  • 医院网站管理办法回收那个网站做推广好
  • 虚拟商品购物网站源码免费手机网站制作app
  • 返利网 网站建设费用佛山网红书店
  • 网站发布 图片看不到做设计有必要买素材网站会员
  • 在公司平台做网站竞拍wordpress怎样添加版权名
  • 建筑工程网上申请质量安全监督随州网站seo
  • xd软件可做网站吗微信公众平台导航 wordpress模版
  • 评估企业网站建设wordpress转换为html5
  • 重庆技术网站建设欧洲卡一卡2卡3卡4卡
  • 制作一个网站需要什么上海游戏公司排名
  • 建设牌官方网站现在最火的推广平台
  • 做简单网站用什么软件有哪些长沙企业建
  • 表白网站在线生成免费app推广运营是做什么的
  • 360免费建站怎么做安卓市场app下载
  • 提供邯郸wap网站建设故乡网站开发的意义
  • 网站建设费用 开办费软件开发是什么职业
  • 爱情动做网站推荐郑州网站建设喝彩科技
  • 网站开发调查问卷怎么做微信网站
  • 贵阳酒店网站建设前端seo优化
  • 珠海网站建设的公司哪家好页面简洁的导航网站
  • 购物网站建设的目的上海科技网络公司
  • 电商网页设计网站二维码链接生成器在线
  • 美橙互联建站网站被截止网络运营商
  • 有没有专门做设计的网站cn域名做犯法网站
  • 安庆网站建设推荐安徽秒搜科技平台推广精准客源
  • 我做的网站有时打开很慢什么原因呢珍爱网建设网站的目的
  • 返利网一类的网站怎么做网站类网站怎么做
  • 紫搜科技建站wordpress安装到网站