|
@@ -3,8 +3,10 @@
|
|
|
<div class="title">
|
|
|
<div>
|
|
|
<div class="icon"></div>
|
|
|
- <span>{{ titleName }}</span>
|
|
|
- <span class="region">{{ store.state.cockpit_region.name }}</span>
|
|
|
+ <span
|
|
|
+ >{{ isregion ? "三亚市" : store.state.cockpit_region.name
|
|
|
+ }}{{ titleName }}</span
|
|
|
+ >
|
|
|
</div>
|
|
|
<slot name="title"></slot>
|
|
|
</div>
|
|
@@ -19,11 +21,15 @@ export default {
|
|
|
name: "borderTemplate",
|
|
|
props: {
|
|
|
titleName: "",
|
|
|
+ isregion: {
|
|
|
+ type: Boolean,
|
|
|
+ default: true,
|
|
|
+ },
|
|
|
},
|
|
|
data() {
|
|
|
return {};
|
|
|
},
|
|
|
- mounted() { },
|
|
|
+ mounted() {},
|
|
|
methods: {},
|
|
|
};
|
|
|
</script>
|
|
@@ -50,7 +56,6 @@ export default {
|
|
|
justify-content: space-between;
|
|
|
position: relative;
|
|
|
|
|
|
-
|
|
|
span {
|
|
|
color: #fff;
|
|
|
font-size: 14px;
|
|
@@ -59,9 +64,9 @@ export default {
|
|
|
bottom: -0.3rem;
|
|
|
left: 2.7rem;
|
|
|
}
|
|
|
- .region{
|
|
|
- font-weight: 500;
|
|
|
- margin-left: 10px;
|
|
|
+ .region {
|
|
|
+ font-weight: 500;
|
|
|
+ margin-left: 10px;
|
|
|
}
|
|
|
|
|
|
.selectTab {
|
|
@@ -94,12 +99,17 @@ export default {
|
|
|
|
|
|
/deep/ .el-select-dropdown__list {
|
|
|
color: #bcd3e5 !important;
|
|
|
- background: linear-gradient(180deg,
|
|
|
- rgba(3, 115, 177, 0) 11%,
|
|
|
- rgba(3, 115, 177, 0.48) 100%);
|
|
|
- border-image: linear-gradient(360deg,
|
|
|
+ background: linear-gradient(
|
|
|
+ 180deg,
|
|
|
+ rgba(3, 115, 177, 0) 11%,
|
|
|
+ rgba(3, 115, 177, 0.48) 100%
|
|
|
+ );
|
|
|
+ border-image: linear-gradient(
|
|
|
+ 360deg,
|
|
|
rgba(75, 185, 250, 0.2),
|
|
|
- rgba(75, 185, 250, 0.05)) 1 1 !important;
|
|
|
+ rgba(75, 185, 250, 0.05)
|
|
|
+ )
|
|
|
+ 1 1 !important;
|
|
|
border: none;
|
|
|
}
|
|
|
|