我的项目模块下Tab样式更改
parent
7f179fb393
commit
102089c16f
|
@ -3,7 +3,7 @@
|
||||||
<div class="trialsTab">
|
<div class="trialsTab">
|
||||||
<el-tabs v-model="trialsTab" @tab-click="clickTab">
|
<el-tabs v-model="trialsTab" @tab-click="clickTab">
|
||||||
<el-tab-pane v-for="item of trialsRouter.children.find(v => {return v.name == 'TrialsPanel'}).children" :key="`tab${item.path}`" :disabled="TotalNeedSignTrialDocCount !== 0 && item.path !== '/trials/trials-panel/attachments'" :label="$t(item.LanguageMark)" :name="item.path">
|
<el-tab-pane v-for="item of trialsRouter.children.find(v => {return v.name == 'TrialsPanel'}).children" :key="`tab${item.path}`" :disabled="TotalNeedSignTrialDocCount !== 0 && item.path !== '/trials/trials-panel/attachments'" :label="$t(item.LanguageMark)" :name="item.path">
|
||||||
<el-tabs v-if="!item.tabHiddn" v-model="trialsTabChild" @tab-click="clickTab">
|
<el-tabs v-if="!item.tabHiddn" v-model="trialsTabChild" @tab-click="clickTab" style="background-color: #f5f7fa;">
|
||||||
<template v-for="item1 of item.children">
|
<template v-for="item1 of item.children">
|
||||||
<el-tab-pane
|
<el-tab-pane
|
||||||
v-if="TrialConfig && isShow(item1.path)"
|
v-if="TrialConfig && isShow(item1.path)"
|
||||||
|
@ -224,6 +224,9 @@ export default {
|
||||||
.el-tabs__header{
|
.el-tabs__header{
|
||||||
margin-bottom: 3px;
|
margin-bottom: 3px;
|
||||||
}
|
}
|
||||||
|
.el-tabs__item.is-active{
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
position: relative;
|
position: relative;
|
||||||
.el-input--medium .el-input__inner{
|
.el-input--medium .el-input__inner{
|
||||||
height: 44px;line-height: 44px;width: 280px;
|
height: 44px;line-height: 44px;width: 280px;
|
||||||
|
|
|
@ -379,6 +379,11 @@ export default {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
.right-menu {
|
||||||
|
.el-menu-item.is-active {
|
||||||
|
font-weight: bolder;
|
||||||
|
}
|
||||||
|
}
|
||||||
.center-menu {
|
.center-menu {
|
||||||
width: calc(100% - 1200px);
|
width: calc(100% - 1200px);
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
<template>
|
<template>
|
||||||
<BaseContainer>
|
<BaseContainer class="read-task-allocation">
|
||||||
<el-tabs type="border-card" v-model="TrialReadingCriterionId">
|
<el-tabs type="border-card" v-model="TrialReadingCriterionId">
|
||||||
<el-tab-pane :label="i.TrialReadingCriterionName" :name="i.TrialReadingCriterionId" v-for="i of trialCriterionList" :key="i.TrialReadingCriterionId">
|
<el-tab-pane :label="i.TrialReadingCriterionName" :name="i.TrialReadingCriterionId" v-for="i of trialCriterionList" :key="i.TrialReadingCriterionId">
|
||||||
<div v-if="TrialReadingCriterionId === i.TrialReadingCriterionId">
|
<div v-if="TrialReadingCriterionId === i.TrialReadingCriterionId">
|
||||||
|
@ -1013,6 +1013,11 @@ export default {
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
|
.read-task-allocation{
|
||||||
|
/deep/.search {
|
||||||
|
padding: 0px !important;
|
||||||
|
}
|
||||||
|
}
|
||||||
/deep/ .hidden-row{
|
/deep/ .hidden-row{
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue