提交 e50ad296 编写于 作者: guangjun.yang's avatar guangjun.yang

优化样式问题

上级 730ddbbd
...@@ -21,25 +21,14 @@ export default { ...@@ -21,25 +21,14 @@ export default {
}, },
computed: { computed: {
...mapGetters({ ...mapGetters({
// orgList: 'orgList',
areaDegree: 'areaDegree' areaDegree: 'areaDegree'
}), }),
// isNotVisible() {
// if((this.orgList && this.orgList.length == 0) || this.areaDegree == 0 || this.areaDegree == 1 || this.areaDegree == 2) {
// return true;
// } else {
// return false;
// }
// }
}, },
methods: { methods: {
areaClick() { areaClick() {
this.$emit("areaClick"); this.$emit("areaClick");
}, },
// orgClick() {
// this.$emit("orgClick");
// }
} }
}; };
</script> </script>
...@@ -81,7 +70,8 @@ export default { ...@@ -81,7 +70,8 @@ export default {
.map { .map {
position: relative; position: relative;
top: 2.5px; top: 2.5px;
margin-right: 7px; left: -2px;
margin-right: 3px;
width: 16px; width: 16px;
height: 16px; height: 16px;
} }
......
...@@ -2,8 +2,8 @@ ...@@ -2,8 +2,8 @@
<template> <template>
<div class="common-tabs-wrapper" :class="{'fixed': needFixed}"> <div class="common-tabs-wrapper" :class="{'fixed': needFixed}">
<div class="sub-wrapper" :class="{'fixed': needFixed}"> <div class="sub-wrapper" :class="{'fixed': needFixed}">
<ul class="common-tabs"> <ul class="common-tabs" id="tabsWrapperId">
<li <li :id="'tabsItem' + index"
v-show="(item === '总体概况' v-show="(item === '总体概况'
|| item === '人群分析' || item === '人群分析'
|| item === '课程分析' && projectInfo.existCourse === 1) || item === '课程分析' && projectInfo.existCourse === 1)
...@@ -48,6 +48,7 @@ export default { ...@@ -48,6 +48,7 @@ export default {
clickTab(index) { clickTab(index) {
this.cIndex = index; this.cIndex = index;
this.$emit("tabClicked", index); this.$emit("tabClicked", index);
let tabsItemId = 'tabsItem' + index;
} }
} }
}; };
...@@ -102,6 +103,9 @@ export default { ...@@ -102,6 +103,9 @@ export default {
border-radius: 30px; border-radius: 30px;
&:first-child { &:first-child {
margin-left: 15px; margin-left: 15px;
}
&:last-child {
margin-right: 15px;
} }
&.active { &.active {
color: #449284; color: #449284;
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册