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

网站建设方式有哪些东莞网站优化费用

网站建设方式有哪些,东莞网站优化费用,建设工程规划许可证查询网站,移动端网页制作流程组件用于创建和编辑复杂的条件规则#xff0c;支持添加、删除条件和子条件#xff0c;以及选择不同的条件类型。 可实现json数据和页面显示的转换。 代码实现 #xff1a; index.vue: templatediv classallany-containerdiv classco…组件用于创建和编辑复杂的条件规则支持添加、删除条件和子条件以及选择不同的条件类型。 可实现json数据和页面显示的转换。 代码实现 index.vue: templatediv classallany-containerdiv classcontrol-barel-select v-modelpipe.condition stylewidth: 200px; margin-right: 16px; :disableddisabledel-option label满足以下所有条件 valueall/el-option label满足以下任一条件 valueany/el-option label不包含以下条件 valuenot//el-selectel-button v-if!disabled typeprimary clickaddCondition(condition)添加条件/el-buttonel-button v-if!disabled typesuccess clickaddCondition(all_any)添加子条件/el-buttonel-button v-if !disabled typedanger :iconDelete circle clickdelSelf//divdiv classconditions-wrapper!-- 侧边显示条 --div :classconditions-wrapper-${pipe.condition}/divdiv classconditions-wrapper--conditionsdiv v-for(child, idx) in pipe.children :keyidx classconditions-wrapper--conditionbiz-rule-all-any v-ifchild.type all_any :pipechild :attrOptionsattrOptions:disableddisabled delRulehandleDelRule(idx,child)/biz-rule-condition v-else-ifchild.type condition :pipechild :attrOptionsattrOptions:disableddisabled delRulehandleDelCondition(idx,child)//div/div/div/div /templatescript setup import {ref, watch} from vue; import BizRuleCondition from ./BizRuleCondition.vue; import {Delete} from element-plus/icons-vue; import {deepClone} from /utils.js;defineOptions({name: BizRuleAllAny })const emit defineEmits([delRule]);const props defineProps({pipe: {type: Object,default: () ({type: all_any,condition: all,children: [],})},attrOptions: {type: Array,default: () {return []}},disabled: {type: Boolean,default: false} }); const pipe ref(props.pipe);function addCondition(type) {if (type all_any) {pipe.value.children.push({type: all_any,condition: all,children: [],});} else if (type condition) {pipe.value.children.push({type: condition,name: ,operator: eq,value: ,val_type: string,});} }function delSelf() {emit(delRule) }// 删除条件组 const handleDelRule (idx,child) {pipe.value.children.splice(idx, 1); }// 删除条件组中的子数据 const handleDelCondition (idx,child) {pipe.value.children.splice(idx, 1); }/scriptstyle scoped langscss.allany-container {.control-bar {display: flex;flex-direction: row;}.conditions-wrapper {display: flex;flex-direction: row;}.conditions-wrapper-all {width: 4px;margin: 5px 20px 0;border-radius: 5px;transition: background-color 400ms;background-color: #67C23A;:hover {background-color: #529b2e;}}.conditions-wrapper-any {width: 4px;margin: 5px 20px 0;border-radius: 5px;transition: background-color 400ms;background-color: #E6A23C;:hover {background-color: #b88230;}}.conditions-wrapper-not {width: 4px;margin: 5px 20px 0;border-radius: 5px;transition: background-color 400ms;background-color: rgb(245, 245, 245);:hover {background-color: rgb(144, 147, 153);}}.conditions-wrapper--conditions {display: flex;flex-direction: column;}.conditions-wrapper--condition {padding-top: 15px;} }/styleBizRuleCondition.vue: templatediv classbizrulecondition-containerel-select v-modelpipe.name placeholder字段名称 stylewidth: 150px; margin-right: 16px; clearable :disableddisabledel-option v-foritem in attrOptions :keyitem.value :labelitem.label :valueitem.value//el-selectel-select v-modelpipe.operator stylewidth: 90px; margin-right: 16px; :disableddisabledel-option label valueeq/el-option label! valueneq/el-option label valuelt/el-option label valuegt/el-option label valuelte/el-option label valuegte/el-option labelin valuein/el-option labelnot in valuenot_in//el-selectel-badge:valuepipe.val_type string ? 字符串 : 数字:typepipe.val_type string ? info : successclick.nativeswitchVarType($event, pipe)stylemargin-right: 50px;:disableddisabledel-inputv-modelpipe.valueplaceholder字段值stylewidth: 150px;clearable:disableddisabled//el-badgeel-button typedanger :iconDelete circle clickdelSelf :disableddisabled//div /templatescript setup import {ref, defineProps, watch} from vue; import {Delete} from element-plus/icons-vue; import {deepClone} from /utils.js;const emit defineEmits([delRule]);const props defineProps({pipe: Object,attrOptions:Array,disabled:Boolean }); const pipe ref({});watch(() props.pipe, (newData) {if (!newData) returnpipe.value deepClone(newData) }, {deep: true,immediate: true })function switchVarType(e, kv) {if (String(e.target.tagName).toUpperCase() SUP) {kv.val_type kv.val_type number ? string : number;} }function delSelf() {emit(delRule) } /scriptstyle langscss scoped .bizrulecondition-container {display: flex;flex-direction: row;.el-badge__content {transition: 400ms;user-select: none;}.el-badge__content:hover {cursor: pointer;} } /styleBizRuleAdapter.js: templatediv classbizrulecondition-containerel-select v-modelpipe.name placeholder字段名称 stylewidth: 150px; margin-right: 16px; clearable :disableddisabledel-option v-foritem in attrOptions :keyitem.value :labelitem.label :valueitem.value//el-selectel-select v-modelpipe.operator stylewidth: 90px; margin-right: 16px; :disableddisabledel-option label valueeq/el-option label! valueneq/el-option label valuelt/el-option label valuegt/el-option label valuelte/el-option label valuegte/el-option labelin valuein/el-option labelnot in valuenot_in//el-selectel-badge:valuepipe.val_type string ? 字符串 : 数字:typepipe.val_type string ? info : successclick.nativeswitchVarType($event, pipe)stylemargin-right: 50px;:disableddisabledel-inputv-modelpipe.valueplaceholder字段值stylewidth: 150px;clearable:disableddisabled//el-badgeel-button typedanger :iconDelete circle clickdelSelf :disableddisabled//div /templatescript setup import {ref, defineProps, watch} from vue; import {Delete} from element-plus/icons-vue; import {deepClone} from /utils.js;const emit defineEmits([delRule]);const props defineProps({pipe: Object,attrOptions:Array,disabled:Boolean }); const pipe ref({});watch(() props.pipe, (newData) {if (!newData) returnpipe.value deepClone(newData) }, {deep: true,immediate: true })function switchVarType(e, kv) {if (String(e.target.tagName).toUpperCase() SUP) {kv.val_type kv.val_type number ? string : number;} }function delSelf() {emit(delRule) } /scriptstyle langscss scoped .bizrulecondition-container {display: flex;flex-direction: row;.el-badge__content {transition: 400ms;user-select: none;}.el-badge__content:hover {cursor: pointer;} } /style
http://www.hkea.cn/news/14575934/

相关文章:

  • 合肥专业做网站的公司有哪些购物网站排名 2019
  • 花钱人做的网站做好后算谁的聊天软件开发流程
  • 做电影网站犯法吗企业网站的开发公司
  • 做网站网页需要什么软件从化手机网站建设
  • 查看网站架构网站权重查询接口
  • 物流行业网站建设方案wap网页制作教程
  • 几种语言的网站如何做wordpress 摘要 回车
  • 企业可以做哪些网站有哪些内容吗坦桑尼亚网站域名后缀
  • 顺德网站建设7starryphp网站上传教程
  • 网站空间没有续费做影评的网站模版
  • 利用js做网站上海网页制作服务商
  • 福州建网站哪家好wordpress花园视频教程
  • 代做淘宝联盟网站网站流程
  • 南沙做网站公司网站页面设计怎么收费
  • 做外贸商城网站万网做网站吗
  • 镇江网站建设找思创佛山网站建设专家评价
  • 网站建设用电脑深圳别墅装修设计公司报价
  • ps怎么做网站界面设计服装设计网上自学课程
  • 互联网站安全古网站典模板
  • 宣城网站 建设青州网站建设qzfuwu
  • wordpress跳转手机站seo优化在线诊断
  • 注册域名查询网站官网大连大连建设工程信息网站
  • 网站怎么分类wordpress侧栏登陆
  • 孝昌县建设局网站数据网站建设哪家好
  • 做兼职有哪些网站销售管理系统实验报告
  • 公司网站的维护安徽圣力建设集团网站
  • 网站建设方案书备案提供温州手机网站制作哪家好
  • 南阳建设网站制作某品牌休闲零食网站建设规划书
  • 上海建设工程招投标在什么网站wordpress主题添加logo图片
  • 网站建设学习网页设计尺寸1440