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

建设网站的公司汇总企业年金辞职了怎么办

建设网站的公司汇总,企业年金辞职了怎么办,有没有做网站,济南做网站的公司哪家好前言#xff1a;当我们用 vue3 :deep() 处理 elementui 中 el-dialog_body和el-dislog__header 的时候样式一直无法生效#xff0c;遇到这种情况怎么办#xff1f; 解决办法#xff1a; 1.直接在 dialog 上面增加class 我试过#xff0c;也不起作用#xff0c;最后用这种… 前言当我们用 vue3 :deep() 处理 elementui 中 el-dialog_body和el-dislog__header 的时候样式一直无法生效遇到这种情况怎么办 解决办法 1.直接在 dialog 上面增加class 我试过也不起作用最后用这种方法解决的dialog 外面直接包一层 div 2.将样式单独写一个style标签进行覆盖---此方式由于样式写在外面可能会影响整个项目的全局样式--慎重考虑需求需要将el-drawer__header的底部的外边距去掉 方式一 修改前 修改后 生效方式1.在最外层加一层在el-dialog外面包一层 2.主要是vue3中deep会因为最外层没有根节点失效的问题只需要加一个根节点deep就有效了 需要注意的是 :deep(这里面只能包一个) templatediv classdialogel-drawer v-modeldrawerDialog directionrtl closehandleClose size50%template #headerdiv classheaderh4订单详情----订单编号(23232434343)/h4/div/templatetemplate #defaultdiv classcontentdiv classitem-infodiv classwrapdiv classtopdiv classleftdiv classline/divdiv classtitle购方信息/div/divdiv classrightel-button typeprimary plain编辑/el-button/div/divdiv classinfo-list/div/div/div/div/templatetemplate #footerdiv styleflex: autoel-button clickhandleClose取消/el-buttonel-button typeprimary clickconfirm确定/el-button/div/template/el-drawer/div /templatescript setup import { watchEffect, ref } from vue; const emit defineEmits([close]) const props defineProps({visible: {type: Boolean,default: false} }) const drawerDialog ref(false);//确定的回调函数 const confirm () {}//取消的回调函数 const handleClose () {drawerDialog.value false;emit(close); }watchEffect(() {if (props.visible) {drawerDialog.value props.visible;} })/scriptstyle scoped langscss .dialog {:deep(.el-drawer__header) {margin: 0;} }.header {background-color: #fff;height: 40px; }.content {background-color: #EDEFEE;.item-info {.wrap {.top {display: flex;justify-content: space-between;.left {display: flex;align-items: center;.line {height: 15px;width: 4px;background-color: #07f;}.title {font-size: 16px;font-weight: bold;}}.right {}}.info-list {}}} } /style方式二 template el-drawer v-modeldrawerDialog directionrtl closehandleClose size50%template #headerdiv classheaderh4订单详情----订单编号(23232434343)/h4/div/templatetemplate #defaultdiv classcontentdiv classitem-infodiv classwrapdiv classtopdiv classleftdiv classline/divdiv classtitle购方信息/div/divdiv classrightel-button typeprimary plain编辑/el-button/div/divdiv classinfo-list/div/div/div/div/templatetemplate #footerdiv styleflex: autoel-button clickhandleClose取消/el-buttonel-button typeprimary clickconfirm确定/el-button/div/template/el-drawer /templatescript setup import { watchEffect, ref } from vue; const emit defineEmits([close]) const props defineProps({visible: {type: Boolean,default: false} }) const drawerDialog ref(false);//确定的回调函数 const confirm () {}//取消的回调函数 const handleClose () {drawerDialog.value false;emit(close); }watchEffect(() {if (props.visible) {drawerDialog.value props.visible;} })/scriptstyle .el-drawer__header {margin: 0; } /style style scoped langscss.header {background-color: #fff;height: 40px; }.content {background-color: #EDEFEE;.item-info {.wrap {.top {display: flex;justify-content: space-between;.left {display: flex;align-items: center;.line {height: 15px;width: 4px;background-color: #07f;}.title {font-size: 16px;font-weight: bold;}}.right {}}.info-list {}}} } /style修改前 修改后
http://www.w-s-a.com/news/732941/

相关文章:

  • 建设视频网站需要什么知识辽阳建设网站
  • 提供o2o网站建设打扑克网站推广软件
  • 制作简单门户网站步骤中国建设局网站查询
  • 漳州专业网站建设网站建设的面试要求
  • 有哪些网站是封面型汕头网站上排名
  • 自动优化网站软件没有了做的新网站做百度推广怎么弄
  • 高陵县建设局网站商标查询网站
  • 郑州建设网站哪家好东莞网络公司排行榜
  • 成都网站开发费用做行程的网站
  • 做地铁建设的公司网站手机网站首页布局设计
  • 福建亨立建设集团有限公司网站搜狗网页游戏大厅
  • 设计网站musil访问量大的网站选择多少流量的服务器何时
  • 公司网站包括哪些内容新网站怎样做外链
  • 淘宝宝贝链接怎么做相关网站广州好蜘蛛网站建设
  • 长春网站制作网页博山区住房和城乡建设局网站
  • 云南大学网站建设解析到网站怎样做
  • 网站维护的要求包括锦溪网站建设
  • 金站网.营销型网站学校安全教育网站建设
  • 临沂市建设局网站公示军事新闻头条2023
  • 购物网网站建设lamp 做网站
  • 做网站网站庄家html5网站开发技术
  • 无锡门户网站制作电话广告设计公司的未来
  • 白云区专业网站建设网页设计模拟试题答案
  • 毕业设计网站代做多少钱制作旅游网站设计概述
  • 网站开发维护运维无人在线电视剧免费观看
  • 电子商务网站建设开题报告展馆网站建设
  • 门户网站建设的背景和意义手机网站前
  • 国内免费视频素材无水印素材网站国家最新消息
  • 襄阳seo站内优化学做网站论坛教程
  • 文明网站建设情况报告wordpress伪静态配置