@ljhy/smallwei-avue-benteng 3.4.8

Sign up to get free protection for your applications and to get access to all the features.
package/lib/index.css ADDED
@@ -0,0 +1 @@
1
+ @charset "UTF-8";.avue-article__title{margin-bottom:15px;font-size:32px;line-height:32px;font-weight:400}.avue-article__meta{display:block;margin-bottom:20px;font-size:12px;color:#999}.avue-article__lead{color:#666;font-size:14px;line-height:22px;border:1px solid #dedede;border-radius:2px;background:#f9f9f9;padding:10px}.avue-article__body{padding-top:10px;background:#fff;font-family:Segoe UI,Lucida Grande,Helvetica,Arial,Microsoft YaHei,FreeSans,Arimo,Droid Sans,wenquanyi micro hei,Hiragino Sans GB,Hiragino Sans GB W3,FontAwesome,sans-serif;color:#333;font-size:14px}.avue-article blockquote{margin:0;font-family:Georgia,Times New Roman,Times,Kai,Kaiti SC,KaiTi,BiauKai,FontAwesome,serif;padding:1px 0 1px 15px;border-left:4px solid #ddd}.avue-crud{margin:0 auto;width:100%}.avue-crud .el-card+.el-card{margin-top:8px}.avue-crud .el-button.is-text{margin-left:4px;padding-left:4px;padding-right:4px}.avue-crud--card .el-card{border:none}.avue-crud--card .el-card__body{padding:0}.avue-crud--card .el-card+.el-card{margin-top:0}.avue-crud .el-table .el-form-item{margin-bottom:0;display:inline-block;width:100%}.avue-crud .el-table .el-form-item__label{position:absolute;left:2px}.avue-crud .el-table .el-form-item__content{line-height:inherit;font-size:inherit}.avue-crud .el-table .el-form-item__content .el-tooltip__trigger{width:100%}.avue-crud .el-table .el-form-item__error{width:100%;text-align:left;position:relative}.avue-crud .el-dropdown+.el-button{margin-left:10px}.avue-crud .el-checkbox:last-of-type{margin-right:0}.avue-crud__img>*{height:50px;margin-right:8px;object-fit:contain;font-size:50px}.avue-crud__column .el-checkbox{margin-bottom:10px;cursor:move}.avue-crud__header{display:flex;justify-content:space-between;position:relative;width:100%;min-height:40px;height:auto;overflow:hidden;margin-bottom:5px;background-color:#fff}.avue-crud__search .el-card__body{padding-bottom:5px}.avue-crud__search .el-form-item--medium.el-form-item{margin-bottom:22px}.avue-crud .el-table--small .avue-crud__color{width:30px;height:30px}.avue-crud .el-table--small .avue-crud__icon{font-size:30px}.avue-crud th{word-break:break-word;color:rgba(0,0,0,.85);background-color:#fafafa}.avue-crud table td{line-height:26px}.avue-crud--indeterminate .is-indeterminate .el-checkbox__inner{background-color:#fff;border-color:#dcdfe6}.avue-crud .el-table th.el-table__cell{word-break:break-word;color:rgba(0,0,0,.85);background-color:#fafafa}.avue-crud__color{margin:0 auto;width:40px;height:40px;border-radius:5px;display:block}.avue-crud__ghost{cursor:move;opacity:.4}.is-always-shadow+.avue-crud__pagination{padding:0}.avue-crud__pagination{position:relative;padding:20px 0}.avue-crud__pagination .el-pagination{justify-content:flex-end}.avue-crud__form{padding:0 8px}.avue-crud__empty{padding:60px 0}.avue-crud__title{font-weight:700;margin-bottom:20px;display:flex;align-items:center;justify-content:space-between;font-size:22px}.avue-crud__tip{padding:4px 10px 6px;width:100%;margin-bottom:10px;border:1px solid #d9ecff;background-color:#ecf5ff;color:#409eff;font-size:12px;border-radius:3px}.avue-crud__tip-name{margin-right:10px}.avue-crud__tip-count{padding:0 1px;font-size:16px;font-weight:700}.avue-crud__tip-button{cursor:pointer;font-size:12px;font-weight:700}.avue-crud__filter-item{margin-bottom:12px;display:flex;align-items:center;justify-content:center}.avue-crud__filter-menu{padding:0 5px;margin-bottom:20px}.avue-crud__filter-label{margin:0 5px;width:120px!important}.avue-crud__filter-symbol{margin:0 5px;width:80px!important}.avue-crud__filter-value{margin:0 5px;width:150px!important}.avue-crud__filter-value .el-date-editor.el-input,.avue-crud__filter-value .el-date-editor.el-input__inner{width:100%}.avue-crud__filter-icon{margin-left:10px}.avue-crud__dialog__header{position:relative;display:flex;align-items:center;justify-content:space-between}.avue-crud__dialog__menu{position:absolute;right:25px;z-index:1}.avue-crud__dialog__menu i{color:#909399;font-size:14px;cursor:pointer}.avue-crud__dialog__menu i:hover{color:#409EFF}.avue-crud__dialog--fullscreen{max-width:inherit;max-height:inherit}.avue-crud__dialog .el-dialog__headerbtn{top:5px}.avue-crud__dialog .el-dialog__body{padding:20px 20px 5px 10px}.avue-crud__grid{overflow-y:auto}.avue-crud__grid .el-switch{height:22px}.avue-crud__grid .el-switch__core{height:16px}.avue-crud__grid .el-switch__action{height:14px}.avue-crud__grid .el-col{padding:10px 10px 10px 0;box-sizing:border-box}.avue-crud__grid__content{border-radius:8px;overflow:hidden;position:relative;display:flex;flex-wrap:wrap;padding:20px 20px 10px;background-size:cover;border:1px solid #fafafa}.avue-crud__grid__item{box-sizing:border-box;padding-right:5px;margin-bottom:3px;width:50%;line-height:20px;font-size:12px;color:#666;display:flex;align-items:flex-start}.avue-crud__grid__label{position:relative;margin-right:10px;font-weight:450;color:#333;flex:0 0 auto;white-space:nowrap}.avue-crud__grid__label::after{position:absolute;right:-3px;content:":"}.avue-crud__grid__value{display:inline-block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.avue-crud__grid .menu .avue-crud__grid__label,.avue-crud__grid .title .avue-crud__grid__label,.avue-crud__grid__hide{display:none}.avue-crud__grid .overHidden{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.avue-crud__grid .menu .el-button,.avue-crud__grid .title .el-button{font-size:12px}.avue-crud__grid .row{width:100%}.avue-crud__grid .selection{width:inherit;position:absolute;top:-2px;right:-8px}.avue-crud__grid .index{width:inherit;position:absolute;right:20px;top:18px}.avue-crud__grid .index:before{content:"No";margin-right:2px;font-weight:700}.avue-crud__grid .title{width:80%;margin-bottom:12px}.avue-crud__grid .title .avue-crud__grid__value{font-size:16px;font-weight:700;line-height:22px;color:#333}.avue-crud__grid .menu{margin-top:8px;width:100%;justify-content:flex-end;text-align:right}.avue-card__item{margin-bottom:16px;border:1px solid #e8e8e8;background-color:#fff;box-sizing:border-box;color:rgba(0,0,0,.65);font-size:14px;font-variant:tabular-nums;line-height:1.5;list-style:none;font-feature-settings:"tnum";cursor:pointer;height:200px}.avue-card__item:hover{border-color:rgba(0,0,0,.09);box-shadow:0 2px 8px rgba(0,0,0,.09)}.avue-card__item--add{border:1px dashed #d9d9d9;width:100%;color:rgba(0,0,0,.45);background-color:#fff;border-radius:2px;display:flex;align-items:center;justify-content:center;font-size:16px}.avue-card__item--add i{margin-right:10px}.avue-card__item--add:hover{color:#40a9ff;background-color:#fff;border-color:#40a9ff}.avue-card__body{display:flex;padding:24px}.avue-card__detail{flex:1}.avue-card__avatar{width:48px;height:48px;border-radius:48px;overflow:hidden;margin-right:12px}.avue-card__avatar img{width:100%;height:100%}.avue-card__title{color:rgba(0,0,0,.85);margin-bottom:12px;font-size:16px}.avue-card__title:hover{color:#1890ff}.avue-card__info{color:rgba(0,0,0,.45);display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;height:64px}.avue-card__menu{display:flex;justify-content:space-around;height:50px;background:#f7f9fa;color:rgba(0,0,0,.45);text-align:center;line-height:50px}.avue-card__menu:hover{color:#1890ff}.avue-comment{margin-bottom:30px;display:flex;align-items:flex-start}.avue-comment--reverse{flex-direction:row-reverse}.avue-comment--reverse .avue-comment__main:after,.avue-comment--reverse .avue-comment__main:before{left:auto;right:-8px;border-width:8px 0 8px 8px}.avue-comment--reverse .avue-comment__main:before{border-left-color:#dedede}.avue-comment--reverse .avue-comment__main:after{border-left-color:#f8f8f8;margin-right:1px;margin-left:auto}.avue-comment__avatar{width:48px;height:48px;border-radius:50%;border:1px solid transparent;box-sizing:border-box;vertical-align:middle}.avue-comment__header{padding:5px 15px;background:#f8f8f8;border-bottom:1px solid #eee;display:flex;align-items:center;justify-content:space-between}.avue-comment__author{font-weight:700;font-size:14px;color:#999}.avue-comment__main{flex:1;margin:0 20px;position:relative;border:1px solid #dedede;border-radius:2px}.avue-comment__main:after,.avue-comment__main:before{position:absolute;top:10px;left:-8px;right:100%;width:0;height:0;display:block;content:" ";border-color:transparent;border-style:solid solid outset;border-width:8px 8px 8px 0;pointer-events:none}.avue-comment__main:before{border-right-color:#dedede;z-index:1}.avue-comment__main:after{border-right-color:#f8f8f8;margin-left:1px;z-index:2}.avue-comment__body{padding:15px;overflow:hidden;background:#fff;font-family:Segoe UI,Lucida Grande,Helvetica,Arial,Microsoft YaHei,FreeSans,Arimo,Droid Sans,wenquanyi micro hei,Hiragino Sans GB,Hiragino Sans GB W3,FontAwesome,sans-serif;color:#333;font-size:14px}.avue-comment blockquote{margin:0;font-family:Georgia,Times New Roman,Times,Kai,Kaiti SC,KaiTi,BiauKai,FontAwesome,serif;padding:1px 0 1px 15px;border-left:4px solid #ddd}.avue-chat{box-shadow:1px 2px 10px #eee;position:relative;background-color:#fcfcfc}.avue-chat li,.avue-chat ul{padding:0;margin:0}.avue-chat li{list-style:none;cursor:pointer}.avue-chat .web__content{height:100%;display:flex}.avue-chat .web__main{height:calc(100% - 200px);padding:15px 15px 20px;overflow-x:hidden;overflow-y:auto;box-sizing:border-box}.avue-chat .web__logo{background-color:#409eff;display:flex;padding:15px 12px;margin:0 auto;vertical-align:middle}.avue-chat .web__logo-img{margin-top:3px;width:35px;height:35px;border-radius:100%;box-shadow:0 3px 3px 0 rgba(0,0,0,.1)}.avue-chat .web__logo-info{margin-left:10px}.avue-chat .web__logo-name{position:relative;margin-top:5px;font-size:13px}.avue-chat .web__logo-dept{margin-top:1px;font-size:12px}.avue-chat .web__logo-dept,.avue-chat .web__logo-name{color:#fff;margin:0;padding:0;width:175px;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.avue-chat .web__main-item{position:relative;font-size:0;margin-bottom:10px;padding-left:60px;min-height:68px}.avue-chat .web__main-text,.avue-chat .web__main-user{display:inline-block;vertical-align:top;font-size:14px}.avue-chat .web__main-user{position:absolute;left:3px}.avue-chat .web__main-user img{width:40px;height:40px;border-radius:100%}.avue-chat .web__main-user cite{position:absolute;left:60px;top:-2px;width:500px;line-height:24px;font-size:12px;white-space:nowrap;color:#999;text-align:left;font-style:normal}.avue-chat .web__main-user cite i{padding-left:15px;font-style:normal}.avue-chat .web__main-text{position:relative;line-height:22px;margin-top:25px;padding:8px 15px;background-color:#f3f3f3;border-radius:3px;border:1px solid #f0f0f0;color:#000;word-break:break-all}.avue-chat .web__main-arrow{top:6px;left:-8px;position:absolute;display:block;width:0;height:0;border-color:transparent #ebeef5 transparent transparent;border-style:solid;border-width:8px 8px 8px 0}.avue-chat .web__main-arrow::after{content:" ";top:-7px;left:1px;position:absolute;display:block;width:0;height:0;border-color:transparent #fff transparent transparent;border-style:solid;border-width:7px 7px 7px 0}.avue-chat .web__main-item--mine .web__main-text .web__main-arrow{left:auto;right:-5px;border-color:transparent transparent transparent #409eff;border-style:solid;border-width:8px 0 8px 8px}.avue-chat .web__main-item--mine .web__main-text .web__main-arrow::after{left:auto;right:-2px;border-color:transparent transparent transparent #409eff;border-style:solid;border-width:7px 0 7px 7px}.avue-chat .web__main-list{margin:10px 0}.avue-chat .web__main-list li{height:30px;color:#409eff;line-height:30px}.avue-chat .web__main-item--mine{text-align:right;padding-left:0;padding-right:60px}.avue-chat .web__main-item--mine .web__main-user{left:auto;right:3px}.avue-chat .web__main-item--mine .web__main-user cite{left:auto;right:60px;text-align:right}.avue-chat .web__main-item--mine .web__main-user cite i{padding-left:0;padding-right:15px}.avue-chat .web__main-item--mine .web__main-text{margin-left:0;text-align:left;background-color:#409eff;color:#fff}.avue-chat .web__footer{box-shadow:0 -1px 0 0 rgba(0,0,0,.04),0 -2px 0 0 rgba(0,0,0,.01);position:absolute;left:0;bottom:0;width:100%;background-color:#fff}.avue-chat .web__msg{padding:10px;height:auto;overflow:hidden}.avue-chat .web__msg--file,.avue-chat .web__msg--img,.avue-chat .web__msg--video{position:relative;max-width:250px;min-width:200px;width:100%;margin:10px 0;border:1px solid #eee;overflow:hidden;border-radius:5px;cursor:pointer;display:block}.avue-chat .web__msg--file{height:140px;background-color:#fff}.avue-chat .web__msg--file span{box-sizing:border-box;padding:3px 5px;color:#333;display:flex;align-items:center;width:100%;justify-content:center;height:calc(100% - 80px);overflow:hidden;font-size:13px;text-align:center}.avue-chat .web__msg--file h2{margin:0;width:100%;text-align:center;line-height:80px;background-color:#409EFF;color:#fff}.avue-chat .web__msg--map{height:160px}.avue-chat .web__msg-input{display:block;width:100%;height:60px;overflow-x:hidden;overflow-y:auto;box-sizing:border-box;resize:none;outline:0;background-color:#fff;border:0;word-break:break-all;font-size:13px;line-height:17px;-webkit-appearance:none}.avue-chat .web__msg-submit{float:right;display:block;outline:0;cursor:pointer;text-align:center}.avue-chat .web__tools{padding:8px 10px 0;box-sizing:border-box}.avue-chat .web__tools i{margin-right:12px;font-size:20px;color:#888a91}.avue-chat .web__tools i:hover{color:#76b1f9}.avue-draggable{padding:10px;position:absolute;cursor:move;-webkit-tap-highlight-color:transparent;user-select:none}.avue-draggable__focus{opacity:0;position:absolute!important;top:0;left:0;z-index:-1024}.avue-draggable__mask{width:100%;height:100%;border:0;position:absolute;top:0;right:0;bottom:0;left:0;z-index:1}.avue-draggable--active{cursor:move;border:1px dashed #09f;background-color:rgba(115,170,229,.5)}.avue-draggable--move{opacity:.6;background-color:rgba(115,170,229,.5)}.avue-draggable--click{cursor:pointer}.avue-draggable__line--left{position:absolute;border-top:1px dashed #09f;width:10000px;height:0;top:0;transform:translateX(-100%)}.avue-draggable__line--top{position:absolute;border-left:1px dashed #09f;width:0;height:10000px;left:0;transform:translateY(-100%)}.avue-draggable__line--label{top:-5px;left:-8px;position:absolute;padding:5px;transform:translate(-100%,-100%);color:#09f;font-size:18px;white-space:nowrap;cursor:move}.avue-draggable__menu,.avue-image-preview .el-image-viewer__close svg,.avue-image-preview__file a{color:#fff}.avue-draggable__menu{position:absolute;top:0;left:0;background-color:#409EFF;font-size:25px;z-index:9999;cursor:pointer}.avue-draggable__range{position:absolute;width:10px;height:10px;border-radius:100%;z-index:9999;background-color:#09f}.avue-draggable__range--left,.avue-draggable__range--right{top:50%;transform:translateY(-50%)}.avue-draggable__range--left:hover,.avue-draggable__range--right:hover{cursor:ew-resize}.avue-draggable__range--left{left:-6px}.avue-draggable__range--right{right:-6px}.avue-draggable__range--bottom,.avue-draggable__range--top{left:50%;transform:translateX(-50%)}.avue-draggable__range--bottom:hover,.avue-draggable__range--top:hover{cursor:ns-resize}.avue-draggable__range--top{top:-6px}.avue-draggable__range--bottom{bottom:-6px}.avue-draggable__range--bottom-right:hover,.avue-draggable__range--top-left:hover{cursor:nwse-resize}.avue-draggable__range--bottom-left:hover,.avue-draggable__range--top-right:hover{cursor:nesw-resize}.avue-draggable__range--top-right{top:-6px;right:-6px}.avue-draggable__range--top-left{top:-6px;left:-6px}.avue-draggable__range--bottom-right{bottom:-6px;right:-6px}.avue-draggable__range--bottom-left{bottom:-6px;left:-6px}.avue-img--center{display:flex;align-items:center;justify-content:center}.avue-img--fullscreen .el-dialog__body{height:100%}.avue-image-preview{position:fixed;top:0;left:0;width:100%;height:100%;transition:all .5s;z-index:9998}.avue-image-preview svg{width:22px}.avue-image-preview .el-image-viewer__btn{z-index:1024}.avue-image-preview img{transition:all .5s;cursor:pointer}.avue-image-preview__file{text-align:center}.avue-image-preview__file i{cursor:pointer;font-size:80px}.avue-image-preview__mask{position:absolute;top:0;left:0;width:100%;height:100%;background:rgba(0,0,0,.5)}.avue-image-preview__box{width:100%;height:100%;display:flex;align-items:center;justify-content:center}.avue-image-preview__box .el-carousel{width:90%;height:100%}.avue-image-preview__box .el-carousel__container{height:100%}.avue-image-preview__box .el-carousel__item{width:100%;height:100%;display:flex;align-items:center;justify-content:center}.avue-input-number .el-input__inner{text-align:left}.avue-input-tree__desc{float:right;color:#8492a6;font-size:13px}.avue-input-tree__item{padding:0;height:auto;line-height:normal}.avue-input-table__crud .avue-crud__pagination{padding:10px 0 2px 10px;margin:0}.avue-input-table .el-table__row.disabled{color:#ccc}.amap-icon img,.amap-marker-content img{width:25px;height:34px}.avue-input-map__marker{position:absolute;top:-20px;right:-118px;color:#fff;padding:4px 10px;box-shadow:1px 1px 1px rgba(10,10,10,.2);white-space:nowrap;font-size:12px;font-family:"";background-color:#25a5f7;border-radius:3px}.avue-input-map__content{position:relative;padding-top:40px}.avue-input-map__content-input{left:0;top:0;position:absolute;z-index:1}.avue-input-map__content-box{position:relative}.avue-input-map__content-container{width:100%;height:450px}.avue-input-map__content-result{display:block!important;position:absolute;top:0;right:-8px;width:250px;height:450px;overflow-y:auto}.avue-input-icon{display:flex;flex-wrap:wrap;justify-content:space-around}.avue-input-icon__item{text-align:center;width:60px;padding:10px 20px 0;transition:all .2s}.avue-input-icon__item p{font-size:12px;margin-top:5px}.avue-input-icon__item:hover{transform:scale(1.4)}.avue-input-icon__item--active{transform:scale(1.4);color:#409EFF}.avue-input-icon__list{display:flex;flex-wrap:wrap}.avue-input-icon__filter{text-align:right}.avue-input-icon__filter .el-input{width:250px}.avue-upload--upload .el-upload--picture-img{display:inline-block}.avue-upload--upload .el-upload-list{margin-top:-6px}.avue-upload--picture-img .el-upload.is-drag{width:148px}.avue-upload--picture-img .el-upload-dragger{padding:0}.avue-upload--picture-card .el-upload-dragger{display:flex;align-items:center;justify-content:center}.avue-upload--list .el-upload{background-color:#fbfdff;border:1px dashed #c0ccda;border-radius:6px;cursor:pointer;position:relative;overflow:hidden}.avue-upload--list .el-upload:hover{border-color:#409eff}.avue-upload__progress{margin-top:10px}.avue-upload__dialog .el-dialog__header{display:none}.avue-upload__dialog .el-dialog__body{padding:10px;display:flex;justify-content:center}.avue-upload__menu{position:absolute;top:0;left:0;width:100%;height:100%;background-color:rgba(0,0,0,.5);display:flex;align-items:center;justify-content:center;z-index:1024}.avue-upload__menu i{color:#fff;margin:0 8px;font-size:20px}.avue-upload__avatar{font-size:28px;color:#8c939d;width:148px;height:148px;display:flex;align-items:center;justify-content:center;line-height:148px;text-align:center}.avue-form{position:relative;margin:0 auto;box-sizing:border-box}.avue-form__item--top{display:flex;flex-direction:column}.avue-form__item--top .el-form-item__label{width:100%!important;text-align:left!important}.avue-form__item--top .el-form-item__content{margin-left:0!important}.avue-form__item--left .el-form-item__label{text-align:left!important}.avue-form__menu{padding:5px 10px 0;box-sizing:border-box}.avue-form__menu--center{text-align:center}.avue-form__menu--center .el-button{margin:0 5px}.avue-form__menu--left{text-align:left}.avue-form__menu--right{text-align:right}.avue-form__tabs{padding:0 10px;box-sizing:border-box}.avue-form__group{align-items:flex-start;flex-wrap:wrap;height:auto}.avue-form__group--flex{display:flex}.avue-form__group .el-col{position:relative}.avue-form__line{display:inline-block;height:100%}.avue-form__row--block{width:100%;display:block}.avue-form__row--cursor{cursor:pointer}.avue-form__option{position:absolute;right:0;top:-10px;z-index:999}.avue-flow,.avue-flow__node{position:relative}.avue-form__option i{color:#666}.avue-form__option i+i{margin-left:10px}.el-drawer .avue-form{padding:0 20px}.avue-flow .avue-draggable{padding:0}.avue-flow__node{display:flex;flex-direction:column;width:200px;height:80px;border-radius:5px;box-shadow:"#66a6e0 0px 0px 12px 0px";border:1px solid #eee;box-sizing:border-box;overflow:hidden}.avue-flow__node--active{border-width:2px;border-color:#f56c6c}.avue-flow__node .el-icon{margin:0 2px;display:inline-block}.avue-checkbox .el-checkbox+.el-checkbox,.avue-radio .el-radio+.el-radio{margin-left:0}.avue-checkbox .el-checkbox,.avue-radio .el-radio{margin-right:10px}.avue-flow__node-drag{position:absolute;left:0;top:0;width:15px;height:15px;z-index:1024}.avue-flow__node-header{flex:1;background-color:#66a6e0}.avue-flow__node-body{display:flex;align-items:center;justify-content:center;flex:1.5;text-align:center;background:#fff}.avue-date .el-date-editor.el-input,.avue-date .el-date-editor.el-input__inner{width:100%}.avue-date__group{display:flex;align-items:center}.avue-date__radio .el-radio-button:last-child .el-radio-button__inner{border-radius:0;border-right:0}.avue-group .el-collapse,.avue-group .el-collapse-item__wrap,.data-card .item{border-color:#fff}.avue-date__date{width:300px}.avue-date__date .el-date-editor{border-top-left-radius:0;border-bottom-left-radius:0}.avue-select .sortable-ghost{opacity:.8;color:#fff!important;background:#409EFF!important}.avue-select .el-tag{cursor:pointer}.avue-select__desc{float:right;color:#8492a6;font-size:13px}.el-select-dropdown .avue-select__check{box-sizing:border-box;text-align:right;width:100%;padding-right:20px}.avue-group{width:100%}.avue-group .el-collapse-item__header{width:100%;height:inherit;border:none;border-bottom:1px solid #eee;margin-bottom:20px}.avue-group .el-collapse-item__content,.avue-group .van-collapse-item__content{padding-bottom:0}.avue-group .van-collapse-item__content{padding:0 2px}.avue-group .van-hairline--top-bottom::after,.avue-group .van-hairline-unset--top-bottom::after,.avue-group--arrow .el-collapse-item__arrow,.avue-group--arrow .van-icon-arrow{display:none}.avue-group .van-collapse-item__title{padding:0 10px;display:flex;align-items:center}.avue-group .van-collapse-item__title::after{left:0!important}.avue-group--none{margin:0!important;border:none!important}.avue-group--header>.el-collapse>.el-collapse-item>.el-collapse-item__header,.avue-group--header>.el-collapse>.el-collapse-item>div>.el-collapse-item__header{display:none}.avue-group--collapse .el-collapse-item__arrow,.avue-group--collapse .el-collapse-item__header{display:flex!important}.avue-group__item{margin-bottom:10px;background-color:#fff;border-bottom:1px solid #eee;border-radius:5px;box-sizing:border-box}.avue-group__item:last-child{border-bottom:none}.avue-group__header{width:100%;display:flex;align-items:center;height:50px;line-height:50px;box-sizing:border-box}.avue-group__icon{margin-right:8px;font-size:20px;color:rgba(0,0,0,.85)}.avue-group__title{font-size:16px;font-weight:500;color:rgba(0,0,0,.85)}.avue-tree{position:relative;height:100%}.avue-tree__menu{width:200px;position:fixed;z-index:1024;flex-wrap:wrap;background-color:#fff}.avue-tree__item,.avue-video{position:relative;overflow:hidden}.avue-tree__item{height:34px;line-height:34px;outline:0;padding:0 10px;white-space:nowrap;text-overflow:ellipsis;width:100%;color:#666}.avue-tree__item:hover{cursor:pointer;color:#409eff}.avue-tree__filter{margin-bottom:5px;display:flex;align-items:center}.avue-tree__content{padding:5px 0;height:calc(100% - 32px)}.avue-title p{font-weight:700;font-size:18px;margin:5px 10px}.avue-search{padding:0 20px}.avue-search__item{padding:20px 0 10px;display:flex;align-items:flex-start;border-bottom:1px dashed #e8e8e8}.avue-search__item:last-child{border-bottom:none}.avue-search__tags{padding:0 12px;margin-right:24px;margin-bottom:12px;font-size:14px;color:rgba(0,0,0,.65);cursor:pointer;white-space:nowrap;display:inline-block}.avue-search__tags:hover{color:#1890ff}.avue-search__tags--active{color:#fff;background-color:#1890ff;border-radius:5px}.avue-search__tags--active:hover{opacity:.85;color:#fff}.avue-search__title{margin:0;padding:0 20px;width:120px;font-size:14px;text-align:right;display:inline-block;box-sizing:border-box}.avue-search__content{width:calc(100% - 190px);display:inline-block}.avue-search__content .el-tag{margin-right:10px;margin-bottom:10px}.avue-sign{padding:5px}.avue-sign__canvas{border:1px solid #ccc}.avue-video{width:500px}.avue-video__border span{position:absolute;width:30px;height:30px;border-width:4px;color:#0073eb;border-style:solid}.avue-video__border span:nth-child(1){left:15px;top:15px;border-right:0;border-bottom:0}.avue-video__border span:nth-child(2){right:15px;top:15px;border-left:0;border-bottom:0}.avue-video__border span:nth-child(3){bottom:15px;left:15px;border-right:0;border-top:0}.avue-video__border span:nth-child(4){bottom:15px;right:15px;border-left:0;border-top:0}.avue-video__img{width:100px;position:absolute;left:50%;top:50%;transform:translate(-50%,-50%)}.avue-video__main{width:100%}.avue-dynamic__item{margin-bottom:10px;width:100%;display:flex;align-items:center}.avue-dynamic__header{padding-left:40px}.avue-dynamic__row{position:relative;border-top:1px dashed #eee;padding-top:13px}.avue-dynamic__row:first-child{border-top:0}.avue-dynamic__menu{position:absolute;right:0;z-index:1024}.avue-dynamic__input{margin-right:8px;width:100%}.avue-dynamic__button{margin-bottom:0!important}.avue-verify__item{padding:5px 10px;display:inline-block;margin:0 4px;box-sizing:border-box;border:1px solid #e1e1e1;font-size:64px;text-align:center}.avue-text-ellipsis__more{padding:0 2px}.avue-login .el-form-item{margin-bottom:18px}.avue-login .el-input-group__append{padding:0;overflow:hidden}.avue-login__send{min-width:150px;box-sizing:border-box}.avue-login__send:hover{color:#C0C4CC!important;border-color:#EBEEF5!important;background-color:#F5F7FA!important}.avue-login__submit{width:100%}.avue-array__item{margin-bottom:5px}.avue-array__input{display:flex}.avue-array__input .el-input{flex:auto}.avue-array__input .el-button{margin-left:5px}.avue-data-tabs .item{position:relative;margin:15px;padding:12px;height:160px;border-radius:4px;box-sizing:border-box;overflow:hidden;color:#fff}.avue-data-tabs .item a{color:#fff}.avue-data-tabs .item-header{position:relative}.avue-data-tabs .item-header>p{color:#fff;margin:0;font-size:14px}.avue-data-tabs .item-header>span{position:absolute;right:0;top:0;padding:2px 8px;border-radius:4px;font-size:12px;background:rgba(255,255,255,.3)}.avue-data-tabs .item-body .h2{color:#fff;margin:0;font-size:32px;line-height:60px;font-weight:700}.avue-data-tabs .item-footer{padding-top:8px;line-height:20px}.avue-data-tabs .item-footer>span{font-size:10px}.avue-data-tabs .item-footer>p{color:#fff;margin:0;font-size:12px}.avue-data-tabs .item-tip{display:flex;align-items:center;justify-content:center;position:absolute;width:80px;height:80px;bottom:10px;right:10px;border:2px solid #fff;border-radius:100%;font-size:48px;transform:rotate(-40deg);opacity:.1}.avue-data-cardText .item{padding:20px 25px;margin:10px 20px;background:#F8F8F8;border-radius:6px;box-shadow:2px 2px 20px #ccc}.data-box .item,.data-card .item{border-radius:5px;overflow:hidden}.avue-data-cardText .item-header{color:#000;font-weight:700}.avue-data-cardText .item-content{margin-top:8PX;font-size:14px;line-height:22px;color:#333}.avue-data-cardText .item-footer{margin-top:20px;display:flex;justify-content:space-between;font-size:12px;color:#999}.data-box .item{position:relative;margin:0 auto 10px;width:96%;height:100px;box-sizing:border-box}.data-box .item:hover .item-text{top:0}.data-box .item a{display:flex}.data-box .item-icon{width:100px;height:100px;color:#fff;text-align:center;line-height:100px;align-items:center;justify-content:center;display:flex}.data-box .item-icon i{font-size:48px!important}.data-box .item-info{border-radius:0 5px 5px 0;border:1px solid #eee;border-left:none;background-color:#fff;flex:1;display:flex;justify-content:center;flex-direction:column}.data-box .item-info .title{font-size:30px;line-height:40px;text-align:center}.data-box .item-info .info{color:#999;font-size:14px;text-align:center}.data-progress .item{margin:10px}.data-progress .item-header{margin-bottom:10px;display:flex;align-items:center;justify-content:space-between}.data-progress .item-count{line-height:26px;font-size:26px;color:#666}.data-progress .item-title{color:#999;font-size:14px}.data-icons .item{display:flex;align-items:center;justify-content:center;width:90%;margin:10px 15px}.data-icons .item-icon{margin-top:3px;margin-right:0!important;text-align:center}.data-icons .item-icon>i{font-size:46px!important}.data-icons .item-info{text-align:center;padding:10px 0}.data-icons .item-info>span{display:block;padding:5px 0;color:#999;font-size:12px}.data-icons .item-info .count{font-size:20px;line-height:25px}.data-icons .item--easy{flex-direction:column}.data-icons .item--easy>.item-icon{margin:0}.data-icons .item--easy>.item-info{margin-top:-15px}.data-icons .item--easy>.item-info>span{font-size:14px}.data-card .item{position:relative;margin:0 auto 50px;width:230px;height:340px;border-width:1px;border-style:solid}.data-card .item:hover .item-text{top:0}.data-card .item-img{width:100%;border-radius:5px 5px 0 0}.data-card .item-text{position:absolute;top:150px;padding:20px 15px;width:100%;height:340px;overflow:auto;box-sizing:border-box;border-radius:0 0 5px 5px;opacity:.9;transition:top .4s}.data-card .item-text>p{font-size:12px;line-height:25px;text-indent:2em}.avue-data-display .item{display:flex;align-items:center;flex-direction:column;margin:5px 0;text-align:center}.avue-data-display .count{display:block;margin:8px 0 15px;font-weight:700;font-size:32px;color:#15A0FF}.avue-data-display .title{line-height:32px;color:#999}.avue-data-display .splitLine{display:block;margin:0 auto;width:24px;height:1px;background:#9B9B9B}.avue-data-imgtext .item{position:relative;height:340px;width:240px;margin:10px auto 50px;border-radius:5px;box-shadow:2px 2px 20px #ccc}.avue-data-imgtext .item-header img{width:100%;height:170px;border-radius:5px 5px 0 0}.avue-data-imgtext .item-content{padding:10px 15px;color:#333!important}.avue-data-imgtext .item-content span{font-size:20px}.avue-data-imgtext .item-content:hover span{color:#1890ff}.avue-data-imgtext .item-content p{font-size:14px;height:60px;margin:6px 0;overflow:hidden}.avue-data-imgtext .item-footer{padding:10px 15px;position:relative}.avue-data-imgtext .item-footer img{height:20px;width:20px;border-radius:50%}.avue-data-imgtext .item-footer div{display:inline-block}.avue-data-imgtext .item-footer div li,.avue-data-imgtext .item-footer div ul{padding:0;margin:0 0 0 -8px;list-style:none;display:inline-block;border:2px solid #fff;border-radius:50%}.avue-data-imgtext .item-footer div:nth-child(1){font-size:14px;color:#ccc!important}.avue-data-imgtext .item-footer div:nth-child(2){position:absolute;right:15px}.avue-data-operatext .item{margin:5px 10px;box-sizing:border-box;position:relative;border-radius:3px;background:#fff;box-shadow:0 1px 1px rgba(0,0,0,.1)}.avue-data-operatext .item a{color:#333}.avue-data-operatext .item-header{padding:20px 20px 60px;border-top-right-radius:3px;border-top-left-radius:3px;color:#fff;background-position:center center}.avue-data-operatext .item-title{margin-top:0;margin-bottom:5px;font-size:25px;font-weight:300;text-shadow:0 1px 1px rgba(0,0,0,.2);display:block}.avue-data-operatext .item-subtitle{font-size:14px;font-weight:400}.avue-data-operatext .item-content{border-top:1px solid #f4f4f4;padding:10px 10px 20px;background-color:#fff;border-radius:0 0 3px 3px}.avue-data-operatext .item-img{margin:-60px auto 5px;width:90px;height:90px;border-radius:100%;overflow:hidden;border:4px solid #fff}.avue-data-operatext .item-img img{width:100%;height:100%}.avue-data-operatext .item-list{display:flex;flex-wrap:wrap}.avue-data-operatext .item-row{box-sizing:border-box;width:33.33%;text-align:center}.avue-data-operatext .item-label{margin-bottom:5px;display:block;font-weight:600;font-size:16px}.avue-data-operatext .item-value{display:block;font-weight:300;text-transform:uppercase}.avue-data-rotate .item{margin:5px 10px;box-sizing:border-box;position:relative;color:#fff;border-radius:3px}.avue-data-rotate .item-box{padding:10px 20px}.avue-data-rotate .item-count{margin-bottom:5px;font-size:38px;white-space:nowrap;font-weight:300;display:block}.avue-data-rotate .item-title{font-size:15px}.avue-data-rotate .item-icon{transition:all .3s linear;position:absolute;top:20px;right:20px;font-size:65px;color:rgba(0,0,0,.15)}.avue-data-rotate .item-icon:hover{font-size:70px}.avue-data-rotate .item-more{position:relative;text-align:center;padding:3px 0;color:#fff;color:rgba(255,255,255,.8);display:block;z-index:10;font-size:14px;letter-spacing:2px;background:rgba(0,0,0,.1);text-decoration:none}.avue-data-pay .item{margin:0 auto;padding-bottom:16px;width:80%;position:relative;border-radius:4px;background-color:#fff;min-height:670px;box-shadow:1px 2px 10px #eee}.avue-data-pay .top{width:100%;height:6px;position:absolute;top:0;left:0;border-radius:4px 4px 0 0}.avue-data-pay .header{margin-bottom:40px;text-align:center}.avue-data-pay .title{text-align:center;padding:20px 0 10px;font-size:20px;font-weight:200}.avue-data-pay .money span{margin-right:5px;font-size:14px}.avue-data-pay .money .b{margin-right:2px;font-size:20px;font-weight:700}.avue-data-pay .money s{margin-right:3px;font-size:12px}.avue-data-pay .money em{font-size:14px;font-style:normal}.avue-data-pay .img{width:50px}.avue-data-pay .line{width:60%;height:1px;background:hsla(0,0%,59%,.1);margin:20px auto}.avue-data-pay .btn{display:block;width:120px;height:32px;line-height:32px;margin:0 auto;text-align:center;border-radius:32px;color:#fff;cursor:pointer;transition:opacity .2s ease-in-out}.avue-data-pay .list-item{list-style:none;padding-left:20px;margin-bottom:12px;color:#666;font-size:14px}.avue-data-pay .list-item a{color:#666}.avue-data-pay .list-item-icon{color:#515a6e;margin-right:8px}.avue-data-pay .list-item--link{font-size:12px;color:#2d8cf0}.avue-data-pay .list-item--no,.avue-data-pay .list-item--no+span{color:#c5c8ce}.data-price .item{margin:0 20px;text-align:center;box-shadow:2px 3px 15px #eee}.data-price .item:hover{border:1px solid #00a680}.data-price .item:hover .body{color:#fff;background-color:#00a680}.data-price .item:hover .body::after{border-top-color:#00a680}.data-price .item:hover .list{color:#00a680}.data-price .item:hover .price{color:#fff}.data-price .item .title{height:80px;line-height:80px;font-size:18px;color:#333}.data-price .item .price{padding:0 8px;margin:0 0 50px;line-height:120px;height:120px;font-size:42px;color:#6b6b6b}.data-price .item .append{font-size:16px}.data-price .item .body{position:relative;padding:0;margin:0 0 50px;background-color:#f4f4f4;line-height:120px;height:120px;font-size:42px;color:#6b6b6b}.data-price .item .body::before{content:"¥";font-size:16px;font-weight:400}.data-price .item .body::after{content:"";position:absolute;display:block;width:0;height:0;bottom:-15px;left:50%;transform:translateX(-50%);border-color:#f4f4f4 transparent transparent;border-style:solid;border-width:20px 30px 0}.data-price .item .list{padding-bottom:30px;color:#666;font-size:14px}.avue-data-panel .item{padding:0 30px;margin:0 20px;cursor:pointer;height:108px;font-size:12px;position:relative;overflow:hidden;color:#666;background:#fff;box-shadow:4px 4px 40px rgba(0,0,0,.05);border-color:rgba(0,0,0,.05);display:flex;align-items:center;justify-content:space-between}.avue--detail .avue-checkbox__all,.avue--detail .el-form-item.is-required:not(.is-no-asterisk) .el-form-item__label-wrap>.el-form-item__label:before,.avue--detail .el-form-item.is-required:not(.is-no-asterisk)>.el-form-item__label:before,.avue--detail .el-icon.avue-upload__avatar,.avue--detail .el-input-number__decrease,.avue--detail .el-input-number__increase,.avue--detail .el-input__prefix,.avue--detail .el-input__suffix,.avue--detail .el-select__suffix,.avue--detail .el-upload.el-upload--picture,.avue--detail .el-upload.el-upload--picture-card,.avue--detail .el-upload.el-upload--text,.avue--detail .el-upload__tip,.avue-canvas{display:none}.avue-data-panel .item-icon{font-size:52px}.avue-data-panel .item-info{text-align:center}.avue-data-panel .item-title{line-height:18px;color:rgba(0,0,0,.45);font-size:16px;margin-bottom:12px}.avue-data-panel .item-count{font-size:20px}[class^=avue-data-] a,[class^=data-] a{text-decoration:none}body{font-family:Chinese Quote,-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Hiragino Sans GB,Microsoft YaHei,Helvetica Neue,Helvetica,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol}*{outline:0}.avue--detail .hover-row td{background-color:#fff!important}.avue--detail .avue-group__header{border-bottom:1px solid #eee;padding-left:10px}.avue--detail .el-select__wrapper.is-disabled{background-color:transparent;box-shadow:none!important}.avue--detail .el-collapse-item__header{margin-bottom:0}.avue--detail .el-input.is-disabled .el-input__inner,.avue--detail .el-range-editor.is-disabled,.avue--detail .el-range-editor.is-disabled input,.avue--detail .el-textarea.is-disabled .el-textarea__inner{color:#606266;background-color:#fff;padding-left:0;box-shadow:none;-webkit-text-fill-color:inherit}.avue--detail .el-input-group__append,.avue--detail .el-input-group__prepend{background-color:transparent;border:none}.avue--detail .el-input__inner,.avue--detail .el-textarea__inner{border:none}.avue--detail .el-input__inner::-webkit-input-placeholder,.avue--detail .el-textarea__inner::-webkit-input-placeholder{color:transparent!important}.avue--detail .el-input__inner::-moz-placeholder,.avue--detail .el-textarea__inner::-moz-placeholder{color:transparent!important}.avue--detail .el-input__inner::-ms-input-placeholder,.avue--detail .el-textarea__inner::-ms-input-placeholder{color:transparent!important}.avue--detail .el-checkbox__input.is-disabled.is-checked .el-checkbox__inner{background-color:#409EFF;border-color:#409EFF}.avue--detail .el-checkbox__input.is-disabled.is-checked .el-checkbox__inner::after{border-color:#fff}.avue--detail .el-radio__input.is-disabled.is-checked .el-radio__inner{background-color:#409EFF;border-color:#409EFF}.avue--detail .el-radio__input.is-disabled.is-checked .el-radio__inner::after{background-color:#fff}.avue--detail .el-checkbox__input.is-disabled+span.el-checkbox__label,.avue--detail .el-radio__input.is-disabled+span.el-radio__label{color:#606266}.avue--detail .el-row{border-top:1px solid #ebeef5;border-left:1px solid #ebeef5}.avue--detail .el-col{margin:0!important;padding:0!important;border-bottom:1px solid #ebeef5;border-right:1px solid #ebeef5}.avue--detail .el-form-item{margin-bottom:0;background:#fafafa}.avue--detail .el-form-item__label{padding-right:20px;color:#909399;box-sizing:border-box;background:#fafafa}.avue--detail .el-tag{margin-left:0!important;margin-right:6px!important}.avue--detail .avue-crud{margin:10px 0}.avue--detail .el-form-item__content{border-left:1px solid #ebeef5;padding:0 20px;box-sizing:border-box;background-color:#fff}.avue--detail .el-input.is-disabled .el-input__wrapper{box-shadow:none;background-color:#fff}.avue--detail .avue-upload--picture-img,.avue--detail .el-upload-list--picture-card{padding-top:10px}.avue--detail .avue-upload--picture-img .el-upload.el-upload--text{display:inline-block}.avue--detail__column .el-form-item{background-color:#fff}.avue--detail__column .el-form-item__label{padding-right:12px}.avue--detail__column .el-form-item__content{padding-left:0;border-left:none}.avue-icon{display:flex;align-items:center;justify-content:center}.avue-icon i,.avue-icon svg{width:20px;height:20px;font-size:20px}.avue-icon--small i,.avue-icon--small svg{font-size:15px;width:15px;height:15px}.avue-dialog{min-height:180px;border-radius:2px;max-height:calc(100% - 200px);max-width:calc(100% - 100px);display:flex;padding:0;flex-direction:column}.el-dialog.is-fullscreen,.el-drawer{max-width:initial;max-height:initial}.avue-dialog .el-dialog__header{padding:16px}.avue-dialog .el-dialog__header,.avue-dialog .el-drawer__header{border-bottom:1px solid #f0f0f0}.avue-dialog .el-dialog__title,.avue-dialog .el-drawer__header{color:rgba(0,0,0,.85);font-weight:500;word-wrap:break-word}.avue-dialog .el-dialog__body{padding:20px 20px 60px;flex:1;overflow:scroll}.avue-dialog .el-dialog__footer{padding:10px 20px 20px}.avue-dialog .el-drawer{position:absolute;right:0;top:0;display:flex;flex-direction:column}.avue-dialog .el-drawer__header{margin:0;padding:16px 10px 16px 24px}.avue-dialog .el-drawer__body{padding-bottom:60px}.avue-dialog__footer{z-index:2;display:block;padding:10px 16px;box-sizing:border-box;border-top:1px solid #f0f0f0;width:100%;position:absolute;left:0;bottom:0;background-color:#fff;text-align:right}.avue-dialog__footer--left{text-align:left}.avue-dialog__footer--center{text-align:center}.avue-dialog--none .el-dialog__body{padding-bottom:20px}.el-drawer{left:initial;transform:initial}.el-drawer .avue-crud__dialog__menu{margin-top:5px}.el-drawer .avue-crud__dialog__menu i{font-size:16px}.avue-form .avue-cascader,.avue-form .avue-date .el-input,.avue-form .avue-input-number,.avue-form .avue-input-tree,.avue-form .avue-select,.avue-form .avue-time .el-input,.avue-form .el-form-item__content>div{width:100%}.avue-form .avue-date .el-date-editor,.avue-form .avue-time .el-date-editor{width:100%;box-sizing:border-box}.el-upload--picture-card .el-upload-dragger,.el-upload--picture-img .el-upload-dragger{width:inherit;height:inherit;background-color:inherit}@media screen and (max-width:992px){.avue-crud .avue-crud__menu{display:block}.avue-crud .avue-crud__left,.avue-crud .avue-crud__right{margin:5px 0;width:100%}.avue-crud .avue-crud__right{text-align:right}}
@@ -0,0 +1,46 @@
1
+ import { hasOwn } from 'utils/util';
2
+
3
+ const RE_NARGS = /(%|)\{([0-9a-zA-Z_]+)\}/g;
4
+ /**
5
+ * String format template
6
+ * - Inspired:
7
+ * https://github.com/Matt-Esch/string-template/index.js
8
+ */
9
+ export default function(Vue) {
10
+
11
+ /**
12
+ * template
13
+ *
14
+ * @param {String} string
15
+ * @param {Array} ...args
16
+ * @return {String}
17
+ */
18
+
19
+ function template(string = '', ...args) {
20
+ if (args.length === 1 && typeof args[0] === 'object') {
21
+ args = args[0];
22
+ }
23
+
24
+ if (!args || !args.hasOwnProperty) {
25
+ args = {};
26
+ }
27
+
28
+ return string.replace(RE_NARGS, (match, prefix, i, index) => {
29
+ let result;
30
+
31
+ if (string[index - 1] === '{' &&
32
+ string[index + match.length] === '}') {
33
+ return i;
34
+ } else {
35
+ result = hasOwn(args, i) ? args[i] : null;
36
+ if (result === null || result === undefined) {
37
+ return '';
38
+ }
39
+
40
+ return result;
41
+ }
42
+ });
43
+ }
44
+
45
+ return template;
46
+ }
@@ -0,0 +1,47 @@
1
+ import Format from './format';
2
+ import defaultLang from './lang/zh';
3
+ import { createApp } from 'vue'
4
+ const Vue = createApp({})
5
+ const format = Format(Vue);
6
+ let lang = defaultLang;
7
+ let merged = false;
8
+ let i18nHandler = function () {
9
+ const vuei18n = Object.getPrototypeOf(this || Vue || {}).$t;
10
+ if (typeof vuei18n === 'function' && !!Vue.locale) {
11
+ if (!merged) {
12
+ merged = true;
13
+ Vue.locale(
14
+ Vue.config.lang,
15
+ Object.assign(lang, Vue.locale(Vue.config.lang) || {}, { clone: true })
16
+ );
17
+ }
18
+ return vuei18n.apply(this, arguments);
19
+ }
20
+ };
21
+
22
+ export const t = function (path, options) {
23
+ let value = i18nHandler.apply(this, arguments);
24
+ if (value !== null && value !== undefined) return value;
25
+
26
+ const array = path.split('.');
27
+ let current = lang;
28
+
29
+ for (let i = 0, j = array.length; i < j; i++) {
30
+ const property = array[i];
31
+ value = current[property];
32
+ if (i === j - 1) return format(value, options);
33
+ if (!value) return '';
34
+ current = value;
35
+ }
36
+ return '';
37
+ };
38
+
39
+ export const use = function (l) {
40
+ lang = l || lang;
41
+ };
42
+
43
+ export const i18n = function (fn) {
44
+ i18nHandler = fn || i18nHandler;
45
+ };
46
+
47
+ export default { use, t, i18n };
@@ -0,0 +1,100 @@
1
+ export default {
2
+ common: {
3
+ submitBtn: 'Submit',
4
+ cancelBtn: 'Cancel',
5
+ condition: 'Condition',
6
+ display: 'Display',
7
+ hide: 'Hide'
8
+ },
9
+ tip: {
10
+ select: 'Please select',
11
+ input: 'Please input'
12
+ },
13
+ check: {
14
+ checkAll: 'Select All'
15
+ },
16
+ upload: {
17
+ upload: 'Click to Upload',
18
+ tip: 'Drop files here, or'
19
+ },
20
+ time: {
21
+ start: 'Start',
22
+ end: 'End'
23
+ },
24
+ date: {
25
+ start: 'Start Date',
26
+ end: 'End Date',
27
+ t: 'Today',
28
+ y: 'Yesterday',
29
+ n: 'Last 7 days',
30
+ a: 'All'
31
+ },
32
+ form: {
33
+ printBtn: 'Print',
34
+ mockBtn: 'Mock',
35
+ submitBtn: 'Submit',
36
+ emptyBtn: 'Empty'
37
+ },
38
+ crud: {
39
+ excel: {
40
+ name: 'File Name',
41
+ type: 'Data',
42
+ typeDic: {
43
+ true: 'Data on this page (all of the data on this page)',
44
+ false: 'Selected Data (the selected data on this page)'
45
+ },
46
+ prop: 'Field',
47
+ params: 'Parameters',
48
+ paramsDic: {
49
+ header: 'Table Header',
50
+ data: 'Data Source',
51
+ headers: 'Complex Table Header',
52
+ sum: 'Total'
53
+ }
54
+ },
55
+ filter: {
56
+ addBtn: 'Add',
57
+ clearBtn: 'Clear',
58
+ resetBtn: 'Reset',
59
+ cancelBtn: 'Cancel',
60
+ submitBtn: 'Submit'
61
+ },
62
+ column: {
63
+ name: 'Name',
64
+ hide: 'Hide',
65
+ fixed: 'Fixed',
66
+ filters: 'Filter',
67
+ sortable: 'Sort',
68
+ index: 'Index',
69
+ width: 'Width'
70
+ },
71
+ emptyText: 'No Data',
72
+ tipStartTitle: 'Selected',
73
+ tipEndTitle: 'Items ',
74
+ editTitle: 'Edit',
75
+ copyTitle: 'Copy',
76
+ addTitle: 'Add',
77
+ viewTitle: 'View',
78
+ filterTitle: 'Filter Conditions',
79
+ showTitle: 'Column Display',
80
+ menu: 'Menu',
81
+ addBtn: 'Add',
82
+ show: 'Show',
83
+ hide: 'Hide',
84
+ open: 'Open',
85
+ shrink: 'Shrink',
86
+ printBtn: 'Print',
87
+ mockBtn: 'Mock',
88
+ excelBtn: 'Export',
89
+ updateBtn: 'Update',
90
+ cancelBtn: 'Cancel',
91
+ searchBtn: 'Search',
92
+ emptyBtn: 'Empty',
93
+ menuBtn: 'Menu',
94
+ saveBtn: 'Save',
95
+ viewBtn: 'View',
96
+ editBtn: 'Edit',
97
+ copyBtn: 'Copy',
98
+ delBtn: 'Delete'
99
+ }
100
+ };
@@ -0,0 +1,100 @@
1
+ export default {
2
+ common: {
3
+ submitBtn: '确 定',
4
+ cancelBtn: '取 消',
5
+ condition: '条件',
6
+ display: '显示',
7
+ hide: '隐藏'
8
+ },
9
+ tip: {
10
+ select: '请选择',
11
+ input: '请输入'
12
+ },
13
+ check: {
14
+ checkAll: '全选'
15
+ },
16
+ upload: {
17
+ upload: '点击上传',
18
+ tip: '将文件拖到此处,或'
19
+ },
20
+ time: {
21
+ start: '开始',
22
+ end: '结束'
23
+ },
24
+ date: {
25
+ start: '开始',
26
+ end: '结束',
27
+ t: '今日',
28
+ y: '昨日',
29
+ n: '近7天',
30
+ a: '全部'
31
+ },
32
+ form: {
33
+ printBtn: '打 印',
34
+ mockBtn: '模 拟',
35
+ submitBtn: '提 交',
36
+ emptyBtn: '清 空'
37
+ },
38
+ crud: {
39
+ excel: {
40
+ name: '文件名',
41
+ type: '数据',
42
+ typeDic: {
43
+ true: '当前数据(当前页全部的数据)',
44
+ false: '选中的数据(当前页选中的数据)'
45
+ },
46
+ prop: '字段',
47
+ params: '参数',
48
+ paramsDic: {
49
+ header: '表头',
50
+ data: '数据源',
51
+ headers: '复杂表头',
52
+ sum: '合计统计'
53
+ }
54
+ },
55
+ filter: {
56
+ addBtn: '新增条件',
57
+ clearBtn: '清空数据',
58
+ resetBtn: '清空条件',
59
+ cancelBtn: '取 消',
60
+ submitBtn: '确 定'
61
+ },
62
+ column: {
63
+ name: '列名',
64
+ hide: '隐藏',
65
+ fixed: '冻结',
66
+ filters: '过滤',
67
+ sortable: '排序',
68
+ index: '顺序',
69
+ width: '宽度'
70
+ },
71
+ emptyText: '暂无数据',
72
+ tipStartTitle: '当前表格已选择',
73
+ tipEndTitle: '项',
74
+ editTitle: '编 辑',
75
+ copyTitle: '复 制',
76
+ addTitle: '新 增',
77
+ viewTitle: '查 看',
78
+ filterTitle: '过滤条件',
79
+ showTitle: '列显隐',
80
+ menu: '操作',
81
+ addBtn: '新 增',
82
+ show: '显 示',
83
+ hide: '隐 藏',
84
+ open: '展 开',
85
+ shrink: '收 缩',
86
+ printBtn: '打 印',
87
+ mockBtn: '模 拟',
88
+ excelBtn: '导 出',
89
+ updateBtn: '修 改',
90
+ cancelBtn: '取 消',
91
+ searchBtn: '搜 索',
92
+ emptyBtn: '清 空',
93
+ menuBtn: '功 能',
94
+ saveBtn: '保 存',
95
+ viewBtn: '查 看',
96
+ editBtn: '编 辑',
97
+ copyBtn: '复 制',
98
+ delBtn: '删 除'
99
+ }
100
+ };
package/package.json ADDED
@@ -0,0 +1,78 @@
1
+ {
2
+ "name": "@ljhy/smallwei-avue-benteng",
3
+ "version": "3.4.8",
4
+ "description": "A Magic Configurable Web Framework",
5
+ "main": "lib/avue.min.js",
6
+ "unpkg": "lib/avue.min.js",
7
+ "jsdelivr": "lib/avue.min.js",
8
+ "scripts": {
9
+ "bootstrap": "yarn --registry https://registry.npm.taobao.org || npm install --registry https://registry.npm.taobao.org && yarn gen:version",
10
+ "dev": "yarn gen:version && cross-env TARGET=dev gulp watch",
11
+ "gen:version": "node build/version.js",
12
+ "build": "yarn gen:version && cross-env TARGET=prod UINAME=element-ui gulp build",
13
+ "all": "yarn build && yarn dev"
14
+ },
15
+ "publishConfig": {
16
+ "access": "public",
17
+ "registry": "https://registry.npmjs.org/"
18
+ },
19
+ "keywords": [
20
+ "vue",
21
+ "element-plus",
22
+ "avue"
23
+ ],
24
+ "repository": {
25
+ "type": "git",
26
+ "url": "git+https://github.com/GoatOriginAxelTrigger/avue.git"
27
+ },
28
+ "author": "benteng",
29
+ "license": "MIT",
30
+ "bugs": {
31
+ "url": "https://gitee.com/smallweigit/avue/issues"
32
+ },
33
+ "homepage": "https://gitee.com/smallweigit/avue/blob/master/README.md",
34
+ "devDependencies": {
35
+ "@babel/cli": "^7.12.1",
36
+ "@babel/core": "^7.11.4",
37
+ "@babel/plugin-transform-runtime": "^7.12.1",
38
+ "@babel/preset-env": "^7.11.5",
39
+ "@vue/compiler-sfc": "^3.0.9",
40
+ "@vue/component-compiler-utils": "^3.2.0",
41
+ "axios": "^0.21.1",
42
+ "babel-loader": "^8.2.2",
43
+ "cross-env": "^3.1.3",
44
+ "css-loader": "^5.2.0",
45
+ "element-plus": "^2.3.7",
46
+ "eslint": "4.14.0",
47
+ "eslint-config-elemefe": "0.1.1",
48
+ "eslint-loader": "^1.9.0",
49
+ "eslint-plugin-html": "^4.0.1",
50
+ "eslint-plugin-json": "^1.2.0",
51
+ "gulp": "^4.0.2",
52
+ "gulp-autoprefixer": "^8.0.0",
53
+ "gulp-cssmin": "^0.2.0",
54
+ "gulp-postcss": "^9.0.1",
55
+ "gulp-sass": "^5.1.0",
56
+ "progress-bar-webpack-plugin": "^1.11.0",
57
+ "sass": "^1.52.1",
58
+ "vue": "^3.3.4",
59
+ "vue-loader": "^16.1.2",
60
+ "webpack": "^4.27.0",
61
+ "webpack-bundle-analyzer": "^3.0.3",
62
+ "webpack-merge": "^4.1.4"
63
+ },
64
+ "peerDependencies": {
65
+ "element-plus": ">=2.2.0",
66
+ "vue": ">=3.2.0"
67
+ },
68
+ "dependencies": {
69
+ "@element-plus/icons-vue": "^2.0.6",
70
+ "countup.js": "^1.9.3",
71
+ "dayjs": "^1.10.4"
72
+ },
73
+ "files": [
74
+ "lib",
75
+ "README.md",
76
+ "LICENSE"
77
+ ]
78
+ }