Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
source-trace-manage-go
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Tracing
source-trace-manage-go
Commits
175a7ce0
Commit
175a7ce0
authored
Oct 04, 2020
by
zL
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新建存证数据更改
parent
02ff22f4
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
58 additions
and
11 deletions
+58
-11
Uncertified.vue
src/components/Uncertified.vue
+9
-0
AddChildDialog.vue
src/components/editTemplate/AddChildDialog.vue
+9
-1
AddRootDialog.vue
src/components/editTemplate/AddRootDialog.vue
+9
-1
SetBar.vue
src/components/editTemplate/SetBar.vue
+9
-1
Home.vue
src/entry/refactoring/views/Home.vue
+3
-0
addGoods.vue
src/entry/refactoring/views/category/addGoods.vue
+1
-0
Template.ts
src/plugins/Template.ts
+8
-8
VerifyStep.vue
src/views/userCenter/VerifyStep.vue
+10
-0
No files found.
src/components/Uncertified.vue
View file @
175a7ce0
...
...
@@ -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
;
...
...
src/components/editTemplate/AddChildDialog.vue
View file @
175a7ce0
...
...
@@ -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;
...
...
src/components/editTemplate/AddRootDialog.vue
View file @
175a7ce0
...
...
@@ -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;
...
...
src/components/editTemplate/SetBar.vue
View file @
175a7ce0
...
...
@@ -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;
...
...
src/entry/refactoring/views/Home.vue
View file @
175a7ce0
...
...
@@ -743,6 +743,9 @@ export default class Home extends Vue {
}
}
}
.cursor-pointer {
cursor: pointer;
}
.home-3 {
width: 100%;
height: 640px;
...
...
src/entry/refactoring/views/category/addGoods.vue
View file @
175a7ce0
...
...
@@ -93,6 +93,7 @@ export default {
},
],
},
{},
]),
},
});
...
...
src/plugins/Template.ts
View file @
175a7ce0
...
...
@@ -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
;
})
}
...
...
src/views/userCenter/VerifyStep.vue
View file @
175a7ce0
...
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment