提交 5592e3ca 编写于 作者: RedPig97's avatar RedPig97

update: class名称更改

上级 12856e5d
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
<a-button <a-button
type="primary" type="primary"
v-show="state.detailsModel.{{item.codeName}}.visible" v-show="state.detailsModel.{{item.codeName}}.visible"
class="ibiz-form-button{{#if item.psSysCss}}{{item.psSysCss.cssName}}{{/if}}" class="app-form-button{{#if item.psSysCss}}{{item.psSysCss.cssName}}{{/if}}"
style="{{#if item.width}}width: {{item.width}}px;{{/if}}{{#if item.height}}height: {{item.height}}px;{{/if}}"> style="{{#if item.width}}width: {{item.width}}px;{{/if}}{{#if item.height}}height: {{item.height}}px;{{/if}}">
{{#if item.psSysImage}} {{#if item.psSysImage}}
<template #icon> <template #icon>
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
<a-button <a-button
type="primary" type="primary"
v-show="state.detailsModel.{{item.codeName}}.visible" v-show="state.detailsModel.{{item.codeName}}.visible"
class="ibiz-form-button{{#if item.psSysCss}}{{item.psSysCss.cssName}}{{/if}}" class="app-form-button{{#if item.psSysCss}}{{item.psSysCss.cssName}}{{/if}}"
style="{{#if item.width}}width: {{item.width}}px;{{/if}}{{#if item.height}}height: {{item.height}}px;{{/if}}"> style="{{#if item.width}}width: {{item.width}}px;{{/if}}{{#if item.height}}height: {{item.height}}px;{{/if}}">
{{#if item.psSysImage}} {{#if item.psSysImage}}
<template #icon> <template #icon>
......
{{#eq item.psLayoutPos 'FLEX'}} {{#eq item.psLayoutPos 'FLEX'}}
<div style="flex-grow: {{#if item.psLayoutPos.grow}}{{item.psLayoutPos.grow}}{{else}}0{{/if}};"> <div style="flex-grow: {{#if item.psLayoutPos.grow}}{{item.psLayoutPos.grow}}{{else}}0{{/if}};">
<div v-show="state.detailsModel.{{item.codeName}}.visible" class="ibiz-form-iframe" style="{{#if item.contentHeight}}height: {{item.contentHeight}}px;{{/if}}{{#if item.contentWidth}}width: {{item.contentWidth}}px{{/if}}"> <div v-show="state.detailsModel.{{item.codeName}}.visible" class="app-form-iframe" style="{{#if item.contentHeight}}height: {{item.contentHeight}}px;{{/if}}{{#if item.contentWidth}}width: {{item.contentWidth}}px{{/if}}">
<iframe src="{{item.iFrameUrl}}" style="height: 100%;width: 100%;border: 0"></iframe> <iframe src="{{item.iFrameUrl}}" style="height: 100%;width: 100%;border: 0"></iframe>
</div> </div>
</div> </div>
{{else}} {{else}}
<a-col <a-col
{{> @macro/front-end/widgets/common/layout-pos.hbs item=item.psLayoutPos}} > {{> @macro/front-end/widgets/common/layout-pos.hbs item=item.psLayoutPos}} >
<div v-show="state.detailsModel.{{item.codeName}}.visible" class="ibiz-form-iframe" style="{{#if item.contentHeight}}height: {{item.contentHeight}}px;{{/if}}{{#if item.contentWidth}}width: {{item.contentWidth}}px{{/if}}"> <div v-show="state.detailsModel.{{item.codeName}}.visible" class="app-form-iframe" style="{{#if item.contentHeight}}height: {{item.contentHeight}}px;{{/if}}{{#if item.contentWidth}}width: {{item.contentWidth}}px{{/if}}">
<iframe src="{{item.iFrameUrl}}" style="height: 100%;width: 100%;border: 0"></iframe> <iframe src="{{item.iFrameUrl}}" style="height: 100%;width: 100%;border: 0"></iframe>
</div> </div>
</a-col> </a-col>
......
{{#eq item.psLayoutPos 'FLEX'}} {{#eq item.psLayoutPos 'FLEX'}}
<div style="flex-grow: {{#if item.psLayoutPos.grow}}{{item.psLayoutPos.grow}}{{else}}0{{/if}};"> <div style="flex-grow: {{#if item.psLayoutPos.grow}}{{item.psLayoutPos.grow}}{{else}}0{{/if}};">
<a-tabs class="ibiz-form-page"> <a-tabs class="app-form-page">
{{#each item.psDEFormPages as | formPage | }} {{#each item.psDEFormPages as | formPage | }}
{{>(lookup . 'formPage.detailType') item=formPage }} {{>(lookup . 'formPage.detailType') item=formPage }}
{{/each}} {{/each}}
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
{{else}} {{else}}
<a-col <a-col
{{> @macro/front-end/widgets/common/layout-pos.hbs item=item.psLayoutPos}} > {{> @macro/front-end/widgets/common/layout-pos.hbs item=item.psLayoutPos}} >
<a-tabs class="ibiz-form-page"> <a-tabs class="app-form-page">
{{#each item.psDEFormPages as | formPage | }} {{#each item.psDEFormPages as | formPage | }}
{{>(lookup . 'formPage.detailType') item=formPage }} {{>(lookup . 'formPage.detailType') item=formPage }}
{{/each}} {{/each}}
......
...@@ -154,7 +154,7 @@ const onSelect = (value: any) => { ...@@ -154,7 +154,7 @@ const onSelect = (value: any) => {
<template> <template>
<a-auto-complete <a-auto-complete
:class="['app-editor-container', `app-auto-complete-${name}`]" :class="['app-editor-container', 'app-auto-complete', `app-auto-complete-${name}`]"
:allowClear="true" :allowClear="true"
v-model:value="value" v-model:value="value"
:placeholder="placeholder" :placeholder="placeholder"
......
...@@ -212,7 +212,7 @@ onBeforeMount(() => { ...@@ -212,7 +212,7 @@ onBeforeMount(() => {
</script> </script>
<template> <template>
<div :class="['app-editor-container', `app-checkbox-list-${name}`]"> <div :class="['app-editor-container', 'app-checkbox-list', `app-checkbox-list-${name}`]">
<a-checkbox-group <a-checkbox-group
@change="onChange" @change="onChange"
:value="selectArray" :value="selectArray"
......
...@@ -57,7 +57,7 @@ const onChange = ($event: any) => { ...@@ -57,7 +57,7 @@ const onChange = ($event: any) => {
</script> </script>
<template> <template>
<div :class="['app-editor-container', `app-checkbox-${name}`]"> <div :class="['app-editor-container', 'app-checkbox', `app-checkbox-${name}`]">
<a-checkbox <a-checkbox
@change="onChange" @change="onChange"
:checked="curValue" :checked="curValue"
......
...@@ -238,7 +238,7 @@ const onLanguageChange = (item: string) => { ...@@ -238,7 +238,7 @@ const onLanguageChange = (item: string) => {
</script> </script>
<template> <template>
<div class='app-code-editor'> <div :class="['app-editor-container', 'app-code', `app-code-${name}`]">
<div :class="{toolbar: true, [theme]: true}"> <div :class="{toolbar: true, [theme]: true}">
<div class="left-toolbar"> <div class="left-toolbar">
<a-select <a-select
......
...@@ -199,7 +199,7 @@ const onSelect = (value: any) => { ...@@ -199,7 +199,7 @@ const onSelect = (value: any) => {
<template> <template>
<a-select <a-select
:class="['app-data-picker', `app-data-picker-${name}`]" :class="['app-editor-container', 'app-data-picker-view', `app-data-picker-view-${name}`]"
allowClear allowClear
showSearch showSearch
v-model:value="value" v-model:value="value"
......
...@@ -236,12 +236,12 @@ const openView = () => { ...@@ -236,12 +236,12 @@ const openView = () => {
</script> </script>
<template> <template>
<template v-if="linkOnly" :class="['app-data-picker', `app-data-picker-${name}`]"> <template v-if="linkOnly" :class="['app-editor-container', 'app-data-picker', `app-data-picker-${name}`]">
<a @click="openLinkView"></a> <a @click="openLinkView"></a>
</template> </template>
<template v-else-if="!isAC && !isDropdown"> <template v-else-if="!isAC && !isDropdown">
<a-auto-complete <a-auto-complete
:class="['app-data-picker', `app-data-picker-${name}`]" :class="['app-editor-container', 'app-data-picker', `app-data-picker-${name}`]"
:allowClear="true" :allowClear="true"
v-model:value="value" v-model:value="value"
:placeholder="placeholder" :placeholder="placeholder"
...@@ -263,7 +263,7 @@ const openView = () => { ...@@ -263,7 +263,7 @@ const openView = () => {
</a-auto-complete> </a-auto-complete>
</template> </template>
<template v-else-if="noAc"> <template v-else-if="noAc">
<a-input :class="['app-data-picker', `app-data-picker-${name}`]" :placeholder="placeholder"> <a-input :class="['app-editor-container', 'app-data-picker', `app-data-picker-${name}`]" :placeholder="placeholder">
<template #suffix> <template #suffix>
<search-outlined v-if="pickUpView && showButton" class="certain-category-icon" @click="openView" /> <search-outlined v-if="pickUpView && showButton" class="certain-category-icon" @click="openView" />
<export-outlined v-if="linkView" @click="openLinkView" /> <export-outlined v-if="linkView" @click="openLinkView" />
...@@ -272,7 +272,7 @@ const openView = () => { ...@@ -272,7 +272,7 @@ const openView = () => {
</template> </template>
<template v-else-if="isDropdown"> <template v-else-if="isDropdown">
<a-select <a-select
:class="['app-data-picker', `app-data-picker-${name}`]" :class="['app-editor-container', 'app-data-picker', `app-data-picker-${name}`]"
allowClear allowClear
showSearch showSearch
v-model:value="value" v-model:value="value"
......
...@@ -86,7 +86,7 @@ const onChange = (date: string, dateString: string) => { ...@@ -86,7 +86,7 @@ const onChange = (date: string, dateString: string) => {
<template> <template>
<template v-if="dateType === 'time'"> <template v-if="dateType === 'time'">
<a-time-picker <a-time-picker
:class="['app-date-picker', `app-date-picker--${name}`]" :class="['app-editor-container', 'app-date-picker', `app-date-picker-${name}`]"
v-model:value="curValue" v-model:value="curValue"
:format="dateFormat" :format="dateFormat"
:placeholder="placeholder" :placeholder="placeholder"
...@@ -97,7 +97,7 @@ const onChange = (date: string, dateString: string) => { ...@@ -97,7 +97,7 @@ const onChange = (date: string, dateString: string) => {
</template> </template>
<template v-else-if="dateType === 'date'"> <template v-else-if="dateType === 'date'">
<a-date-picker <a-date-picker
:class="['app-date-picker', `app-date-picker--${name}`]" :class="['app-editor-container', 'app-date-picker', `app-date-picker-${name}`]"
v-model:value="curValue" v-model:value="curValue"
:format="dateFormat" :format="dateFormat"
picker="date" picker="date"
...@@ -110,7 +110,7 @@ const onChange = (date: string, dateString: string) => { ...@@ -110,7 +110,7 @@ const onChange = (date: string, dateString: string) => {
<template v-else> <template v-else>
<a-date-picker <a-date-picker
showTime showTime
:class="['app-date-picker', `app-date-picker--${name}`]" :class="['app-editor-container', 'app-date-picker', `app-date-picker-${name}`]"
v-model:value="curValue" v-model:value="curValue"
:format="dateFormat" :format="dateFormat"
:placeholder="placeholder" :placeholder="placeholder"
......
...@@ -107,7 +107,7 @@ onBeforeMount(() => { ...@@ -107,7 +107,7 @@ onBeforeMount(() => {
<template> <template>
<a-select <a-select
allowClear allowClear
:class="['app-editor-container', `app-dropdown-list-${name}`]" :class="['app-editor-container', 'app-dropdown-list', `app-dropdown-list-${name}`]"
v-model:value="curValue" v-model:value="curValue"
:options="items" :options="items"
:mode="multiple ? 'multiple': 'combobox'" :mode="multiple ? 'multiple': 'combobox'"
......
...@@ -48,7 +48,7 @@ onBeforeMount(() => { ...@@ -48,7 +48,7 @@ onBeforeMount(() => {
</script> </script>
<template> <template>
<div :class="['app-editor-container',`app-input-ip-${name}`]"> <div :class="['app-editor-container', 'app-input-ip',`app-input-ip-${name}`]">
<a-input-group size="large"> <a-input-group size="large">
<a-row :gutter="8"> <a-row :gutter="8">
<a-col :span="5"> <a-col :span="5">
......
...@@ -70,7 +70,7 @@ const onChange = ($event: any) => { ...@@ -70,7 +70,7 @@ const onChange = ($event: any) => {
</script> </script>
<template> <template>
<div :class="['ibiz-editor-container','ibiz-input',`ibiz-input-${name}`]"> <div :class="['app-editor-container','app-input',`app-input-${name}`]">
<a-input <a-input
allowClear allowClear
v-if="Object.is('text', type)" v-if="Object.is('text', type)"
......
...@@ -300,7 +300,7 @@ onBeforeMount(() => { ...@@ -300,7 +300,7 @@ onBeforeMount(() => {
</script> </script>
<template> <template>
<div :class="['ibiz-editor-container', 'ibiz-list-box', `ibiz-list-box-${name}`]"> <div :class="['app-editor-container', 'app-list-box', `app-list-box-${name}`]">
<template v-if="multiple"> <template v-if="multiple">
<a-checkbox-group @change="onChange" :value="selectArray" :options="items" :disabled="disabled || readonly" /> <a-checkbox-group @change="onChange" :value="selectArray" :options="items" :disabled="disabled || readonly" />
</template> </template>
......
...@@ -129,7 +129,7 @@ onBeforeMount(() => { ...@@ -129,7 +129,7 @@ onBeforeMount(() => {
</script> </script>
<template> <template>
<div :class="['app-editor-container', `app-radio-group-${name}`]"> <div :class="['app-editor-container', 'app-radio-group', `app-radio-group-${name}`]">
<a-radio-group <a-radio-group
@change="onChange" @change="onChange"
:value="value" :value="value"
......
...@@ -73,7 +73,7 @@ const onChange = (value: number) => { ...@@ -73,7 +73,7 @@ const onChange = (value: number) => {
</script> </script>
<template> <template>
<div :class="['app-editor-container', `app-rating-${name}`]"> <div :class="['app-editor-container', 'app-rating', `app-rating-${name}`]">
<a-rate <a-rate
:value="value" :value="value"
:allowHalf="allowHalf" :allowHalf="allowHalf"
......
...@@ -44,7 +44,7 @@ const emit = defineEmits<EditorEmit>(); ...@@ -44,7 +44,7 @@ const emit = defineEmits<EditorEmit>();
</script> </script>
<template> <template>
<div :class="['ibiz-raw-item', `ibiz-raw-item--${contentType.toLowerCase()}`]"> <div :class="['app-raw-item', 'app-raw', `app-raw-${name}`]">
<div class="raw-caption" v-if="caption">\{{ caption }}</div> <div class="raw-caption" v-if="caption">\{{ caption }}</div>
<div v-if="Object.is(contentType, 'RAW')"> <div v-if="Object.is(contentType, 'RAW')">
\{{ value }} \{{ value }}
......
...@@ -294,7 +294,7 @@ onUnmounted(() => { ...@@ -294,7 +294,7 @@ onUnmounted(() => {
</script> </script>
<template> <template>
<div :class="['app-editor-container', 'app-rich-text-editor', `app-rich-text-${name}`]"> <div :class="['app-editor-container', 'app-rich-text', `app-rich-text-${name}`]">
<textarea :id="uuid"></textarea> <textarea :id="uuid"></textarea>
</div> </div>
</template> </template>
...@@ -75,7 +75,7 @@ const onChange = (value: number) => { ...@@ -75,7 +75,7 @@ const onChange = (value: number) => {
</script> </script>
<template> <template>
<div :class="['app-editor-container', `app-slider-${name}`]"> <div :class="['app-editor-container', 'app-slider', `app-slider-${name}`]">
<a-slider <a-slider
:defaultValue="value" :defaultValue="value"
:min="min" :min="min"
......
...@@ -133,7 +133,7 @@ onBeforeMount(() => { ...@@ -133,7 +133,7 @@ onBeforeMount(() => {
</script> </script>
<template> <template>
<div :class="['app-editor-container', `app-span-${name}`]"> <div :class="['app-editor-container', 'app-span', `app-span-${name}`]">
<span>\{{text}}</span> <span>\{{text}}</span>
</div> </div>
</template> </template>
......
...@@ -81,7 +81,7 @@ const onChange = (value: number) => { ...@@ -81,7 +81,7 @@ const onChange = (value: number) => {
</script> </script>
<template> <template>
<div :class="['app-editor-container', `app-stepper-${name}`]"> <div :class="['app-editor-container', 'app-stepper', `app-stepper-${name}`]">
<a-input-number <a-input-number
:value="value" :value="value"
:min="min" :min="min"
......
...@@ -68,7 +68,7 @@ const onChange = (value: number) => { ...@@ -68,7 +68,7 @@ const onChange = (value: number) => {
</script> </script>
<template> <template>
<div :class="['app-editor-container', `app-switch-${name}`]"> <div :class="['app-editor-container', 'app-switch', `app-switch-${name}`]">
<a-switch <a-switch
:checked="curValue" :checked="curValue"
:size="size" :size="size"
......
...@@ -118,7 +118,7 @@ const onChange = ($event: any) => { ...@@ -118,7 +118,7 @@ const onChange = ($event: any) => {
</script> </script>
<template> <template>
<div :class="['app-editor-container', `app-upload-${name}`]"> <div :class="['app-editor-container', 'app-upload', `app-upload-${name}`]">
<a-upload <a-upload
v-model:fileList="fileList" v-model:fileList="fileList"
:class="{'ant-upload--limit': fileList.length == limit}" :class="{'ant-upload--limit': fileList.length == limit}"
......
...@@ -17,7 +17,7 @@ const props = withDefaults(defineProps<LayoutProps>(), { ...@@ -17,7 +17,7 @@ const props = withDefaults(defineProps<LayoutProps>(), {
</script> </script>
<template> <template>
<AppIndexViewBaseLayout class="ibiz-index-view-layout--default"> <AppIndexViewBaseLayout class="app-index-view-layout--default">
<template v-slot:header-left> <template v-slot:header-left>
<slot name="caption"></slot> <slot name="caption"></slot>
</template> </template>
......
...@@ -3,20 +3,20 @@ ...@@ -3,20 +3,20 @@
</script> </script>
<template> <template>
<a-layout class="ibiz-index-view-layout"> <a-layout class="app-index-view-layout">
<a-layout-header class="ibiz-index-view-layout__header"> <a-layout-header class="app-index-view-layout__header">
<slot name="header-left" /> <slot name="header-left" />
<slot name="header-content" /> <slot name="header-content" />
<slot name="header-right" /> <slot name="header-right" />
</a-layout-header> </a-layout-header>
<a-layout class="ibiz-index-view-layout__body"> <a-layout class="app-index-view-layout__body">
<slot name="side-left" /> <slot name="side-left" />
<a-layout-content> <a-layout-content>
<slot name="content"></slot> <slot name="content"></slot>
</a-layout-content> </a-layout-content>
<slot name="side-right" /> <slot name="side-right" />
</a-layout> </a-layout>
<a-layout-footer class="ibiz-index-view-layout__footer"> <a-layout-footer class="app-index-view-layout__footer">
<slot name="footer-left" /> <slot name="footer-left" />
<slot name="footer-content" /> <slot name="footer-content" />
<slot name="footer-right" /> <slot name="footer-right" />
......
...@@ -3,22 +3,22 @@ ...@@ -3,22 +3,22 @@
</script> </script>
<template> <template>
<div class="ibiz-view-layout ibiz-view-layout--default"> <div class="app-view-layout app-view-layout--default">
<div class="ibiz-view-layout__header"> <div class="app-view-layout__header">
<slot name="header-top" /> <slot name="header-top" />
<div class="ibiz-view-layout__header-content"> <div class="app-view-layout__header-content">
<slot name="header-left" /> <slot name="header-left" />
<slot name="header-content" /> <slot name="header-content" />
<slot name="header-right" /> <slot name="header-right" />
</div> </div>
<slot name="header-bottom" /> <slot name="header-bottom" />
</div> </div>
<div class="ibiz-view-layout__body"> <div class="app-view-layout__body">
<slot name="body-top" /> <slot name="body-top" />
<slot /> <slot />
<slot name="body-bottom" /> <slot name="body-bottom" />
</div> </div>
<div class="ibiz-view-layout__footer"> <div class="app-view-layout__footer">
<slot name="footer-left" /> <slot name="footer-left" />
<slot name="footer-content" /> <slot name="footer-content" />
<slot name="footer-right" /> <slot name="footer-right" />
......
...@@ -14,8 +14,8 @@ const props = withDefaults(defineProps<Props>(), { ...@@ -14,8 +14,8 @@ const props = withDefaults(defineProps<Props>(), {
const hasIcon = computed(() => props.iconClass || props.imgPath) const hasIcon = computed(() => props.iconClass || props.imgPath)
const extraClass = { const extraClass = {
"ibiz-icon-text--no-icon": !hasIcon.value, "app-icon-text--no-icon": !hasIcon.value,
[`ibiz-icon-text--${props.position}`]: hasIcon.value, [`app-icon-text--${props.position}`]: hasIcon.value,
} }
</script> </script>
...@@ -24,20 +24,20 @@ const extraClass = { ...@@ -24,20 +24,20 @@ const extraClass = {
<div <div
:class="[ :class="[
{ {
[`ibiz-icon-text--${position}`]: hasIcon, [`app-icon-text--${position}`]: hasIcon,
}, },
`ibiz-icon-text--${size}`, `app-icon-text--${size}`,
'ibiz-icon-text' 'app-icon-text'
]" ]"
> >
<template v-if="position == 'left'"> <template v-if="position == 'left'">
<i v-if="iconClass" :class="'ibiz-icon-text__icon ' + iconClass" /> <i v-if="iconClass" :class="'app-icon-text__icon ' + iconClass" />
<img v-else-if="imgPath" class="ibiz-icon-text__icon-img" :src="imgPath" /> <img v-else-if="imgPath" class="app-icon-text__icon-img" :src="imgPath" />
</template> </template>
<span class="ibiz-icon-text__text" v-if="text">\{{text}}</span> <span class="app-icon-text__text" v-if="text">\{{text}}</span>
<template v-if="position == 'right'"> <template v-if="position == 'right'">
<i v-if="iconClass" :class="'ibiz-icon-text__icon ' + iconClass" /> <i v-if="iconClass" :class="'app-icon-text__icon ' + iconClass" />
<img v-else-if="imgPath" class="ibiz-icon-text__icon-img" :src="imgPath" /> <img v-else-if="imgPath" class="app-icon-text__icon-img" :src="imgPath" />
</template> </template>
</div> </div>
</template> </template>
......
...@@ -12,7 +12,7 @@ const props = withDefaults(defineProps<Props>(), { ...@@ -12,7 +12,7 @@ const props = withDefaults(defineProps<Props>(), {
<template> <template>
<template v-for="item in items" :key="item.name"> <template v-for="item in items" :key="item.name">
<template v-if="!item.items"> <template v-if="!item.items">
<a-menu-item v-if="!item.hidden" :key="item.name" class="ibiz-menu-item"> <a-menu-item v-if="!item.hidden" :key="item.name" class="app-menu-item">
<template #icon> <template #icon>
<AppIconText :iconClass="item.iconClass" :imgPath="item.imgPath" :text="collapsed && item.caption[0]"/> <AppIconText :iconClass="item.iconClass" :imgPath="item.imgPath" :text="collapsed && item.caption[0]"/>
</template> </template>
...@@ -20,7 +20,7 @@ const props = withDefaults(defineProps<Props>(), { ...@@ -20,7 +20,7 @@ const props = withDefaults(defineProps<Props>(), {
</a-menu-item> </a-menu-item>
</template> </template>
<template v-else> <template v-else>
<a-sub-menu v-if="!item.hidden" :key="item.name" class="ibiz-menu-item"> <a-sub-menu v-if="!item.hidden" :key="item.name" class="app-menu-item">
<template #icon> <template #icon>
<AppIconText :iconClass="item.iconClass" :imgPath="item.imgPath" :text="collapsed && item.caption[0]"/> <AppIconText :iconClass="item.iconClass" :imgPath="item.imgPath" :text="collapsed && item.caption[0]"/>
</template> </template>
...@@ -32,12 +32,12 @@ const props = withDefaults(defineProps<Props>(), { ...@@ -32,12 +32,12 @@ const props = withDefaults(defineProps<Props>(), {
</template> </template>
<style lang="scss"> <style lang="scss">
.ibiz-icon-text { .app-icon-text {
display: flex !important; display: flex !important;
align-items: center; align-items: center;
} }
.ant-menu-submenu-popup { .ant-menu-submenu-popup {
.ibiz-menu-item { .app-menu-item {
display: flex !important; display: flex !important;
} }
.ant-menu-submenu-title { .ant-menu-submenu-title {
...@@ -46,21 +46,21 @@ const props = withDefaults(defineProps<Props>(), { ...@@ -46,21 +46,21 @@ const props = withDefaults(defineProps<Props>(), {
} }
} }
.ant-menu-inline-collapsed { .ant-menu-inline-collapsed {
.ibiz-menu-item { .app-menu-item {
position: relative; position: relative;
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
.ibiz-icon-text { .app-icon-text {
position: absolute; position: absolute;
.ibiz-icon-text__text { .app-icon-text__text {
width: 20px; width: 20px;
height: 20px; height: 20px;
border-radius: 50%; border-radius: 50%;
line-height: 18px; line-height: 18px;
text-align: center; text-align: center;
font-size: 12px; font-size: 12px;
border: 1px solid var(--ibiz-color-info); border: 1px solid var(--app-color-info);
} }
} }
} }
......
...@@ -125,7 +125,7 @@ const itemClick = (item: IParam) => { ...@@ -125,7 +125,7 @@ const itemClick = (item: IParam) => {
} }
.toolbar-item { .toolbar-item {
border-radius: 4px; border-radius: 4px;
.ibiz-icon-text__icon { .app-icon-text__icon {
vertical-align: unset; vertical-align: unset;
} }
} }
......
...@@ -73,7 +73,7 @@ const dropdownList = [ ...@@ -73,7 +73,7 @@ const dropdownList = [
</script> </script>
<template> <template>
<div class="ibiz-user"> <div class="app-user">
<span class="user-name">\{{ user.name }}</span> <span class="user-name">\{{ user.name }}</span>
<a-dropdown> <a-dropdown>
<a-avatar size="large" :src="user.avatar" @click.prevent> <a-avatar size="large" :src="user.avatar" @click.prevent>
...@@ -92,11 +92,11 @@ const dropdownList = [ ...@@ -92,11 +92,11 @@ const dropdownList = [
</template> </template>
<style lang='scss'> <style lang='scss'>
.ibiz-user { .app-user {
.user-name { .user-name {
padding-right: 10px; padding-right: 10px;
} }
.ibiz-icon-text { .app-icon-text {
text-align: center; text-align: center;
width: 100%; width: 100%;
height: 100%; height: 100%;
......
.ibiz-input { .app-input {
width: 100%; width: 100%;
.ant-input-number { .ant-input-number {
width: 100%; width: 100%;
......
.ibiz-list-box { .app-list-box {
width: 100%; width: 100%;
text-align: left; text-align: left;
} }
\ No newline at end of file
.ibiz-index-view-layout { .app-index-view-layout {
width: 100%; width: 100%;
height: 100%; height: 100%;
.ant-layout-sider { .ant-layout-sider {
overflow-y: auto; overflow-y: auto;
background-color: var(--ibiz-view-layout-header-bg-color); background-color: var(--app-view-layout-header-bg-color);
} }
} }
.ibiz-index-view-layout__header { .app-index-view-layout__header {
display: flex; display: flex;
padding: 0 20px; padding: 0 20px;
background-color: var(--ibiz-view-layout-header-bg-color); background-color: var(--app-view-layout-header-bg-color);
justify-content: space-between; justify-content: space-between;
} }
.ibiz-index-view-layout__body { .app-index-view-layout__body {
background-color: var(--ibiz-view-layout-header-bg-color); background-color: var(--app-view-layout-header-bg-color);
} }
.ibiz-index-view-layout__footer { .app-index-view-layout__footer {
padding: 0; padding: 0;
} }
.ibiz-view-layout { .app-view-layout {
display: flex; display: flex;
width: 100%; width: 100%;
height: 100%; height: 100%;
flex-direction: column; flex-direction: column;
padding: var(--ibiz-view-layout-padding); padding: var(--app-view-layout-padding);
background-color: var(--ibiz-view-layout-bg-color); background-color: var(--app-view-layout-bg-color);
} }
.ibiz-view-layout__header { .app-view-layout__header {
flex: none; flex: none;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
padding: 0 10px; padding: 0 10px;
background-color: var(--ibiz-view-layout-header-bg-color); background-color: var(--app-view-layout-header-bg-color);
} }
.ibiz-view-layout__header-content { .app-view-layout__header-content {
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
height: var(--ibiz-view-layout-header-height); height: var(--app-view-layout-header-height);
border-bottom: 1px solid var(--ibiz-view-layout-header-border-bottom); border-bottom: 1px solid var(--app-view-layout-header-border-bottom);
margin: --ibiz-view-layout-header-padding; margin: --app-view-layout-header-padding;
.ibiz-view__caption { .app-view__caption {
font-size: var(--ibiz-view-caption-font-size); font-size: var(--app-view-caption-font-size);
} }
} }
.ibiz-view-layout__body { .app-view-layout__body {
display: flex; display: flex;
flex: auto; flex: auto;
height: 100%; height: 100%;
padding: 0 10px; padding: 0 10px;
flex-direction: column; flex-direction: column;
overflow: auto; overflow: auto;
background-color: var(--ibiz-view-layout-body-bg-color); background-color: var(--app-view-layout-body-bg-color);
} }
.ibiz-view-layout__footer { .app-view-layout__footer {
flex: none; flex: none;
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
background-color: var(--ibiz-view-layout-footer-bg-color); background-color: var(--app-view-layout-footer-bg-color);
} }
\ No newline at end of file
// 基线对齐 // 基线对齐
.ibiz-icon-text__icon,.ibiz-icon-text__icon-img{ .app-icon-text__icon,.app-icon-text__icon-img{
vertical-align: bottom; vertical-align: bottom;
} }
// 默认样式 // 默认样式
.ibiz-icon-text--default{ .app-icon-text--default{
font-size: var(--ibiz-icon-text-font-size-md); font-size: var(--app-icon-text-font-size-md);
.ibiz-icon-text__icon,.ibiz-icon-text__icon-img{ .app-icon-text__icon,.app-icon-text__icon-img{
width: var(--ibiz-icon-text-icon-width-md); width: var(--app-icon-text-icon-width-md);
height: var(--ibiz-icon-text-icon-height-md); height: var(--app-icon-text-icon-height-md);
} }
} }
// large的样式 // large的样式
.ibiz-icon-text--large{ .app-icon-text--large{
font-size: var(--ibiz-icon-text-font-size-lg); font-size: var(--app-icon-text-font-size-lg);
.ibiz-icon-text__icon,.ibiz-icon-text__icon-img{ .app-icon-text__icon,.app-icon-text__icon-img{
width: var(--ibiz-icon-text-icon-width-lg); width: var(--app-icon-text-icon-width-lg);
height: var(--ibiz-icon-text-icon-height-lg); height: var(--app-icon-text-icon-height-lg);
} }
} }
// 位置变化的样式 // 位置变化的样式
.ibiz-icon-text--left .ibiz-icon-text__text{ .app-icon-text--left .app-icon-text__text{
margin-left: 5px; margin-left: 5px;
} }
.ibiz-icon-text--right .ibiz-icon-text__text{ .app-icon-text--right .app-icon-text__text{
margin-right: 5px; margin-right: 5px;
} }
\ No newline at end of file
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
} }
// Placeholder文本颜色修改,兼容各种浏览器 // Placeholder文本颜色修改,兼容各种浏览器
@mixin placeholder($color: var(--ibiz-text-color-placeholder)) { @mixin placeholder($color: var(--app-text-color-placeholder)) {
// Firefox // Firefox
&::-moz-placeholder { &::-moz-placeholder {
color: $color; color: $color;
......
// 主题样式覆盖 // 主题样式覆盖
.ibiz-theme-dark:root{ .app-theme-dark:root{
} }
\ No newline at end of file
// 基础通用变量 // 基础通用变量
:root{ :root{
// 字体 // 字体
--ibiz-font-family: -apple-system, BlinkMacSystemFont, Tahoma, Arial, "Hiragino Sans GB", "Microsoft YaHei", sans-serif; --app-font-family: -apple-system, BlinkMacSystemFont, Tahoma, Arial, "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
--ibiz-font-weight-primary: 500; --app-font-weight-primary: 500;
--ibiz-font-weight-bold: 600; --app-font-weight-bold: 600;
--ibiz-font-line-height: 24px; --app-font-line-height: 24px;
// 字体大小 // 字体大小
--ibiz-font-size-xs: 12px; --app-font-size-xs: 12px;
--ibiz-font-size-sm: 14px; --app-font-size-sm: 14px;
--ibiz-font-size-md: 16px; --app-font-size-md: 16px;
--ibiz-font-size-lg: 20px; --app-font-size-lg: 20px;
--ibiz-font-size-xl: 22px; --app-font-size-xl: 22px;
// 字体颜色 // 字体颜色
--ibiz-text-color-primary: #303133; --app-text-color-primary: #303133;
--ibiz-text-color-regular: #606266; --app-text-color-regular: #606266;
--ibiz-text-color-secondary: #909399; --app-text-color-secondary: #909399;
--ibiz-text-color-placeholder: #c0c4cc; --app-text-color-placeholder: #c0c4cc;
--ibiz-text-color-disabled: #bbb; --app-text-color-disabled: #bbb;
--ibiz-text-color-inverse: #fff; // 反转色,深色背景下使用 --app-text-color-inverse: #fff; // 反转色,深色背景下使用
// 颜色 // 颜色
--ibiz-color-white: #fff; --app-color-white: #fff;
--ibiz-color-black: #000; --app-color-black: #000;
--ibiz-color-primary: #409eff; //重要的,常用于激活色 --app-color-primary: #409eff; //重要的,常用于激活色
--ibiz-color-success: #67c23a; --app-color-success: #67c23a;
--ibiz-color-warning: #e6a23c; --app-color-warning: #e6a23c;
--ibiz-color-danger: #f56c6c; --app-color-danger: #f56c6c;
--ibiz-color-error: #f56c6c; --app-color-error: #f56c6c;
--ibiz-color-info: #909399; --app-color-info: #909399;
--ibiz-color-border: #e8eaec; --app-color-border: #e8eaec;
--ibiz-bg-color: #f5f7fa; //默认背景色 --app-bg-color: #f5f7fa; //默认背景色
--ibiz-bg-color-disabled: #f5f7fa; //禁用背景色 --app-bg-color-disabled: #f5f7fa; //禁用背景色
// 边框 // 边框
--ibiz-border-color: #dcdfe6; --app-border-color: #dcdfe6;
--ibiz-border-width: 1; --app-border-width: 1;
--ibiz-border-style: solid; --app-border-style: solid;
--ibiz-border-color-hover: #c0c4cc; --app-border-color-hover: #c0c4cc;
--ibiz-border-color-disabled: #e4e7ed; --app-border-color-disabled: #e4e7ed;
--ibiz-border-base: var(--ibiz-border-width-base) var(--ibiz-border-style-base) --app-border-base: var(--app-border-width-base) var(--app-border-style-base)
var(--ibiz-border-color-base); var(--app-border-color-base);
} }
// render 绘制组件样式 // render 绘制组件样式
// icon-text // icon-text
.ibiz-icon-text{ .app-icon-text{
--ibiz-icon-text-font-size-md: var(--ibiz-font-size-md); --app-icon-text-font-size-md: var(--app-font-size-md);
--ibiz-icon-text-icon-width-md: var(--ibiz-font-size-md); --app-icon-text-icon-width-md: var(--app-font-size-md);
--ibiz-icon-text-icon-height-md: var(--ibiz-font-size-md); --app-icon-text-icon-height-md: var(--app-font-size-md);
--ibiz-icon-text-font-size-lg: var(--ibiz-font-size-lg); --app-icon-text-font-size-lg: var(--app-font-size-lg);
--ibiz-icon-text-icon-width-lg: var(--ibiz-font-size-lg); --app-icon-text-icon-width-lg: var(--app-font-size-lg);
--ibiz-icon-text-icon-height-lg: var(--ibiz-font-size-lg); --app-icon-text-icon-height-lg: var(--app-font-size-lg);
} }
// layout 组件样式 // layout 组件样式
.ibiz-index-view-layout{ .app-index-view-layout{
--ibiz-view-layout-header-bg-color: var(--ibiz-color-white); --app-view-layout-header-bg-color: var(--app-color-white);
--ibiz-view-layout-body-bg-color: var(--ibiz-color-white); --app-view-layout-body-bg-color: var(--app-color-white);
--ibiz-view-layout-footer-bg-color: var(--ibiz-color-white); --app-view-layout-footer-bg-color: var(--app-color-white);
} }
.ibiz-view-layout{ .app-view-layout{
--ibiz-view-layout-padding: 8px 12px 10px; --app-view-layout-padding: 8px 12px 10px;
--ibiz-view-layout-header-padding: 0 10px; --app-view-layout-header-padding: 0 10px;
--ibiz-view-layout-bg-color: var(--ibiz-bg-color); --app-view-layout-bg-color: var(--app-bg-color);
--ibiz-view-layout-header-bg-color: var(--ibiz-color-white); --app-view-layout-header-bg-color: var(--app-color-white);
--ibiz-view-layout-body-bg-color: var(--ibiz-color-white); --app-view-layout-body-bg-color: var(--app-color-white);
--ibiz-view-layout-footer-bg-color: var(--ibiz-color-white); --app-view-layout-footer-bg-color: var(--app-color-white);
--ibiz-view-layout-header-height: 48px; --app-view-layout-header-height: 48px;
--ibiz-view-layout-header-border-bottom: var(--ibiz-color-border); --app-view-layout-header-border-bottom: var(--app-color-border);
--ibiz-view-caption-font-size: var(--ibiz-font-size-lg) --app-view-caption-font-size: var(--app-font-size-lg)
} }
\ No newline at end of file
// ibiz-edit-view // app-edit-view
\ No newline at end of file \ No newline at end of file
// EditForm // EditForm
:root{ :root{
--ibiz-form-font-size: var(--ibiz-font-size-base, 12px); --app-form-font-size: var(--app-font-size-base, 12px);
} }
\ No newline at end of file
.ibiz-view-container { .app-view-container {
height: 100%; height: 100%;
width: 100%; width: 100%;
} }
\ No newline at end of file
.ibiz-control { .app-control {
height: 100%; height: 100%;
width: 100%; width: 100%;
} }
\ No newline at end of file
...@@ -39,7 +39,7 @@ const collapsedChange = () => { ...@@ -39,7 +39,7 @@ const collapsedChange = () => {
</script> </script>
<template> <template>
<AppDefaultIndexViewLayout class="ibiz-index-view" :menuAlign="state.menuAlign" :collapsed="collapsed"> <AppDefaultIndexViewLayout class="app-index-view" :menuAlign="state.menuAlign" :collapsed="collapsed">
<template #caption> <template #caption>
<div class="index-view-header"> <div class="index-view-header">
\{{state.viewCaption}} \{{state.viewCaption}}
...@@ -72,7 +72,7 @@ const collapsedChange = () => { ...@@ -72,7 +72,7 @@ const collapsedChange = () => {
</template> </template>
<style lang="scss"> <style lang="scss">
.ibiz-index-view { .app-index-view {
.index-view-header { .index-view-header {
font-size: 18px; font-size: 18px;
>.trigger:hover { >.trigger:hover {
......
...@@ -34,10 +34,10 @@ const { state, form, handleToolbarEvent } = new EditView(ViewConfig, props, emit ...@@ -34,10 +34,10 @@ const { state, form, handleToolbarEvent } = new EditView(ViewConfig, props, emit
</script> </script>
<template> <template>
<AppEditViewLayout :class="['ibiz-edit-view', state.viewSysCss]"> <AppEditViewLayout :class="['app-edit-view', state.viewSysCss]">
<template v-slot:caption> <template v-slot:caption>
<AppIconText <AppIconText
class="ibiz-view__caption" class="app-view__caption"
size="large" size="large"
:subCaption="state.subCaption" :subCaption="state.subCaption"
:showCaptionBar="state.showCaptionBar" :showCaptionBar="state.showCaptionBar"
......
...@@ -38,9 +38,9 @@ const { state, grid, handleCtrlEvent, handleToolbarEvent } = new GridView(ViewCo ...@@ -38,9 +38,9 @@ const { state, grid, handleCtrlEvent, handleToolbarEvent } = new GridView(ViewCo
</script> </script>
<template> <template>
<AppGridViewLayout class="ibiz-grid-view"> <AppGridViewLayout class="app-grid-view">
<template v-slot:caption> <template v-slot:caption>
<AppIconText class="ibiz-view__caption" size="large" :text="state.viewCaption" /> <AppIconText class="app-view__caption" size="large" :text="state.viewCaption" />
</template> </template>
{{#page.ctrls}} {{#page.ctrls}}
{{#eq controlType "TOOLBAR"}} {{#eq controlType "TOOLBAR"}}
...@@ -101,7 +101,7 @@ const { state, grid, handleCtrlEvent, handleToolbarEvent } = new GridView(ViewCo ...@@ -101,7 +101,7 @@ const { state, grid, handleCtrlEvent, handleToolbarEvent } = new GridView(ViewCo
</template> </template>
<style lang="scss"> <style lang="scss">
.ibiz-grid-view { .app-grid-view {
height: 100%; height: 100%;
width: 100%; width: 100%;
} }
......
...@@ -36,9 +36,9 @@ const { state, confirm, handleCtrlEvent } = new PickupGridView(ViewConfig, props ...@@ -36,9 +36,9 @@ const { state, confirm, handleCtrlEvent } = new PickupGridView(ViewConfig, props
</script> </script>
<template> <template>
<AppPickerUpGridViewLayout class="ibiz-pickup-grid-view"> <AppPickerUpGridViewLayout class="app-pickup-grid-view">
<template v-slot:header-left> <template v-slot:header-left>
<AppIconText class="ibiz-view__caption" size="large" :text="state.viewCaption" /> <AppIconText class="app-view__caption" size="large" :text="state.viewCaption" />
</template> </template>
{{#page.ctrls}} {{#page.ctrls}}
{{#eq controlType "GRID"}} {{#eq controlType "GRID"}}
......
...@@ -32,9 +32,9 @@ const { state, cancel, confirm,handleCtrlEvent } = new PickupView(ViewConfig, pr ...@@ -32,9 +32,9 @@ const { state, cancel, confirm,handleCtrlEvent } = new PickupView(ViewConfig, pr
</script> </script>
<template> <template>
<AppPickerUpViewLayout class="ibiz-pickup-view"> <AppPickerUpViewLayout class="app-pickup-view">
<template v-slot:header-left> <template v-slot:header-left>
<AppIconText class="ibiz-view__caption" size="large" :text="state.viewCaption" /> <AppIconText class="app-view__caption" size="large" :text="state.viewCaption" />
</template> </template>
{{#page.ctrls}} {{#page.ctrls}}
...@@ -61,7 +61,7 @@ const { state, cancel, confirm,handleCtrlEvent } = new PickupView(ViewConfig, pr ...@@ -61,7 +61,7 @@ const { state, cancel, confirm,handleCtrlEvent } = new PickupView(ViewConfig, pr
{{/eq}} {{/eq}}
{{/page.ctrls}} {{/page.ctrls}}
<template v-slot:footer> <template v-slot:footer>
<a-space class="ibiz-pickup-view--footer"> <a-space class="app-pickup-view--footer">
<a-button @click="cancel">取消</a-button> <a-button @click="cancel">取消</a-button>
<a-button @click="confirm">确认</a-button> <a-button @click="confirm">确认</a-button>
</a-space> </a-space>
...@@ -69,9 +69,9 @@ const { state, cancel, confirm,handleCtrlEvent } = new PickupView(ViewConfig, pr ...@@ -69,9 +69,9 @@ const { state, cancel, confirm,handleCtrlEvent } = new PickupView(ViewConfig, pr
</AppPickerUpViewLayout> </AppPickerUpViewLayout>
</template> </template>
<style lang="scss"> <style lang="scss">
.ibiz-pickup-view { .app-pickup-view {
position: relative; position: relative;
.ibiz-pickup-view--footer { .app-pickup-view--footer {
position: absolute; position: absolute;
bottom: 20px; bottom: 20px;
right: 35px; right: 35px;
......
...@@ -29,9 +29,9 @@ const { state, handleCtrlEvent, handleToolbarEvent } = new TreeExpView(ViewConfi ...@@ -29,9 +29,9 @@ const { state, handleCtrlEvent, handleToolbarEvent } = new TreeExpView(ViewConfi
</script> </script>
<template> <template>
<AppTreeExpViewLayout class="ibiz-tree-exp-view"> <AppTreeExpViewLayout class="app-tree-exp-view">
<template v-slot:caption> <template v-slot:caption>
<AppIconText class="ibiz-view__caption" size="large" :text="state.viewCaption" /> <AppIconText class="app-view__caption" size="large" :text="state.viewCaption" />
</template> </template>
{{#page.ctrls}} {{#page.ctrls}}
{{#eq controlType "TOOLBAR"}} {{#eq controlType "TOOLBAR"}}
......
...@@ -27,7 +27,7 @@ defineExpose({ state, name: '{{ctrl.name}}' }); ...@@ -27,7 +27,7 @@ defineExpose({ state, name: '{{ctrl.name}}' });
</script> </script>
<template> <template>
<a-menu class="ibiz-menu" v-model:openKeys="state.defaultOpens" v-model:selectedKeys="state.defaultSelect" <a-menu class="app-menu" v-model:openKeys="state.defaultOpens" v-model:selectedKeys="state.defaultSelect"
:mode="Object.is('LEFT', state.menuAlign) ? 'inline' : 'horizontal'" @select="menuSelect"> :mode="Object.is('LEFT', state.menuAlign) ? 'inline' : 'horizontal'" @select="menuSelect">
<AppMenuItem :items="state.menus" :collapsed="collapsed" /> <AppMenuItem :items="state.menus" :collapsed="collapsed" />
</a-menu> </a-menu>
......
...@@ -32,7 +32,7 @@ defineExpose({ state, name: '{{ctrl.name}}' }); ...@@ -32,7 +32,7 @@ defineExpose({ state, name: '{{ctrl.name}}' });
</script> </script>
<template> <template>
<a-form name="{{ctrl.codeName}}" <a-form name="{{ctrl.codeName}}"
class="ibiz-form{{#if ctrl.psSysCss}} {{ctrl.psSysCss.cssName}}{{/if}}{{#if ctrl.infoFormMode}} ibiz-info-form{{/if}}" class="app-form{{#if ctrl.psSysCss}} {{ctrl.psSysCss.cssName}}{{/if}}{{#if ctrl.infoFormMode}} app-info-form{{/if}}"
style="{{#if ctrl.formWidth}}width: {{ctrl.formWidth}}px;{{/if}}" :model="state.data" :rules="state.rules"> style="{{#if ctrl.formWidth}}width: {{ctrl.formWidth}}px;{{/if}}" :model="state.data" :rules="state.rules">
{{#if ctrl.noTabHeader}} {{#if ctrl.noTabHeader}}
{{#each ctrl.psDEFormPages as | ctrlPage | }} {{#each ctrl.psDEFormPages as | ctrlPage | }}
...@@ -41,7 +41,7 @@ defineExpose({ state, name: '{{ctrl.name}}' }); ...@@ -41,7 +41,7 @@ defineExpose({ state, name: '{{ctrl.name}}' });
{{/each }} {{/each }}
{{/each}} {{/each}}
{{else}} {{else}}
<a-tabs class="ibiz-form-page"> <a-tabs class="app-form-page">
{{#each ctrl.psDEFormPages as | ctrlPage | }} {{#each ctrl.psDEFormPages as | ctrlPage | }}
{{>(lookup . 'ctrlPage.detailType') item=ctrlPage }} {{>(lookup . 'ctrlPage.detailType') item=ctrlPage }}
{{/each}} {{/each}}
...@@ -50,7 +50,7 @@ defineExpose({ state, name: '{{ctrl.name}}' }); ...@@ -50,7 +50,7 @@ defineExpose({ state, name: '{{ctrl.name}}' });
</a-form> </a-form>
</template> </template>
<style lang="scss"> <style lang="scss">
.ibiz-form { .app-form {
.ant-card-head { .ant-card-head {
padding: 0; padding: 0;
margin: 0 10px; margin: 0 10px;
......
...@@ -40,7 +40,7 @@ const { scrollOption, rowKey, rowClassName, customRow, rowSelectionOption, resiz ...@@ -40,7 +40,7 @@ const { scrollOption, rowKey, rowClassName, customRow, rowSelectionOption, resiz
defineExpose({ state, name: '{{ctrl.name}}', load }); defineExpose({ state, name: '{{ctrl.name}}', load });
</script> </script>
<template> <template>
<a-table bordered sticky class="ibiz-grid{{#if ctrl.psSysCss}} {{ctrl.psSysCss.cssName}}{{/if}}" :rowKey="rowKey" <a-table bordered sticky class="app-grid{{#if ctrl.psSysCss}} {{ctrl.psSysCss.cssName}}{{/if}}" :rowKey="rowKey"
:showHeader="{{#if ctrl.hideHeader}}false{{else}}true{{/if}}" :scroll="scrollOption" :showHeader="{{#if ctrl.hideHeader}}false{{else}}true{{/if}}" :scroll="scrollOption"
:sortDirections="['ascend', 'descend']" :data-source="state.data" :row-selection="rowSelectionOption" :sortDirections="['ascend', 'descend']" :data-source="state.data" :row-selection="rowSelectionOption"
:columns="state.columnsModel" :pagination="state.gridPaging.pagination" :customRow="customRow" :columns="state.columnsModel" :pagination="state.gridPaging.pagination" :customRow="customRow"
...@@ -77,7 +77,7 @@ defineExpose({ state, name: '{{ctrl.name}}', load }); ...@@ -77,7 +77,7 @@ defineExpose({ state, name: '{{ctrl.name}}', load });
</a-table> </a-table>
</template> </template>
<style lang="scss"> <style lang="scss">
.ibiz-grid { .app-grid {
height: 100%; height: 100%;
padding-top: 8px; padding-top: 8px;
......
...@@ -38,7 +38,7 @@ defineExpose({ state, name: '{{ctrl.name}}' }); ...@@ -38,7 +38,7 @@ defineExpose({ state, name: '{{ctrl.name}}' });
</script> </script>
<template> <template>
<div class="ibiz-pickupviewpanel"> <div class="app-pickupviewpanel">
<ChartDataPickUpGridView :isSingleSelect="state.isSingleSelect" :isShowButton="state.isShowButton" <ChartDataPickUpGridView :isSingleSelect="state.isSingleSelect" :isShowButton="state.isShowButton"
:selectedData="state.selectedData" @viewEvent="handleViewEvent"></ChartDataPickUpGridView> :selectedData="state.selectedData" @viewEvent="handleViewEvent"></ChartDataPickUpGridView>
</div> </div>
......
...@@ -38,7 +38,7 @@ defineExpose({ state, name: '{{ctrl.name}}' }); ...@@ -38,7 +38,7 @@ defineExpose({ state, name: '{{ctrl.name}}' });
</script> </script>
<template> <template>
<div class="ibiz-pickupviewpanel"> <div class="app-pickupviewpanel">
<component v-if="inited && state.embeddedView && state.embeddedView.viewName" :if="state.embeddedView.viewName" <component v-if="inited && state.embeddedView && state.embeddedView.viewName" :if="state.embeddedView.viewName"
:viewdata="viewdata" :viewparam="viewparam" :isSingleSelect="state.isSingleSelect" :viewdata="viewdata" :viewparam="viewparam" :isSingleSelect="state.isSingleSelect"
:isShowButton="state.isShowButton" :selectedData="state.selectedData"></component> :isShowButton="state.isShowButton" :selectedData="state.selectedData"></component>
......
...@@ -45,7 +45,7 @@ const { state, handleEditorEvent, handleComponentEvent, onSearch, loadDraft, onO ...@@ -45,7 +45,7 @@ const { state, handleEditorEvent, handleComponentEvent, onSearch, loadDraft, onO
{{/each }} {{/each }}
{{/each}} {{/each}}
{{else}} {{else}}
<a-tabs class="ibiz-form-page"> <a-tabs class="app-form-page">
{{#each ctrl.psDEFormPages as | ctrlPage | }} {{#each ctrl.psDEFormPages as | ctrlPage | }}
{{>(lookup . 'ctrlPage.detailType') item=ctrlPage }} {{>(lookup . 'ctrlPage.detailType') item=ctrlPage }}
{{/each}} {{/each}}
......
...@@ -43,7 +43,7 @@ defineExpose({ state, name: '{{ctrl.name}}' }); ...@@ -43,7 +43,7 @@ defineExpose({ state, name: '{{ctrl.name}}' });
<template> <template>
<a-layout <a-layout
class="ibiz-tree-exp-bar{{#if ctrl.psSysCss}} {{ctrl.psSysCss.cssName}}{{/if}}" class="app-tree-exp-bar{{#if ctrl.psSysCss}} {{ctrl.psSysCss.cssName}}{{/if}}"
> >
<a-layout-sider> <a-layout-sider>
{{#ctrl.ctrls}} {{#ctrl.ctrls}}
......
...@@ -38,13 +38,13 @@ defineExpose({ state, name: '{{ctrl.name}}' }); ...@@ -38,13 +38,13 @@ defineExpose({ state, name: '{{ctrl.name}}' });
// TODO 树节点待支持图标和自定义绘制 // TODO 树节点待支持图标和自定义绘制
<template> <template>
<a-tree <a-tree
class="ibiz-tree{{#if ctrl.psSysCss}} {{ctrl.psSysCss.cssName}}{{/if}}" class="app-tree{{#if ctrl.psSysCss}} {{ctrl.psSysCss.cssName}}{{/if}}"
:tree-data="state.data" :tree-data="state.data"
:load-data="load" :load-data="load"
:fieldNames="{ title: 'text', key: 'id' }" :fieldNames="{ title: 'text', key: 'id' }"
@select="treeNodeSelect"> @select="treeNodeSelect">
<template #title="{ text, id }"> <template #title="{ text, id }">
<div class="ibiz-tree-node"> <div class="app-tree-node">
<span class="tree-node__title">\{{ text }}</span> <span class="tree-node__title">\{{ text }}</span>
</div> </div>
</template> </template>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册