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

中小学校园网站开发技术页面设计重要性

中小学校园网站开发技术,页面设计重要性,深圳网站专业建设公司,网络营销的seo是做什么的在普通表单中对输入框、选择框都有校验案例。 但是在自定义非空中如何进行校验官网并没有说明 关键代码 clearValidate 方法清除校验 this.$refs.formValue.clearValidate(signinimg) 使用案例 templatediv classstylebgTabs iconsel-… 在普通表单中对输入框、选择框都有校验案例。 但是在自定义非空中如何进行校验官网并没有说明 关键代码 clearValidate 方法清除校验 this.$refs.formValue.clearValidate(signinimg) 使用案例 templatediv classstylebgTabs iconsel-icon-shopping-bag-2 :arrstabs /!--表格 --div stylemargin-top: 20pxel-form refformValue label-width120px :rulesrules :modelformValueel-form-item label标题 proptitleel-input v-modelformValue.title placeholder请输入标题/el-input/el-form-itemel-form-item label单选图div classimagelistdiv classimagelist imgbox clickuploadimg(img,1) v-ifformValue.imgel-image classimg :srcformValue.img fitcover /el-image/div div styleborder: 1px dashed #d9d9d9; classavatar-uploader clickuploadimg(img,1) v-elsei classel-icon-plus stylewidth: 100px;height: 100px;display: flex;align-items: center;justify-content: center;/i/div/div/el-form-itemel-form-item label多选图div classimagelistdiv v-for(item, i) in formValue.imgs :keyi classimagelist imgboxel-image classimg :srcitem fitcover /el-imageimg src/assets/close.png classclose clickhandleRemove(i)//div div styleborder: 1px dashed #d9d9d9; classavatar-uploader clickuploadimg(imgs,2)i classel-icon-plus stylewidth: 100px;height: 100px;display: flex;align-items: center;justify-content: center;/i/div/div/el-form-itemel-form-item label电子签名 propsigninimgdiv clicksigninVisibletrue stylewidth: 200px;background-color: #d9d9d9;el-image :srcformValue.signinimg stylewidth: 200px;height: 100px;display: flex;align-items: center;justify-content: center;color: #999;div sloterror 点击签名 /div/el-image/div/el-form-itemel-form-item labelel-button typeprimary sizesmall clickupform确定/el-buttonel-button typeprimary sizesmall click.nativeback返回/el-button/el-form-item/el-form/divel-dialog title选择图片 :visible.syncdialogVisible width900pxuploadDialog v-ifdialogVisible getPicgetPic :chosetypepicChoseType/uploadDialog/el-dialogel-dialog title电子签名 :visible.syncsigninVisible width700pxsigninDia setsigninsetsignin/signinDia/el-dialog/div/templatescriptimport wueditor from /components/wueditor.vue; // ES6 Moduleimport {addcaseAPI,getcaseinfoAPI,updatecaseAPI} from /api/articleimport uploadDialog from /components/uploadDialog.vueimport signinDia from /components/signinDia.vueexport default {components: {wueditor,uploadDialog,signinDia},data() {return {formValue:{img:,imgs:[],status:0},headers:{},tabs: [轮播图管理, 添加轮播图],dynamicTags: [],dialogVisible: false,signinVisible: false,inputValue: ,picTit:,picChoseType:1,rules:{title: [ { required: true, message: 名称不能为空, change: blur, }],signinimg: [ { required: true, message: 电子签名不能为空 }],}};},created() {this.headers{Authorization:Bearer localStorage.getItem(token)}this.getinfo()},methods: {upform(){this.$refs.formValue.validate((valid) {if (valid) {alert(success)}else{if(this.formValue.signinimg) this.$refs.formValue.clearValidate(signinimg)}})// if (this.$route.query.id) {// updatecaseAPI(this.formValue).then(res{// this.$message.success(成功)// this.$router.back()// }) // return// }// addcaseAPI(this.formValue).then(res{// this.$message.success(成功)// this.$router.back()// }) },setsignin(img){this.formValue.signinimgimgthis.signinVisiblefalsethis.$refs.formValue.clearValidate(signinimg)},uploadimg(picTit,picChoseType){this.dialogVisibletruethis.picTitpicTitthis.picChoseTypepicChoseType},getPic(images){console.log(images)switch(this.picTit){case img:this.formValue.imgimages.urlbreakcase imgs:var listthis.formValue.imgsthis.formValue.imgslist.concat(images.map(item item.url))break}this.dialogVisiblefalse},handleRemove(i) {this.formValue.imgs.splice(i,1) },handleClose(tag) {this.dynamicTags.splice(this.dynamicTags.indexOf(tag), 1);},showInput() {this.inputVisible true;this.$nextTick(_ {this.$refs.saveTagInput.$refs.input.focus();});},handleInputConfirm() {let inputValue this.inputValue;if (inputValue) {this.dynamicTags.push(inputValue);}this.inputVisible false;this.inputValue ;},getinfo(){var idthis.$route.query.idif (id) {getcaseinfoAPI({id}).then(res{this.formValueres})}},handleAvatarSuccess2(res){this.formValue.img res.data console.log(res.data )},back(){this.$router.back()},}};/scriptstyle langless.el-tag .el-tag {margin-left: 10px;}.button-new-tag {margin-left: 10px;height: 32px;line-height: 30px;padding-top: 0;padding-bottom: 0;}.input-new-tag {width: 90px;margin-left: 10px;vertical-align: bottom;}.form {margin: 15px 0;}.page {background-color: #fff;padding: 10px;.el-pagination .btn-next,.el-pagination .btn-prev {background-color: #ffffff !important;}}.imagelist{display: flex;align-items: center;.imgbox{ border: 1px solid #d9d9d9;position: relative;margin-right: 20px;.img{width: 100px;height: 100px;border-radius: 6px;}.close{width: 20px;height: 20px;position: absolute;top: -10px;right: -10px;cursor: pointer;}} }/style
http://www.yutouwan.com/news/31666/

