城阳pc工作端前端代码
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

946 lines
28 KiB

4 years ago
<template>
<div class="g-main">
4 years ago
<div :style="{height:rowHeight}"
class="div_tree">
<el-input placeholder="输入关键字进行过滤"
v-model="filterText">
</el-input>
<el-scrollbar :style="{height:treeHeight}"
class="scrollar">
<el-tree ref="ref_tree"
v-loading="treeLoading"
class="filter_tree"
:data="treeData"
:props="defaultProps"
:highlight-current="true"
node-key="id"
3 years ago
:default-expanded-keys="openNodes"
4 years ago
:expand-on-click-node="false"
:filter-node-method="filterNode"
@node-click="handleNodeClick">
<span slot-scope="{ node, data }"
class="custom-tree-node">
<img v-if="data.showIcon"
src="@/assets/images/index/abnormal.png"
3 years ago
style="height:14px;width:14px;margin-right:5px;margin-top:-3px">
<!-- <span v-if="data.level==='building'&&!data.showIcon"
style="padding-left:20px;">{{ ' ' }}</span> -->
<span v-if="data.showIcon"
:id="data.id">{{ data.label+'(' }}
<span style="color:red">{{ data.showNum }}</span>
<span>{{')' }}</span>
</span>
<span v-else
:id="data.id">{{ data.showName }}</span>
</span>
4 years ago
</el-tree>
</el-scrollbar>
</div>
<div :style="{height:rowHeight}"
class=div_left>
<div class="m-search hflex">
3 years ago
3 years ago
<el-form :inline="true"
class="communityHeight"
3 years ago
ref="ref_searchform"
:label-width="'100px'">
3 years ago
<el-form-item label="房主姓名"
prop="ownerName">
<el-input v-model="ownerName"
class="u-item-width-normal"
3 years ago
size="small"
clearable
placeholder="请输入内容">
</el-input>
</el-form-item>
<el-form-item label="联系方式"
prop="ownerPhone">
<el-input v-model="ownerPhone"
class="u-item-width-normal"
3 years ago
size="small"
clearable
placeholder="请输入手机">
</el-input>
</el-form-item>
<el-form-item label="房屋状态"
prop="rentFlag">
<el-select class="u-item-width-normal"
3 years ago
v-model="rentFlag"
placeholder="请选择"
size="small"
clearable>
<el-option v-for="item in rentList"
:key="item.value"
:label="item.label"
:value="item.value">
</el-option>
</el-select>
</el-form-item>
<el-form-item label="房屋用途"
prop="purpose">
<el-select v-model="purpose"
class="u-item-width-normal"
3 years ago
placeholder="请选择"
size="small"
clearable>
<el-option v-for="item in purposeArr"
:key="item.dictValue"
:label="item.dictName"
:value="item.dictValue">
</el-option>
</el-select>
</el-form-item>
<el-form-item label="更新时间"
prop="updateStartDate">
<el-date-picker v-model="updateStartDate"
:picker-options="startPickerOptions"
class="u-item-width-daterange"
3 years ago
size="small"
type="date"
value-format="yyyyMMdd"
value="yyyy-MM-dd"
placeholder="开始时间">
</el-date-picker>
<span class="u-data-tag"></span>
3 years ago
<el-date-picker v-model="updateEndDate"
:picker-options="endPickerOptions"
class="u-item-width-daterange u-data-tag"
3 years ago
size="small"
type="date"
value-format="yyyyMMdd"
value="yyyy-MM-dd"
placeholder="结束时间">
</el-date-picker>
</el-form-item>
<el-form-item label="备注"
prop="remark">
<el-input v-model="remark"
class="u-item-width-normal"
3 years ago
size="small"
clearable
placeholder="请输入备注">
</el-input>
</el-form-item>
<el-form-item label="所属房屋"
prop="neighborHoodId">
<el-select v-model.trim="neighborHoodId"
:disabled="vDisabled"
placeholder="小区"
size="small"
clearable
class="u-item-width-communitycascader"
3 years ago
@change="handleChangeV">
<el-option v-for="item in optionsV"
:key="item.value"
:label="item.label"
:value="item.value">
</el-option>
</el-select>
<el-select v-model.trim="buildingId"
placeholder="楼号"
:disabled="!neighborHoodId || bDisabled"
size="small"
clearable
class="u-item-width-buildcascader"
3 years ago
style="margin-left:5px"
@change="handleChangeB">
<el-option v-for="item in optionsB"
:key="item.value"
:label="item.label"
:value="item.value">
</el-option>
</el-select>
<el-select v-model.trim="buildingUnitId"
placeholder="单元"
size="small"
:disabled="!buildingId"
clearable
class="u-item-width-buildcascader"
3 years ago
style="margin-left:5px"
@change="handleChangeD">
<el-option v-for="item in optionsD"
:key="item.value"
:label="item.label"
:value="item.value">
</el-option>
</el-select>
<el-select v-model.trim="houseId"
placeholder="房号"
:disabled="!buildingUnitId"
size="small"
clearable
class="u-item-width-buildcascader"
3 years ago
style="margin-left:5px">
<el-option v-for="item in optionsH"
:key="item.value"
:label="item.label"
:value="item.value">
</el-option>
</el-select>
</el-form-item>
<!-- </div> -->
<div class="u-search-btn">
3 years ago
<el-button size="small"
class="diy-button--white"
@click="resetSearch">重置</el-button>
<el-button style="margin-left:10px"
3 years ago
size="small"
3 years ago
class="diy-button--blue"
@click="handleSearch">查询</el-button>
<!-- <el-button style="margin-left:15px"
size="small"
class="div-table-button--blue communityUnfold"
type="text"
@click="boxHeight = !boxHeight">{{ boxHeight ? '收起' : '展开' }}<i :class="boxHeight ? 'el-icon-arrow-up' : 'el-icon-arrow-down'"></i></el-button> -->
3 years ago
</div>
</el-form>
<!-- <el-row class="flex endpoint">
<el-col :span="24">
<span></span>
<div class="u-search-btn">
<el-button size="small"
class="diy-button--white"
@click="resetSearch">重置</el-button>
<el-button style="margin-left:10px"
size="small"
class="diy-button--blue"
@click="handleSearch">查询</el-button>
<el-button style="margin-left:15px"
size="small"
class="div-table-button--blue communityUnfold"
type="text"
@click="boxHeight = !boxHeight">{{ boxHeight ? '收起' : '展开' }}<i :class="boxHeight ? 'el-icon-arrow-up' : 'el-icon-arrow-down'"></i></el-button>
</div>
</el-col>
</el-row> -->
</div>
3 years ago
3 years ago
<div class="">
<build-table v-if="selTreeObj.level==='neighborHood'&&!showRoomTable"
ref="ref_neighTable"
:staffAgencyId="staffAgencyId"
:showImportBtn="showImportBtn"
:ownerName="ownerName"
:ownerPhone="ownerPhone"
:rentFlag="rentFlag"
:purpose="purpose"
:remark="remark"
:updateStartDate="updateStartDate"
:updateEndDate="updateEndDate"
@toNextLevel="toNextLevel"
@refreshTree="refreshTree"></build-table>
<room-table v-if="showRoomTable||selTreeObj.level==='building'"
:staffAgencyId="staffAgencyId"
:showImportBtn="showImportBtn"
:ownerName="ownerName"
:ownerPhone="ownerPhone"
:rentFlag="rentFlag"
:purpose="purpose"
3 years ago
:neighborHoodId="neighborHoodId"
:buildingId="buildingId"
:buildingUnitId="buildingUnitId"
:houseId="houseId"
:remark="remark"
:updateStartDate="updateStartDate"
:updateEndDate="updateEndDate"
ref="ref_buildingTable"
@refreshTree="refreshTree"></room-table>
<community-table v-if="selTreeObj.level!=='building'&&selTreeObj.level!=='neighborHood'&&!showRoomTable"
@toNextLevel="toNextLevel"
:staffAgencyId="staffAgencyId"
:ownerName="ownerName"
:ownerPhone="ownerPhone"
:rentFlag="rentFlag"
:purpose="purpose"
:remark="remark"
:updateStartDate="updateStartDate"
:updateEndDate="updateEndDate"
ref="ref_communityTable"
@refreshTree="refreshTree"></community-table>
</div>
</div>
3 years ago
</div>
</template>
3 years ago
<script>
import CDialog from '@c/CDialog'
import communityTable from './communityTable'
import buildTable from './buildTable'
import roomTable from './roomTable'
import { requestPost } from "@/js/dai/request";
import { mapGetters } from 'vuex'
import { Loading } from 'element-ui' // 引入Loading服务
3 years ago
import nextTick from 'dai-js/tools/nextTick'
let loading // 加载动画
export default {
data () {
let endDisabledDate = (time) => {//这个关键属性我们一定要写在data的里面并且return的外面,这是动态改变区间的关键
let nowData = Date.now()
if (this.updateStartDate) {
let startTime = new Date(this.updateStartDate)
return time.getTime() > nowData || time.getTime() < startTime || time.getTime() === startTime
} else {
return time.getTime() > nowData
}
3 years ago
}
let startDisabledDate = (time) => {//这个关键属性我们一定要写在data的里面并且return的外面,这是动态改变区间的关键
let nowData = Date.now()
return time.getTime() > nowData
}
return {
3 years ago
boxHeight: true,
filterText: '',
treeLoading: true,
treeData: [],
openNodes: [],
defaultProps: {
children: 'children',
label: 'showName'
},
selTreeObj: {},
centerPoint: [],
staffAgencyId: localStorage.getItem("agencyId"),
showImportBtn: false,
rentList: [
{
value: '1',
label: '出租'
},
{
value: '2',
label: '闲置'
},
{
value: '0',
label: '自住'
},
{
value: '3',
label: '未出售'
},
],
ownerName: '',
ownerPhone: '',
rentFlag: '',
purpose: '',
remark: '',
updateStartDate: '',
updateEndDate: '',
showRoomTable: false,
selObj: {},
purposeArr: [
{ dictValue: '1', dictName: '住宅' },
{ dictValue: '2', dictName: '商业' },
{ dictValue: '3', dictName: '办公' },
{ dictValue: '4', dictName: '工业' },
{ dictValue: '5', dictName: '仓储' },
{ dictValue: '6', dictName: '商住混用' },
{ dictValue: '7', dictName: '其他' }
],
endPickerOptions: {
disabledDate: endDisabledDate
},
startPickerOptions: {
disabledDate: startDisabledDate
},
3 years ago
optionsV: [],
optionsB: [],
optionsH: [],
optionsD: [],
neighborHoodId: "",
buildingId: "",
buildingUnitId: "",
houseId: "",
selGridId: '',
3 years ago
selAgencyId: '',
vDisabled: false,
bDisabled: false,
}
},
components: {
CDialog
},
async mounted () {
this.treeLoading = true
await this.loadOrgData()
await this.loadTree()
3 years ago
// await this.loadOpenNode()
3 years ago
this.getValiheList('', '')
await this.$refs['ref_communityTable'].loadTable(true, this.selTreeObj)
if (this.treeData.length > 0) {
this.$nextTick(() => {
// ref_tree 元素的ref value 绑定的node-key
this.$refs.ref_tree.setCurrentKey(this.treeData[0].id);
});
}
this.treeLoading = false
3 years ago
},
computed: {
rowHeight () {
3 years ago
return this.$store.state.inIframe ? this.clientHeight - 140 + this.iframeHeight + 'px' : this.clientHeight - 140 + 'px'
},
treeHeight () {
3 years ago
return this.$store.state.inIframe ? this.clientHeight - 245 + this.iframeHeight + 'px' : this.clientHeight - 245 + 'px'
},
...mapGetters(['clientHeight', 'iframeHeight'])
},
methods: {
3 years ago
handleChangeV (val) {
this.buildingId = "";
this.buildingUnitId = "";
this.houseId = "";
this.getBuildList();
3 years ago
// this.getUniList();
// this.getHouseList();
3 years ago
},
handleChangeB (val) {
this.buildingUnitId = "";
this.houseId = "";
this.getUniList();
3 years ago
// this.getHouseList();
3 years ago
},
handleChangeD () {
this.houseId = "";
this.getHouseList();
},
3 years ago
async getValiheList () {
3 years ago
const { user } = this.$store.state;
if (!this.selGridId) {
this.selAgencyId = this.selAgencyId ? this.selAgencyId : user.agencyId
}
const url = "/actual/base/communityQuarters/listQuartersOptions";
3 years ago
// const url = "http://yapi.elinkservice.cn/mock/245/epmetuser/epidemicPrevention/page"
let params = {
gridId: this.selGridId,
agencyId: this.selAgencyId,
isPage: false
};
const { data, code, msg } = await requestPost(url, params);
if (code === 0) {
this.optionsV = data;
this.neighborHoodId = ""
this.buildingId = "";
this.buildingUnitId = "";
this.houseId = "";
} else {
this.$message.error(msg);
}
3 years ago
},
3 years ago
async getBuildList () {
const url = "/actual/base/communityBuilding/buildingoption";
3 years ago
let params = {
quartersId: this.neighborHoodId,
3 years ago
};
const { data, code, msg } = await requestPost(url, params);
if (code === 0) {
this.optionsB = data;
this.buildingId = "";
this.buildingUnitId = "";
this.houseId = "";
} else {
this.$message.error(msg);
}
3 years ago
},
3 years ago
async getUniList () {
const url = "/actual/base/communityBuildingUnit/unitoption";
3 years ago
// const url = "http://yapi.elinkservice.cn/mock/245/epmetuser/epidemicPrevention/page"
let params = {
buildingId: this.buildingId,
};
const { data, code, msg } = await requestPost(url, params);
if (code === 0) {
this.optionsD = data;
this.buildingUnitId = "";
this.houseId = "";
} else {
this.$message.error(msg);
}
3 years ago
},
getHouseList () {
let params = {
buildingId: this.buildingId,
unitId: this.buildingUnitId
}
3 years ago
this.$http
.post("/actual/base/communityHouse/houseoption", params)
3 years ago
.then(({ data: res }) => {
if (res.code !== 0) {
return this.$message.error(res.msg);
} else {
this.optionsH = res.data;
this.houseId = "";
}
})
.catch(() => {
return this.$message.error("网络错误");
});
},
handleSearch () {
// if (this.ownerName || this.ownerPhone || this.rentFlag || this.purpose || this.remark) {
this.showRoomTable = true
this.$nextTick(() => {
this.$refs['ref_buildingTable'].loadTable('search', this.selTreeObj)
})
// } else {
// this.$message.warning('请输入查询条件')
// }
4 years ago
4 years ago
},
4 years ago
//重置搜索条件
resetSearch () {
this.ownerName = ''
this.ownerPhone = ''
this.rentFlag = ''
this.purpose = ''
this.remark = ''
this.updateStartDate = ''
this.updateEndDate = ''
3 years ago
this.neighborHoodId = ''
this.buildingId = ''
this.buildingUnitId = ''
this.houseId = ''
this.pageSize = 10
this.pageNo = 1
// this.handleNodeClick(this.selObj)
// this.loadTable()
},
3 years ago
async loadOpenNode () {
const url = "/gov/org/building/tree-ids"
let params = {}
3 years ago
const { data, code, msg } = await requestPost(url, params)
3 years ago
if (code === 0) {
this.openNodes = data
3 years ago
} else {
this.$message.error(msg)
}
},
async loadTree (isRefresh) {
const url = "/actual/base/communityBuilding/listBuildingTree"
let params = {}
3 years ago
const { data, code, msg } = await requestPost(url, params)
3 years ago
if (code === 0) {
3 years ago
this.openNodes = []
this.openNodes.push(data[0].id)
4 years ago
this.treeData = data
this.handleTreeData(this.treeData)
if (!isRefresh && data.length > 0) {
4 years ago
this.selTreeObj = data[0]
if (!this.selTreeObj.latitude) {
this.selTreeObj.latitude = this.centerPoint[0]
}
4 years ago
if (!this.selTreeObj.longitude) {
this.selTreeObj.longitude = this.centerPoint[1]
}
}
4 years ago
} else {
this.$message.error(msg)
}
},
4 years ago
handleTreeData (treeData) {
for (let i in treeData) {
treeData[i].showIcon = false
if (treeData[i].level === 'building') {
let array = treeData[i].showNum.split('/')
if (array.length === 2) {
let a = parseInt(array[0])
let b = parseInt(array[1])
treeData[i].showIcon = a < b
}
}
if (treeData[i].children) { //存在子节点就递归
this.handleTreeData(treeData[i].children);
}
}
},
//加载组织数据
async loadOrgData () {
const url = "/gov/org/agency/maporg"
// const url = "http://yapi.elinkservice.cn/mock/245/gov/org/agency/maporg"
let params = {}
4 years ago
const { data, code, msg } = await requestPost(url, params)
4 years ago
if (code === 0) {
this.centerPoint = []
4 years ago
this.centerPoint.push(data.latitude)
this.centerPoint.push(data.longitude)
} else {
this.$message.error(msg)
}
},
3 years ago
async handleNodeClick (obj) {
this.ownerName = ''
this.ownerPhone = ''
this.rentFlag = ''
this.purpose = ''
this.remark = ''
this.updateStartDate = ''
this.updateEndDate = ''
this.showRoomTable = false
this.selObj = JSON.parse(JSON.stringify(obj))
this.getTreeObj(obj)
3 years ago
await nextTick(1000)
3 years ago
this.vDisabled = false
this.bDisabled = false
3 years ago
if (obj.level === 'building') {//点击楼栋
this.$refs['ref_buildingTable'].loadTable('tree', this.selTreeObj)
this.selAgencyId = ''
this.selGridId = ''
await this.getValiheList()
this.neighborHoodId = this.selTreeObj.pid
await this.getBuildList()
this.buildingId = this.selTreeObj.id
await this.getUniList()
3 years ago
this.vDisabled = true
this.bDisabled = true
3 years ago
} else if (obj.level === 'neighborHood') {//点击小区
this.$refs['ref_neighTable'].loadTable(true, this.selTreeObj)
this.selAgencyId = ''
this.selGridId = ''
await this.getValiheList()
this.neighborHoodId = this.selTreeObj.id
await this.getBuildList()
3 years ago
this.vDisabled = true
3 years ago
} else {
this.$refs['ref_communityTable'].loadTable(true, this.selTreeObj)
3 years ago
if (obj.level === 'grid') {
this.selAgencyId = ''
this.selGridId = this.selTreeObj.id
} else {
3 years ago
this.selAgencyId = this.selTreeObj.id
this.selGridId = ''
}
3 years ago
this.getValiheList('', '')
}
},
//添加小区结束
async refreshTree () {
this.treeLoading = true
await this.loadTree(this.selTreeObj.id)
this.$nextTick(() => {
// ref_tree 元素的ref value 绑定的node-key
this.$refs.ref_tree.setCurrentKey(this.selTreeObj.id);
});
this.treeLoading = false
},
//进入下一级
toNextLevel (row, level) {
if (level === 'community') {
this.selTreeObj = this.$refs.ref_tree.getNode(row.neighborHoodId).data
this.openNodes.push(this.selTreeObj.id)
} else {
this.selTreeObj = this.$refs.ref_tree.getNode(row.buildingId).data
}
this.handleNodeClick(this.selTreeObj)
this.$nextTick(() => {
// ref_tree 元素的ref value 绑定的node-key
this.$refs.ref_tree.setCurrentKey(this.selTreeObj.id);
});
const node = document.getElementById(this.selTreeObj.id) // 通过Id获取到对应的dom元素
setTimeout(() => {
if (node) {
this.$nextTick(() => {
node.scrollIntoView({ block: 'center' }) // 通过scrollIntoView方法将对应的dom元素定位到可见区域 【block: 'center'】这个属性是在垂直方向居中显示
})
}
}, 100)
},
//解析树数据
getTreeObj (obj) {
// 树接口:
// 组织:组织id、组织名称、type、经度、纬度
// 小区:小区id、小区名称、type、所属网格id、所属网格名称、所属组织id、所属组织名称、经度、纬度
// 楼:楼id、楼名称、type、所属小区id、所属小区名称
if (obj.level === 'building') {//点击楼栋
let neighborHoodNode = this.$refs.ref_tree.getNode(obj.pid)//所属小区
let gridNode = this.$refs.ref_tree.getNode(neighborHoodNode.data.pid)//所属网格
let agencyNode = this.$refs.ref_tree.getNode(gridNode.data.pid)//所属社区
obj.agencyId = agencyNode.data.id
obj.agencyName = agencyNode.data.label
obj.gridId = gridNode.data.id
obj.gridName = gridNode.data.label
obj.neighborHoodId = neighborHoodNode.data.id
obj.neighborHoodName = neighborHoodNode.data.label
if (obj.agencyId === this.staffAgencyId) {
this.showImportBtn = true
} else {
this.showImportBtn = false
}
} else if (obj.level === 'neighborHood') {//点击小区
let gridNode = this.$refs.ref_tree.getNode(obj.pid)
let agencyNode = this.$refs.ref_tree.getNode(gridNode.data.pid)
obj.gridId = gridNode.data.id
obj.gridName = gridNode.data.label
obj.agencyId = agencyNode.data.id
obj.agencyName = agencyNode.data.label
if (obj.agencyId === this.staffAgencyId) {
this.showImportBtn = true
} else {
this.showImportBtn = false
}
} else {
}
if (!obj.latitude) {
obj.latitude = this.centerPoint[0]
}
if (!obj.longitude) {
obj.longitude = this.centerPoint[1]
}
this.selTreeObj = obj
3 years ago
console.log('selTreeObj', this.selTreeObj)
},
filterNode (value, data) {
if (!value) return true;
return data.label.indexOf(value) !== -1;
},
// 开启加载动画
startLoading () {
loading = Loading.service({
lock: true, // 是否锁定
text: '正在加载……', // 加载中需要显示的文字
background: 'rgba(0,0,0,.7)' // 背景颜色
})
},
// 结束加载动画
endLoading () {
// clearTimeout(timer);
if (loading) {
loading.close()
}
}
},
watch: {
filterText (val) {
this.$refs.ref_tree.filter(val);
}
},
components: {
communityTable, buildTable, roomTable
4 years ago
}
}
</script>
<style lang="scss" scoped >
@import "@/assets/scss/modules/visual/communityManage.scss";
@import "@/assets/scss/modules/management/list-main.scss";
4 years ago
</style>
3 years ago
<style lang="scss" scoped >
.m-search ::v-deep .el-row {
margin-right: 0;
}
.g-main {
display: flex;
}
.scrollar {
3 years ago
margin-top: 30px;
3 years ago
/deep/
.el-tree--highlight-current
.el-tree-node.is-current
> .el-tree-node__content {
3 years ago
background: #e6f0ff;
border-radius: 2px;
3 years ago
}
/deep/ .el-tree-node:focus > .el-tree-node__content {
3 years ago
color: #0056d6;
// background-color: #e6f0ff;
3 years ago
}
3 years ago
// /deep/ .el-tree-node__expand-icon {
// color: #0043c8;
// border: 1px solid #e1ecff;
// background-color: #e1ecff;
// padding: 0px;
// margin-right: 8px;
// font-size: 9px;
// }
3 years ago
/deep/.el-tree {
flex: 1;
.el-tree-node {
margin-left: 2px;
}
//原有的箭头 去掉
3 years ago
// .el-icon svg {
// display: none;
// height: 0;
// width: 0;
// }
3 years ago
//引入图标的位置
3 years ago
// .el-tree-node__expand-icon {
// // position: absolute;
// // left: 2px;
// // 图标是否旋转,如果是箭头类型的,可以设置旋转90度。
// .expanded {
// transform: rotate(90deg);
// }
// // 未展开的节点
// &:before {
// // content: "\008B";
// // content: "\008B";
// font-size: 12px;
// color: #0043c8;
// }
// }
3 years ago
// 叶子节点(不显示图标)
.is-leaf.el-tree-node__expand-icon::before {
// display: none;
// background: none !important;
// border: 0px;
// content: "";
// width: 18px;
// height: 18px;
}
}
}
.div_tree {
3 years ago
margin: 7px 8px 7px 7px;
width: 30%;
max-width: 304px;
min-width: 240px;
3 years ago
/deep/ .el-scrollbar__wrap {
overflow-x: hidden !important;
}
3 years ago
//搜索输入框样式
3 years ago
/deep/ .el-input--medium .el-input__inner {
3 years ago
height: 32px;
3 years ago
background: rgba(0, 0, 0, 0.05);
border-radius: 4px;
3 years ago
}
flex: 0 0 280px;
3 years ago
background: #ffffff;
box-shadow: 0px 6px 16px 0px rgba(0, 0, 0, 0.08),
0px 3px 6px -4px rgba(0, 0, 0, 0.12);
3 years ago
// border-radius: 5px;
padding: 19px 15px;
overflow-y: hidden;
}
3 years ago
.filter_tree {
overflow-x: auto;
3 years ago
// background-color: #f6f6f6;
3 years ago
margin-top: 5px;
}
.div_left {
// flex: 1;
3 years ago
width: calc(100% - 300px);
}
3 years ago
</style>