mirror of
https://github.com/kuaifan/dootask.git
synced 2026-01-15 19:28:11 +00:00
no message
This commit is contained in:
parent
d72e9f678f
commit
8783b85b00
2
public/css/app.css
vendored
2
public/css/app.css
vendored
File diff suppressed because one or more lines are too long
2
public/js/app.js
vendored
2
public/js/app.js
vendored
File diff suppressed because one or more lines are too long
2
public/js/build/12.js
vendored
2
public/js/build/12.js
vendored
File diff suppressed because one or more lines are too long
2
public/js/build/129.js
vendored
2
public/js/build/129.js
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
2
public/js/build/428.js
vendored
2
public/js/build/428.js
vendored
File diff suppressed because one or more lines are too long
2
public/js/build/534.js
vendored
2
public/js/build/534.js
vendored
File diff suppressed because one or more lines are too long
2
public/js/build/537.js
vendored
2
public/js/build/537.js
vendored
File diff suppressed because one or more lines are too long
2
public/js/build/610.js
vendored
2
public/js/build/610.js
vendored
File diff suppressed because one or more lines are too long
2
public/js/build/626.js
vendored
2
public/js/build/626.js
vendored
File diff suppressed because one or more lines are too long
2
public/js/build/691.js
vendored
2
public/js/build/691.js
vendored
File diff suppressed because one or more lines are too long
2
public/js/build/986.js
vendored
2
public/js/build/986.js
vendored
File diff suppressed because one or more lines are too long
@ -1 +1 @@
|
||||
19058e674bdc9ef2
|
||||
96797c787aaf67a2
|
||||
|
||||
@ -1,13 +1,13 @@
|
||||
<template>
|
||||
<div class="minder-editor-container">
|
||||
<div class="quickbar">
|
||||
<ETooltip :disabled="windowSmall" placement="top" effect="light">
|
||||
<ETooltip placement="top" effect="light">
|
||||
<div><i class="ft icon" :title="$L('缩放')"></i></div>
|
||||
<div slot="content" class="minder-editor-slider">
|
||||
<Slider v-model="zoom" :min="10" :max="300"></Slider>
|
||||
</div>
|
||||
</ETooltip>
|
||||
<ETooltip v-if="readOnly!==true" :disabled="windowSmall" placement="top" effect="light">
|
||||
<ETooltip v-if="readOnly!==true" placement="top" effect="light">
|
||||
<div><i class="ft icon" :title="$L('图形')"></i></div>
|
||||
<div slot="content">
|
||||
<ul class="minder-editor-quickul mold">
|
||||
@ -20,7 +20,7 @@
|
||||
</ul>
|
||||
</div>
|
||||
</ETooltip>
|
||||
<ETooltip v-if="readOnly!==true" :disabled="windowSmall" placement="top" effect="light">
|
||||
<ETooltip v-if="readOnly!==true" placement="top" effect="light">
|
||||
<div><i class="ft icon" :title="$L('样式')"></i></div>
|
||||
<div slot="content">
|
||||
<ul class="minder-editor-quickul">
|
||||
@ -36,7 +36,7 @@
|
||||
</ul>
|
||||
</div>
|
||||
</ETooltip>
|
||||
<ETooltip :disabled="windowSmall" placement="top" effect="light">
|
||||
<ETooltip placement="top" effect="light">
|
||||
<div><i class="ft icon" :title="$L('折叠')"></i></div>
|
||||
<div slot="content">
|
||||
<ul class="minder-editor-quickul">
|
||||
@ -49,10 +49,10 @@
|
||||
</ul>
|
||||
</div>
|
||||
</ETooltip>
|
||||
<ETooltip :disabled="windowSmall" placement="top" :content="$L('居中')">
|
||||
<ETooltip placement="top" :content="$L('居中')">
|
||||
<div @click="minder.execCommand('camera', minder.getRoot(), 600)"><i class="ft icon"></i></div>
|
||||
</ETooltip>
|
||||
<ETooltip :disabled="windowSmall" placement="top" :content="$L('移动')">
|
||||
<ETooltip placement="top" :content="$L('移动')">
|
||||
<div @click="[minder.execCommand('Hand'),isHand=!isHand]"><i class="ft icon" :class="{active:isHand}"></i></div>
|
||||
</ETooltip>
|
||||
</div>
|
||||
|
||||
@ -224,6 +224,9 @@ export default {
|
||||
config.document.url = `http://nginx/api/project/task/filedown/?file_id=${$A.leftDelete(codeId, "taskFile_")}&token=${this.userToken}`;
|
||||
}
|
||||
if (this.readOnly || this.historyId > 0) {
|
||||
if (this.windowSmall) {
|
||||
config.type = "mobile";
|
||||
}
|
||||
config.editorConfig.mode = "view";
|
||||
config.editorConfig.callbackUrl = null;
|
||||
if (!config.editorConfig.user.id) {
|
||||
|
||||
2
resources/assets/js/functions/utils.js
vendored
2
resources/assets/js/functions/utils.js
vendored
@ -19,7 +19,7 @@ module.exports = {
|
||||
if (/https*:\/\//.test(text)) {
|
||||
text = text.split(/(<[^>]*>)/g).map(string => {
|
||||
if (string && !/<[^>]*>/.test(string)) {
|
||||
string = string.replace(/(https*:\/\/)((\w|=|\?|\.|\/|&|-|:|\+|%|;)+)/g, "<a href=\"$1$2\" target=\"_blank\">$1$2</a>")
|
||||
string = string.replace(/(https*:\/\/)((\w|=|\?|\.|\/|&|-|:|\+|%|;|#)+)/g, "<a href=\"$1$2\" target=\"_blank\">$1$2</a>")
|
||||
}
|
||||
return string;
|
||||
}).join("")
|
||||
|
||||
@ -4,7 +4,7 @@
|
||||
<template v-else>
|
||||
<div v-show="!['word', 'excel', 'ppt'].includes(file.type)" class="edit-header">
|
||||
<div class="header-title">
|
||||
{{$A.getFileName(file)}}
|
||||
<div class="title-name">{{$A.getFileName(file)}}</div>
|
||||
<Tag color="default">{{$L('只读')}}</Tag>
|
||||
<div class="refresh">
|
||||
<Loading v-if="contentLoad"/>
|
||||
|
||||
@ -10,6 +10,7 @@
|
||||
flex-direction: column;
|
||||
border-radius: 18px 18px 0 0;
|
||||
overflow: hidden;
|
||||
transform: translateZ(0);
|
||||
|
||||
.preview-iframe {
|
||||
position: absolute;
|
||||
@ -253,6 +254,14 @@
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
||||
.title-name {
|
||||
flex: 1;
|
||||
width: 0;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.ivu-tag {
|
||||
margin-left: 6px;
|
||||
padding: 0 6px;
|
||||
@ -306,6 +315,16 @@
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
.file-preview {
|
||||
.edit-header {
|
||||
.header-hint {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 1200px) {
|
||||
.file-content {
|
||||
overflow: auto;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user