|
|
@@ -154,379 +154,378 @@
|
|
|
</template>
|
|
|
|
|
|
<script lang="ts" setup>
|
|
|
- import { useRoute, useRouter } from 'vue-router';
|
|
|
- import { ref, reactive, onMounted } from 'vue';
|
|
|
- import { storeToRefs } from 'pinia';
|
|
|
- import { debounce } from 'lodash-es';
|
|
|
- import { ElMessage } from 'element-plus';
|
|
|
- import { useUserStore } from '@/store/modules/user';
|
|
|
- import { pushChannelName } from '../constant';
|
|
|
- import type { FormProps } from 'element-plus';
|
|
|
- import PushObject from '../components/PushObject.vue';
|
|
|
- import type { FormInstance } from 'element-plus';
|
|
|
- import {
|
|
|
- queryReportConfigListParams,
|
|
|
- queryReportConfigList,
|
|
|
- confirmReportConfig,
|
|
|
- viewSystemMessage,
|
|
|
- } from '@/api/message/sysnotion-config';
|
|
|
- import { ObjectFrom } from './type';
|
|
|
- const title = ref<string>('本系统进行了重大升级,请查看详细内容');
|
|
|
- const content = ref<string>(
|
|
|
- '尊敬的用户:\n 我们计划于2024年9月5日进行平台系统升级,以提升服务性能和用户体验,升级期间,平台将暂时不可用,预计停机时间为4小时,从上午2:00至6:00。请您提前做好相关安排,以避免不便,感谢您的理解与支持。如有疑问,请联系客服支持团队。\n敬请留意。\n天眼团队',
|
|
|
- );
|
|
|
- const isDisabled = ref<boolean>(false);
|
|
|
- const ruleFormRef = ref<FormInstance>();
|
|
|
- const childFromRef = ref();
|
|
|
- const validate = ref<boolean>();
|
|
|
- const useUser = useUserStore();
|
|
|
- const { info } = storeToRefs(useUser);
|
|
|
- const labelPosition = ref<FormProps['labelPosition']>('left');
|
|
|
- interface RuleForm {
|
|
|
- title: string;
|
|
|
- content: string;
|
|
|
- channel: number[];
|
|
|
- object: ObjectFrom;
|
|
|
- operator: string;
|
|
|
- }
|
|
|
- const ruleForm = reactive<RuleForm>({
|
|
|
- title: '',
|
|
|
- content: '',
|
|
|
- channel: [],
|
|
|
- object: {},
|
|
|
- operator: info.value.nickname,
|
|
|
- });
|
|
|
- const activeName = ref('platform');
|
|
|
- const debounceEmit = debounce((params) => {
|
|
|
- queryReportConfigList(params)
|
|
|
- .then((res) => {
|
|
|
- confirmReportConfig(res).then(() => {
|
|
|
- ElMessage({
|
|
|
- message: '下发成功!',
|
|
|
- type: 'success',
|
|
|
- });
|
|
|
- router.back();
|
|
|
+import { useRoute, useRouter } from 'vue-router';
|
|
|
+import { ref, reactive, onMounted } from 'vue';
|
|
|
+import { storeToRefs } from 'pinia';
|
|
|
+import { debounce } from 'lodash-es';
|
|
|
+import { ElMessage } from 'element-plus';
|
|
|
+import { useUserStore } from '@/store/modules/user';
|
|
|
+import { pushChannelName } from '../constant';
|
|
|
+import type { FormProps } from 'element-plus';
|
|
|
+import PushObject from '../components/PushObject.vue';
|
|
|
+import type { FormInstance } from 'element-plus';
|
|
|
+import {
|
|
|
+ queryReportConfigListParams,
|
|
|
+ queryReportConfigList,
|
|
|
+ confirmReportConfig,
|
|
|
+ viewSystemMessage,
|
|
|
+} from './api/index';
|
|
|
+import { ObjectFrom } from './type';
|
|
|
+const title = ref<string>('本系统进行了重大升级,请查看详细内容');
|
|
|
+const content = ref<string>(
|
|
|
+ '尊敬的用户:\n 我们计划于2024年9月5日进行平台系统升级,以提升服务性能和用户体验,升级期间,平台将暂时不可用,预计停机时间为4小时,从上午2:00至6:00。请您提前做好相关安排,以避免不便,感谢您的理解与支持。如有疑问,请联系客服支持团队。\n敬请留意。\n天眼团队',
|
|
|
+);
|
|
|
+const isDisabled = ref<boolean>(false);
|
|
|
+const ruleFormRef = ref<FormInstance>();
|
|
|
+const childFromRef = ref();
|
|
|
+const validate = ref<boolean>();
|
|
|
+const useUser = useUserStore();
|
|
|
+const { info } = storeToRefs(useUser);
|
|
|
+const labelPosition = ref<FormProps['labelPosition']>('left');
|
|
|
+interface RuleForm {
|
|
|
+ title: string;
|
|
|
+ content: string;
|
|
|
+ channel: number[];
|
|
|
+ object: ObjectFrom;
|
|
|
+ operator: string;
|
|
|
+}
|
|
|
+const ruleForm = reactive<RuleForm>({
|
|
|
+ title: '',
|
|
|
+ content: '',
|
|
|
+ channel: [],
|
|
|
+ object: {},
|
|
|
+ operator: info.value.nickname,
|
|
|
+});
|
|
|
+const activeName = ref('platform');
|
|
|
+const debounceEmit = debounce((params) => {
|
|
|
+ queryReportConfigList(params)
|
|
|
+ .then((res) => {
|
|
|
+ confirmReportConfig(res).then(() => {
|
|
|
+ ElMessage({
|
|
|
+ message: '下发成功!',
|
|
|
+ type: 'success',
|
|
|
});
|
|
|
- })
|
|
|
- .catch((e) => console.error(e));
|
|
|
- }, 500);
|
|
|
- const submitForm = () => {
|
|
|
- const childValue = childFromRef.value!.getChildValue();
|
|
|
- childFromRef.value!.submitForm().then((res) => {
|
|
|
- validate.value = res;
|
|
|
- });
|
|
|
- ruleFormRef.value!.validate((valid) => {
|
|
|
- if (validate.value && valid) {
|
|
|
- const params: queryReportConfigListParams = {
|
|
|
- content: ruleForm.content,
|
|
|
- title: ruleForm.title,
|
|
|
- pushChannel: ruleForm.channel.map((item) => item),
|
|
|
- recipientType: childValue.recipientType,
|
|
|
- userGroupList: childValue.userGroupList,
|
|
|
- customUserList: childValue.customUserList,
|
|
|
- };
|
|
|
- debounceEmit(params);
|
|
|
- } else {
|
|
|
- console.log('下发失败');
|
|
|
- }
|
|
|
- });
|
|
|
- };
|
|
|
- const refresh = () => {
|
|
|
- if (!ruleFormRef.value) return;
|
|
|
- ruleFormRef.value.resetFields();
|
|
|
- childFromRef.value.refreshForm();
|
|
|
- };
|
|
|
- const router = useRouter();
|
|
|
- const rollback = () => {
|
|
|
- router.back();
|
|
|
- };
|
|
|
- const route = useRoute();
|
|
|
- const sysId = route.query.id;
|
|
|
- onMounted(() => {
|
|
|
- if (sysId) {
|
|
|
- isDisabled.value = true;
|
|
|
- viewSystemMessage(Number(sysId)).then((res) => {
|
|
|
- ruleForm.title = res.title;
|
|
|
- ruleForm.content = res.content ? res.content : ' ';
|
|
|
- ruleForm.channel = res.pushChannel;
|
|
|
- ruleForm.object.recipientType = res.recipientType;
|
|
|
- if (res.recipientType === 2) {
|
|
|
- ruleForm.object.userGroupList = res.userGroupList;
|
|
|
- }
|
|
|
- if (res.recipientType === 3) {
|
|
|
- ruleForm.object.customUserList = res.customUserList;
|
|
|
- }
|
|
|
+ router.back();
|
|
|
});
|
|
|
+ })
|
|
|
+ .catch((e) => console.error(e));
|
|
|
+}, 500);
|
|
|
+const submitForm = () => {
|
|
|
+ const childValue = childFromRef.value!.getChildValue();
|
|
|
+ childFromRef.value!.submitForm().then((res) => {
|
|
|
+ validate.value = res;
|
|
|
+ });
|
|
|
+ ruleFormRef.value!.validate((valid) => {
|
|
|
+ if (validate.value && valid) {
|
|
|
+ const params: queryReportConfigListParams = {
|
|
|
+ content: ruleForm.content,
|
|
|
+ title: ruleForm.title,
|
|
|
+ pushChannel: ruleForm.channel.map((item) => item),
|
|
|
+ recipientType: childValue.recipientType,
|
|
|
+ userGroupList: childValue.userGroupList,
|
|
|
+ customUserList: childValue.customUserList,
|
|
|
+ };
|
|
|
+ debounceEmit(params);
|
|
|
+ } else {
|
|
|
+ console.log('下发失败');
|
|
|
}
|
|
|
});
|
|
|
+};
|
|
|
+const refresh = () => {
|
|
|
+ if (!ruleFormRef.value) return;
|
|
|
+ ruleFormRef.value.resetFields();
|
|
|
+ childFromRef.value.refreshForm();
|
|
|
+};
|
|
|
+const router = useRouter();
|
|
|
+const rollback = () => {
|
|
|
+ router.back();
|
|
|
+};
|
|
|
+const route = useRoute();
|
|
|
+const sysId = route.query.id;
|
|
|
+onMounted(() => {
|
|
|
+ if (sysId) {
|
|
|
+ isDisabled.value = true;
|
|
|
+ viewSystemMessage(Number(sysId)).then((res) => {
|
|
|
+ ruleForm.title = res.title;
|
|
|
+ ruleForm.content = res.content ? res.content : ' ';
|
|
|
+ ruleForm.channel = res.pushChannel;
|
|
|
+ ruleForm.object.recipientType = res.recipientType;
|
|
|
+ if (res.recipientType === 2) {
|
|
|
+ ruleForm.object.userGroupList = res.userGroupList;
|
|
|
+ }
|
|
|
+ if (res.recipientType === 3) {
|
|
|
+ ruleForm.object.customUserList = res.customUserList;
|
|
|
+ }
|
|
|
+ });
|
|
|
+ }
|
|
|
+});
|
|
|
</script>
|
|
|
|
|
|
<style lang="scss" scoped>
|
|
|
- .sysnotion-config {
|
|
|
- position: relative;
|
|
|
- height: calc(100vh - 64px - 18px);
|
|
|
- background-color: rgba(255, 255, 255, 1);
|
|
|
- box-sizing: border-box !important;
|
|
|
- .tophead {
|
|
|
+.sysnotion-config {
|
|
|
+ position: relative;
|
|
|
+ height: calc(100vh - 64px - 18px);
|
|
|
+ background-color: rgba(255, 255, 255, 1);
|
|
|
+ box-sizing: border-box !important;
|
|
|
+ .tophead {
|
|
|
+ display: flex;
|
|
|
+ gap: 20px;
|
|
|
+ width: 100%;
|
|
|
+ height: 50px;
|
|
|
+ padding: 16px 0 14px 21px;
|
|
|
+ border-bottom: 1px solid rgba(0, 0, 0, 0.06);
|
|
|
+ div {
|
|
|
display: flex;
|
|
|
- gap: 20px;
|
|
|
- width: 100%;
|
|
|
- height: 50px;
|
|
|
- padding: 16px 0 14px 21px;
|
|
|
- border-bottom: 1px solid rgba(0, 0, 0, 0.06);
|
|
|
- div {
|
|
|
- display: flex;
|
|
|
- align-items: center;
|
|
|
- font-weight: 400;
|
|
|
- font-size: 14px;
|
|
|
- color: #303133;
|
|
|
- line-height: 22px;
|
|
|
- cursor: pointer;
|
|
|
- img {
|
|
|
- margin-right: 4px;
|
|
|
- }
|
|
|
+ align-items: center;
|
|
|
+ font-weight: 400;
|
|
|
+ font-size: 14px;
|
|
|
+ color: #303133;
|
|
|
+ line-height: 22px;
|
|
|
+ cursor: pointer;
|
|
|
+ img {
|
|
|
+ margin-right: 4px;
|
|
|
}
|
|
|
}
|
|
|
- .content {
|
|
|
+ }
|
|
|
+ .content {
|
|
|
+ display: flex;
|
|
|
+ width: 100%;
|
|
|
+ height: calc(100vh - 64px - 18px - 50px);
|
|
|
+ padding: 0 30px 0 0;
|
|
|
+ .left {
|
|
|
display: flex;
|
|
|
- width: 100%;
|
|
|
- height: calc(100vh - 64px - 18px - 50px);
|
|
|
- padding: 0 30px 0 0;
|
|
|
- .left {
|
|
|
+ flex-direction: column;
|
|
|
+ flex: 1;
|
|
|
+ position: relative;
|
|
|
+ padding: 21px;
|
|
|
+ border-right: 1px solid rgba(0, 0, 0, 0.06);
|
|
|
+ overflow-y: auto;
|
|
|
+ .el-form-outer {
|
|
|
display: flex;
|
|
|
flex-direction: column;
|
|
|
+ gap: 32px;
|
|
|
+ }
|
|
|
+ .transprant {
|
|
|
+ :deep(.el-form-item__label::before) {
|
|
|
+ content: '**';
|
|
|
+ opacity: 0;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .btns {
|
|
|
+ margin-top: 35px;
|
|
|
flex: 1;
|
|
|
+ width: 100%;
|
|
|
position: relative;
|
|
|
- padding: 21px;
|
|
|
- border-right: 1px solid rgba(0, 0, 0, 0.06);
|
|
|
- overflow-y: auto;
|
|
|
- .el-form-outer {
|
|
|
- display: flex;
|
|
|
- flex-direction: column;
|
|
|
- gap: 32px;
|
|
|
- }
|
|
|
- .transprant {
|
|
|
- :deep(.el-form-item__label::before) {
|
|
|
- content: '**';
|
|
|
- opacity: 0;
|
|
|
- }
|
|
|
- }
|
|
|
- .btns {
|
|
|
- margin-top: 35px;
|
|
|
- flex: 1;
|
|
|
- width: 100%;
|
|
|
- position: relative;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .right {
|
|
|
+ width: 380px;
|
|
|
+ height: 100%;
|
|
|
+ padding: 20px 9px 0 20px;
|
|
|
+ .top-head {
|
|
|
+ display: flex;
|
|
|
+ gap: 7px;
|
|
|
+ align-items: center;
|
|
|
+ width: 100%;
|
|
|
+ height: 22px;
|
|
|
+ font-weight: 600;
|
|
|
+ font-size: 14px;
|
|
|
+ color: rgba(0, 0, 0, 0.85);
|
|
|
+ line-height: 22px;
|
|
|
+ img {
|
|
|
+ cursor: pointer;
|
|
|
}
|
|
|
}
|
|
|
- .right {
|
|
|
- width: 380px;
|
|
|
- height: 100%;
|
|
|
- padding: 20px 9px 0 20px;
|
|
|
- .top-head {
|
|
|
- display: flex;
|
|
|
- gap: 7px;
|
|
|
- align-items: center;
|
|
|
- width: 100%;
|
|
|
- height: 22px;
|
|
|
- font-weight: 600;
|
|
|
+ .tabs {
|
|
|
+ margin-top: 14px;
|
|
|
+ overflow-y: auto;
|
|
|
+ :deep(.el-tabs__header) {
|
|
|
+ margin: 0 0 22px;
|
|
|
+ }
|
|
|
+ :deep(.is-top) {
|
|
|
+ font-weight: 550;
|
|
|
font-size: 14px;
|
|
|
- color: rgba(0, 0, 0, 0.85);
|
|
|
line-height: 22px;
|
|
|
- img {
|
|
|
- cursor: pointer;
|
|
|
- }
|
|
|
}
|
|
|
- .tabs {
|
|
|
- margin-top: 14px;
|
|
|
- overflow-y: auto;
|
|
|
- :deep(.el-tabs__header) {
|
|
|
- margin: 0 0 22px;
|
|
|
- }
|
|
|
- :deep(.is-top) {
|
|
|
- font-weight: 550;
|
|
|
- font-size: 14px;
|
|
|
- line-height: 22px;
|
|
|
- }
|
|
|
- :deep(.el-tabs__nav-wrap::after) {
|
|
|
- height: 0px;
|
|
|
- }
|
|
|
- .platform {
|
|
|
- display: flex;
|
|
|
- flex-direction: column;
|
|
|
- gap: 24px;
|
|
|
- .tabs-content {
|
|
|
+ :deep(.el-tabs__nav-wrap::after) {
|
|
|
+ height: 0px;
|
|
|
+ }
|
|
|
+ .platform {
|
|
|
+ display: flex;
|
|
|
+ flex-direction: column;
|
|
|
+ gap: 24px;
|
|
|
+ .tabs-content {
|
|
|
+ width: 100%;
|
|
|
+ height: auto;
|
|
|
+ max-height: calc(100vh - 450px);
|
|
|
+ .title {
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ margin-bottom: 12px;
|
|
|
+ gap: 18px;
|
|
|
width: 100%;
|
|
|
- height: auto;
|
|
|
- max-height: calc(100vh - 450px);
|
|
|
- .title {
|
|
|
+ height: 31px;
|
|
|
+ .vertical {
|
|
|
+ width: 4px;
|
|
|
+ height: 12px;
|
|
|
+ background: #1777ff;
|
|
|
+ border-radius: 3px;
|
|
|
+ }
|
|
|
+ span {
|
|
|
+ font-weight: 400;
|
|
|
+ font-size: 14px;
|
|
|
+ color: #303133;
|
|
|
+ line-height: 20px;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .card {
|
|
|
+ width: 100%;
|
|
|
+ height: 124px;
|
|
|
+ padding: 10px 14px 0 12px;
|
|
|
+ background: #ffffff;
|
|
|
+ border-radius: 4px;
|
|
|
+ border: 1px solid rgba(0, 0, 0, 0.06);
|
|
|
+ .card-title {
|
|
|
display: flex;
|
|
|
- align-items: center;
|
|
|
- margin-bottom: 12px;
|
|
|
- gap: 18px;
|
|
|
- width: 100%;
|
|
|
- height: 31px;
|
|
|
- .vertical {
|
|
|
- width: 4px;
|
|
|
- height: 12px;
|
|
|
- background: #1777ff;
|
|
|
- border-radius: 3px;
|
|
|
- }
|
|
|
- span {
|
|
|
- font-weight: 400;
|
|
|
+ justify-content: space-between;
|
|
|
+ font-weight: 600;
|
|
|
+ font-size: 15px;
|
|
|
+ color: #646566;
|
|
|
+ line-height: 20px;
|
|
|
+ a {
|
|
|
font-size: 14px;
|
|
|
- color: #303133;
|
|
|
- line-height: 20px;
|
|
|
- }
|
|
|
- }
|
|
|
- .card {
|
|
|
- width: 100%;
|
|
|
- height: 124px;
|
|
|
- padding: 10px 14px 0 12px;
|
|
|
- background: #ffffff;
|
|
|
- border-radius: 4px;
|
|
|
- border: 1px solid rgba(0, 0, 0, 0.06);
|
|
|
- .card-title {
|
|
|
display: flex;
|
|
|
- justify-content: space-between;
|
|
|
- font-weight: 600;
|
|
|
- font-size: 15px;
|
|
|
- color: #646566;
|
|
|
- line-height: 20px;
|
|
|
- a {
|
|
|
- font-size: 14px;
|
|
|
- display: flex;
|
|
|
- gap: 8px;
|
|
|
- cursor: default;
|
|
|
- }
|
|
|
- }
|
|
|
- .card-content {
|
|
|
- margin-top: 15px;
|
|
|
- font-weight: 400;
|
|
|
- line-height: 20px;
|
|
|
+ gap: 8px;
|
|
|
+ cursor: default;
|
|
|
}
|
|
|
}
|
|
|
- .info {
|
|
|
- width: 100%;
|
|
|
- max-height: calc(100vh - 450px - 32px);
|
|
|
- background: #ffffff;
|
|
|
- border-radius: 4px;
|
|
|
- border: 1px solid rgba(0, 0, 0, 0.06);
|
|
|
- .info-title {
|
|
|
- display: flex;
|
|
|
- justify-content: center;
|
|
|
- align-items: center;
|
|
|
- width: 100%;
|
|
|
- height: 41px;
|
|
|
- font-weight: 600;
|
|
|
- font-size: 14px;
|
|
|
- color: rgba(0, 0, 0, 0.85);
|
|
|
- line-height: 22px;
|
|
|
- border-bottom: 1px solid rgba(0, 0, 0, 0.06);
|
|
|
- }
|
|
|
- .info-content {
|
|
|
- width: 100%;
|
|
|
- max-height: calc(100vh - 450px - 32px - 55px);
|
|
|
- overflow-y: auto;
|
|
|
- padding: 12px 7px 12px 12px;
|
|
|
- font-weight: 400;
|
|
|
- font-size: 14px;
|
|
|
- color: #646566;
|
|
|
- line-height: 22px;
|
|
|
- word-wrap: break-word;
|
|
|
- white-space: pre-wrap;
|
|
|
- }
|
|
|
+ .card-content {
|
|
|
+ margin-top: 15px;
|
|
|
+ font-weight: 400;
|
|
|
+ line-height: 20px;
|
|
|
}
|
|
|
}
|
|
|
- }
|
|
|
- .lanxin {
|
|
|
- display: flex;
|
|
|
- flex-direction: column;
|
|
|
- gap: 24px;
|
|
|
- .tabs-content {
|
|
|
+ .info {
|
|
|
width: 100%;
|
|
|
- height: auto;
|
|
|
- max-height: calc(100vh - 400px);
|
|
|
- .title {
|
|
|
+ max-height: calc(100vh - 450px - 32px);
|
|
|
+ background: #ffffff;
|
|
|
+ border-radius: 4px;
|
|
|
+ border: 1px solid rgba(0, 0, 0, 0.06);
|
|
|
+ .info-title {
|
|
|
display: flex;
|
|
|
+ justify-content: center;
|
|
|
align-items: center;
|
|
|
- margin-bottom: 12px;
|
|
|
- gap: 18px;
|
|
|
width: 100%;
|
|
|
- height: 31px;
|
|
|
- .vertical {
|
|
|
- width: 4px;
|
|
|
- height: 12px;
|
|
|
- background: #1777ff;
|
|
|
- border-radius: 3px;
|
|
|
- }
|
|
|
- span {
|
|
|
- font-weight: 400;
|
|
|
- font-size: 14px;
|
|
|
- color: #303133;
|
|
|
- line-height: 20px;
|
|
|
- }
|
|
|
+ height: 41px;
|
|
|
+ font-weight: 600;
|
|
|
+ font-size: 14px;
|
|
|
+ color: rgba(0, 0, 0, 0.85);
|
|
|
+ line-height: 22px;
|
|
|
+ border-bottom: 1px solid rgba(0, 0, 0, 0.06);
|
|
|
}
|
|
|
- .card {
|
|
|
+ .info-content {
|
|
|
width: 100%;
|
|
|
- height: 79px;
|
|
|
- padding: 10px 14px 0 12px;
|
|
|
- background: #ffffff;
|
|
|
- border-radius: 4px;
|
|
|
- border: 1px solid rgba(0, 0, 0, 0.06);
|
|
|
- position: relative;
|
|
|
- .card-title {
|
|
|
+ max-height: calc(100vh - 450px - 32px - 55px);
|
|
|
+ overflow-y: auto;
|
|
|
+ padding: 12px 7px 12px 12px;
|
|
|
+ font-weight: 400;
|
|
|
+ font-size: 14px;
|
|
|
+ color: #646566;
|
|
|
+ line-height: 22px;
|
|
|
+ word-wrap: break-word;
|
|
|
+ white-space: pre-wrap;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .lanxin {
|
|
|
+ display: flex;
|
|
|
+ flex-direction: column;
|
|
|
+ gap: 24px;
|
|
|
+ .tabs-content {
|
|
|
+ width: 100%;
|
|
|
+ height: auto;
|
|
|
+ max-height: calc(100vh - 400px);
|
|
|
+ .title {
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ margin-bottom: 12px;
|
|
|
+ gap: 18px;
|
|
|
+ width: 100%;
|
|
|
+ height: 31px;
|
|
|
+ .vertical {
|
|
|
+ width: 4px;
|
|
|
+ height: 12px;
|
|
|
+ background: #1777ff;
|
|
|
+ border-radius: 3px;
|
|
|
+ }
|
|
|
+ span {
|
|
|
+ font-weight: 400;
|
|
|
+ font-size: 14px;
|
|
|
+ color: #303133;
|
|
|
+ line-height: 20px;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .card {
|
|
|
+ width: 100%;
|
|
|
+ height: 79px;
|
|
|
+ padding: 10px 14px 0 12px;
|
|
|
+ background: #ffffff;
|
|
|
+ border-radius: 4px;
|
|
|
+ border: 1px solid rgba(0, 0, 0, 0.06);
|
|
|
+ position: relative;
|
|
|
+ .card-title {
|
|
|
+ display: flex;
|
|
|
+ justify-content: space-between;
|
|
|
+ font-weight: 600;
|
|
|
+ font-size: 15px;
|
|
|
+ color: #646566;
|
|
|
+ line-height: 20px;
|
|
|
+ a {
|
|
|
display: flex;
|
|
|
- justify-content: space-between;
|
|
|
- font-weight: 600;
|
|
|
- font-size: 15px;
|
|
|
- color: #646566;
|
|
|
- line-height: 20px;
|
|
|
- a {
|
|
|
- display: flex;
|
|
|
- gap: 8px;
|
|
|
- }
|
|
|
- }
|
|
|
- .card-content {
|
|
|
- margin-top: 15px;
|
|
|
- font-weight: 400;
|
|
|
- line-height: 20px;
|
|
|
- }
|
|
|
- img {
|
|
|
- position: absolute;
|
|
|
- top: 10px;
|
|
|
- right: 17px;
|
|
|
+ gap: 8px;
|
|
|
}
|
|
|
}
|
|
|
- .info {
|
|
|
+ .card-content {
|
|
|
+ margin-top: 15px;
|
|
|
+ font-weight: 400;
|
|
|
+ line-height: 20px;
|
|
|
+ }
|
|
|
+ img {
|
|
|
+ position: absolute;
|
|
|
+ top: 10px;
|
|
|
+ right: 17px;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .info {
|
|
|
+ width: 100%;
|
|
|
+ max-height: calc(100vh - 400px - 50px);
|
|
|
+ background: #ffffff;
|
|
|
+ border-radius: 4px;
|
|
|
+ border: 1px solid rgba(0, 0, 0, 0.06);
|
|
|
+ .info-title {
|
|
|
+ display: flex;
|
|
|
+ justify-content: center;
|
|
|
+ align-items: center;
|
|
|
width: 100%;
|
|
|
- max-height: calc(100vh - 400px - 50px);
|
|
|
- background: #ffffff;
|
|
|
- border-radius: 4px;
|
|
|
- border: 1px solid rgba(0, 0, 0, 0.06);
|
|
|
- .info-title {
|
|
|
- display: flex;
|
|
|
- justify-content: center;
|
|
|
- align-items: center;
|
|
|
- width: 100%;
|
|
|
- height: 41px;
|
|
|
- font-weight: 600;
|
|
|
- font-size: 14px;
|
|
|
- color: rgba(0, 0, 0, 0.85);
|
|
|
- line-height: 22px;
|
|
|
- border-bottom: 1px solid rgba(0, 0, 0, 0.06);
|
|
|
- }
|
|
|
- .info-content {
|
|
|
- width: 100%;
|
|
|
- max-height: calc(100vh - 400px - 32px - 41px);
|
|
|
- overflow-y: auto;
|
|
|
- padding: 12px 7px 12px 12px;
|
|
|
- font-weight: 400;
|
|
|
- font-size: 14px;
|
|
|
- color: #646566;
|
|
|
- line-height: 22px;
|
|
|
- word-wrap: break-word;
|
|
|
- white-space: pre-wrap;
|
|
|
- }
|
|
|
+ height: 41px;
|
|
|
+ font-weight: 600;
|
|
|
+ font-size: 14px;
|
|
|
+ color: rgba(0, 0, 0, 0.85);
|
|
|
+ line-height: 22px;
|
|
|
+ border-bottom: 1px solid rgba(0, 0, 0, 0.06);
|
|
|
+ }
|
|
|
+ .info-content {
|
|
|
+ width: 100%;
|
|
|
+ max-height: calc(100vh - 400px - 32px - 41px);
|
|
|
+ overflow-y: auto;
|
|
|
+ padding: 12px 7px 12px 12px;
|
|
|
+ font-weight: 400;
|
|
|
+ font-size: 14px;
|
|
|
+ color: #646566;
|
|
|
+ line-height: 22px;
|
|
|
+ word-wrap: break-word;
|
|
|
+ white-space: pre-wrap;
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
@@ -534,4 +533,5 @@
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
-</style>
|
|
|
+}
|
|
|
+</style>
|