component_ryl_v3 1.1.70 → 1.1.90
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +7 -0
- package/dist/component_ryl_v3.js +39 -12
- package/package.json +2 -2
- package/src/App.vue +5 -1
- package/src/assets/styles/common.scss +3 -3
- package/src/assets/styles/dialog.scss +4 -4
- package/src/packages/handDialog/handDialog.vue +31 -1
- package/src/packages/handHeader/handHeader.vue +6 -2
- package/src/packages/handNoData/handNoData.vue +1 -0
- package/src/packages/handSeeImg/handSeeImg.vue +7 -6
package/README.md
CHANGED
|
@@ -88,6 +88,11 @@ Learn more about IDE Support for Vue in the [Vue Docs Scaling up Guide](https://
|
|
|
88
88
|
{string} cancelTextStyle - 取消按钮样式
|
|
89
89
|
{string} confirmTextClass - 确定按钮类名
|
|
90
90
|
{string} confirmTextStyle - 确定按钮样式
|
|
91
|
+
{boolean} switchPercentage - 是否开启转化百分比,默认开启
|
|
92
|
+
{number} percentage - 弹窗宽度需要增加的百分比值,默认0.2
|
|
93
|
+
{number} setMinScreenWidth - 设置最小屏幕宽度(像素)-- 默认1920,超过1920px时,弹窗宽度为width + (width * percentage) 和弹窗有关的宽度,一般不需要修改
|
|
94
|
+
|
|
95
|
+
|
|
91
96
|
|
|
92
97
|
# 分页组件
|
|
93
98
|
# 使用方法
|
|
@@ -166,3 +171,5 @@ Learn more about IDE Support for Vue in the [Vue Docs Scaling up Guide](https://
|
|
|
166
171
|
# 1.1.40 handHeader 组件布局更改,去掉了 getMainHeight 和 loadImg 方法,不需要了
|
|
167
172
|
# 1.1.60 修改了主题颜色 #06f 为 #0C73FF
|
|
168
173
|
# 1.1.70 修复了 handHeader 组件在滚动时宽度问题,菜单栏收起时宽度问题
|
|
174
|
+
# 1.1.80 修复了 handSeeImg 组件在点击图片时,图片预览组件位置问题
|
|
175
|
+
# 1.1.90 修复了 handDialog 组件在弹窗宽度添加百分比的问题
|
package/dist/component_ryl_v3.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
!function(){"use strict";try{if("undefined"!=typeof document){var e=document.createElement("style");e.appendChild(document.createTextNode('@charset "UTF-8";*:not(svg),#app,html,body{margin:0;padding:0;font-family:Helvetica Neue,Helvetica,PingFang SC,Hiragino Sans GB,Microsoft YaHei,微软雅黑,Arial,sans-serif;font-size:12px}a{text-decoration:none;color:#5a5a5a}li{list-style:none}.flex{display:-webkit-flex;display:flex;display:-moz-box;display:-ms-flexbox}.flex_row{flex-direction:row}.flex_col{flex-direction:column}.initTextarea>.el-textarea__inner{resize:none}::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-track{background:transparent;border-radius:4px}::-webkit-scrollbar-thumb{background-color:transparent;border-radius:0}::-webkit-scrollbar-thumb:hover{background:#c2c2c2}::-webkit-scrollbar-corner{background:transparent}.common_show_scroll::-webkit-scrollbar-thumb{background:#c2c2c2}.tinymce-editor-JustOne *:not(h1,h2,h3,h4,h5,h6){font-size:inherit}.tinymce-editor-JustOne h1{font-size:32px}.tinymce-editor-JustOne h2{font-size:28px}.tinymce-editor-JustOne h3{font-size:24px}.tinymce-editor-JustOne h4{font-size:20px}.tinymce-editor-JustOne h5{font-size:16px}.tinymce-editor-JustOne h6{font-size:12px}.jddsDialog.el-dialog{border-radius:4px}.jddsDialog .el-dialog__title,.jddsDialog .zbt{font-size:16px;color:#272727;line-height:normal}.jddsDialog .el-dialog__body .el-form-item:last-child{margin-bottom:0}.jddsDialog .el-dialog__headerbtn{top:5px;right:0}.jddsDialog .btn{min-width:68px;height:32px;line-height:32px;border-radius:4px;padding:0}.jddsDialog .exit{font-size:14px}.jddsDialog .header-title{display:flex;align-items:center}.jddsDialog.el-dialog--center .header-title{justify-content:center}.JD_table.el-table:before{height:0!important}.JD_table.el-table{width:100%}.JD_table.el-table th,.JD_table.el-table th.el-table__cell{background:#f8fafc;padding:0;height:40px;line-height:40px;border-bottom:none!important}.JD_table.el-table th .cell,.JD_table.el-table th.el-table__cell .cell{font-weight:400;color:#999;text-align:left;white-space:nowrap}.JD_table.el-table td,.JD_table.el-table td.el-table__cell{padding:0;height:48px;line-height:48px}.JD_table.el-table td .cell,.JD_table.el-table td.el-table__cell .cell{line-height:normal}.el-table--group,.el-table--border{border:none!important}.el-table--group:after,.el-table--border:after{width:0!important}.el-table--border .el-table__cell,.el-table--border td{border-right:none!important}.el-table--border th.el-table__cell{border-right:1px solid #ebeef5!important}.el-table__header,.el-table__empty-block,.el-table__body{width:100%!important}.el-sub-menu__title{text-align:left!important}.el-sub-menu .el-menu-item{min-width:auto!important;padding-left:46px!important;position:relative}.el-sub-menu .el-menu-item:after{content:"";width:4px;height:4px;background:#7c878e;border-radius:50%;position:absolute;top:17px;left:26px}.el-sub-menu .el-menu .el-sub-menu .el-sub-menu__title{padding-left:46px!important}.el-sub-menu .el-menu .el-menu .el-menu-item{padding-left:60px!important}.el-sub-menu .el-menu .el-menu .el-menu-item:after{left:46px!important}.el-menu{border-right:none!important}.el-menu-item,.el-sub-menu__title{height:38px!important;line-height:38px!important;margin-top:2px}.el-menu-item *,.el-sub-menu__title *{vertical-align:middle}.el-submenu__title i.el-sub-menu__icon-arrow{color:#c0c5c7;font-weight:700}.el-message-box{width:400px!important}.initMsg_in{padding:20px 0!important}.initMsg_in .el-message-box__header{padding:0!important}.initMsg_in .el-message-box__header .el-message-box__headerbtn{display:none}.initMsg_in .el-message-box__header .el-message-box__status{font-size:50px!important}.initMsg_in .el-message-box__content{padding:20px 30px!important}.initMsg_in .el-message-box__content .el-message-box__message{letter-spacing:1px}.initMsg_in .el-message-box__message p{line-height:normal}.initMsg_in .el-message-box__btns{padding:0!important}.initMsg_in .el-message-box__btns button{min-width:100px;height:40px;border-radius:4px}.initMsg_in .el-message-box__btns button:nth-child(2){margin-left:20px!important}.defaultMsg_in .el-message-box__container{align-items:flex-start}.defaultMsg_in .el-message-box__title span{font-size:14px;font-weight:700}.defaultMsg_in .el-message-box__headerbtn{top:7px}.defaultMsg_in .el-message-box__status{top:0;transform:none;font-size:24px!important}.defaultMsg_in .el-message-box__message p{line-height:normal}.defaultMsg_in .el-message-box__btns button{min-width:68px;height:32px;border-radius:4px;border:none}.ieBro{position:fixed;padding:10px;z-index:9999;top:0;left:0;right:0;background:#fffade;border:1px solid #f9d878;justify-content:space-between}.ieBro span,.ieBro a{font-size:12px}.ieBro .color{text-decoration:underline}.mce-content-body[data-mce-placeholder]:not(.mce-visualblocks):before{content:""!important}.mainMenu[data-v-e79ba81c]{display:inline-block;position:relative}.mainMenu .elbadge[data-v-e79ba81c]{color:red;font-style:normal}.mainMenu .elbadge.hot[data-v-e79ba81c]:after{display:inline-block;content:"";width:8px;height:8px;background-color:red;border-radius:100%;transform:scale(.9);position:absolute;top:10px;right:-10px}.mainMenu .elbadge.new[data-v-e79ba81c]:after{display:inline-block;content:"new";background-color:red;color:#fff;padding:0 4px 1px;line-height:16px;border-radius:4px;transform:scale(.9);position:absolute;top:6px;right:-32px}.mainMenu .elbadge.run[data-v-e79ba81c]{display:inline-block;color:#fff;background-color:red;min-width:20px;padding:0 2px;text-align:center;height:16px;line-height:16px;border-radius:4px;animation:changeRun 1.5s ease-in-out 0s infinite}.mainMenu .elbadge.num[data-v-e79ba81c]{display:inline-block;background-color:red;color:#fff;width:20px;text-align:center;height:16px;line-height:16px;border-radius:4px;transform:scale(.9);position:absolute;top:6px;right:-22px}.mainMenu .elbadge.num.nine[data-v-e79ba81c]{width:26px;right:-28px}.mainMenu .elbadge.num.nine em[data-v-e79ba81c]{position:relative;top:-4px}.el-menu-item span[data-v-e79ba81c],.el-sub-menu__title span[data-v-e79ba81c]{font-size:14px}.handHeaderContent{position:relative;z-index:999;height:100vh}.handHeaderContent .el-container.is-vertical{position:relative}.handHeaderContent .inner_header{padding:0;background:#fff;justify-content:space-between;align-items:center;height:50px!important}.handHeaderContent .inner_header .colSpan{width:60px;background-color:transparent;justify-content:center;align-items:center}.handHeaderContent .inner_header .colSpan .hide{width:16px;height:16px;background:url(data:image/png;base64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ACYd8C8fCYAAMw7YF4+EwAA5h0wL58JAADzDpiXzwQAgHkHzMtnAgDAvAPm5fcJ0D9sicO0Ax3Au2ntlP14VTAAjCkwAYzD76UDAADsAZwNMAGc0+cSYJ4+AADAJcDcAAAAwLMAZwNMAOf02QSapw8AAHAJMDcAAHMAH9uzwUGCPXdSAAAAAElFTkSuQmCC) no-repeat;background-size:contain;cursor:pointer;transition:all .2s}.handHeaderContent .inner_header .colSpan .hide.rotate{transform:rotate(180deg)}.handHeaderContent .inner_header .saasInfo .img{align-items:center;justify-content:center;height:50px;margin-right:20px;cursor:pointer}.handHeaderContent .inner_header .saasInfo .img:hover .dropDown{display:block}.handHeaderContent .inner_header .saasInfo .img img{width:33px;height:33px;border-radius:50%;margin-right:5px;border:1px solid #eff2f5}.handHeaderContent .dropDown{position:absolute;right:10px;top:50px;width:170px;background:#fff;box-shadow:0 0 4px #1919191a;border-radius:2px;display:none;z-index:999}.handHeaderContent .dropDown .san{display:inline-block;width:10px;height:10px;border:1px solid #fff;border-top-style:none;border-right-style:none;transform:rotate(135deg);position:absolute;top:-4px;right:38px;background:#fff}.handHeaderContent .dropDown .user{padding:11px;align-items:center;border-bottom:1px solid #f5f5f5}.handHeaderContent .dropDown .user span{line-height:normal;font-size:14px}.handHeaderContent .dropDown .exit{font-size:14px;line-height:39px;height:39px;border-top:1px solid #EFF2F5;text-align:center;padding:0;color:#5a5a5a}.handHeaderContent .aside{height:100%;transition:all .2s;overflow:overlay;z-index:999;position:relative}.handHeaderContent .aside .init-el-menu{padding-bottom:38px}.handHeaderContent .aside.hideMenu .el-tooltip{text-align:center}.handHeaderContent .aside.hideMenu .el-submenu__title{text-align:center!important}.handHeaderContent .aside.hideMenu i.iconfont{margin-right:0}.handHeaderContent .aside.hideMenu .deldom,.handHeaderContent .aside.hideMenu .el-submenu__icon-arrow{display:none}.handHeaderContent .aside i.iconfont{font-size:18px;display:inline-block;width:18px;margin-right:8px;color:#747c81}.handHeaderContent .main{padding:0;background-color:#eff2f5}.handHeaderContent .main.scrollX{overflow-x:scroll}.handHeaderContent .main .content_mar{display:flex;flex-direction:column;height:100vh}.handHeaderContent .main .contentTop{flex-shrink:0}.handHeaderContent .main .inner_content{background-color:#fff;flex:1;border-radius:4px}.handHeaderContent .main .inner_content.normal{background-color:transparent!important}.handHeaderContent .inner_footer{flex-shrink:0;color:#666;text-align:center;padding:18px 0;height:32px;justify-content:center}@keyframes changeRun{0%{transform:translateY(0) scale(.9)}25%{transform:translateY(-6px) scale(.9)}50%{transform:translateY(0) scale(.9)}75%{transform:translateY(-2px) scale(.9)}to{transform:translateY(0) scale(.9)}}.initNoData[data-v-0b0e3718]{width:100%;align-items:center;justify-content:center}.initNoData .inner[data-v-0b0e3718]{text-align:center}.initNoData .inner p[data-v-0b0e3718]{color:#666;margin-top:12px;line-height:normal}.initPaging[data-v-1d8ef8c9] .el-select__placeholder{text-align:center}.previewFix[data-v-14d38dc6]{width:100%;height:100%;position:fixed;top:0;left:0;z-index:9999;background-color:#00000080;display:flex;justify-content:center;align-items:center}.previewFix img[data-v-14d38dc6]{max-width:98%;max-height:98%}.status_search[data-v-64ce971a]{display:inline-block}.status_search span[data-v-64ce971a]{min-width:40px;height:30px;padding:0 10px;display:inline-block;text-align:center;line-height:30px;border:1px solid #d9d9d9;border-right:1px solid transparent;cursor:pointer}.status_search span[data-v-64ce971a]:first-child{border-radius:2px 0 0 2px}.status_search span[data-v-64ce971a]:last-child{border-radius:0 2px 2px 0;border-right:1px solid #d9d9d9}.status_search .active[data-v-64ce971a]{background:#0c73ff;color:#fff;border-color:#0c73ff}')),document.head.appendChild(e)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}}();
|
|
2
|
-
import { ref, watch, openBlock, createElementBlock, createVNode, unref, withCtx, renderSlot, Fragment, normalizeStyle, normalizeClass, createTextVNode, toDisplayString, createCommentVNode, createBlock, createElementVNode, resolveComponent, renderList, computed, onMounted, nextTick } from "vue";
|
|
1
|
+
!function(){"use strict";try{if("undefined"!=typeof document){var e=document.createElement("style");e.appendChild(document.createTextNode('@charset "UTF-8";*:not(svg),#app,html,body{margin:0;padding:0;font-family:Helvetica Neue,Helvetica,PingFang SC,Hiragino Sans GB,Microsoft YaHei,微软雅黑,Arial,sans-serif;font-size:12px}a{text-decoration:none;color:#5a5a5a}li{list-style:none}.flex{display:-webkit-flex;display:flex;display:-moz-box;display:-ms-flexbox}.flex_row{flex-direction:row}.flex_col{flex-direction:column}.initTextarea>.el-textarea__inner{resize:none}::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-track{background:transparent;border-radius:4px}::-webkit-scrollbar-thumb{background-color:transparent;border-radius:0}::-webkit-scrollbar-thumb:hover{background:#c2c2c2}::-webkit-scrollbar-corner{background:transparent}.common_show_scroll::-webkit-scrollbar-thumb{background:#c2c2c2}.tinymce-editor-JustOne *:not(h1,h2,h3,h4,h5,h6){font-size:inherit}.tinymce-editor-JustOne h1{font-size:32px}.tinymce-editor-JustOne h2{font-size:28px}.tinymce-editor-JustOne h3{font-size:24px}.tinymce-editor-JustOne h4{font-size:20px}.tinymce-editor-JustOne h5{font-size:16px}.tinymce-editor-JustOne h6{font-size:12px}.jddsDialog.el-dialog{border-radius:4px}.jddsDialog .el-dialog__title,.jddsDialog .zbt{font-size:14px;color:#272727;line-height:normal}.jddsDialog .el-dialog__body .el-form-item:last-child{margin-bottom:0}.jddsDialog .el-dialog__headerbtn{top:-2px}.jddsDialog .btn{min-width:68px;height:32px;line-height:32px;border-radius:4px;padding:0 12px}.jddsDialog .exit{font-size:14px}.jddsDialog .header-title{display:flex;align-items:center}.jddsDialog.el-dialog--center .header-title{justify-content:center}.JD_table.el-table:before{height:0!important}.JD_table.el-table{width:100%}.JD_table.el-table th,.JD_table.el-table th.el-table__cell{background:#f8fafc;padding:0;height:40px;line-height:40px;border-bottom:none!important}.JD_table.el-table th .cell,.JD_table.el-table th.el-table__cell .cell{font-weight:400;color:#999;text-align:left;white-space:nowrap}.JD_table.el-table td,.JD_table.el-table td.el-table__cell{padding:0;height:48px;line-height:48px}.JD_table.el-table td .cell,.JD_table.el-table td.el-table__cell .cell{line-height:normal}.el-table--group,.el-table--border{border:none!important}.el-table--group:after,.el-table--border:after{width:0!important}.el-table--border .el-table__cell,.el-table--border td{border-right:none!important}.el-table--border th.el-table__cell{border-right:1px solid #ebeef5!important}.el-table__header,.el-table__empty-block,.el-table__body{width:100%!important}.el-sub-menu__title{text-align:left!important}.el-sub-menu .el-menu-item{min-width:auto!important;padding-left:46px!important;position:relative}.el-sub-menu .el-menu-item:after{content:"";width:4px;height:4px;background:#7c878e;border-radius:50%;position:absolute;top:17px;left:26px}.el-sub-menu .el-menu .el-sub-menu .el-sub-menu__title{padding-left:46px!important}.el-sub-menu .el-menu .el-menu .el-menu-item{padding-left:60px!important}.el-sub-menu .el-menu .el-menu .el-menu-item:after{left:46px!important}.el-menu{border-right:none!important}.el-menu-item,.el-sub-menu__title{height:38px!important;line-height:38px!important;margin-top:2px}.el-menu-item *,.el-sub-menu__title *{vertical-align:middle}.el-submenu__title i.el-sub-menu__icon-arrow{color:#c0c5c7;font-weight:700}.el-message-box{width:400px!important}.initMsg_in{padding:20px 0!important}.initMsg_in .el-message-box__header{padding:0!important}.initMsg_in .el-message-box__header .el-message-box__headerbtn{display:none}.initMsg_in .el-message-box__header .el-message-box__status{font-size:50px!important}.initMsg_in .el-message-box__content{padding:20px 30px!important}.initMsg_in .el-message-box__content .el-message-box__message{letter-spacing:1px}.initMsg_in .el-message-box__message p{line-height:normal}.initMsg_in .el-message-box__btns{padding:0!important}.initMsg_in .el-message-box__btns button{min-width:100px;height:40px;border-radius:4px}.initMsg_in .el-message-box__btns button:nth-child(2){margin-left:20px!important}.defaultMsg_in .el-message-box__container{align-items:flex-start}.defaultMsg_in .el-message-box__title span{font-size:14px}.defaultMsg_in .el-message-box__status{top:0;transform:none;font-size:24px!important}.defaultMsg_in .el-message-box__message p{line-height:1.5}.defaultMsg_in .el-message-box__btns button{min-width:68px;height:32px;border-radius:4px;border:none}.ieBro{position:fixed;padding:10px;z-index:9999;top:0;left:0;right:0;background:#fffade;border:1px solid #f9d878;justify-content:space-between}.ieBro span,.ieBro a{font-size:12px}.ieBro .color{text-decoration:underline}.mce-content-body[data-mce-placeholder]:not(.mce-visualblocks):before{content:""!important}.mainMenu[data-v-e79ba81c]{display:inline-block;position:relative}.mainMenu .elbadge[data-v-e79ba81c]{color:red;font-style:normal}.mainMenu .elbadge.hot[data-v-e79ba81c]:after{display:inline-block;content:"";width:8px;height:8px;background-color:red;border-radius:100%;transform:scale(.9);position:absolute;top:10px;right:-10px}.mainMenu .elbadge.new[data-v-e79ba81c]:after{display:inline-block;content:"new";background-color:red;color:#fff;padding:0 4px 1px;line-height:16px;border-radius:4px;transform:scale(.9);position:absolute;top:6px;right:-32px}.mainMenu .elbadge.run[data-v-e79ba81c]{display:inline-block;color:#fff;background-color:red;min-width:20px;padding:0 2px;text-align:center;height:16px;line-height:16px;border-radius:4px;animation:changeRun 1.5s ease-in-out 0s infinite}.mainMenu .elbadge.num[data-v-e79ba81c]{display:inline-block;background-color:red;color:#fff;width:20px;text-align:center;height:16px;line-height:16px;border-radius:4px;transform:scale(.9);position:absolute;top:6px;right:-22px}.mainMenu .elbadge.num.nine[data-v-e79ba81c]{width:26px;right:-28px}.mainMenu .elbadge.num.nine em[data-v-e79ba81c]{position:relative;top:-4px}.el-menu-item span[data-v-e79ba81c],.el-sub-menu__title span[data-v-e79ba81c]{font-size:14px}.handHeaderContent{position:relative;z-index:999;height:100vh}.handHeaderContent .el-container.is-vertical{position:relative}.handHeaderContent .inner_header{padding:0;background:#fff;justify-content:space-between;align-items:center;height:50px!important}.handHeaderContent .inner_header .colSpan{width:60px;background-color:transparent;justify-content:center;align-items:center}.handHeaderContent .inner_header .colSpan .hide{width:16px;height:16px;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAYAAADDPmHLAAAAAXNSR0IArs4c6QAAA2hJREFUeF7t3Vtu5DAMRFFlZ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CkwAYzD76UDAADsAZwNMAGc0+cSYJ4+AADAJcDcAAAAwLMAZwNMAOf02QSapw8AAHAJMDcAAHMAH9uzwUGCPXdSAAAAAElFTkSuQmCC) no-repeat;background-size:contain;cursor:pointer;transition:all .2s}.handHeaderContent .inner_header .colSpan .hide.rotate{transform:rotate(180deg)}.handHeaderContent .inner_header .saasInfo .img{align-items:center;justify-content:center;height:50px;margin-right:20px;cursor:pointer}.handHeaderContent .inner_header .saasInfo .img:hover .dropDown{display:block}.handHeaderContent .inner_header .saasInfo .img img{width:33px;height:33px;border-radius:50%;margin-right:5px;border:1px solid #eff2f5}.handHeaderContent .dropDown{position:absolute;right:10px;top:50px;width:170px;background:#fff;box-shadow:0 0 4px #1919191a;border-radius:2px;display:none;z-index:999}.handHeaderContent .dropDown .san{display:inline-block;width:10px;height:10px;border:1px solid #fff;border-top-style:none;border-right-style:none;transform:rotate(135deg);position:absolute;top:-4px;right:38px;background:#fff}.handHeaderContent .dropDown .user{padding:11px;align-items:center;border-bottom:1px solid #f5f5f5}.handHeaderContent .dropDown .user span{line-height:normal;font-size:14px}.handHeaderContent .dropDown .exit{font-size:14px;line-height:39px;height:39px;border-top:1px solid #EFF2F5;text-align:center;padding:0;color:#5a5a5a}.handHeaderContent .aside{height:100%;transition:all .2s;overflow:overlay;z-index:999;position:relative}.handHeaderContent .aside .init-el-menu{padding-bottom:38px}.handHeaderContent .aside.hideMenu .el-tooltip{text-align:center}.handHeaderContent .aside.hideMenu .el-menu-item .el-menu-tooltip__trigger,.handHeaderContent .aside.hideMenu .el-sub-menu__title{justify-content:center}.handHeaderContent .aside.hideMenu i.iconfont{margin-right:0}.handHeaderContent .aside.hideMenu .deldom,.handHeaderContent .aside.hideMenu .el-submenu__icon-arrow{display:none}.handHeaderContent .aside i.iconfont{font-size:18px;display:inline-block;width:18px;margin-right:8px;color:#747c81}.handHeaderContent .main{padding:0;background-color:#eff2f5}.handHeaderContent .main.scrollX{overflow-x:scroll}.handHeaderContent .main .content_mar{display:flex;flex-direction:column;height:100vh}.handHeaderContent .main .contentTop{flex-shrink:0}.handHeaderContent .main .inner_content{background-color:#fff;flex:1;border-radius:4px}.handHeaderContent .main .inner_content.normal{background-color:transparent!important}.handHeaderContent .inner_footer{flex-shrink:0;color:#666;text-align:center;padding:18px 0;height:32px;justify-content:center}@keyframes changeRun{0%{transform:translateY(0) scale(.9)}25%{transform:translateY(-6px) scale(.9)}50%{transform:translateY(0) scale(.9)}75%{transform:translateY(-2px) scale(.9)}to{transform:translateY(0) scale(.9)}}.initNoData[data-v-7e2271b2]{width:100%;align-items:center;justify-content:center;line-height:normal}.initNoData .inner[data-v-7e2271b2]{text-align:center}.initNoData .inner p[data-v-7e2271b2]{color:#666;margin-top:12px;line-height:normal}.initPaging[data-v-1d8ef8c9] .el-select__placeholder{text-align:center}.previewFix[data-v-535f3daf]{width:100%;height:100%;position:fixed;top:0;left:0;z-index:9999;background-color:#00000080;display:flex;justify-content:center;align-items:center}.previewFix img[data-v-535f3daf]{max-width:50%;max-height:50%}.status_search[data-v-64ce971a]{display:inline-block}.status_search span[data-v-64ce971a]{min-width:40px;height:30px;padding:0 10px;display:inline-block;text-align:center;line-height:30px;border:1px solid #d9d9d9;border-right:1px solid transparent;cursor:pointer}.status_search span[data-v-64ce971a]:first-child{border-radius:2px 0 0 2px}.status_search span[data-v-64ce971a]:last-child{border-radius:0 2px 2px 0;border-right:1px solid #d9d9d9}.status_search .active[data-v-64ce971a]{background:#0c73ff;color:#fff;border-color:#0c73ff}')),document.head.appendChild(e)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}}();
|
|
2
|
+
import { ref, watch, openBlock, createElementBlock, createVNode, unref, withCtx, renderSlot, Fragment, normalizeStyle, normalizeClass, createTextVNode, toDisplayString, createCommentVNode, createBlock, createElementVNode, resolveComponent, renderList, computed, onMounted, nextTick, Teleport } from "vue";
|
|
3
3
|
import { ElDialog, ElButton, ElMenuItem, ElSubMenu, ElContainer, ElAside, ElMenu, ElMain, ElHeader, ElIcon, ElConfigProvider, ElPagination, ElMessageBox } from "element-plus";
|
|
4
4
|
import { ArrowDown } from "@element-plus/icons-vue";
|
|
5
5
|
const _hoisted_1$6 = { class: "header-title" };
|
|
@@ -40,6 +40,14 @@ const _sfc_main$6 = {
|
|
|
40
40
|
type: Number,
|
|
41
41
|
default: 400
|
|
42
42
|
},
|
|
43
|
+
percentage: {
|
|
44
|
+
type: Number,
|
|
45
|
+
default: 0.2
|
|
46
|
+
},
|
|
47
|
+
setMinScreenWidth: {
|
|
48
|
+
type: Number,
|
|
49
|
+
default: 1920
|
|
50
|
+
},
|
|
43
51
|
center: {
|
|
44
52
|
type: Boolean,
|
|
45
53
|
default: true
|
|
@@ -71,6 +79,10 @@ const _sfc_main$6 = {
|
|
|
71
79
|
confirmTextStyle: {
|
|
72
80
|
type: String,
|
|
73
81
|
default: ""
|
|
82
|
+
},
|
|
83
|
+
switchPercentage: {
|
|
84
|
+
type: Boolean,
|
|
85
|
+
default: true
|
|
74
86
|
}
|
|
75
87
|
},
|
|
76
88
|
emits: ["cancel", "confirm", "update:modelValue"],
|
|
@@ -94,17 +106,30 @@ const _sfc_main$6 = {
|
|
|
94
106
|
const save = () => {
|
|
95
107
|
emit("confirm");
|
|
96
108
|
};
|
|
109
|
+
const setDiaWidth = () => {
|
|
110
|
+
if (!props.switchPercentage) {
|
|
111
|
+
return props.width;
|
|
112
|
+
}
|
|
113
|
+
const screenWidth = window.innerWidth;
|
|
114
|
+
const LAPTOP_MAX_WIDTH = props.setMinScreenWidth;
|
|
115
|
+
if (screenWidth <= LAPTOP_MAX_WIDTH) {
|
|
116
|
+
return props.width;
|
|
117
|
+
} else {
|
|
118
|
+
return props.width + props.width * props.percentage;
|
|
119
|
+
}
|
|
120
|
+
};
|
|
97
121
|
return (_ctx, _cache) => {
|
|
98
122
|
return openBlock(), createElementBlock("div", null, [
|
|
99
123
|
createVNode(unref(ElDialog), {
|
|
100
124
|
"modal-class": "jddsDialog " + __props.customClass,
|
|
101
125
|
modelValue: show.value,
|
|
102
126
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => show.value = $event),
|
|
103
|
-
width:
|
|
127
|
+
width: setDiaWidth() + "px",
|
|
104
128
|
"close-on-click-modal": false,
|
|
105
129
|
"append-to-body": true,
|
|
106
130
|
"show-close": __props.showClose,
|
|
107
131
|
center: __props.center,
|
|
132
|
+
"destroy-on-close": "",
|
|
108
133
|
"align-center": "",
|
|
109
134
|
onClose: handleClose
|
|
110
135
|
}, {
|
|
@@ -652,7 +677,7 @@ const _sfc_main$3 = {
|
|
|
652
677
|
};
|
|
653
678
|
}
|
|
654
679
|
};
|
|
655
|
-
const HandNoData = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-
|
|
680
|
+
const HandNoData = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-7e2271b2"]]);
|
|
656
681
|
/*! Element Plus v2.14.2 */
|
|
657
682
|
var zh_cn_default = {
|
|
658
683
|
name: "zh-cn",
|
|
@@ -933,17 +958,19 @@ const _sfc_main$1 = {
|
|
|
933
958
|
openPreview
|
|
934
959
|
});
|
|
935
960
|
return (_ctx, _cache) => {
|
|
936
|
-
return
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
961
|
+
return openBlock(), createBlock(Teleport, { to: "body" }, [
|
|
962
|
+
show.value ? (openBlock(), createElementBlock("div", {
|
|
963
|
+
key: 0,
|
|
964
|
+
class: "previewFix",
|
|
965
|
+
onClick: _cache[0] || (_cache[0] = ($event) => exitPreview($event))
|
|
966
|
+
}, [
|
|
967
|
+
createElementVNode("img", { src: src.value }, null, 8, _hoisted_1$1)
|
|
968
|
+
])) : createCommentVNode("", true)
|
|
969
|
+
]);
|
|
943
970
|
};
|
|
944
971
|
}
|
|
945
972
|
};
|
|
946
|
-
const HandSeeImg = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-
|
|
973
|
+
const HandSeeImg = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-535f3daf"]]);
|
|
947
974
|
const _hoisted_1 = { class: "status_search" };
|
|
948
975
|
const _hoisted_2 = ["onClick"];
|
|
949
976
|
const _sfc_main = {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "component_ryl_v3",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "1.1.
|
|
4
|
+
"version": "1.1.90",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"description": "Vue3 login form component with Element Plus",
|
|
7
7
|
"main": "./dist/component_ryl_v3.js",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"author": "",
|
|
28
28
|
"license": "MIT",
|
|
29
29
|
"scripts": {
|
|
30
|
-
"dev": "vite",
|
|
30
|
+
"dev": "vite --host",
|
|
31
31
|
"build": "vite build",
|
|
32
32
|
"preview": "vite preview"
|
|
33
33
|
},
|
package/src/App.vue
CHANGED
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
<hand-header
|
|
3
3
|
:userInfo="userInfo"
|
|
4
4
|
collapse
|
|
5
|
+
:asideWidth="200"
|
|
6
|
+
:asideCollapseWidth="96"
|
|
5
7
|
:defaultActive="menuActive"
|
|
6
8
|
:menuList="menuList"
|
|
7
9
|
ref="menuRef"
|
|
@@ -60,6 +62,7 @@
|
|
|
60
62
|
<hand-tab :list="[{ label: '全部', value: 'all' }, { label: '待处理是的', value: 'pending' }, { label: '已处理', value: 'processed' }]" @getStatus="getStatus" />
|
|
61
63
|
<h6>图片预览</h6>
|
|
62
64
|
<img src="https://img.alicdn.com/bao/uploaded/i3/2206588314948/O1CN01KjFgoO1mQEsQjnFbC_!!2206588314948-0-C2M.jpg" alt="" style="width:60px;height: 60px;" @click="openPreview($event.target.currentSrc)">
|
|
65
|
+
<img src="https://v2-saas-1259468876.cos.ap-shanghai.myqcloud.com/system/saas/product/中控.png" alt="" style="width:60px;height: 60px;" @click="openPreview($event.target.currentSrc)">
|
|
63
66
|
<hand-see-img ref="handSeeImgRef" />
|
|
64
67
|
<h6>分页</h6>
|
|
65
68
|
<div>
|
|
@@ -82,9 +85,10 @@
|
|
|
82
85
|
@cancel="exitDialog"
|
|
83
86
|
@confirm="saveAccess"
|
|
84
87
|
customClass="sldkslfd"
|
|
88
|
+
confirmText="保存水电费第三方"
|
|
85
89
|
>
|
|
86
90
|
<template #content>
|
|
87
|
-
|
|
91
|
+
<div style="font-size:14px;">sldldfkjsldfj lk双联单控封建势力大富科技是老大开发机</div>
|
|
88
92
|
</template>
|
|
89
93
|
</hand-dialog>
|
|
90
94
|
<h6>询问窗口</h6>
|
|
@@ -162,11 +162,11 @@
|
|
|
162
162
|
.el-message-box__title{
|
|
163
163
|
span{
|
|
164
164
|
font-size: 14px;
|
|
165
|
-
font-weight: bold;
|
|
165
|
+
// font-weight: bold;
|
|
166
166
|
}
|
|
167
167
|
}
|
|
168
168
|
.el-message-box__headerbtn{
|
|
169
|
-
top:7px;
|
|
169
|
+
// top:7px;
|
|
170
170
|
}
|
|
171
171
|
.el-message-box__status{
|
|
172
172
|
top:0;
|
|
@@ -174,7 +174,7 @@
|
|
|
174
174
|
font-size: 24px !important;
|
|
175
175
|
}
|
|
176
176
|
.el-message-box__message p{
|
|
177
|
-
line-height:
|
|
177
|
+
line-height: 1.5;
|
|
178
178
|
}
|
|
179
179
|
.el-message-box__btns {
|
|
180
180
|
button {
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
border-radius: 4px;
|
|
4
4
|
}
|
|
5
5
|
.el-dialog__title,.zbt {
|
|
6
|
-
font-size:
|
|
6
|
+
font-size: 14px;
|
|
7
7
|
color: #272727;
|
|
8
8
|
line-height: normal;
|
|
9
9
|
}
|
|
@@ -13,15 +13,15 @@
|
|
|
13
13
|
}
|
|
14
14
|
}
|
|
15
15
|
.el-dialog__headerbtn{
|
|
16
|
-
top
|
|
17
|
-
right: 0;
|
|
16
|
+
top:-2px;
|
|
17
|
+
// right: 0;
|
|
18
18
|
}
|
|
19
19
|
.btn {
|
|
20
20
|
min-width: 68px;
|
|
21
21
|
height: 32px;
|
|
22
22
|
line-height: 32px;
|
|
23
23
|
border-radius: 4px;
|
|
24
|
-
padding: 0;
|
|
24
|
+
padding: 0 12px;
|
|
25
25
|
}
|
|
26
26
|
.exit {
|
|
27
27
|
font-size: 14px;
|
|
@@ -4,11 +4,12 @@
|
|
|
4
4
|
<ElDialog
|
|
5
5
|
:modal-class="'jddsDialog '+customClass"
|
|
6
6
|
v-model="show"
|
|
7
|
-
:width="
|
|
7
|
+
:width="setDiaWidth() + 'px'"
|
|
8
8
|
:close-on-click-modal="false"
|
|
9
9
|
:append-to-body="true"
|
|
10
10
|
:show-close="showClose"
|
|
11
11
|
:center="center"
|
|
12
|
+
destroy-on-close
|
|
12
13
|
align-center
|
|
13
14
|
@close="handleClose"
|
|
14
15
|
>
|
|
@@ -79,6 +80,9 @@ import { ElDialog, ElButton } from 'element-plus'
|
|
|
79
80
|
* @property {string} cancelTextStyle - 取消按钮样式
|
|
80
81
|
* @property {string} confirmTextClass - 确定按钮类名
|
|
81
82
|
* @property {string} confirmTextStyle - 确定按钮样式
|
|
83
|
+
* @property {boolean} switchPercentage - 是否开启转化百分比,默认开启
|
|
84
|
+
* @property {number} percentage - 弹窗宽度需要增加的百分比值,默认0.2
|
|
85
|
+
* @property {number} setMinScreenWidth - 设置最小屏幕宽度(像素)-- 默认1920,超过1920px时,弹窗宽度为width + (width * percentage)
|
|
82
86
|
*/
|
|
83
87
|
const props = defineProps({
|
|
84
88
|
customClass: {
|
|
@@ -113,6 +117,14 @@ const props = defineProps({
|
|
|
113
117
|
type: Number,
|
|
114
118
|
default: 400,
|
|
115
119
|
},
|
|
120
|
+
percentage: {
|
|
121
|
+
type: Number,
|
|
122
|
+
default: 0.2,
|
|
123
|
+
},
|
|
124
|
+
setMinScreenWidth: {
|
|
125
|
+
type: Number,
|
|
126
|
+
default: 1920,
|
|
127
|
+
},
|
|
116
128
|
center: {
|
|
117
129
|
type: Boolean,
|
|
118
130
|
default: true,
|
|
@@ -144,6 +156,10 @@ const props = defineProps({
|
|
|
144
156
|
confirmTextStyle: {
|
|
145
157
|
type: String,
|
|
146
158
|
default: ''
|
|
159
|
+
},
|
|
160
|
+
switchPercentage: {
|
|
161
|
+
type: Boolean,
|
|
162
|
+
default: true,
|
|
147
163
|
}
|
|
148
164
|
})
|
|
149
165
|
|
|
@@ -201,4 +217,18 @@ const exit = () => {
|
|
|
201
217
|
const save = () => {
|
|
202
218
|
emit('confirm')
|
|
203
219
|
}
|
|
220
|
+
|
|
221
|
+
// 动态设置弹窗宽度,width是最小宽度,Percentage是百分比
|
|
222
|
+
const setDiaWidth = () => {
|
|
223
|
+
if (!props.switchPercentage) {
|
|
224
|
+
return props.width;
|
|
225
|
+
}
|
|
226
|
+
const screenWidth = window.innerWidth;
|
|
227
|
+
const LAPTOP_MAX_WIDTH = props.setMinScreenWidth;
|
|
228
|
+
if (screenWidth <= LAPTOP_MAX_WIDTH) {
|
|
229
|
+
return props.width;
|
|
230
|
+
} else {
|
|
231
|
+
return props.width + (props.width * props.percentage);
|
|
232
|
+
}
|
|
233
|
+
}
|
|
204
234
|
</script>
|
|
@@ -434,8 +434,12 @@ defineExpose({
|
|
|
434
434
|
.el-tooltip{
|
|
435
435
|
text-align: center;
|
|
436
436
|
}
|
|
437
|
-
.el-
|
|
438
|
-
|
|
437
|
+
.el-menu-item .el-menu-tooltip__trigger{
|
|
438
|
+
justify-content: center;
|
|
439
|
+
}
|
|
440
|
+
.el-sub-menu__title{
|
|
441
|
+
// text-align: center !important;
|
|
442
|
+
justify-content: center;
|
|
439
443
|
}
|
|
440
444
|
i.iconfont{
|
|
441
445
|
margin-right: 0;
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<!-- 图片预览遮罩层 -->
|
|
3
|
-
<
|
|
4
|
-
<
|
|
5
|
-
|
|
3
|
+
<teleport to="body">
|
|
4
|
+
<div class="previewFix" v-if="show" @click="exitPreview($event)">
|
|
5
|
+
<img :src="src" />
|
|
6
|
+
</div>
|
|
7
|
+
</teleport>
|
|
6
8
|
</template>
|
|
7
9
|
|
|
8
10
|
<script setup>
|
|
@@ -71,10 +73,9 @@ defineExpose({
|
|
|
71
73
|
display: flex;
|
|
72
74
|
justify-content: center;
|
|
73
75
|
align-items: center;
|
|
74
|
-
|
|
75
76
|
img{
|
|
76
|
-
max-width:
|
|
77
|
-
max-height:
|
|
77
|
+
max-width: 50%;
|
|
78
|
+
max-height: 50%;
|
|
78
79
|
}
|
|
79
80
|
}
|
|
80
81
|
</style>
|