style(系统设置): 状态提示信息样式调整

This commit is contained in:
xinxin.wu 2023-08-23 11:27:13 +08:00 committed by 刘瑞斌
parent 9c0bb748be
commit b50791ebd0
6 changed files with 14 additions and 13 deletions

View File

@ -1,3 +0,0 @@
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M7.99996 14C11.3137 14 14 11.3137 14 8.00002C14 4.68631 11.3137 2.00002 7.99996 2.00002C4.68625 2.00002 1.99996 4.68631 1.99996 8.00002C1.99996 11.3137 4.68625 14 7.99996 14ZM7.99996 15.3334C3.94987 15.3334 0.666626 12.0501 0.666626 8.00002C0.666626 3.94993 3.94987 0.666687 7.99996 0.666687C12.05 0.666687 15.3333 3.94993 15.3333 8.00002C15.3333 12.0501 12.05 15.3334 7.99996 15.3334ZM7.66662 10.6667H8.33329C8.51739 10.6667 8.66662 10.8159 8.66662 11V11.6667C8.66662 11.8508 8.51739 12 8.33329 12H7.66662C7.48253 12 7.33329 11.8508 7.33329 11.6667V11C7.33329 10.8159 7.48253 10.6667 7.66662 10.6667ZM5.36653 6.18783C5.375 6.11331 5.38368 6.05133 5.39256 6.00187C5.52252 5.27814 5.85165 4.74591 6.37997 4.40516C6.79374 4.13507 7.30217 4.00002 7.90528 4.00002C8.69775 4.00002 9.35608 4.19193 9.8803 4.57575C10.4045 4.95957 10.6666 5.52819 10.6666 6.28161C10.6666 6.74362 10.5527 7.13277 10.3247 7.44906C10.1915 7.64097 9.93553 7.88619 9.55683 8.18472L9.18339 8.47791C8.98001 8.63784 8.84502 8.82441 8.77839 9.03765C8.76026 9.09584 8.74433 9.20402 8.73059 9.36218C8.71564 9.53446 8.57143 9.66669 8.39851 9.66669H7.65224C7.46814 9.66668 7.3189 9.51745 7.3189 9.33335C7.3189 9.3231 7.31938 9.31285 7.32032 9.30264C7.36324 8.83871 7.40921 8.54514 7.45821 8.42194C7.54938 8.19271 7.78431 7.92884 8.16301 7.63031L8.54697 7.32645C8.6732 7.2305 9.32367 6.77245 9.32367 6.36691C9.32367 5.96136 9.25302 5.8122 9.0494 5.58962C8.84578 5.36705 8.38742 5.29541 7.97366 5.29541C7.56691 5.29541 7.21932 5.40343 7.04926 5.67708C6.97049 5.80382 6.90609 5.93903 6.85963 6.07698C6.84135 6.13125 6.82516 6.19953 6.81105 6.28182C6.78361 6.44184 6.64487 6.55882 6.48251 6.55882H5.69774C5.51364 6.55882 5.3644 6.40958 5.3644 6.22548C5.3644 6.2129 5.36511 6.20033 5.36653 6.18783Z" fill="#783887"/>
</svg>

Before

Width:  |  Height:  |  Size: 1.9 KiB

View File

@ -21,7 +21,8 @@
<a-tooltip v-if="props.switchProps?.switchTooltip" :content="t(props.switchProps?.switchTooltip)">
<span class="flex items-center"
><span class="mr-1">{{ props.switchProps?.switchName }}</span>
<span><svg-icon width="16px" height="16px" :name="'infotip'" /></span
<span class="mt-[2px]"
><IconQuestionCircle class="h-[16px] w-[16px] text-[rgb(var(--primary-5))]" /></span
></span>
</a-tooltip>
</div>

View File

@ -16,9 +16,9 @@
<span class="absolute right-0 top-1 flex items-center">
<span class="float-left">{{ t('system.plugin.getPlugin') }}</span>
<a-tooltip :content="t('system.plugin.infoTip')" position="bottom">
<a class="float-left mx-2" href="javascript:;">
<svg-icon width="16px" height="16px" :name="'infotip'"
/></a>
<span class="float-left mx-1 mt-[2px]">
<IconQuestionCircle class="h-[16px] w-[16px] text-[rgb(var(--primary-5))]" />
</span>
</a-tooltip>
</span>
</a-form-item>
@ -81,7 +81,12 @@
<div class="text-sm">{{ t('system.plugin.statusEnableTip') }}</div>
<div class="text-sm">{{ t('system.plugin.statusDisableTip') }}</div>
</template>
<a class="mx-2" href="javascript:;"> <svg-icon width="16px" height="16px" :name="'infotip'" /></a>
<div class="mx-1 flex h-[32px] items-center">
<span class="mr-1">{{ t('system.plugin.pluginStatus') }}</span>
<span class="mt-[2px]"
><IconQuestionCircle class="h-[16px] w-[16px] text-[rgb(var(--primary-5))]"
/></span>
</div>
</a-tooltip>
</div>
<div>
@ -136,7 +141,6 @@
return !(fileList.value.length > 0);
});
const form = ref({ ...initForm });
// const originizeList = ref<SelectOptionData>([]);
const resetForm = () => {
form.value = { ...initForm };
@ -211,9 +215,6 @@
watchEffect(() => {
fileName.value = fileList.value[0]?.name as string;
});
// onBeforeMount(async () => {
// // originizeList.value = await getAllOrgList();
// });
</script>
<style scoped lang="less">

View File

@ -25,7 +25,7 @@
<a-button type="outline" @click="router.push({ name: 'settingOrganizationService' })">{{
t('system.plugin.ServiceIntegration')
}}</a-button>
<a-button type="secondary">{{ t('system.plugin.backPluginList') }}</a-button>
<a-button type="secondary" @click="emits('close')">{{ t('system.plugin.backPluginList') }}</a-button>
</a-space>
</div>
<div class="mt-4">

View File

@ -100,6 +100,7 @@ export default {
'system.resourcePool.useUI': ' UI test',
'system.plugin.all': 'All',
'system.plugin.projectManagement': 'Project Management',
'system.plugin.pluginStatus': 'Status',
'system.plugin.deleteContentTip':
'After deletion, the defects/requirements of the platform cannot be synchronized, and the historical data is automatically switched to other templates. Please exercise caution!',
};

View File

@ -80,5 +80,6 @@ export default {
'system.plugin.showScriptTitle': '查看脚本({name})',
'system.plugin.all': '全部',
'system.plugin.projectManagement': '项目管理',
'system.plugin.pluginStatus': '插件状态',
'system.plugin.deleteContentTip': '删除后,将无法同步该平台的缺陷/需求,历史数据自动切换为其它模板展示,请谨慎操作!',
};