相关文章:

  • 毕业设计资源网站百度手机助手下载免费安装
  • 如何做网站规范腕表之家
  • 写作网站名字yw52777最新跳转接口
  • 中国建设部官方网站鲁班奖如何做网站不被坑
  • 深圳做网站的网络公司wordpress企业中文模板
  • 正规的咨询行业网站策划wordpress 显示
  • 标准版网站制作宁波随身云网络科技有限公司
  • 蚌埠做网站网站建设参考的文献
  • DW怎么做电商网站四川建筑从业人员查询
  • 马鞍山专业网站制作公司网站建设方案设计ppt
  • 张家口网站建设海外社交网站开发
  • 做背景网站做搜狗手机网站优化点
  • dedecms 网站模板做网站公司广州
  • 局域网网站建设需要什么条件自己买一个服务器怎么做网站
  • 采购网站排名公司网站开发文档
  • app商城开发网站建设济南seo全网营销
  • 电商网站商品排序分类怎么做附近装修公司
  • 网站开发后台编辑系统天猫网站建设论文
  • 蚌埠市网站建设莱芜金点子电子版最新招聘信息
  • 做影视网站须要注意什么广告资源网
  • 网站建设问题分类和排除方法分析网络黄页推广大全4
  • 做网站应该注意我不需要做网站
  • 合肥高端网站建设费用总部在北京的互联网企业
  • 广州制作网站开发wordpress js广告
  • 网站开发的职责与分工浙江住房城乡建设厅网站
  • 做美食网站视频四川成都网站制作
  • 网站建设顶层设计乐清网站制作推广
  • 做网站 看什么书能接做网站的活的网站
  • 图书管理系统网站开发教程网络营销推广内容
  • 网站开发合同预期建设020网站需要多少钱