提交 48e69ce6 编写于 作者: S shenjizhe

1

上级 395dbf79
<template> <template>
<view class="main-box"> <view class="main-box">
<view class="sub-box"> <view class="sub-box">
<thirdlucky-data-view :datas="datas" :columns="columns" :tableNames="tableNames" @selected="onSelected" @confirm="onConfirm"></thirdlucky-data-view> <thirdlucky-data-view :datas="datas" :columns="columns" :tableNames="tableNames" @selected="onSelected" @confirm="onConfirm"></thirdlucky-data-view>
</view> </view>
<view class="sub-box"> <view class="sub-box">
<thirdlucky-data-view :datas="datas" :columns="columns" :tableNames="tableNames" @selected="onSelected" @confirm="onConfirm"></thirdlucky-data-view> <thirdlucky-data-view :datas="datas" :columns="columns" :tableNames="tableNames" @selected="onSelected" @confirm="onConfirm"></thirdlucky-data-view>
</view> </view>
</view> </view>
</template> </template>
...@@ -79,9 +79,9 @@ export default { ...@@ -79,9 +79,9 @@ export default {
<style lang="scss" scoped> <style lang="scss" scoped>
.main-box { .main-box {
width: 750rpx;
display: flex; display: flex;
flex-direction: row; flex-direction: row;
height: 93vh;
} }
.sub-box { .sub-box {
flex: 1; flex: 1;
......
...@@ -107,17 +107,22 @@ export default { ...@@ -107,17 +107,22 @@ export default {
<style lang="scss" scoped> <style lang="scss" scoped>
.main-view-box { .main-view-box {
width: 100%;
height: 100%; height: 100%;
position: absolute; position: relative;
} }
.view-table-view { .view-table-view {
width: 100%; width: 100%;
height: 50%; height: 50%;
border: 1rpx solid black; border: 1rpx solid black;
position: absolute;
top: 0;
} }
.view-info-view { .view-info-view {
width: 100%; width: 100%;
height: 50%; height: 50%;
border: 1rpx solid black; border: 1rpx solid black;
position: absolute;
bottom: 0;
} }
</style> </style>
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册