Commit 175a7ce0 authored by zL's avatar zL

新建存证数据更改

parent 02ff22f4
......@@ -40,6 +40,15 @@ export default class Uncertified extends Vue {
text-align: center;
}
.g-btn_primary {
border: none;
background: #5779F4;
font-size: 14px;
color: #fff;
outline: none;
cursor: pointer;
border-radius: 8px;
}
.title {
margin: 0;
padding-left: 44px;
......
......@@ -150,7 +150,15 @@ export default class AddChildDialog extends Vue {
/* 600 - 100 */
padding: 34px 50px 63px 50px;
}
.g-btn_primary {
border: none;
background: #5779F4;
font-size: 14px;
color: #fff;
outline: none;
cursor: pointer;
border-radius: 8px;
}
.c-dialog-title {
margin: 0;
font-size: 22px;
......
......@@ -81,7 +81,15 @@ export default class AddRootDialog extends Vue {
.c-dialog-btn_wrapper {
text-align: right;
}
.g-btn_primary {
border: none;
background: #5779F4;
font-size: 14px;
color: #fff;
outline: none;
cursor: pointer;
border-radius: 8px;
}
.c-dialog-btn_confirm {
width: 120px;
height: 40px;
......
......@@ -238,7 +238,15 @@ export default class SetBar extends Vue {
}
}
}
.g-btn_primary {
border: none;
background: #5779f4;
font-size: 14px;
color: #fff;
outline: none;
cursor: pointer;
border-radius: 8px;
}
.title {
margin: 0;
padding-left: 19px;
......
......@@ -743,6 +743,9 @@ export default class Home extends Vue {
}
}
}
.cursor-pointer {
cursor: pointer;
}
.home-3 {
width: 100%;
height: 640px;
......
......@@ -93,6 +93,7 @@ export default {
},
],
},
{},
]),
},
});
......
......@@ -55,11 +55,9 @@ function formatProperty2Api(property: Property): TemplateProperty | TmplSelectPr
},
};
} else if (property.type === PropertyType.Image) {
// let urls = null;
let data = {}
if (property.value && property.value !== '') {
let dd = Array.from(property.value);
// urls = (property.value as any).map((value: any) => value.url)
data = dd.map((value: any) => ({
format: "hash(hash)",
type: "image",
......@@ -67,7 +65,6 @@ function formatProperty2Api(property: Property): TemplateProperty | TmplSelectPr
}))
}
else {
// urls = [];
data = {}
}
return {
......@@ -156,13 +153,16 @@ function formatProperty2Api(property: Property): TemplateProperty | TmplSelectPr
// 接口json数据转换为本地
export function formatTemplateApi2Local(apiList: RootUnitType[]): Unit[] {
return apiList.map((rootUnit) => {
console.log(rootUnit);
const unit = new Unit(rootUnit.label);
unit.children = rootUnit.data.map((l2) => {
return formatApiProperty2Local(l2, unit);
// }
})
if (rootUnit.data) {
unit.children = rootUnit.data.map((l2) => {
return formatApiProperty2Local(l2, unit);
})
}
return unit;
})
}
......
......@@ -39,9 +39,19 @@ export default Vue.extend({
* {
margin: 0;
}
.g-flex-center {
display: flex;
justify-content: center;
align-items: center;
}
.verify-step {
padding: 0 20px;
}
.g-flex-around {
display: flex;
justify-content: space-around;
align-items: center;
}
.step {
width: 404px;
height: 128px;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment