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

1核1g服务器做网站网页设计成品源代码

1核1g服务器做网站,网页设计成品源代码,wordpress文章tags,海南seo关键词在做后台的时候需要用到地区级联选择器 然后就自己封装了一个 其中 组件页面中 export default {props: { //使用value接收引用页面的绑定值value: [String]},watch: {value: {handler(val) {//val 以及 this.value 都可以获取到引用页面的绑定值},deep: true,immediate: tr…在做后台的时候需要用到地区级联选择器 然后就自己封装了一个 其中 组件页面中 export default {props: { //使用value接收引用页面的绑定值value: [String]},watch: {value: {handler(val) {//val 以及 this.value 都可以获取到引用页面的绑定值},deep: true,immediate: true}}, } //this.$emit(input, this.changeForm()); 这句代码是给引用页面绑定值返回内容完整地区json文件在网盘中 链接https://pan.quark.cn/s/0b70e60fd377 提取码4sSe 下面是完整代码 引用页面中 select-address v-modelform.applicableRange/main.js中注册组件 import SelectAddress from /components/SelectAddressVue.component(SelectAddress, SelectAddress)组件页面 templatediv classselectAddressel-form :modelformel-select v-modelform.provincial changeupdateProvincials() clearableplaceholder请选择省份el-option v-forprovincial in provincials :keyprovincial.label :valueprovincial.label:labelprovincial.label//el-selectel-select v-modelform.municipal changeupdateMunicipals()placeholder请选择城市el-option v-formunicipal in municipals :keymunicipal.label :valuemunicipal.label:labelmunicipal.label//el-selectel-select v-modelform.regional changeupdateRegionals()placeholder请选择地区el-option v-forregional in regionals :keyregional.label :valueregional.label:labelregional.label//el-selectel-select v-modelform.streets changeupdateStreetss()placeholder请选择街道el-option v-forstreets in streetss :keystreets.label :valuestreets.label :labelstreets.label//el-select/el-form/div /template script const options require(/assets/images/pcas-code.json); export default {props: {value: [String]},data() {return {form: {provincial: null,municipal: null,regional: null,streets: null,},provincials: options,municipals: [],regionals: [],streetss: [],}},watch: {value: {handler(val) {if (val) {const list this.value.split( );if(list.length 1){this.form.provincial list[0];this.updateProvincials();}else if(list.length 2){this.form.provincial list[0];this.updateProvincials();this.form.municipal list[1];this.updateMunicipals();}else if(list.length 3){this.form.provincial list[0];this.updateProvincials();this.form.municipal list[1];this.updateMunicipals();this.form.regional list[2];this.updateRegionals();}} else {this.reset();return [];}},deep: true,immediate: true}},mounted() {},created() {},computed: {},methods: {reset() {this.form {provincial: null,municipal: null,regional: null,streets: null}},updateProvincials() {this.form.municipal ;this.form.regional ;this.form.streets ;this.municipals [];this.regionals [];this.streetss [];this.$emit(input, this.changeForm());if(this.form.provincial){this.municipals this.provincials.find(provincial provincial.label this.form.provincial).children;}},updateMunicipals() {this.form.regional ;this.form.streets ;this.regionals [];this.streetss [];this.$emit(input, this.changeForm());this.regionals this.municipals.find(municipal municipal.label this.form.municipal).children;},updateRegionals() {this.form.streets ;this.streetss [];this.$emit(input, this.changeForm());this.streetss this.regionals.find(regional regional.label this.form.regional).children;},updateStreetss() {this.$emit(input, this.changeForm());},changeForm(){let applicableRange ;if(this.form.provincial){applicableRange this.form.provincial}if(this.form.provincial this.form.municipal){applicableRange this.form.provincial this.form.municipal}if(this.form.provincial this.form.municipal this.form.regional){applicableRange this.form.provincial this.form.municipal this.form.regional}if(this.form.provincial this.form.municipal this.form.regional this.form.streets){applicableRange this.form.provincial this.form.municipal this.form.regional this.form.streets}return applicableRange;}}, } /scriptstyle scoped langscss .el-select {width: 18%;margin-left: 1%; } /style
http://www.hkea.cn/news/14558620/

相关文章:

  • 永兴网站开发软装设计方案ppt
  • 做网站公司关键词化外查指数
  • 网站体验优化网站建设电话营销
  • 福州科技网站建设怎么做学做网站游戏教程
  • 网站建设费用选网络专业互联网推广销售好做吗
  • 哪些网站被墙wordpress fpm
  • 全面的哈尔滨网站建设wordpress中添加js
  • 网站建设保障机制东莞最新出入政策
  • 一线城市网站建设费用高微信小程序开发文档 菜鸟教程
  • 实验一 电子商务网站建设与维护虚拟网站仿制教程
  • 大学网站建设管理办法信息化外贸流程图解
  • 网络营销网站建设知识有美元进账去外管局网站做啥
  • discuz做淘客网站wordpress 注册用户 邮件
  • 石家庄信息门户网站定制深入浅出php
  • 标准网站有哪些手机网页翻译
  • 哈尔滨做网站哪家好强2023来个网站可以看的
  • 东莞网站建设招聘如何做问卷调查网站
  • 淄博网站制作网络丰富做个网站得投入多少
  • 学网站开发顺序网站设计考虑因素
  • 怎么查网站关键词密度wordpress全屏幻灯
  • 阐述商业网站开发岗位需求分析互联网推广员是做什么
  • 网站建设这块是怎么挣钱的公开课网站建设
  • wrodpress做学校网站公共数据开放网站建设
  • 好单库如何做网站关于域名和主机论坛的网站
  • 设计课程济南网站建设和优化
  • 珠海网站建设公司哪家好佛山官网建设
  • 目前网站在初级建设阶段_需要大量数据丰富wordpress密码长度
  • 广告设计网站官网制作网络平台多少钱
  • 做火情监控网站需要用什么系统成都设计公司官网
  • 新手怎么做自己网站广告商标logo设计免费生成软件