mirror of
https://github.com/kuaifan/dootask.git
synced 2026-03-17 19:23:26 +00:00
no message
This commit is contained in:
parent
f7d4f42551
commit
81983026b4
@ -2734,7 +2734,7 @@ class Base
|
|||||||
}
|
}
|
||||||
|
|
||||||
$src = $createfun($src_img);
|
$src = $createfun($src_img);
|
||||||
$dst = imagecreatetruecolor($width ? $width : $dst_w, $height ? $height : $dst_h);
|
$dst = imagecreatetruecolor($width ?: $dst_w, $height ?: $dst_h);
|
||||||
try {
|
try {
|
||||||
$white = imagecolorallocate($dst, 255, 255, 255);
|
$white = imagecolorallocate($dst, 255, 255, 255);
|
||||||
imagefill($dst, 0, 0, $white);
|
imagefill($dst, 0, 0, $white);
|
||||||
|
|||||||
1
resources/assets/js/app.js
vendored
1
resources/assets/js/app.js
vendored
@ -209,5 +209,4 @@ store.dispatch("init").then(_ => {
|
|||||||
$A.Message = app.$Message;
|
$A.Message = app.$Message;
|
||||||
$A.Notice = app.$Notice;
|
$A.Notice = app.$Notice;
|
||||||
$A.Modal = app.$Modal;
|
$A.Modal = app.$Modal;
|
||||||
$A.Store = app.$store;
|
|
||||||
})
|
})
|
||||||
|
|||||||
@ -196,7 +196,7 @@
|
|||||||
<div v-else-if="quickShow" class="chat-bottom-menu">
|
<div v-else-if="quickShow" class="chat-bottom-menu">
|
||||||
<ul class="scrollbar-hidden">
|
<ul class="scrollbar-hidden">
|
||||||
<li v-for="item in quickMsgs" @click.stop="sendQuick(item)">
|
<li v-for="item in quickMsgs" @click.stop="sendQuick(item)">
|
||||||
<div class="bottom-menu-desc no-dark-content">{{item.label}}</div>
|
<div class="bottom-menu-desc no-dark-content" :style="item.style || null">{{item.label}}</div>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
@ -890,6 +890,7 @@ export default {
|
|||||||
this.msgNew = 0
|
this.msgNew = 0
|
||||||
this.msgType = ''
|
this.msgType = ''
|
||||||
this.replyActiveId = 0
|
this.replyActiveId = 0
|
||||||
|
this.searchShow = false
|
||||||
//
|
//
|
||||||
if (this.allMsgList.length > 0) {
|
if (this.allMsgList.length > 0) {
|
||||||
this.allMsgs = this.allMsgList
|
this.allMsgs = this.allMsgList
|
||||||
|
|||||||
@ -3,6 +3,7 @@
|
|||||||
<Form ref="formData" :model="formData" :rules="ruleData" label-width="auto" @submit.native.prevent>
|
<Form ref="formData" :model="formData" :rules="ruleData" label-width="auto" @submit.native.prevent>
|
||||||
<div class="block-setting-box">
|
<div class="block-setting-box">
|
||||||
<h3>{{ $L('友盟推送') }}</h3>
|
<h3>{{ $L('友盟推送') }}</h3>
|
||||||
|
<div class="form-box">
|
||||||
<FormItem :label="$L('开启推送')" prop="push">
|
<FormItem :label="$L('开启推送')" prop="push">
|
||||||
<RadioGroup v-model="formData.push">
|
<RadioGroup v-model="formData.push">
|
||||||
<Radio label="open">{{ $L('开启') }}</Radio>
|
<Radio label="open">{{ $L('开启') }}</Radio>
|
||||||
@ -26,6 +27,7 @@
|
|||||||
</FormItem>
|
</FormItem>
|
||||||
</template>
|
</template>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
</Form>
|
</Form>
|
||||||
<div class="setting-footer">
|
<div class="setting-footer">
|
||||||
<Button :loading="loadIng > 0" type="primary" @click="submitForm">{{ $L('提交') }}</Button>
|
<Button :loading="loadIng > 0" type="primary" @click="submitForm">{{ $L('提交') }}</Button>
|
||||||
|
|||||||
@ -3,6 +3,7 @@
|
|||||||
<Form ref="formData" :model="formData" :rules="ruleData" label-width="auto" @submit.native.prevent>
|
<Form ref="formData" :model="formData" :rules="ruleData" label-width="auto" @submit.native.prevent>
|
||||||
<div class="block-setting-box">
|
<div class="block-setting-box">
|
||||||
<h3>{{ $L('签到设置') }}</h3>
|
<h3>{{ $L('签到设置') }}</h3>
|
||||||
|
<div class="form-box">
|
||||||
<FormItem :label="$L('功能开启')" prop="open">
|
<FormItem :label="$L('功能开启')" prop="open">
|
||||||
<RadioGroup v-model="formData.open">
|
<RadioGroup v-model="formData.open">
|
||||||
<Radio label="open">{{ $L('开启') }}</Radio>
|
<Radio label="open">{{ $L('开启') }}</Radio>
|
||||||
@ -58,11 +59,13 @@
|
|||||||
</FormItem>
|
</FormItem>
|
||||||
</template>
|
</template>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<template v-if="formData.open === 'open'">
|
<template v-if="formData.open === 'open'">
|
||||||
<div class="block-setting-placeholder"></div>
|
<div class="block-setting-placeholder"></div>
|
||||||
<div class="block-setting-box">
|
<div class="block-setting-box">
|
||||||
<h3>{{ $L('自动签到') }}</h3>
|
<h3>{{ $L('自动签到') }}</h3>
|
||||||
|
<div class="form-box">
|
||||||
<FormItem :label="$L('安装说明')" prop="explain">
|
<FormItem :label="$L('安装说明')" prop="explain">
|
||||||
<p>1. {{ $L('自动签到延迟时长为±1分钟。') }}</p>
|
<p>1. {{ $L('自动签到延迟时长为±1分钟。') }}</p>
|
||||||
<p>2. {{ $L('设备连接上指定路由器(WiFi)后自动签到。') }}</p>
|
<p>2. {{ $L('设备连接上指定路由器(WiFi)后自动签到。') }}</p>
|
||||||
@ -72,6 +75,7 @@
|
|||||||
<Input ref="cmd" @on-focus="clickCmd" style="margin-top:6px" type="textarea" readonly :value="formData.cmd"/>
|
<Input ref="cmd" @on-focus="clickCmd" style="margin-top:6px" type="textarea" readonly :value="formData.cmd"/>
|
||||||
</FormItem>
|
</FormItem>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
</template>
|
</template>
|
||||||
</Form>
|
</Form>
|
||||||
<div class="setting-footer">
|
<div class="setting-footer">
|
||||||
|
|||||||
@ -3,6 +3,7 @@
|
|||||||
<Form ref="formData" :model="formData" :rules="ruleData" label-width="auto" @submit.native.prevent>
|
<Form ref="formData" :model="formData" :rules="ruleData" label-width="auto" @submit.native.prevent>
|
||||||
<div class="block-setting-box">
|
<div class="block-setting-box">
|
||||||
<h3>{{ $L('邮箱服务器设置') }}</h3>
|
<h3>{{ $L('邮箱服务器设置') }}</h3>
|
||||||
|
<div class="form-box">
|
||||||
<FormItem :label="$L('SMTP服务器')" prop="smtp_server">
|
<FormItem :label="$L('SMTP服务器')" prop="smtp_server">
|
||||||
<Input v-model="formData.smtp_server"/>
|
<Input v-model="formData.smtp_server"/>
|
||||||
</FormItem>
|
</FormItem>
|
||||||
@ -19,11 +20,13 @@
|
|||||||
<Button @click="checkEmailSend">{{ $L('邮件发送测试') }}</Button>
|
<Button @click="checkEmailSend">{{ $L('邮件发送测试') }}</Button>
|
||||||
</FormItem>
|
</FormItem>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<div class="block-setting-placeholder"></div>
|
<div class="block-setting-placeholder"></div>
|
||||||
|
|
||||||
<div class="block-setting-box">
|
<div class="block-setting-box">
|
||||||
<h3>{{ $L('邮件通知设置') }}</h3>
|
<h3>{{ $L('邮件通知设置') }}</h3>
|
||||||
|
<div class="form-box">
|
||||||
<FormItem :label="$L('开启注册验证')" prop="reg_verify">
|
<FormItem :label="$L('开启注册验证')" prop="reg_verify">
|
||||||
<RadioGroup v-model="formData.reg_verify">
|
<RadioGroup v-model="formData.reg_verify">
|
||||||
<Radio label="open">{{ $L('开启') }}</Radio>
|
<Radio label="open">{{ $L('开启') }}</Radio>
|
||||||
@ -57,16 +60,19 @@
|
|||||||
</Form>
|
</Form>
|
||||||
</FormItem>
|
</FormItem>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<div class="block-setting-placeholder"></div>
|
<div class="block-setting-placeholder"></div>
|
||||||
|
|
||||||
<div class="block-setting-box">
|
<div class="block-setting-box">
|
||||||
<h3>{{ $L('忽略邮箱地址') }}</h3>
|
<h3>{{ $L('忽略邮箱地址') }}</h3>
|
||||||
|
<div class="form-box">
|
||||||
<FormItem :label="$L('忽略邮箱')" prop="ignore_addr">
|
<FormItem :label="$L('忽略邮箱')" prop="ignore_addr">
|
||||||
<Input v-model="formData.ignore_addr" type="textarea" :autosize="{ minRows: 3, maxRows: 50 }" />
|
<Input v-model="formData.ignore_addr" type="textarea" :autosize="{ minRows: 3, maxRows: 50 }" />
|
||||||
<div class="form-tip">{{$L('不会向忽略的邮箱地址发送邮件,可使用换行分割多个地址。')}}</div>
|
<div class="form-tip">{{$L('不会向忽略的邮箱地址发送邮件,可使用换行分割多个地址。')}}</div>
|
||||||
</FormItem>
|
</FormItem>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
</Form>
|
</Form>
|
||||||
<div class="setting-footer">
|
<div class="setting-footer">
|
||||||
<Button :loading="loadIng > 0" type="primary" @click="submitForm">{{ $L('提交') }}</Button>
|
<Button :loading="loadIng > 0" type="primary" @click="submitForm">{{ $L('提交') }}</Button>
|
||||||
|
|||||||
@ -3,6 +3,7 @@
|
|||||||
<Form ref="formData" :model="formData" :rules="ruleData" label-width="auto" @submit.native.prevent>
|
<Form ref="formData" :model="formData" :rules="ruleData" label-width="auto" @submit.native.prevent>
|
||||||
<div class="block-setting-box">
|
<div class="block-setting-box">
|
||||||
<h3>{{ $L('AgoraIO') }}</h3>
|
<h3>{{ $L('AgoraIO') }}</h3>
|
||||||
|
<div class="form-box">
|
||||||
<FormItem :label="$L('会议功能')" prop="open">
|
<FormItem :label="$L('会议功能')" prop="open">
|
||||||
<RadioGroup v-model="formData.open">
|
<RadioGroup v-model="formData.open">
|
||||||
<Radio label="open">{{ $L('开启') }}</Radio>
|
<Radio label="open">{{ $L('开启') }}</Radio>
|
||||||
@ -18,6 +19,7 @@
|
|||||||
</FormItem>
|
</FormItem>
|
||||||
</template>
|
</template>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
</Form>
|
</Form>
|
||||||
<div class="setting-footer">
|
<div class="setting-footer">
|
||||||
<Button :loading="loadIng > 0" type="primary" @click="submitForm">{{ $L('提交') }}</Button>
|
<Button :loading="loadIng > 0" type="primary" @click="submitForm">{{ $L('提交') }}</Button>
|
||||||
|
|||||||
@ -3,6 +3,7 @@
|
|||||||
<Form ref="formDatum" :model="formDatum" label-width="auto" @submit.native.prevent>
|
<Form ref="formDatum" :model="formDatum" label-width="auto" @submit.native.prevent>
|
||||||
<div class="block-setting-box">
|
<div class="block-setting-box">
|
||||||
<h3>{{ $L('帐号相关') }}</h3>
|
<h3>{{ $L('帐号相关') }}</h3>
|
||||||
|
<div class="form-box">
|
||||||
<FormItem :label="$L('允许注册')" prop="reg">
|
<FormItem :label="$L('允许注册')" prop="reg">
|
||||||
<RadioGroup v-model="formDatum.reg">
|
<RadioGroup v-model="formDatum.reg">
|
||||||
<Radio label="open">{{$L('允许')}}</Radio>
|
<Radio label="open">{{$L('允许')}}</Radio>
|
||||||
@ -51,8 +52,10 @@
|
|||||||
<div v-else-if="formDatum.password_policy == 'complex'" class="form-tip">{{$L('复杂:大于或等于6个字符,包含数字、字母大小写或者特殊字符。')}}</div>
|
<div v-else-if="formDatum.password_policy == 'complex'" class="form-tip">{{$L('复杂:大于或等于6个字符,包含数字、字母大小写或者特殊字符。')}}</div>
|
||||||
</FormItem>
|
</FormItem>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
<div class="block-setting-box">
|
<div class="block-setting-box">
|
||||||
<h3>{{ $L('项目相关') }}</h3>
|
<h3>{{ $L('项目相关') }}</h3>
|
||||||
|
<div class="form-box">
|
||||||
<FormItem :label="$L('邀请项目')" prop="projectInvite">
|
<FormItem :label="$L('邀请项目')" prop="projectInvite">
|
||||||
<RadioGroup v-model="formDatum.project_invite">
|
<RadioGroup v-model="formDatum.project_invite">
|
||||||
<Radio label="open">{{$L('开启')}}</Radio>
|
<Radio label="open">{{$L('开启')}}</Radio>
|
||||||
@ -76,8 +79,10 @@
|
|||||||
</ETooltip>
|
</ETooltip>
|
||||||
</FormItem>
|
</FormItem>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
<div class="block-setting-box">
|
<div class="block-setting-box">
|
||||||
<h3>{{ $L('消息相关') }}</h3>
|
<h3>{{ $L('消息相关') }}</h3>
|
||||||
|
<div class="form-box">
|
||||||
<FormItem :label="$L('全员群组禁言')" prop="allGroupMute">
|
<FormItem :label="$L('全员群组禁言')" prop="allGroupMute">
|
||||||
<RadioGroup v-model="formDatum.all_group_mute">
|
<RadioGroup v-model="formDatum.all_group_mute">
|
||||||
<Radio label="open">{{$L('开放')}}</Radio>
|
<Radio label="open">{{$L('开放')}}</Radio>
|
||||||
@ -113,8 +118,10 @@
|
|||||||
<div v-else class="form-tip">{{$L('禁止匿名发送消息。')}}</div>
|
<div v-else class="form-tip">{{$L('禁止匿名发送消息。')}}</div>
|
||||||
</FormItem>
|
</FormItem>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
<div class="block-setting-box">
|
<div class="block-setting-box">
|
||||||
<h3>{{ $L('其他设置') }}</h3>
|
<h3>{{ $L('其他设置') }}</h3>
|
||||||
|
<div class="form-box">
|
||||||
<FormItem :label="$L('是否启动首页')" prop="startHome">
|
<FormItem :label="$L('是否启动首页')" prop="startHome">
|
||||||
<RadioGroup v-model="formDatum.start_home">
|
<RadioGroup v-model="formDatum.start_home">
|
||||||
<Radio label="open">{{$L('开启')}}</Radio>
|
<Radio label="open">{{$L('开启')}}</Radio>
|
||||||
@ -131,6 +138,7 @@
|
|||||||
:placeholder="$L('首页底部:首页底部网站备案号等信息')"/>
|
:placeholder="$L('首页底部:首页底部网站备案号等信息')"/>
|
||||||
</FormItem>
|
</FormItem>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
</Form>
|
</Form>
|
||||||
<div class="setting-footer">
|
<div class="setting-footer">
|
||||||
<Button :loading="loadIng > 0" type="primary" @click="submitForm">{{$L('提交')}}</Button>
|
<Button :loading="loadIng > 0" type="primary" @click="submitForm">{{$L('提交')}}</Button>
|
||||||
|
|||||||
@ -3,6 +3,7 @@
|
|||||||
<Form ref="formData" :model="formData" :rules="ruleData" label-width="auto" @submit.native.prevent>
|
<Form ref="formData" :model="formData" :rules="ruleData" label-width="auto" @submit.native.prevent>
|
||||||
<div class="block-setting-box">
|
<div class="block-setting-box">
|
||||||
<h3>{{ $L('LDAP') }}</h3>
|
<h3>{{ $L('LDAP') }}</h3>
|
||||||
|
<div class="form-box">
|
||||||
<FormItem :label="$L('启用 LDAP 认证')" prop="ldap_open">
|
<FormItem :label="$L('启用 LDAP 认证')" prop="ldap_open">
|
||||||
<RadioGroup v-model="formData.ldap_open">
|
<RadioGroup v-model="formData.ldap_open">
|
||||||
<Radio label="open">{{ $L('开启') }}</Radio>
|
<Radio label="open">{{ $L('开启') }}</Radio>
|
||||||
@ -39,6 +40,7 @@
|
|||||||
</FormItem>
|
</FormItem>
|
||||||
</template>
|
</template>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
</Form>
|
</Form>
|
||||||
<div class="setting-footer">
|
<div class="setting-footer">
|
||||||
<Button :loading="loadIng > 0" type="primary" @click="submitForm">{{ $L('提交') }}</Button>
|
<Button :loading="loadIng > 0" type="primary" @click="submitForm">{{ $L('提交') }}</Button>
|
||||||
|
|||||||
2
resources/assets/sass/pages/page-file.scss
vendored
2
resources/assets/sass/pages/page-file.scss
vendored
@ -363,7 +363,7 @@
|
|||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
.file-input {
|
.file-input {
|
||||||
margin: 0 4px 4px;
|
margin: 11px 4px 4px;
|
||||||
position: relative;
|
position: relative;
|
||||||
input {
|
input {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
|
|||||||
@ -281,6 +281,10 @@
|
|||||||
transform: translateY(-50%);
|
transform: translateY(-50%);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.form-box {
|
||||||
|
overflow: auto;
|
||||||
|
}
|
||||||
|
|
||||||
.ivu-form-item {
|
.ivu-form-item {
|
||||||
.ivu-form {
|
.ivu-form {
|
||||||
padding: 12px 0 0 0;
|
padding: 12px 0 0 0;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user