fix: 修改物模型映射样式

This commit is contained in:
100011797 2023-05-31 14:50:02 +08:00
parent e0ada7d6e0
commit 5e0ca4e2aa
3 changed files with 22 additions and 11 deletions

View File

@ -1,6 +1,8 @@
<template> <template>
<div class='full-page-warp' ref='fullPage' :style='{ minHeight: `calc(100vh - ${y + 24}px)`}'> <div class='full-page-warp' ref='fullPage' :style='{ minHeight: `calc(100vh - ${y + 24}px)`}'>
<slot></slot> <div class="full-page-warp-content">
<slot></slot>
</div>
</div> </div>
</template> </template>
@ -12,8 +14,13 @@ const { y } = useElementBounding(fullPage)
</script> </script>
<style scoped> <style scoped lang="less">
.full-page-warp { .full-page-warp {
background: #fff; background: #fff;
display: flex;
.full-page-warp-content {
width: 100%;
}
} }
</style> </style>

View File

@ -198,20 +198,24 @@ getDefaultMetadata()
<style scoped lang='less'> <style scoped lang='less'>
.metadata-map { .metadata-map {
position: relative; // position: relative;
min-height: 100%; min-height: 100%;
display: flex;
gap: 24px;
.left { .left {
margin-right: 424px; // margin-right: 44px;
flex: 1;
} }
.right { .right {
position: absolute; // position: absolute;
border: 1px solid rgba(0, 0, 0, 0.08); border: 1px solid rgba(0, 0, 0, 0.08);
height: 100%; min-height: 100%;
width: 400px; min-width: 410px;
top: 0; width: 33.33333%;
right: 0; // top: 0;
// right: 0;
padding: 16px; padding: 16px;
.title { .title {

View File

@ -91,7 +91,7 @@
> >
</template> </template>
<FullPage> <FullPage>
<j-card :bordered="false"> <div style="height: 100%; padding: 24px;">
<component <component
:is="tabs[productStore.tabActiveKey]" :is="tabs[productStore.tabActiveKey]"
:class=" :class="
@ -101,7 +101,7 @@
" "
v-bind="{ type: 'product' }" v-bind="{ type: 'product' }"
/> />
</j-card> </div>
</FullPage> </FullPage>
</page-container> </page-container>
</template> </template>