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

网站权重难做网站开发工程师有证书考试吗

网站权重难做,网站开发工程师有证书考试吗,怎么申请自己的网站网址,公司注册网上核名多久树状数据展示#xff0c;可以点击item 将点击数据给父组件 #xff0c;满足自己需求。不喜勿喷#xff0c;很简单可以根据自己需求改哈#xff0c;不要问#xff0c;点赞收藏就好。其实可以和上一篇文章uni app 自定义 带popup弹窗的input组件-CSDN博客结合使用#xff…树状数据展示可以点击item 将点击数据给父组件  满足自己需求。不喜勿喷很简单可以根据自己需求改哈不要问点赞收藏就好。其实可以和上一篇文章uni app 自定义 带popup弹窗的input组件-CSDN博客结合使用做成输入框带popup展示树状结构数据 templateviewview v-for(node, index) in treeData :keynode.idview v-if!node.ishowview v-ifuselastview v-ifnode.children.length 0view :stylemargin-left:(zjflag*3032)rpx; classitem_name_eftap.stop.preventitem_click :data-setnode :idindexviewtext v-ifnode.children:stylecolor:colors[zjflag];margin-right:10rpx{{title[zjflag]}}/text{{ node.name }}/viewtext stylemargin-left: 32rpx;color:#f00 v-ifnode.childrennode.children.length 0tap.stop.preventopen_item(index){{image[node.isopen?0:1]}}/text/view/viewview v-elseview :stylemargin-left:(zjflag*3032)rpx; classitem_nametap.stop.preventclickitem_click :data-setnode :idindexviewtext v-ifnode.children:stylecolor:colors[zjflag];margin-right:10rpx{{title[zjflag]}}/text{{ node.name}}/viewtext stylemargin-left: 32rpx;color:#f00 v-ifnode.childrennode.children.length 0tap.stop.preventopen_item(index){{image[node.isopen?0:1]}}/text/view/view/viewview v-elseview :stylemargin-left:(zjflag*3032)rpx; classitem_name tap.stop.preventitem_click:data-setnode :idindexviewtext v-ifnode.children:stylecolor:colors[zjflag];margin-right:10rpx{{title[zjflag]}}/text{{ node.name }}/viewtext stylemargin-left: 32rpx;color:#f00 v-ifnode.childrennode.children.length 0tap.stop.preventopen_item(index){{image[node.isopen?0:1]}}/text/view/view/viewview v-ifnode.isopenTreeData v-ifnode.children node.children.length 0 :tree-datanode.childrencallBackmycallback :uselastuselast :zjflagzjflag1 //view/view/view /templatescriptimport TreeData from ./TreeData.vue;export default {components: {TreeData},name: TreeData,props: {treeData: {type: Array,required: true,},uselast: {type: Boolean,default: false},callback: {type: String,default: },showkey: {type: String,default: },zjflag: {type: Number,default: 0}},data() {return {title: [①, ②, ③, ④, ⑤, ⑥, ⑦, ⑧, ⑨, ⑩],// image: [, ]image: [关, 开],colors: [#ff0, #f00, #00f, #0ff, #f0f, #0f0],}},methods: {item_click: function(e) {// console.log(item_click, JSON.stringify(item.currentTarget.dataset.set))let id e.currentTarget.idlet item e.currentTarget.dataset.setif (this.uselast) {if (item.children.length 0) {this.$emit(callBack, {mydetail: item});} else {this.treeData[id].isopen !this.treeData[id].isopen}} else {this.$emit(callBack, {mydetail: item});}// if (item.isopen) {// this.treeData[id].isopen false// } else {// this.treeData[id].isopen true// }this.$forceUpdate()},open_item: function(id) {this.treeData[id].isopen !this.treeData[id].isopenthis.$forceUpdate()},mycallback: function(item) {this.$emit(callBack, {mydetail: item});}},}; /scriptstyle langscss scopedfunction tovmin($rpx) {//$rpx为需要转换的字号return #{$rpx * 100 / 750}vmin;}.item_name {display: flex;justify-content: space-between;font-size: 28;padding-top: 5rpx;padding-bottom: 5rpx;flex: 1;min-height: tovmin(80);align-items: center;text-align: left;margin-right: tovmin(64);color: #333;font-weight: 600;overflow-y: auto;overflow-x: scroll;border-bottom: solid #efefef 2rpx;white-space: normal;word-break: break-all;word-wrap: break-word;}.item_name_ef {font-size: 28;padding-top: 5rpx;padding-bottom: 5rpx;flex: 1;min-height: tovmin(80);display: flex;justify-content: space-between;align-items: center;text-align: left;margin-right: tovmin(64);color: #999;font-weight: 600;overflow-y: auto;overflow-x: scroll;border-bottom: solid #efefef 2rpx;white-space: normal;word-break: break-all;word-wrap: break-word;} /style 讲一下  treeData 树状数据 uselast  只能使用末级 showkey  列表要展示的字段 zjflag        树状结构第几层默认0开始 使用  在父组件 引用组件 import TreeNode from ./TreeNode.vue; components: {                          TreeNode         }, tree-node :tree-datatreeData uselasttrue callBacktree_node_back/tree-node treeData: [{                         id: 1,                         name: 节点1,                         ishow: false,                         isopen: true,                         children: [{                                 id: 2,                                 name: 子1-节点1,                                 ishow: false,                                 isopen: true,                                 children: []                             },                             {                                 id: 3,                                 name: 子2-节点1,                                 ishow: false,                                 isopen: true,                                 children: [{                                     id: 4,                                     name: 孙1-子2-节点1,                                     ishow: false,                                     isopen: true,                                     children: []                                 }]                             },                         ],                     },                     {                         id: 5,                         name: 节点2,                         ishow: false,                         isopen: true,                         children: [{                                 id: 6,                                 name: 子1-节点2,                                 ishow: false,                                 isopen: true,                                 children: [{                                     id: 8,                                     name: 孙1-子1-节点2,                                     ishow: false,                                     isopen: true,                                     children: [{                                         id: 8,                                         name: 重1-孙1-子1-节点2,                                         ishow: false,                                         isopen: true,                                         children: [{                                             id: 9,                                             name: 曾1-重1-孙1-子1-节点2,                                             ishow: false,                                             isopen: true,                                             children: [{                                                 id: 9,                                                 name: 僧1-曾1-重1-孙1-子1-节点2,                                                 ishow: false,                                                 isopen: true,                                                 children: []                                             }]                                         }]                                     }]                                 }]                             },                             {                                 id: 7,                                 name: 子2-节点2,                                 ishow: false,                                 isopen: true,                                 children: [{                                     id: 8,                                     name: 孙1-子2-节点2,                                     ishow: false,                                     isopen: true,                                     children: [{                                         id: 8,                                         name: 重1-孙1-子2-节点2,                                         ishow: false,                                         isopen: true,                                         children: [{                                             id: 9,                                             name: 曾1-重1-孙1-子2-节点2,                                             ishow: false,                                             isopen: true,                                             children: [{                                                 id: 9,                                                 name: 僧1-曾1-重1-孙1-子2-节点2,                                                 ishow: false,                                                 isopen: true,                                                 children: []                                             }]                                         }]                                     }]                                 }]                             },                         ],                     }, ], tree_node_back: function(e) {                 if (e.mydetail) {                     this.tree_node_back(e.mydetail) } else {                     console.log(tree_node_back222, JSON.stringify(e))                 } }, 注意  treedata 中  isshow 是翻着的 false 展示  true 隐藏  isopen 是正常  false 关闭  true 展开
http://www.hkea.cn/news/14528795/

