|
@@ -5,36 +5,68 @@
|
|
|
v-loading="dataInitLoading"
|
|
|
element-loading-spinner="el-icon-loading"
|
|
|
element-loading-background="rgba(0, 0, 0, 0.8)"
|
|
|
- :class="$ifLeftMenu(menuData.title != undefined ? menuData.title : '') ? 'menuMainBoxA' : 'menuMainBox'"
|
|
|
+ :class="
|
|
|
+ $ifLeftMenu(menuData.title != undefined ? menuData.title : '')
|
|
|
+ ? 'menuMainBoxA'
|
|
|
+ : 'menuMainBox'
|
|
|
+ "
|
|
|
:style="{
|
|
|
width: menuData.boxWidth ? menuData.boxWidth + 'px' : '410px',
|
|
|
height: menuData.boxHeight ? menuData.boxHeight + 'px' : 'auto',
|
|
|
- border: menuData.type !== 'chart' && menuData.type !== 'legend' ? '' : '1px solid #2FB8FF',
|
|
|
- background: menuData.boxBackground ? menuData.boxBackground : ''
|
|
|
+ border:
|
|
|
+ menuData.type !== 'chart' && menuData.type !== 'legend'
|
|
|
+ ? ''
|
|
|
+ : '1px solid #2FB8FF',
|
|
|
+ background: menuData.boxBackground ? menuData.boxBackground : '',
|
|
|
}"
|
|
|
@click="changeMenu()"
|
|
|
>
|
|
|
<!-- 头部 -->
|
|
|
- <div class="menuMainBox_top" v-if="menuData.type !== 'chart' && menuData.type !== 'legend'">
|
|
|
+ <div
|
|
|
+ class="menuMainBox_top"
|
|
|
+ v-if="menuData.type !== 'chart' && menuData.type !== 'legend'"
|
|
|
+ >
|
|
|
<!-- 头部左侧 -->
|
|
|
- <div class="menuMainBox_top_left" :style="{ width: menuData.titleWidth ? menuData.titleWidth + '%' : '50%' }">
|
|
|
+ <div
|
|
|
+ class="menuMainBox_top_left"
|
|
|
+ :style="{
|
|
|
+ width: menuData.titleWidth ? menuData.titleWidth + '%' : '50%',
|
|
|
+ }"
|
|
|
+ >
|
|
|
<!-- 左侧箭头图标 -->
|
|
|
- <div class="menuMainBox_top_left_iconS" v-if="menuData.type !== 'imageMenu'"></div>
|
|
|
- <div class="menuMainBox_top_left_iconR" v-if="menuData.type === 'imageMenu'">
|
|
|
+ <div
|
|
|
+ class="menuMainBox_top_left_iconS"
|
|
|
+ v-if="menuData.type !== 'imageMenu'"
|
|
|
+ ></div>
|
|
|
+ <div
|
|
|
+ class="menuMainBox_top_left_iconR"
|
|
|
+ v-if="menuData.type === 'imageMenu'"
|
|
|
+ >
|
|
|
<div
|
|
|
class="menuMainBox_top_left_iconR_active"
|
|
|
- v-if="$ifLeftMenu(menuData.index != undefined ? menuData.title : '')"
|
|
|
+ v-if="
|
|
|
+ $ifLeftMenu(menuData.index != undefined ? menuData.title : '')
|
|
|
+ "
|
|
|
></div>
|
|
|
</div>
|
|
|
<!-- 标题 -->
|
|
|
<div class="menuMainBox_top_left_title">{{ menuData.title }}</div>
|
|
|
<!-- 右侧倾斜图标1 -->
|
|
|
- <div class="menuMainBox_top_left_iconE menuMainBox_top_left_iconE1"></div>
|
|
|
+ <div
|
|
|
+ class="menuMainBox_top_left_iconE menuMainBox_top_left_iconE1"
|
|
|
+ ></div>
|
|
|
<!-- 右侧倾斜图标2 -->
|
|
|
- <div class="menuMainBox_top_left_iconE menuMainBox_top_left_iconE2"></div>
|
|
|
+ <div
|
|
|
+ class="menuMainBox_top_left_iconE menuMainBox_top_left_iconE2"
|
|
|
+ ></div>
|
|
|
</div>
|
|
|
<!-- 右侧两个倾斜方框 -->
|
|
|
- <div class="menuMainBox_top_right" :style="{ width: menuData.titleWidth ? 110 - menuData.titleWidth + '%' : '60%' }">
|
|
|
+ <div
|
|
|
+ class="menuMainBox_top_right"
|
|
|
+ :style="{
|
|
|
+ width: menuData.titleWidth ? 110 - menuData.titleWidth + '%' : '60%',
|
|
|
+ }"
|
|
|
+ >
|
|
|
<!-- 方块1 -->
|
|
|
<div class="menuMainBox_top_right_d1"></div>
|
|
|
<!-- 方块2 -->
|
|
@@ -53,14 +85,19 @@
|
|
|
v-if="menuData.type !== 'chart' && menuData.type !== 'legend'"
|
|
|
:style="{
|
|
|
left: menuData.titleWidth
|
|
|
- ? (menuData.titleWidth <= 40 ? menuData.titleWidth - 39 : menuData.titleWidth - 40) + '%'
|
|
|
- : '10%'
|
|
|
+ ? (menuData.titleWidth <= 40
|
|
|
+ ? menuData.titleWidth - 39
|
|
|
+ : menuData.titleWidth - 40) + '%'
|
|
|
+ : '10%',
|
|
|
}"
|
|
|
>
|
|
|
<!-- 折线右上角圆球 -->
|
|
|
<div></div>
|
|
|
</div>
|
|
|
- <div class="menuMainBox_topChart" v-if="menuData.type === 'chart' || menuData.type === 'legend'">
|
|
|
+ <div
|
|
|
+ class="menuMainBox_topChart"
|
|
|
+ v-if="menuData.type === 'chart' || menuData.type === 'legend'"
|
|
|
+ >
|
|
|
<div class="menuMainBox_topChart_title">
|
|
|
{{ menuData.title }}
|
|
|
</div>
|
|
@@ -80,7 +117,12 @@
|
|
|
<div
|
|
|
class="menuCardFlex"
|
|
|
v-if="menuData.topSolt.commonName == 'TagCard'"
|
|
|
- :style="{ justifyContent: menuData.topSolt.commonData.length > 1 ? 'space-between' : 'center' }"
|
|
|
+ :style="{
|
|
|
+ justifyContent:
|
|
|
+ menuData.topSolt.commonData.length > 1
|
|
|
+ ? 'space-between'
|
|
|
+ : 'center',
|
|
|
+ }"
|
|
|
>
|
|
|
<TagCard
|
|
|
v-for="(item, index) in menuData.topSolt.commonData"
|
|
@@ -100,19 +142,30 @@
|
|
|
<ChartCard
|
|
|
v-if="menuData.bottomSolt.commonName == 'ChartCard'"
|
|
|
:title="menuData.topSolt.commonData[chartCardDataIndex].title"
|
|
|
- :categoryData="menuData.topSolt.commonData[chartCardDataIndex].categoryData"
|
|
|
+ :categoryData="
|
|
|
+ menuData.topSolt.commonData[chartCardDataIndex].categoryData
|
|
|
+ "
|
|
|
:valueData="menuData.topSolt.commonData[chartCardDataIndex].valueData"
|
|
|
:unit="menuData.topSolt.commonData[chartCardDataIndex].unit"
|
|
|
/>
|
|
|
</div>
|
|
|
</div>
|
|
|
- <div class="menuMainBox_main" v-if="menuData.type === 'chart' || menuData.type === 'legend'">
|
|
|
- <div class="menuMainBox_main_all" v-if="!menuData.topSolt && !menuData.bottomSolt">
|
|
|
+ <div
|
|
|
+ class="menuMainBox_main"
|
|
|
+ v-if="menuData.type === 'chart' || menuData.type === 'legend'"
|
|
|
+ >
|
|
|
+ <div
|
|
|
+ class="menuMainBox_main_all"
|
|
|
+ v-if="!menuData.topSolt && !menuData.bottomSolt"
|
|
|
+ >
|
|
|
<slot></slot>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="menuMainBox_main_image" v-if="menuData.type === 'imageMenu'">
|
|
|
- <div class="menuMainBox_main_image_box" :style="returnImageUrl(menuData.imageUrl, menuData.boxHeight)"></div>
|
|
|
+ <div
|
|
|
+ class="menuMainBox_main_image_box"
|
|
|
+ :style="returnImageUrl(menuData.imageUrl, menuData.boxHeight)"
|
|
|
+ ></div>
|
|
|
</div>
|
|
|
<!-- 图例属性显示区域 -->
|
|
|
<div v-if="menuData.type === 'legend'" class="legend"></div>
|
|
@@ -135,23 +188,29 @@ export default {
|
|
|
return {
|
|
|
dataInitLoading: false,
|
|
|
resData: [],
|
|
|
- chartCardDataIndex: 0
|
|
|
+ chartCardDataIndex: 0,
|
|
|
};
|
|
|
},
|
|
|
mounted() {
|
|
|
this.$nextTick(() => {
|
|
|
- if (this.menuData && this.menuData.topSolt && this.menuData.topSolt.commonDataGetUrl) {
|
|
|
+ if (
|
|
|
+ this.menuData &&
|
|
|
+ this.menuData.topSolt &&
|
|
|
+ this.menuData.topSolt.commonDataGetUrl
|
|
|
+ ) {
|
|
|
this.dataInitLoading = true;
|
|
|
- this.$Get("/static/json/home/" + this.menuData.topSolt.commonDataGetUrl).then(
|
|
|
- res => {
|
|
|
+ this.$Get(
|
|
|
+ "/static/json/home/" + this.menuData.topSolt.commonDataGetUrl
|
|
|
+ ).then(
|
|
|
+ (res) => {
|
|
|
let listMap = {};
|
|
|
let tableData = res;
|
|
|
- tableData.forEach(item => {
|
|
|
+ tableData.forEach((item) => {
|
|
|
if (!listMap[item.name]) {
|
|
|
// type,data
|
|
|
let listMap2 = {};
|
|
|
if (item.data) {
|
|
|
- item.data.forEach(item2 => {
|
|
|
+ item.data.forEach((item2) => {
|
|
|
if (listMap2[item2.type]) {
|
|
|
listMap2[item2.type]["categoryData"].push(item2.year);
|
|
|
listMap2[item2.type]["valueData"].push(item2.area);
|
|
@@ -181,15 +240,24 @@ export default {
|
|
|
if (categoryData[categoryDataKeys]) {
|
|
|
let categoryDataItemData = categoryData[categoryDataKeys];
|
|
|
if (listMap["全部"][categoryDataKeys]) {
|
|
|
- categoryDataItemData.valueData.forEach((valueIndexItem, index) => {
|
|
|
- if (listMap["全部"][categoryDataKeys].valueData[index]) {
|
|
|
- listMap["全部"][categoryDataKeys].valueData[index] += Number(valueIndexItem);
|
|
|
- } else {
|
|
|
- listMap["全部"][categoryDataKeys].valueData[index] = Number(valueIndexItem);
|
|
|
+ categoryDataItemData.valueData.forEach(
|
|
|
+ (valueIndexItem, index) => {
|
|
|
+ if (
|
|
|
+ listMap["全部"][categoryDataKeys].valueData[index]
|
|
|
+ ) {
|
|
|
+ listMap["全部"][categoryDataKeys].valueData[
|
|
|
+ index
|
|
|
+ ] += Number(valueIndexItem);
|
|
|
+ } else {
|
|
|
+ listMap["全部"][categoryDataKeys].valueData[
|
|
|
+ index
|
|
|
+ ] = Number(valueIndexItem);
|
|
|
+ }
|
|
|
}
|
|
|
- });
|
|
|
+ );
|
|
|
} else {
|
|
|
- listMap["全部"][categoryDataKeys] = categoryDataItemData;
|
|
|
+ listMap["全部"][categoryDataKeys] =
|
|
|
+ categoryDataItemData;
|
|
|
}
|
|
|
}
|
|
|
}
|
|
@@ -202,10 +270,14 @@ export default {
|
|
|
let sum = 0;
|
|
|
for (let keys in this.resData["全部"]) {
|
|
|
this.menuData.topSolt.commonData[_index].title = keys;
|
|
|
- this.menuData.topSolt.commonData[_index].categoryData = this.resData["全部"][keys].categoryData;
|
|
|
- this.menuData.topSolt.commonData[_index].valueData = this.resData["全部"][keys].valueData;
|
|
|
+ this.menuData.topSolt.commonData[_index].categoryData =
|
|
|
+ this.resData["全部"][keys].categoryData;
|
|
|
+ this.menuData.topSolt.commonData[_index].valueData =
|
|
|
+ this.resData["全部"][keys].valueData;
|
|
|
this.menuData.topSolt.commonData[_index].value =
|
|
|
- this.resData["全部"][keys].valueData[this.resData["全部"][keys].valueData.length - 1];
|
|
|
+ this.resData["全部"][keys].valueData[
|
|
|
+ this.resData["全部"][keys].valueData.length - 1
|
|
|
+ ];
|
|
|
sum += this.menuData.topSolt.commonData[_index].value;
|
|
|
_index++;
|
|
|
}
|
|
@@ -215,33 +287,47 @@ export default {
|
|
|
}
|
|
|
this.dataInitLoading = false;
|
|
|
},
|
|
|
- error => {
|
|
|
+ (error) => {
|
|
|
console.log("error:", error, this.menuData);
|
|
|
this.dataInitLoading = false;
|
|
|
}
|
|
|
);
|
|
|
- } else if (this.menuData && this.menuData.topSolt && this.menuData.topSolt.columnId) {
|
|
|
+ } else if (this.menuData && this.menuData.columnId) {
|
|
|
let params = new FormData();
|
|
|
this.countUser = 0;
|
|
|
- params.append("columnId", this.menuData.topSolt.columnId);
|
|
|
+ params.append("columnId", this.menuData.columnId);
|
|
|
+ if (this.menuData.field) {
|
|
|
+ params.append("field", this.menuData.field);
|
|
|
+ }
|
|
|
params.append("states", "2,3");
|
|
|
params.append("pageSize", 999);
|
|
|
params.append("page", 0);
|
|
|
- let sortparam = [{ field: "c_years", orderByType: 1 }];
|
|
|
- params.append("orderBy", JSON.stringify(sortparam));
|
|
|
+ if (this.menuData.sortField) {
|
|
|
+ let sortparam = [
|
|
|
+ {
|
|
|
+ field: this.menuData.sortField.field,
|
|
|
+ orderByType: this.menuData.sortField.orderByType,
|
|
|
+ },
|
|
|
+ ];
|
|
|
+ params.append("orderBy", JSON.stringify(sortparam));
|
|
|
+ }
|
|
|
this.$Post(this.urlsCollection.selectContentList, params).then(
|
|
|
- res => {
|
|
|
+ (res) => {
|
|
|
if (res.code === 200 && res.content.data.length > 0) {
|
|
|
let listMap = {};
|
|
|
let tableData = res.content.data;
|
|
|
- tableData.forEach(item => {
|
|
|
+ tableData.forEach((item) => {
|
|
|
if (listMap[item.street]) {
|
|
|
listMap[item.street]["categoryData"].push(item.c_years);
|
|
|
- listMap[item.street]["valueData"].push((item.c_float_num / 10000).toFixed(2));
|
|
|
+ listMap[item.street]["valueData"].push(
|
|
|
+ (item.c_float_num / 10000).toFixed(2)
|
|
|
+ );
|
|
|
} else {
|
|
|
let listMapItem = {};
|
|
|
listMapItem["categoryData"] = [item.c_years];
|
|
|
- listMapItem["valueData"] = [(item.c_float_num / 10000).toFixed(2)];
|
|
|
+ listMapItem["valueData"] = [
|
|
|
+ (item.c_float_num / 10000).toFixed(2),
|
|
|
+ ];
|
|
|
listMap[item.street] = listMapItem;
|
|
|
}
|
|
|
});
|
|
@@ -253,16 +339,23 @@ export default {
|
|
|
if (!listMap["全部"]) {
|
|
|
listMap["全部"] = { valueData: [], categoryData: [] };
|
|
|
}
|
|
|
- listMap[listMapKeys].valueData.forEach((valueIndexItem, index) => {
|
|
|
- if (listMap["全部"].valueData[index]) {
|
|
|
- listMap["全部"].valueData[index] += Number(valueIndexItem);
|
|
|
- } else {
|
|
|
- listMap["全部"].valueData[index] = Number(valueIndexItem);
|
|
|
+ listMap[listMapKeys].valueData.forEach(
|
|
|
+ (valueIndexItem, index) => {
|
|
|
+ if (listMap["全部"].valueData[index]) {
|
|
|
+ listMap["全部"].valueData[index] +=
|
|
|
+ Number(valueIndexItem);
|
|
|
+ } else {
|
|
|
+ listMap["全部"].valueData[index] =
|
|
|
+ Number(valueIndexItem);
|
|
|
+ }
|
|
|
}
|
|
|
- });
|
|
|
+ );
|
|
|
}
|
|
|
}
|
|
|
- if (listMap["全部"].categoryData.length == 0 && categoryData.length > 0) {
|
|
|
+ if (
|
|
|
+ listMap["全部"].categoryData.length == 0 &&
|
|
|
+ categoryData.length > 0
|
|
|
+ ) {
|
|
|
listMap["全部"].categoryData = categoryData;
|
|
|
}
|
|
|
}
|
|
@@ -279,7 +372,7 @@ export default {
|
|
|
}
|
|
|
this.dataInitLoading = false;
|
|
|
},
|
|
|
- error => {
|
|
|
+ (error) => {
|
|
|
this.resData = [];
|
|
|
this.changeHomeSpecialTown();
|
|
|
console.log("error:", error, this.menuData);
|
|
@@ -338,22 +431,30 @@ export default {
|
|
|
methods: {
|
|
|
// 切换街镇时
|
|
|
changeHomeSpecialTown() {
|
|
|
- if (this.resData[this.$store.state.homeSpecialTown] && this.menuData.topSolt.commonData) {
|
|
|
+ if (
|
|
|
+ this.resData[this.$store.state.homeSpecialTown] &&
|
|
|
+ this.menuData.topSolt.commonData
|
|
|
+ ) {
|
|
|
if (this.resData[this.$store.state.homeSpecialTown].categoryData) {
|
|
|
- this.menuData.topSolt.commonData[0].categoryData = this.resData[this.$store.state.homeSpecialTown].categoryData;
|
|
|
- this.menuData.topSolt.commonData[0].valueData = this.resData[this.$store.state.homeSpecialTown].valueData;
|
|
|
+ this.menuData.topSolt.commonData[0].categoryData =
|
|
|
+ this.resData[this.$store.state.homeSpecialTown].categoryData;
|
|
|
+ this.menuData.topSolt.commonData[0].valueData =
|
|
|
+ this.resData[this.$store.state.homeSpecialTown].valueData;
|
|
|
} else {
|
|
|
let _index = 0;
|
|
|
let sum = 0;
|
|
|
for (let keys in this.resData["全部"]) {
|
|
|
this.menuData.topSolt.commonData[_index].title = keys;
|
|
|
this.menuData.topSolt.commonData[_index].categoryData =
|
|
|
- this.resData[this.$store.state.homeSpecialTown][keys].categoryData;
|
|
|
+ this.resData[this.$store.state.homeSpecialTown][
|
|
|
+ keys
|
|
|
+ ].categoryData;
|
|
|
this.menuData.topSolt.commonData[_index].valueData =
|
|
|
this.resData[this.$store.state.homeSpecialTown][keys].valueData;
|
|
|
this.menuData.topSolt.commonData[_index].value =
|
|
|
this.resData[this.$store.state.homeSpecialTown][keys].valueData[
|
|
|
- this.resData[this.$store.state.homeSpecialTown][keys].valueData.length - 1
|
|
|
+ this.resData[this.$store.state.homeSpecialTown][keys].valueData
|
|
|
+ .length - 1
|
|
|
];
|
|
|
sum += this.menuData.topSolt.commonData[_index].value;
|
|
|
_index++;
|
|
@@ -362,7 +463,11 @@ export default {
|
|
|
this.menuData.topSolt.commonData[4].valueData = [sum];
|
|
|
}
|
|
|
}
|
|
|
- } else if (this.menuData && this.menuData.topSolt && this.menuData.topSolt.commonData) {
|
|
|
+ } else if (
|
|
|
+ this.menuData &&
|
|
|
+ this.menuData.topSolt &&
|
|
|
+ this.menuData.topSolt.commonData
|
|
|
+ ) {
|
|
|
this.menuData.topSolt.commonData.forEach((item, index) => {
|
|
|
this.menuData.topSolt.commonData[index].categoryData = [];
|
|
|
this.menuData.topSolt.commonData[index].valueData = [];
|
|
@@ -383,17 +488,27 @@ export default {
|
|
|
},
|
|
|
// 用户点击菜单标题时,调用全局函数,根据全局暂存对象
|
|
|
changeMenu() {
|
|
|
- if (this.menuData != undefined && this.menuData.index != undefined && this.menuData.title != undefined) {
|
|
|
+ if (
|
|
|
+ this.menuData != undefined &&
|
|
|
+ this.menuData.index != undefined &&
|
|
|
+ this.menuData.title != undefined
|
|
|
+ ) {
|
|
|
this.$store.commit("changeLeftMenuTitle", this.menuData.title);
|
|
|
- if (this.menuData.menuIndex != undefined && this.menuData.subMenuIndex != undefined) {
|
|
|
+ if (
|
|
|
+ this.menuData.menuIndex != undefined &&
|
|
|
+ this.menuData.subMenuIndex != undefined
|
|
|
+ ) {
|
|
|
this.$store.commit("changeBackMenu", {
|
|
|
index: this.menuData.menuIndex,
|
|
|
subIndex: this.menuData.subMenuIndex,
|
|
|
- name: this.menuData.menuName ? this.menuData.menuName : ""
|
|
|
+ name: this.menuData.menuName ? this.menuData.menuName : "",
|
|
|
});
|
|
|
}
|
|
|
}
|
|
|
- if (this.menuData != undefined && this.menuData.gotoPageInfo != undefined) {
|
|
|
+ if (
|
|
|
+ this.menuData != undefined &&
|
|
|
+ this.menuData.gotoPageInfo != undefined
|
|
|
+ ) {
|
|
|
this.$store.commit("changeNavSelect", this.menuData.gotoPageInfo);
|
|
|
// // 暂未开发页面集合
|
|
|
// let notFound = [
|
|
@@ -495,7 +610,7 @@ export default {
|
|
|
} catch (error) {
|
|
|
console.error("MenuCard组件出现异常:", error);
|
|
|
}
|
|
|
- }
|
|
|
+ },
|
|
|
},
|
|
|
watch: {
|
|
|
"$store.state.navSelect": {
|
|
@@ -504,7 +619,7 @@ export default {
|
|
|
this.showChange();
|
|
|
});
|
|
|
},
|
|
|
- deep: true
|
|
|
+ deep: true,
|
|
|
},
|
|
|
"$store.state.homeSpecialTown": {
|
|
|
handler() {
|
|
@@ -512,9 +627,9 @@ export default {
|
|
|
this.changeHomeSpecialTown();
|
|
|
});
|
|
|
},
|
|
|
- deep: true
|
|
|
- }
|
|
|
- }
|
|
|
+ deep: true,
|
|
|
+ },
|
|
|
+ },
|
|
|
};
|
|
|
</script>
|
|
|
|
|
@@ -545,7 +660,11 @@ export default {
|
|
|
.menuMainBox_top {
|
|
|
background-color: @lightColor;
|
|
|
&_left {
|
|
|
- background-image: --webkit-linear-gradient(to left, @lightColor, #007dff);
|
|
|
+ background-image: --webkit-linear-gradient(
|
|
|
+ to left,
|
|
|
+ @lightColor,
|
|
|
+ #007dff
|
|
|
+ );
|
|
|
background-image: --moz-linear-gradient(to left, @lightColor, #007dff);
|
|
|
background-image: linear-gradient(to left, @lightColor, #007dff);
|
|
|
}
|
|
@@ -575,9 +694,24 @@ export default {
|
|
|
flex-wrap: nowrap;
|
|
|
align-content: center;
|
|
|
height: 100%;
|
|
|
- background-image: --webkit-linear-gradient(to left, @topTitleMinLeft, @borderColor, @topTitleMinLeft);
|
|
|
- background-image: --moz-linear-gradient(to left, @topTitleMinLeft, @borderColor, @topTitleMinLeft);
|
|
|
- background-image: linear-gradient(to left, @topTitleMinLeft, @borderColor, @topTitleMinLeft);
|
|
|
+ background-image: --webkit-linear-gradient(
|
|
|
+ to left,
|
|
|
+ @topTitleMinLeft,
|
|
|
+ @borderColor,
|
|
|
+ @topTitleMinLeft
|
|
|
+ );
|
|
|
+ background-image: --moz-linear-gradient(
|
|
|
+ to left,
|
|
|
+ @topTitleMinLeft,
|
|
|
+ @borderColor,
|
|
|
+ @topTitleMinLeft
|
|
|
+ );
|
|
|
+ background-image: linear-gradient(
|
|
|
+ to left,
|
|
|
+ @topTitleMinLeft,
|
|
|
+ @borderColor,
|
|
|
+ @topTitleMinLeft
|
|
|
+ );
|
|
|
border-bottom: 2px solid @borderColor;
|
|
|
&_iconS {
|
|
|
margin: 10px;
|
|
@@ -616,7 +750,12 @@ export default {
|
|
|
margin-left: 10px;
|
|
|
width: 15px;
|
|
|
height: 30px;
|
|
|
- background-image: linear-gradient(to bottom, transparent, transparent, #00a6c0);
|
|
|
+ background-image: linear-gradient(
|
|
|
+ to bottom,
|
|
|
+ transparent,
|
|
|
+ transparent,
|
|
|
+ #00a6c0
|
|
|
+ );
|
|
|
transform: skew(-45deg);
|
|
|
}
|
|
|
&_iconE1 {
|
|
@@ -634,8 +773,18 @@ export default {
|
|
|
border-left: 2px solid @borderColor;
|
|
|
transform: skew(-45deg);
|
|
|
background-color: @topTitleBgLeft;
|
|
|
- border-image: --webkit-linear-gradient(to right, @borderColor, @topTitleBgLeft) 1;
|
|
|
- border-image: --moz-linear-gradient(to right, @borderColor, @topTitleBgLeft) 1;
|
|
|
+ border-image: --webkit-linear-gradient(
|
|
|
+ to right,
|
|
|
+ @borderColor,
|
|
|
+ @topTitleBgLeft
|
|
|
+ )
|
|
|
+ 1;
|
|
|
+ border-image: --moz-linear-gradient(
|
|
|
+ to right,
|
|
|
+ @borderColor,
|
|
|
+ @topTitleBgLeft
|
|
|
+ )
|
|
|
+ 1;
|
|
|
border-image: linear-gradient(to right, @borderColor, @topTitleBgLeft) 1;
|
|
|
&_d1 {
|
|
|
position: absolute;
|
|
@@ -756,7 +905,12 @@ export default {
|
|
|
margin-left: 10px;
|
|
|
width: 15px;
|
|
|
height: 30px;
|
|
|
- background-image: linear-gradient(to bottom, transparent, transparent, #00a6c0);
|
|
|
+ background-image: linear-gradient(
|
|
|
+ to bottom,
|
|
|
+ transparent,
|
|
|
+ transparent,
|
|
|
+ #00a6c0
|
|
|
+ );
|
|
|
transform: skew(-45deg);
|
|
|
}
|
|
|
&_iconE1 {
|
|
@@ -774,8 +928,18 @@ export default {
|
|
|
border-left: 2px solid @borderColor;
|
|
|
transform: skew(-45deg);
|
|
|
background-color: @topTitleBgLeft;
|
|
|
- border-image: --webkit-linear-gradient(to right, @borderColor, @topTitleBgLeft) 1;
|
|
|
- border-image: --moz-linear-gradient(to right, @borderColor, @topTitleBgLeft) 1;
|
|
|
+ border-image: --webkit-linear-gradient(
|
|
|
+ to right,
|
|
|
+ @borderColor,
|
|
|
+ @topTitleBgLeft
|
|
|
+ )
|
|
|
+ 1;
|
|
|
+ border-image: --moz-linear-gradient(
|
|
|
+ to right,
|
|
|
+ @borderColor,
|
|
|
+ @topTitleBgLeft
|
|
|
+ )
|
|
|
+ 1;
|
|
|
border-image: linear-gradient(to right, @borderColor, @topTitleBgLeft) 1;
|
|
|
&_d1 {
|
|
|
position: absolute;
|
|
@@ -855,9 +1019,24 @@ export default {
|
|
|
flex-wrap: nowrap;
|
|
|
justify-content: center;
|
|
|
align-content: center;
|
|
|
- background-image: --webkit-linear-gradient(to left, @topTitleMinLeft, @borderColor, @topTitleMinLeft);
|
|
|
- background-image: --moz-linear-gradient(to left, @topTitleMinLeft, @borderColor, @topTitleMinLeft);
|
|
|
- background-image: linear-gradient(to left, @topTitleMinLeft, @borderColor, @topTitleMinLeft);
|
|
|
+ background-image: --webkit-linear-gradient(
|
|
|
+ to left,
|
|
|
+ @topTitleMinLeft,
|
|
|
+ @borderColor,
|
|
|
+ @topTitleMinLeft
|
|
|
+ );
|
|
|
+ background-image: --moz-linear-gradient(
|
|
|
+ to left,
|
|
|
+ @topTitleMinLeft,
|
|
|
+ @borderColor,
|
|
|
+ @topTitleMinLeft
|
|
|
+ );
|
|
|
+ background-image: linear-gradient(
|
|
|
+ to left,
|
|
|
+ @topTitleMinLeft,
|
|
|
+ @borderColor,
|
|
|
+ @topTitleMinLeft
|
|
|
+ );
|
|
|
&_title {
|
|
|
font-size: 18px;
|
|
|
font-family: PingFang SC;
|
|
@@ -872,8 +1051,16 @@ export default {
|
|
|
padding-top: 10px;
|
|
|
width: 100%;
|
|
|
height: calc(100% - 30px);
|
|
|
- background-image: --webkit-linear-gradient(to top, @topTitleMinLeft, @topTitleBgLeft);
|
|
|
- background-image: --moz-linear-gradient(to top, @topTitleMinLeft, @topTitleBgLeft);
|
|
|
+ background-image: --webkit-linear-gradient(
|
|
|
+ to top,
|
|
|
+ @topTitleMinLeft,
|
|
|
+ @topTitleBgLeft
|
|
|
+ );
|
|
|
+ background-image: --moz-linear-gradient(
|
|
|
+ to top,
|
|
|
+ @topTitleMinLeft,
|
|
|
+ @topTitleBgLeft
|
|
|
+ );
|
|
|
background-image: linear-gradient(to top, @topTitleMinLeft, @topTitleBgLeft);
|
|
|
box-sizing: border-box;
|
|
|
overflow-x: hidden;
|
|
@@ -944,14 +1131,18 @@ export default {
|
|
|
transform: translate(-50%, -50%) rotate(45deg);
|
|
|
width: 110px;
|
|
|
height: 100px;
|
|
|
- background: linear-gradient(to left, @borderColor, @borderColor) left top no-repeat,
|
|
|
+ background: linear-gradient(to left, @borderColor, @borderColor) left top
|
|
|
+ no-repeat,
|
|
|
linear-gradient(to bottom, @borderColor, @borderColor) left top no-repeat,
|
|
|
linear-gradient(to left, @borderColor, @borderColor) right top no-repeat,
|
|
|
linear-gradient(to bottom, @borderColor, @borderColor) right top no-repeat,
|
|
|
linear-gradient(to left, @borderColor, @borderColor) left bottom no-repeat,
|
|
|
- linear-gradient(to bottom, @borderColor, @borderColor) left bottom no-repeat,
|
|
|
- linear-gradient(to left, @borderColor, @borderColor) right bottom no-repeat,
|
|
|
- linear-gradient(to left, @borderColor, @borderColor) right bottom no-repeat;
|
|
|
+ linear-gradient(to bottom, @borderColor, @borderColor) left bottom
|
|
|
+ no-repeat,
|
|
|
+ linear-gradient(to left, @borderColor, @borderColor) right bottom
|
|
|
+ no-repeat,
|
|
|
+ linear-gradient(to left, @borderColor, @borderColor) right bottom
|
|
|
+ no-repeat;
|
|
|
background-size: 6px 6px, 6px 6px, 6px 6px, 6px 6px;
|
|
|
}
|
|
|
}
|