diff --git a/plugins/addon/example/template/admin/css/order_copy.css b/plugins/addon/example/template/admin/css/order_copy.css deleted file mode 100644 index c5853bf..0000000 --- a/plugins/addon/example/template/admin/css/order_copy.css +++ /dev/null @@ -1,562 +0,0 @@ -.order-search-wrapper { - padding: 5px 0; - display: flex; - margin-bottom: 43px; -} -.order-search-wrapper.internal { - justify-content: space-between; -} -.order-search-wrapper .t-input__wrap { - width: 240px; - max-width: 100%; -} -.list-card-container { - width: auto !important; -} -.order-search-wrapper .t-select__wrap { - width: 240px; -} -.order-search-wrapper .t-input__wrap .t-input__prefix.t-input__prefix-icon { - position: absolute; - right: 0; -} -.search-left-bottom { - margin-top: 10px; -} -.search-left-top, -.search-left-bottom { - display: flex; -} -.search-left-top > div, -.search-left-bottom > div { - margin-right: 10px; -} -.search-left-bottom .t-button { - width: 70px; - height: 32px; - background: var(--td-brand-color); - border-radius: 3px; - color: #FFFFFF; - font-size: 14px; -} -.search-box-right { - text-align: right; -} -.search-box-right .t-select { - margin-bottom: 10px; -} -.t-table .t-table__header--fixed:not(.t-table__header--multiple) > tr > th { - background-color: #ffffff; - color: #999999; - font-size: 14px; -} -.table-status-span { - color: var(--td-brand-color); -} -.turn-inside-dialog-footer { - display: flex; - justify-content: end; -} -.turn-inside-dialog-footer button { - margin-left: 10px; -} -.hover-name { - cursor: pointer; -} -.order-name { - cursor: pointer; -} -.order-name:hover { - text-decoration: underline; -} -.product-info { - margin: 20px 0; - display: flex; - column-gap: 50px; - flex-wrap: wrap; -} -.product-info .host-item { - cursor: pointer; - color: var(--td-brand-color); -} -.order-type-add-btn { - width: 100%; - height: 42px; - border-top: 0; - border-radius: 0px; - border-color: #e7e7e7 !important; -} -.order-type-close-btn { - margin-left: calc(50% - 30px); - margin-top: 30px; -} -.upload-btn .t-button__text { - display: flex; - color: #999999; -} -.order-upload-wrapper .t-form__controls-content { - align-items: baseline; -} -/* 回复页 */ -.no-wrap { - white-space: nowrap; -} -.reply-divider { - margin: 0; -} -.reply-divider .t-divider__inner-text { - font-size: 16px; - font-family: PingFang SC; - font-weight: bold; - color: #333333; -} -.t-divider--with-text .t-divider__inner-text:not(:empty) { - padding-left: 0; -} -.reply-divider.t-divider--with-text-left:before { - width: 0; -} -.reply-divider.t-divider--with-text-left:after { - margin-top: 10px; -} -.detail-row { - display: flex; - flex-direction: row; - flex-wrap: wrap; -} -.detail-value { - word-break: break-all; - overflow-wrap: break-word; -} -.detail-item { - margin-left: 16px; - margin-right: 40px; - display: flex; - flex-direction: row; - align-items: baseline; -} -.detail-value { - font-size: 16px; - font-family: PingFang SC; - font-weight: 500; - line-height: 36px; - color: #333333; -} -.detail-label { - font-size: 16px; - font-family: PingFang SC; - font-weight: 500; - line-height: 36px; - color: #999999; - margin-right: 6px; -} -.reply-list { - margin-top: 34px; - padding-right: 73px; -} -.reply-list .t-list-item__content { - width: 100%; -} -.reply-list .t-comment__avatar-image { - height: 40px; - width: 40px; -} -.reply-list .t-comment__detail { - background: #F0F0FD; - border-radius: 0px 12px 12px 12px; - padding: 12px 20px 16px 20px; - font-size: 14px; - font-family: PingFang SC; - font-weight: 400; - line-height: 24px; - color: #333333; -} -.reply-list .t-comment__actions { - justify-content: space-between; - margin-left: -30px; -} -.reply-list .t-list-item { - padding: 12px 16px; -} -.reply-list-attachment { - display: flex; - flex-wrap: wrap; -} -.reply-list-attachment-item { - color: rgba(0, 0, 0, 0.4); - margin-right: 10px; - max-width: 130px; - overflow: hidden; - word-break: break-all; - overflow-wrap: break-word; - white-space: nowrap; - text-overflow: ellipsis; -} -.reply-list-attachment-item:hover { - cursor: pointer; - color: #0052d9; -} -.reply-form { - display: flex; - flex-direction: column; - align-items: flex-end; - padding: 0 16px; -} -.reply-form-btn { - width: 100%; - margin-top: 14px; - display: flex; - justify-content: space-between; -} -.reply-form-btn .t-upload__trigger { - margin-right: 10px; -} -.reply-form-btn .t-upload__single { - display: flex; -} -.reply-form-btn .upload-list { - display: flex; - align-items: baseline; -} -.t-comment__actions > li:hover { - color: rgba(0, 0, 0, 0.4); -} -/* 图标 */ -.icon-reply { - background: url(../img/icon/icon-reply.png) 7px no-repeat; - background-size: cover; - background-size: 17px 17px; -} -.icon-forward { - background: url(../img/icon/icon-forward.png) 7px no-repeat; - background-size: cover; - background-size: 17px 17px; -} -.icon-save { - background: url(../img/icon/icon-save.png) 8px no-repeat; - background-size: cover; - background-size: 15px 15px; -} -.detail-box { - width: 100%; -} -.detail-box .top-title { - margin-top: 25px; - width: 100%; - display: flex; - justify-content: space-between; -} -.detail-box .top-title .ticket-title { - width: 45%; - margin-right: 134px; - text-overflow: ellipsis; - overflow: hidden; - white-space: nowrap; - font-size: 16px; - color: rgba(0, 0, 0, 0.9); - font-weight: bold; -} -.detail-box .top-title .ticket-info { - flex: 1; - display: flex; - flex-wrap: wrap; - align-items: center; - justify-content: space-between; -} -.detail-box .top-title .ticket-info .info-title { - font-size: 14px; - color: rgba(0, 0, 0, 0.4); -} -.detail-box .top-title .ticket-info .log-btn { - cursor: pointer; - display: inline-block; - border-radius: 3px; - background: #ECF2FE; - font-size: 14px; - color: var(--td-brand-color); - width: 88px; - text-align: center; - height: 32px; - line-height: 32px; -} -.detail-box .top-title .ticket-info .blue-text { - cursor: pointer; - color: var(--td-brand-color); -} -.detail-box .top-title .ticket-info .info-item { - color: rgba(0, 0, 0, 0.9); -} -.detail-box .select-box { - margin-top: 35px; - display: flex; - justify-content: space-between; -} -.detail-box .select-box .left-btn { - display: flex; - flex-wrap: wrap; -} -.detail-box .select-box .left-btn .host-div { - min-width: 200px; - max-width: 500px; - margin-right: 57px; - white-space: inherit; -} -.detail-box .select-box .left-btn .host-item { - cursor: pointer; -} -.detail-box .select-box .left-btn .host-item:hover { - text-decoration: underline; -} -.detail-box .select-box .left-btn > div { - display: flex; - align-items: center; -} -.detail-box .select-box .left-btn > div > span { - white-space: nowrap; - color: rgba(0, 0, 0, 0.9); - font-size: 14px; -} -.detail-box .select-box .left-btn .select-240 { - min-width: 240px; - height: 32px; - margin-right: 30px; -} -.detail-box .select-box .left-btn .no-mar { - margin: 0; -} -.detail-box .select-box .left-btn .save-btn { - margin-left: 20px; -} -.detail-box .top-box { - background: #FFFFFF; - box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.04); - margin-bottom: 20px; - padding: 20px 50px 20px 30px; -} -.detail-box .bottom-box { - background: #FFFFFF; - box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.04); - margin-bottom: 20px; - padding: 20px 40px 0px 40px; -} -.reply-item { - margin-bottom: 57px; -} -.reply-item .reply-top .reply-user { - display: inline-block; - padding: 0px 4px; - font-size: 12px; - margin-right: 10px; - border-radius: 3px; - color: rgba(255, 255, 255, 0.9); -} -.reply-item .reply-top .user-name { - color: #333333; - font-weight: bold; - font-size: 16px; - cursor: default; -} -.reply-item .reply-top .link-style { - cursor: pointer; -} -.reply-item .reply-top .link-style:hover { - text-decoration: underline; -} -.reply-item .reply-top .green-text { - background: #03B193; -} -.reply-item .reply-top .red-text { - background: #5090FF; -} -.reply-item .reply-top .pink-text { - background: #EB5F80; -} -.reply-item .reply-main { - display: inline-block; -} -.reply-item .reply-main .reply-middle { - position: relative; - display: inline-block; - margin-top: 11px; - border-radius: 3px; - padding: 20px 100px 22px 30px; - border: 1px solid #DCDCDC; -} -.reply-item .reply-main .reply-middle .replu-conten { - display: inline-block; - word-break: break-word; -} -.reply-item .reply-main .reply-middle .replu-conten img { - width: 140px; - height: 84px; - cursor: pointer; -} -.reply-item .reply-main .reply-middle .replu-conten p { - margin: 0; -} -.reply-item .reply-main .reply-middle .text-btn { - position: absolute; - bottom: 0px; - right: 0px; - font-size: 18px; -} -.reply-item .reply-main .reply-bottom { - width: 100%; - font-size: 12px; - color: #333; -} -.reply-item .reply-main .reply-bottom > div { - display: inline-block; -} -.reply-item .reply-main .time-div { - font-size: 12px; - color: #999999; - width: 100%; - text-align: right; -} -.reply-item .green-bg { - border: 1px solid #DCDCDC; - background: #FBFFFE; -} -.reply-item .green-bg:hover { - border: 1px solid #03B193; -} -.reply-item .blue-bg { - border: 1px solid #5090FF; - background: #F2F7FF; -} -.reply-item .blue-bg:hover { - border: 1px solid #5090FF; -} -.reply-item .pink-bg { - border: 1px solid #DCDCDC; - background: #FFFBFB; -} -.reply-item .pink-bg:hover { - border: 1px solid #EB5F80; -} -.relply-input { - margin-top: 40px; -} -.btn-box { - display: flex; - justify-content: space-between; - align-items: center; - margin-top: 20px; -} -.btn-box .add-btn { - border-radius: 4px; - height: 32px; - background: #4787F0; - border: none; -} -.btn-box .re-btn { - margin-left: 16px; - border-radius: 4px; - height: 32px; - background: #ED7B2F; - border: none; -} -.btn-box .re-btn:hover { - background: rgba(237, 123, 47, 0.678); -} -.btn-box .send-btn { - margin-right: 15px; - height: 32px; - background: var(--td-brand-color); - border-radius: 4px; - border: none; -} -.btn-box .ok-btn { - border: none; - border-radius: 4px; - background: var(--td-brand-color); - height: 32px; -} -.btn-box .canle-btn { - margin-left: 20px; - border: none; - color: #333333; - border-radius: 4px; - background: #E7E7E7; -} -.btn-box .left { - display: flex; -} -.btn-box .file { - display: inline-block; - margin-right: 10px; -} -.btn-box .upload .t-button__text { - display: flex; - align-items: center; -} -.btn-box .upload .t-icon { - margin-right: 5px; -} -.description-box { - white-space: normal; -} -.description-box p { - margin: 0; -} -.description-box img { - width: 140px; - height: 84px; -} -.replay-box { - margin-bottom: 20px; - overflow: auto; - height: 280px; - border: 1px solid #DCDCDC; - background: rgba(231, 231, 231, 0.4); - padding: 0 12px; - padding-bottom: 20px; -} -.replay-item { - margin-top: 10px; - padding: 13px 16px; - border: 1px solid #DCDCDC; - border-radius: 3px; - background: #FFFFFF; -} -.replay-item p { - margin: 0; -} -.replay-item:hover { - color: var(--td-brand-color); - border: 1px solid var(--td-brand-color); -} -.tox-statusbar__branding { - display: none !important; -} -#viewer { - width: 0; - height: 0; -} -.row-class { - cursor: pointer; -} -.user-name { - cursor: pointer; -} -.isEn .forwardForm .t-form__label { - width: 190px !important; -} -#content .ticket_detail { - background: transparent !important; -} -.center-box { - position: absolute; - left: 0; - top: 0; - width: 100%; - height: 100%; - display: flex; - flex-direction: column; - align-items: center; - justify-content: center; -} -html { - scroll-behavior: smooth; -} diff --git a/plugins/addon/example/template/admin/css/order_copy.less b/plugins/addon/example/template/admin/css/order_copy.less deleted file mode 100644 index c9745b6..0000000 --- a/plugins/addon/example/template/admin/css/order_copy.less +++ /dev/null @@ -1,714 +0,0 @@ -.order-search-wrapper { - padding: 5px 0; - display: flex; - margin-bottom: 43px; -} - -.order-search-wrapper.internal { - justify-content: space-between; -} - -.order-search-wrapper .t-input__wrap { - width: 240px; - max-width: 100%; -} - -.list-card-container { - width: auto !important; -} - -.order-search-wrapper .t-select__wrap { - width: 240px; -} - - -.order-search-wrapper .t-input__wrap .t-input__prefix.t-input__prefix-icon { - position: absolute; - right: 0; -} - -.search-left-bottom { - margin-top: 10px; -} - -.search-left-top, -.search-left-bottom { - display: flex; -} - -.search-left-top>div, -.search-left-bottom>div { - margin-right: 10px; -} - -.search-left-bottom .t-button { - width: 70px; - height: 32px; - background: var(--td-brand-color); - border-radius: 3px; - color: #FFFFFF; - font-size: 14px; -} - -.search-box-right { - text-align: right; - -} - -.search-box-right .t-select { - margin-bottom: 10px; -} - -.t-table .t-table__header--fixed:not(.t-table__header--multiple)>tr>th { - background-color: #ffffff; - color: #999999; - font-size: 14px; -} - -.table-status-span { - color: var(--td-brand-color); -} - -.turn-inside-dialog-footer { - display: flex; - justify-content: end; -} - -.turn-inside-dialog-footer button { - margin-left: 10px -} - - -.hover-name { - cursor: pointer -} - -.order-name { - cursor: pointer; -} - -.order-name:hover { - text-decoration: underline; -} - -.product-info { - margin: 20px 0; - display: flex; - column-gap: 50px; - flex-wrap: wrap; - - .host-item { - cursor: pointer; - color: var(--td-brand-color); - } - -} - - -.order-type-add-btn { - width: 100%; - height: 42px; - border-top: 0; - border-radius: 0px; - border-color: #e7e7e7 !important; -} - -.order-type-close-btn { - margin-left: calc(50% - 30px); - margin-top: 30px -} - -.upload-btn .t-button__text { - display: flex; - color: #999999 -} - -.order-upload-wrapper .t-form__controls-content { - align-items: baseline; -} - -/* 回复页 */ -.no-wrap { - white-space: nowrap; -} - -.reply-divider { - margin: 0; -} - -.reply-divider .t-divider__inner-text { - font-size: 16px; - font-family: PingFang SC; - font-weight: bold; - color: #333333; -} - -.t-divider--with-text .t-divider__inner-text:not(:empty) { - padding-left: 0; -} - -.reply-divider.t-divider--with-text-left:before { - width: 0; -} - -.reply-divider.t-divider--with-text-left:after { - margin-top: 10px; -} - -.detail-row { - display: flex; - flex-direction: row; - flex-wrap: wrap; -} - -.detail-value { - word-break: break-all; - overflow-wrap: break-word; -} - -.detail-item { - margin-left: 16px; - margin-right: 40px; - display: flex; - flex-direction: row; - align-items: baseline; -} - -.detail-value { - font-size: 16px; - font-family: PingFang SC; - font-weight: 500; - line-height: 36px; - color: #333333; -} - -.detail-label { - font-size: 16px; - font-family: PingFang SC; - font-weight: 500; - line-height: 36px; - color: #999999; - margin-right: 6px; -} - -.reply-list { - margin-top: 34px; - padding-right: 73px; -} - -.reply-list .t-list-item__content { - width: 100%; -} - -.reply-list .t-comment__avatar-image { - height: 40px; - width: 40px; -} - -.reply-list .t-comment__detail { - background: #F0F0FD; - border-radius: 0px 12px 12px 12px; - padding: 12px 20px 16px 20px; - font-size: 14px; - font-family: PingFang SC; - font-weight: 400; - line-height: 24px; - color: #333333; -} - -.reply-list .t-comment__actions { - justify-content: space-between; - margin-left: -30px; -} - -.reply-list .t-list-item { - padding: 12px 16px -} - -.reply-list-attachment { - display: flex; - flex-wrap: wrap; -} - -.reply-list-attachment-item { - color: rgba(0, 0, 0, 0.4); - margin-right: 10px; - max-width: 130px; - overflow: hidden; - word-break: break-all; - overflow-wrap: break-word; - white-space: nowrap; - text-overflow: ellipsis; -} - -.reply-list-attachment-item:hover { - cursor: pointer; - color: #0052d9 -} - -.reply-form { - display: flex; - flex-direction: column; - align-items: flex-end; - padding: 0 16px; -} - -.reply-form-btn { - width: 100%; - margin-top: 14px; - display: flex; - justify-content: space-between; -} - -.reply-form-btn .t-upload__trigger { - margin-right: 10px -} - -.reply-form-btn .t-upload__single { - display: flex -} - -.reply-form-btn .upload-list { - display: flex; - align-items: baseline -} - -.t-comment__actions>li:hover { - color: rgba(0, 0, 0, 0.4); -} - - - - -/* 图标 */ -.icon-reply { - background: url(../img/icon/icon-reply.png) 7px no-repeat; - background-size: cover; - background-size: 17px 17px; -} - -.icon-forward { - background: url(../img/icon/icon-forward.png) 7px no-repeat; - background-size: cover; - background-size: 17px 17px; -} - -.icon-save { - background: url(../img/icon/icon-save.png) 8px no-repeat; - background-size: cover; - background-size: 15px 15px; -} - - - - -.detail-box { - width: 100%; - // min-width: 1500px; - - .top-title { - margin-top: 25px; - width: 100%; - display: flex; - justify-content: space-between; - - .ticket-title { - width: 45%; - margin-right: 134px; - text-overflow: ellipsis; - overflow: hidden; - white-space: nowrap; - font-size: 16px; - color: rgba(0, 0, 0, 0.9); - font-weight: bold; - } - - .ticket-info { - flex: 1; - display: flex; - flex-wrap: wrap; - align-items: center; - justify-content: space-between; - - .info-title { - font-size: 14px; - color: rgba(0, 0, 0, 0.4000); - } - - .log-btn { - cursor: pointer; - display: inline-block; - border-radius: 3px; - background: #ECF2FE; - font-size: 14px; - color: var(--td-brand-color); - width: 88px; - text-align: center; - height: 32px; - line-height: 32px; - } - - .blue-text { - cursor: pointer; - color: var(--td-brand-color); - } - - .info-item { - color: rgba(0, 0, 0, 0.9); - } - } - } - - .select-box { - margin-top: 35px; - display: flex; - justify-content: space-between; - - .left-btn { - display: flex; - flex-wrap: wrap; - - .host-div { - min-width: 200px; - max-width: 500px; - margin-right: 57px; - white-space: inherit; - } - - .host-item { - cursor: pointer; - - &:hover { - text-decoration: underline; - } - } - - >div { - display: flex; - align-items: center; - } - - >div>span { - white-space: nowrap; - color: rgba(0, 0, 0, 0.9); - font-size: 14px; - } - - .select-240 { - min-width: 240px; - height: 32px; - margin-right: 30px; - } - - .no-mar { - margin: 0; - } - - .save-btn { - margin-left: 20px; - } - } - - } - - .top-box { - background: #FFFFFF; - box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.04); - margin-bottom: 20px; - padding: 20px 50px 20px 30px; - } - - .bottom-box { - background: #FFFFFF; - box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.04); - margin-bottom: 20px; - padding: 20px 40px 0px 40px; - } -} - -.reply-item { - margin-bottom: 57px; - - - .reply-top { - .reply-user { - display: inline-block; - padding: 0px 4px; - font-size: 12px; - margin-right: 10px; - border-radius: 3px; - color: rgba(255, 255, 255, 0.9); - } - - .user-name { - color: #333333; - font-weight: bold; - font-size: 16px; - cursor: default; - } - - .link-style { - cursor: pointer; - - &:hover { - text-decoration: underline; - } - } - - .green-text { - background: #03B193; - } - - .red-text { - background: #5090FF; - } - - .pink-text { - background: #EB5F80; - } - } - - - - .reply-main { - display: inline-block; - - .reply-middle { - position: relative; - display: inline-block; - margin-top: 11px; - border-radius: 3px; - padding: 20px 100px 22px 30px; - border: 1px solid #DCDCDC; - - .replu-conten { - display: inline-block; - word-break: break-word; - - img { - width: 140px; - height: 84px; - cursor: pointer; - } - - p { - margin: 0; - } - } - - .text-btn { - position: absolute; - bottom: 0px; - right: 0px; - font-size: 18px; - } - } - - .reply-bottom { - width: 100%; - font-size: 12px; - color: #333; - - >div { - display: inline-block; - } - } - - .time-div { - font-size: 12px; - color: #999999; - width: 100%; - text-align: right; - } - - } - - .green-bg { - border: 1px solid #DCDCDC; - background: #FBFFFE; - } - - .green-bg:hover { - border: 1px solid #03B193; - } - - .blue-bg { - border: 1px solid #5090FF; - background: #F2F7FF; - } - - .blue-bg:hover { - border: 1px solid #5090FF; - } - - .pink-bg { - border: 1px solid #DCDCDC; - background: #FFFBFB; - } - - .pink-bg:hover { - border: 1px solid #EB5F80; - } - - - -} - -.relply-input { - margin-top: 40px; -} - -.btn-box { - display: flex; - justify-content: space-between; - align-items: center; - margin-top: 20px; - - .add-btn { - border-radius: 4px; - height: 32px; - background: #4787F0; - border: none; - } - - .re-btn { - margin-left: 16px; - border-radius: 4px; - height: 32px; - background: #ED7B2F; - border: none; - } - - .re-btn:hover { - background: rgba(237, 123, 47, 0.678); - } - - .send-btn { - margin-right: 15px; - height: 32px; - background: var(--td-brand-color); - border-radius: 4px; - border: none; - } - - .ok-btn { - border: none; - border-radius: 4px; - background: var(--td-brand-color); - height: 32px; - } - - .canle-btn { - margin-left: 20px; - border: none; - color: #333333; - border-radius: 4px; - background: #E7E7E7; - } - - .left { - display: flex; - } - - .file { - display: inline-block; - margin-right: 10px; - } - - .upload { - .t-button__text { - display: flex; - align-items: center; - } - - .t-icon { - margin-right: 5px; - } - } -} - -.description-box { - p { - margin: 0; - } - - - img { - width: 140px; - height: 84px; - } - - white-space: normal; -} - -.replay-box { - margin-bottom: 20px; - overflow: auto; - height: 280px; - border: 1px solid #DCDCDC; - background: rgba(231, 231, 231, 0.4); - padding: 0 12px; - padding-bottom: 20px; -} - -.replay-item { - margin-top: 10px; - padding: 13px 16px; - border: 1px solid #DCDCDC; - border-radius: 3px; - background: #FFFFFF; - - p { - margin: 0; - } -} - -.replay-item:hover { - color: var(--td-brand-color); - border: 1px solid var(--td-brand-color); -} - - - -.tox-statusbar__branding { - display: none !important; -} - -#viewer { - width: 0; - height: 0; -} - -.row-class { - cursor: pointer; -} - -.user-name { - cursor: pointer; -} - - - -.isEn .forwardForm .t-form__label { - width: 190px !important; -} - -#content .ticket_detail { - background: transparent !important; -} - -.center-box { - position: absolute; - left: 0; - top: 0; - width: 100%; - height: 100%; - display: flex; - flex-direction: column; - align-items: center; - justify-content: center; -} - -html { - scroll-behavior: smooth; -} diff --git a/plugins/addon/example/template/admin/ticket_detail_copy.html b/plugins/addon/example/template/admin/ticket_detail_copy.html deleted file mode 100644 index 39bd99c..0000000 --- a/plugins/addon/example/template/admin/ticket_detail_copy.html +++ /dev/null @@ -1,281 +0,0 @@ - - - -