-
-
Notifications
You must be signed in to change notification settings - Fork 204
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
23 changed files
with
359 additions
and
14 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 19 additions & 0 deletions
19
src/views/createTemplate/designer/modules/ModuleTitle/ModuleTitle_15.vue
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<template> | ||
<div class="module-title-15" :style="moduleTitleStyle"> | ||
<hj-h1-1 :title="module.title" :style="moduleTitleFontStyle"></hj-h1-1> | ||
</div> | ||
</template> | ||
<script lang="ts" setup> | ||
import { IModule } from '@/views/createTemplate/types/IHJNewSchema'; | ||
import HjH11 from '../components/hj-h1-1.vue'; | ||
import { useGetCustomStyle } from '../../hooks/useGetCustomStyle'; | ||
const props = defineProps<{ | ||
module: IModule; | ||
}>(); | ||
// 返回模块整体样式 | ||
const moduleTitleStyle: any = useGetCustomStyle(props.module, 'moduleTitle'); | ||
// 返回标题字体样式 | ||
const moduleTitleFontStyle = useGetCustomStyle(props.module, 'moduleTitleFont'); | ||
</script> |
45 changes: 45 additions & 0 deletions
45
src/views/createTemplate/designer/modules/ModuleTitle/ModuleTitle_16.vue
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
<template> | ||
<div class="module-title-16" :style="moduleTitleStyle"> | ||
<hj-h1-1 | ||
class="module-title-h1-16" | ||
:title="module.title" | ||
:style="moduleTitleFontStyle" | ||
></hj-h1-1> | ||
</div> | ||
</template> | ||
<script lang="ts" setup> | ||
import { IModule } from '@/views/createTemplate/types/IHJNewSchema'; | ||
import HjH11 from '../components/hj-h1-1.vue'; | ||
import { useGetCustomStyle } from '../../hooks/useGetCustomStyle'; | ||
const props = defineProps<{ | ||
module: IModule; | ||
}>(); | ||
// 返回模块整体样式 | ||
const moduleTitleStyle: any = useGetCustomStyle(props.module, 'moduleTitle'); | ||
// 返回标题字体样式 | ||
const moduleTitleFontStyle = useGetCustomStyle(props.module, 'moduleTitleFont'); | ||
</script> | ||
<style lang="scss" scoped> | ||
.module-title-h1-16 { | ||
&::before { | ||
content: ''; | ||
position: absolute; | ||
left: 11px; | ||
display: inline-block; | ||
width: 4px; | ||
height: 100%; | ||
background-color: #fff; | ||
} | ||
&::after { | ||
content: ''; | ||
position: absolute; | ||
left: 26px; | ||
display: inline-block; | ||
width: 4px; | ||
height: 100%; | ||
background-color: #fff; | ||
} | ||
} | ||
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 26 additions & 0 deletions
26
src/views/createTemplate/designer/modules/ResumeTitle/ResumeTitle_3.vue
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
<template> | ||
<div class="resume-title-box" :style="boxStyle"> | ||
<div v-show="module.props.title" class="content-box"> | ||
<hj-p-1 :p="module.dataSource.title.value"></hj-p-1> | ||
</div> | ||
</div> | ||
</template> | ||
<script lang="ts" setup> | ||
import { IModule } from '@/views/createTemplate/types/IHJNewSchema'; | ||
import { useGetBoxStyle } from '../../hooks/useGetStyle'; | ||
import HjP1 from '../components/hj-p-1.vue'; | ||
const props = defineProps<{ | ||
module: IModule; | ||
}>(); | ||
// 返回样式 | ||
const boxStyle = useGetBoxStyle(props); | ||
</script> | ||
<style lang="scss" scoped> | ||
.resume-title-box { | ||
.content-box { | ||
display: flex; | ||
height: 100%; | ||
align-items: center; | ||
} | ||
} | ||
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
59 changes: 59 additions & 0 deletions
59
src/views/createTemplate/designer/schema/customCss/module_title/Module_Title_15.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
export default [ | ||
{ | ||
title: '模块标题整体样式', | ||
prop: 'moduleTitle', | ||
css: { | ||
height: '32px', | ||
width: '100%', | ||
display: 'flex', | ||
alignItems: 'center', | ||
justifyContent: 'flex-start', | ||
borderWidth: { | ||
top: 0, | ||
right: 0, | ||
bottom: 0, | ||
left: 0 | ||
}, | ||
margin: { | ||
top: 0, | ||
right: 0, | ||
bottom: 15, | ||
left: 0 | ||
}, | ||
padding: { | ||
top: 0, | ||
right: -1, | ||
bottom: 0, | ||
left: 0 | ||
}, | ||
borderStyle: 'solid', | ||
background: '#f3f3f3', | ||
borderColor: '#5974D4', | ||
color: 'rgb(255, 255, 255)' | ||
} | ||
}, | ||
{ | ||
title: '模块标题字体样式', | ||
prop: 'moduleTitleFont', | ||
css: { | ||
height: '100%', | ||
width: '130px', | ||
display: 'flex', | ||
alignItems: 'center', | ||
justifyContent: 'center', | ||
fontSize: 20, | ||
fontWeight: 600, | ||
letterSpacing: 2, | ||
background: '#5974D4', | ||
color: '#fff', | ||
borderWidth: { | ||
top: 0, | ||
right: 0, | ||
bottom: 0, | ||
left: 0 | ||
}, | ||
borderColor: 'rgb(0, 0, 0)', | ||
borderStyle: 'solid' | ||
} | ||
} | ||
]; |
65 changes: 65 additions & 0 deletions
65
src/views/createTemplate/designer/schema/customCss/module_title/Module_Title_16.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
export default [ | ||
{ | ||
title: '模块标题整体样式', | ||
prop: 'moduleTitle', | ||
css: { | ||
height: '32px', | ||
width: '100%', | ||
display: 'flex', | ||
alignItems: 'center', | ||
justifyContent: 'flex-start', | ||
borderWidth: { | ||
top: 0, | ||
right: 0, | ||
bottom: 0, | ||
left: 0 | ||
}, | ||
margin: { | ||
top: 0, | ||
right: 0, | ||
bottom: 15, | ||
left: 0 | ||
}, | ||
padding: { | ||
top: 0, | ||
right: -1, | ||
bottom: 0, | ||
left: 0 | ||
}, | ||
borderStyle: 'solid', | ||
background: '#f3f3f3', | ||
borderColor: '#5974D4', | ||
color: 'rgb(255, 255, 255)' | ||
} | ||
}, | ||
{ | ||
title: '模块标题字体样式', | ||
prop: 'moduleTitleFont', | ||
css: { | ||
height: '100%', | ||
display: 'flex', | ||
alignItems: 'center', | ||
justifyContent: 'flex-end', | ||
fontSize: 20, | ||
fontWeight: 600, | ||
letterSpacing: 2, | ||
background: '#5974D4', | ||
color: '#fff', | ||
position: 'relative', | ||
borderWidth: { | ||
top: 0, | ||
right: 0, | ||
bottom: 0, | ||
left: 0 | ||
}, | ||
padding: { | ||
top: 0, | ||
right: 20, | ||
bottom: 0, | ||
left: 50 | ||
}, | ||
borderColor: 'rgb(0, 0, 0)', | ||
borderStyle: 'solid' | ||
} | ||
} | ||
]; |
1 change: 1 addition & 0 deletions
1
src/views/createTemplate/designer/schema/customCss/resume_title/ResumeTitle_3.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export default []; |
Oops, something went wrong.