Browse Source

样式修改, formConfig 修改

wangqin
Joe 1 year ago
parent
commit
256da94806
  1. 14
      ruoyi-ui/src/views/JiHeExpressway/components/FormConfig/index.vue
  2. 6
      ruoyi-ui/src/views/JiHeExpressway/components/FormConfig/utils/defaultValue.js
  3. 4
      ruoyi-ui/src/views/JiHeExpressway/components/Table.vue
  4. 11
      ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/ConditionStatistics/index.vue
  5. 10
      ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/PerceiveEvent/index.vue
  6. 4
      ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Thumbnail/index.vue

14
ruoyi-ui/src/views/JiHeExpressway/components/FormConfig/index.vue

@ -84,10 +84,18 @@ export default {
formData: {}
}
},
created() {
this.reset(true);
console.log("%c [ this.formData ]-82-「index.vue」", "font-size:15px; background:#9c7eed; color:#e0c2ff;", this.formData);
watch: {
formList: {
immediate: true,
handler() {
this.reset(true);
}
},
},
// created() {
// this.reset(true);
// console.log("%c [ this.formData ]-82-index.vue", "font-size:15px; background:#9c7eed; color:#e0c2ff;", this.formData);
// },
computed: {
modelFormData: {
get() {

6
ruoyi-ui/src/views/JiHeExpressway/components/FormConfig/utils/defaultValue.js

@ -9,9 +9,9 @@ export const presetDefaultValue = {
MultipleLabelItem(item) {
return reduceDefaultValue(item.options?.options);
},
RadioGroup() {
return [];
},
// RadioGroup() {
// return [];
// },
CheckboxGroup() {
return [];
},

4
ruoyi-ui/src/views/JiHeExpressway/components/Table.vue

@ -56,6 +56,10 @@ div.Table {
th.el-table__cell.is-leaf,
td.el-table__cell {
border-bottom: 0;
div {
padding: 0;
}
}
.el-table__header-wrapper th,

11
ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/ConditionStatistics/index.vue

@ -476,9 +476,11 @@ export default {
}
}
}
.abnormalList {
padding-bottom: 20px;
.listItem{
.listItem {
width: 410px;
height: 34px;
margin: 0 auto;
@ -505,6 +507,7 @@ export default {
font-family: Hiragino Sans GB, Hiragino Sans GB;
line-height: 40px;
text-align: center;
.num {
font-size: 14px;
}
@ -517,14 +520,20 @@ export default {
}
}
.listItem.total {
.value {
color: #2fe2cf;
text-shadow: 0px 1px 4px #2fe2cf;
}
}
.listItem.kilometer {
.value {
span {
font-size: 10px;
}
color: #f29600;
text-shadow: 0px 1px 4px #f29600;
}

10
ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/PerceiveEvent/index.vue

@ -111,23 +111,23 @@ export default {
activeColor: "linear-gradient(180deg, #37E7FF 0%, #009BCC 100%)",
options: [
{
key: 0,
key: "0",
label: "应急",
},
{
key: 1,
key: "1",
label: "行1",
},
{
key: 2,
key: "2",
label: "行2",
},
{
key: 3,
key: "3",
label: "行3",
},
{
key: 4,
key: "4",
label: "行4",
},
],

4
ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Thumbnail/index.vue

@ -53,8 +53,8 @@ export default {
ctx.font = setFont(12 * zoom, "italic 900", "Arial Black");
ctx.fillStyle = "#ddc85a";
ctx.fillText("项目起点", 210 * zoom, h / 2 - 50 * zoom);
ctx.fillText("K55+378.7", 210 * zoom, h / 2 - 33 * zoom);
ctx.fillText("项目起点", 270 * zoom, h / 2 - 50 * zoom);
ctx.fillText("K55+378.7", 270 * zoom, h / 2 - 33 * zoom);
ctx.fillText("项目终点", w - 210 * zoom, h / 2 - 50 * zoom);
ctx.fillText("K208+153.4", w - 210 * zoom, h / 2 - 33 * zoom);

Loading…
Cancel
Save