相关文章:

  • 广东网站建设微信网站定制网页游戏排行榜前十名网络游戏这you
  • 重庆企业网站常州网站设计
  • 有没有免费的微网站线上注册公司入口
  • 密云seo排名优化培训网站排名优化是怎么做的
  • 做sgs认证的公司网站做网站 模板
  • 国外网站设计 网址南宁电商网络推广
  • 威海西郊建设集团网站中国核工业二三建设有限公司连云港项目部
  • 动态倒计时网站模板广州移动 网站建设
  • 免费的企业网站模板门户网站制作定做
  • 如何做h5商城网站中国建筑网官网app
  • 网站建设上传视频教程wordpress 网站播放器
  • 购物商城外贸网站app推广拉新渠道
  • 网站建设微信公众号小程序app渭南住建网
  • 网站提交 入口学历提升快速拿证
  • 电商网站新闻怎么做网络营销与推广策划方案
  • 网站建设的目标与期望wordpress 附件下载
  • 快速模板建站工具杭州做网站价格
  • 道县找人做网站网站开发公司属于什么行业
  • 东莞建设工程造价管理网站域名主机基地
  • 地方网站建设鞍山兼职吧
  • 做网站服务器的配置四川省建设厅官方培训网站
  • 湘潭网站建设 磐石网络荣誉广州手机网站开发报价
  • js网站页面效果自己个人的网站怎么设计
  • 建设银行城东支行网站个人做网站下载网上图可以吗
  • 建网站有报价单吗学校网站源码php
  • 建设厅注册中心网站首页女孩学电子商务专业好就业吗
  • 做网站就上房山华网天下安徽索凯特建设工程有限公司网站
  • 深圳网站设计张兵铁路建设网站多少
  • 杭州市建设工程造价管理协会网站头条推广平台有哪些
  • 花店商城网站设计重庆行业平台