no message

This commit is contained in:
kuaifan 2022-05-29 16:31:39 +08:00
parent ba95f33592
commit 461546e914
18 changed files with 58 additions and 36 deletions

View File

@ -45,7 +45,7 @@
"stylus-loader": "^6.2.0", "stylus-loader": "^6.2.0",
"tinymce": "^5.10.3", "tinymce": "^5.10.3",
"tui-calendar-hi": "^1.15.1-5", "tui-calendar-hi": "^1.15.1-5",
"view-design-hi": "^4.7.0-24", "view-design-hi": "^4.7.0-25",
"vue": "^2.6.14", "vue": "^2.6.14",
"vue-clipboard2": "^0.3.3", "vue-clipboard2": "^0.3.3",
"vue-kityminder-ggg": "^1.3.10", "vue-kityminder-ggg": "^1.3.10",

View File

@ -50,7 +50,6 @@ import {
Dropdown, Dropdown,
DropdownMenu, DropdownMenu,
DropdownItem, DropdownItem,
Progress,
} from 'element-ui'; } from 'element-ui';
Vue.component('EAvatar', Avatar); Vue.component('EAvatar', Avatar);
@ -59,7 +58,6 @@ Vue.component('EPopover', Popover);
Vue.component('EDropdown', Dropdown); Vue.component('EDropdown', Dropdown);
Vue.component('EDropdownMenu', DropdownMenu); Vue.component('EDropdownMenu', DropdownMenu);
Vue.component('EDropdownItem', DropdownItem); Vue.component('EDropdownItem', DropdownItem);
Vue.component('EProgress', Progress);
const originalPush = VueRouter.prototype.push const originalPush = VueRouter.prototype.push
VueRouter.prototype.push = function push(location) { VueRouter.prototype.push = function push(location) {

View File

@ -16,6 +16,11 @@
requireModuleJs("eeui").alert(object, callback); requireModuleJs("eeui").alert(object, callback);
}, },
eeuiAppToast(object) {
if (!$A.isEEUiApp) return;
requireModuleJs("eeui").toast(object);
},
eeuiAppOpenPage(object, callback) { eeuiAppOpenPage(object, callback) {
if (!$A.isEEUiApp) return; if (!$A.isEEUiApp) return;
if (typeof callback !== "function") callback = _ => {}; if (typeof callback !== "function") callback = _ => {};

View File

@ -166,7 +166,7 @@ export default {
style: { style: {
fontSize: '13px', fontSize: '13px',
cursor: 'pointer', cursor: 'pointer',
color: '#8bcf70', color: '#84C56A',
}, },
on: { on: {
'on-ok': () => { 'on-ok': () => {

View File

@ -33,13 +33,17 @@
</div> </div>
</div> </div>
<div v-if="item.task_num > 0" class="item-right" @click.stop="modalPercent(item)"> <div v-if="item.task_num > 0" class="item-right" @click.stop="modalPercent(item)">
<EProgress <iCircle
type="circle" type="circle"
color="#8bcf70" trail-color="rgba(132, 197, 106, 0.2)"
:percentage="item.task_percent" :trail-width="8"
:status="item.task_percent >= 100 ? 'success' : ''" :stroke-color="item.task_percent === 100 ? 'rgba(132, 197, 106, 0)' : '#84C56A'"
:width="60" :stroke-width="8"
:stroke-width="5"/> :percent="item.task_percent"
:size="56">
<Icon v-if="item.task_percent === 100" type="ios-checkmark"></Icon>
<span v-else class="percent-text">{{item.task_percent}}%</span>
</iCircle>
</div> </div>
</div> </div>
</li> </li>

View File

@ -184,7 +184,7 @@ export default {
style: { style: {
fontSize: '13px', fontSize: '13px',
cursor: 'pointer', cursor: 'pointer',
color: '#8bcf70', color: '#84C56A',
}, },
on: { on: {
'click': () => { 'click': () => {
@ -203,7 +203,7 @@ export default {
marginLeft: '6px', marginLeft: '6px',
fontSize: '13px', fontSize: '13px',
cursor: 'pointer', cursor: 'pointer',
color: '#8bcf70', color: '#84C56A',
}, },
on: { on: {
'on-ok': () => { 'on-ok': () => {

View File

@ -170,7 +170,7 @@ export default {
style: { style: {
fontSize: '13px', fontSize: '13px',
cursor: 'pointer', cursor: 'pointer',
color: '#8bcf70', color: '#84C56A',
}, },
on: { on: {
'on-ok': () => { 'on-ok': () => {

View File

@ -73,7 +73,7 @@
<p>{{$L('没有任何文件')}}</p> <p>{{$L('没有任何文件')}}</p>
</div> </div>
<div v-else class="file-list" @contextmenu.prevent="handleRightClick"> <div v-else class="file-list" @contextmenu.prevent="handleRightClick">
<ul class="clearfix"> <ul>
<li <li
v-for="item in fileList" v-for="item in fileList"
:class="{ :class="{

View File

@ -58,7 +58,7 @@ export default {
'name': '', 'name': '',
'priority': 1, 'priority': 1,
'days': 1, 'days': 1,
'color': '#8bcf70', 'color': '#84C56A',
} }
} }
}, },

View File

@ -7,6 +7,7 @@
bottom: 0; bottom: 0;
right: 0; right: 0;
z-index: 99; z-index: 99;
user-select: none;
.tabbar-box { .tabbar-box {
position: relative; position: relative;

View File

@ -14,7 +14,6 @@ $--dropdown-menuItem-hover-color: #606266;
@import "~element-ui/packages/theme-chalk/src/dropdown-menu"; @import "~element-ui/packages/theme-chalk/src/dropdown-menu";
@import "~element-ui/packages/theme-chalk/src/dropdown-item"; @import "~element-ui/packages/theme-chalk/src/dropdown-item";
@import "~element-ui/packages/theme-chalk/src/notification"; @import "~element-ui/packages/theme-chalk/src/notification";
@import "~element-ui/packages/theme-chalk/src/progress";
.el-dropdown-menu__item { .el-dropdown-menu__item {

View File

@ -223,9 +223,10 @@
.chat-emoji-box { .chat-emoji-box {
width: 360px; width: 360px;
height: 280px; height: 280px;
display: grid;
justify-content: space-between;
grid-template-columns: repeat(auto-fill, 40px);
padding: 8px; padding: 8px;
display: flex;
justify-content: space-around;
flex-wrap: wrap; flex-wrap: wrap;
overflow-x: hidden; overflow-x: hidden;
word-break: break-all; word-break: break-all;
@ -252,6 +253,7 @@
} }
&.emoticon { &.emoticon {
grid-template-columns: repeat(auto-fill, 72px);
> li { > li {
width: 72px; width: 72px;
height: 72px; height: 72px;
@ -530,18 +532,22 @@
background-color: #ffffff; background-color: #ffffff;
.chat-emoji-box { .chat-emoji-box {
height: 246px; height: 246px;
grid-template-columns: repeat(auto-fill, 50px);
> li { > li {
width: 50px; width: 50px;
height: 50px; height: 50px;
line-height: 50px; line-height: 50px;
font-size: 28px; font-size: 28px;
} }
&.emoticon > li { &.emoticon {
grid-template-columns: repeat(auto-fill, 80px);
> li {
width: 80px; width: 80px;
height: 80px; height: 80px;
padding: 8px; padding: 8px;
} }
} }
}
.chat-emoji-menu { .chat-emoji-menu {
border-radius: 0; border-radius: 0;
background-color: #f8f8f8; background-color: #f8f8f8;

View File

@ -54,6 +54,7 @@
width: 100%; width: 100%;
overflow: auto; overflow: auto;
background-color: #f8f8f8; background-color: #f8f8f8;
user-select: none;
> li { > li {
padding: 16px; padding: 16px;
margin: 16px; margin: 16px;
@ -136,17 +137,15 @@
display: flex; display: flex;
align-items: center; align-items: center;
margin-left: 28px; margin-left: 28px;
.el-progress { .ivu-chart-circle {
&.is-success { .ivu-icon {
opacity: 0.5; font-size: 40px;
.el-icon-check {
font-size: 28px;
font-weight: 900; font-weight: 900;
color: rgba($primary-color, 0.25);
}
.percent-text {
color: $primary-color; color: $primary-color;
} font-weight: 600;
}
.el-progress__text {
font-size: 12px !important;
} }
} }
} }

View File

@ -209,6 +209,7 @@
} }
.calendar-box { .calendar-box {
padding: 0 24px 5px; padding: 0 24px 5px;
user-select: none;
} }
} }
} }

View File

@ -302,6 +302,7 @@
padding-bottom: 2px; padding-bottom: 2px;
.dashboard-ul { .dashboard-ul {
margin-bottom: 36px; margin-bottom: 36px;
user-select: none;
} }
} }
} }

View File

@ -324,11 +324,12 @@
margin-top: 16px; margin-top: 16px;
overflow: auto; overflow: auto;
> ul { > ul {
margin-top: -12px; display: grid;
justify-content: space-between;
grid-template-columns: repeat(auto-fill, 100px);
grid-gap: 12px;
> li { > li {
list-style: none; list-style: none;
float: left;
margin: 12px;
width: 100px; width: 100px;
height: 110px; height: 110px;
position: relative; position: relative;
@ -659,6 +660,12 @@
margin: 0 24px 0; margin: 0 24px 0;
} }
.file-drag { .file-drag {
.file-list {
user-select: none;
> ul {
grid-gap: 4px;
}
}
.file-table { .file-table {
margin: 16px 24px 24px; margin: 16px 24px 24px;
} }

View File

@ -453,6 +453,7 @@
overflow-x: hidden; overflow-x: hidden;
overflow-y: auto; overflow-y: auto;
> ul { > ul {
user-select: none;
&.dialog { &.dialog {
> li { > li {
.dialog-split { .dialog-split {

View File

@ -1,4 +1,4 @@
$primary-color: #8bcf70; $primary-color: #84C56A;
$primary-title-color: #303133; $primary-title-color: #303133;
$primary-text-color: #606266; $primary-text-color: #606266;