租期参数修改
This commit is contained in:
@@ -186,7 +186,8 @@
|
|||||||
<div class="tab-title">其他</div>
|
<div class="tab-title">其他</div>
|
||||||
<div class="select-btn-box" style="margin-left:-11px;">
|
<div class="select-btn-box" style="margin-left:-11px;">
|
||||||
<div class="dis-f">
|
<div class="dis-f">
|
||||||
<div class="dropdown-btn min-btn jus-x al-item dis-f" style="border:1px solid #fff;" v-for="(item, i) in otherData" :key="i">
|
<div class="dropdown-btn min-btn jus-x al-item dis-f" style="border:1px solid #fff;"
|
||||||
|
v-for="(item, i) in otherData" :key="i">
|
||||||
<el-checkbox-group v-model="otherCheck.list" @change="setOtherCheck">
|
<el-checkbox-group v-model="otherCheck.list" @change="setOtherCheck">
|
||||||
<el-checkbox :label="item.id">{{ item.title }}</el-checkbox>
|
<el-checkbox :label="item.id">{{ item.title }}</el-checkbox>
|
||||||
</el-checkbox-group>
|
</el-checkbox-group>
|
||||||
@@ -211,7 +212,7 @@
|
|||||||
<div class="dis-f" style="flex-wrap: wrap;width:800px;">
|
<div class="dis-f" style="flex-wrap: wrap;width:800px;">
|
||||||
<div v-for="(item, i) in selectData.data" :key="i" class="btm-btn">
|
<div v-for="(item, i) in selectData.data" :key="i" class="btm-btn">
|
||||||
{{ item.title }}
|
{{ item.title }}
|
||||||
<img src="../../assets/homeImage/closeIcon.svg" @click="deleteSelect(i,item.id)" class="img" alt="">
|
<img src="../../assets/homeImage/closeIcon.svg" @click="deleteSelect(i, item.id)" class="img" alt="">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -344,7 +345,7 @@ let schoolPages = ref(0) //页数
|
|||||||
let shcoolData = shallowReactive([])
|
let shcoolData = shallowReactive([])
|
||||||
let setSchoolData = () => {
|
let setSchoolData = () => {
|
||||||
let arr = store.state.seachTypeData[0] ? store.state.seachTypeData[0].where : []
|
let arr = store.state.seachTypeData[0] ? store.state.seachTypeData[0].where : []
|
||||||
arr.unshift({name:'不限',id:''})
|
arr.unshift({ name: '不限', id: '' })
|
||||||
let num = 0
|
let num = 0
|
||||||
for (let i = 0; i < arr.length; i++) {
|
for (let i = 0; i < arr.length; i++) {
|
||||||
if (!shcoolData[num]) {
|
if (!shcoolData[num]) {
|
||||||
@@ -439,7 +440,7 @@ let selectSeach = (data = []) => {
|
|||||||
showSelect.value = false
|
showSelect.value = false
|
||||||
if (data.length === 0 && selectTabCheck.id) {
|
if (data.length === 0 && selectTabCheck.id) {
|
||||||
data.push(selectTabCheck.id)
|
data.push(selectTabCheck.id)
|
||||||
selectData.data=[{title:'不限',id:''}]
|
selectData.data = [{ title: '不限', id: '' }]
|
||||||
}
|
}
|
||||||
schoolSelectObj.id = ''
|
schoolSelectObj.id = ''
|
||||||
schoolSelectObj.title = ''
|
schoolSelectObj.title = ''
|
||||||
@@ -450,21 +451,21 @@ let selectSeach = (data = []) => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
//底部删除按钮
|
//底部删除按钮
|
||||||
let deleteSelect = (i,id) => {
|
let deleteSelect = (i, id) => {
|
||||||
|
|
||||||
let data = []
|
let data = []
|
||||||
selectData.data.splice(i, 1)
|
selectData.data.splice(i, 1)
|
||||||
if(!id){
|
if (!id) {
|
||||||
setSelectData('',[],'不限')
|
setSelectData('', [], '不限')
|
||||||
}
|
}
|
||||||
selectData.data.map(res => {
|
selectData.data.map(res => {
|
||||||
data.push(res.id)
|
data.push(res.id)
|
||||||
})
|
})
|
||||||
checkBoxGroupInfo.value.setCheckData(data)
|
checkBoxGroupInfo.value.setCheckData(data)
|
||||||
if (data.length === 0&&id) {
|
if (data.length === 0 && id) {
|
||||||
setSeachCondition('location', [selectTabCheck.id + ''])
|
setSeachCondition('location', [selectTabCheck.id + ''])
|
||||||
selectData.data=[{title:'不限',id:''}]
|
selectData.data = [{ title: '不限', id: '' }]
|
||||||
} else if(id){
|
} else if (id) {
|
||||||
setSeachCondition('location', data)
|
setSeachCondition('location', data)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -534,7 +535,7 @@ let hireDate = reactive({ id: 0, title: '' })
|
|||||||
//设置租期
|
//设置租期
|
||||||
let setHireDate = (item) => {
|
let setHireDate = (item) => {
|
||||||
hireDate.id = item.id
|
hireDate.id = item.id
|
||||||
setSeachCondition('rentalduration', item.id)
|
setSeachCondition('leaseterm', item.id)
|
||||||
}
|
}
|
||||||
|
|
||||||
//性别
|
//性别
|
||||||
@@ -765,6 +766,14 @@ img {
|
|||||||
padding: 10px;
|
padding: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.transverse-line {
|
||||||
|
height: 2px;
|
||||||
|
width: 743px;
|
||||||
|
background-image: linear-gradient(to right, #d7d7d7 0%, #d7d7d7 50%, transparent 0%);
|
||||||
|
background-size: 4px 2px;
|
||||||
|
background-repeat: repeat-x;
|
||||||
|
}
|
||||||
|
|
||||||
.bor-b-das {
|
.bor-b-das {
|
||||||
border-bottom: 1px dashed #ebebeb;
|
border-bottom: 1px dashed #ebebeb;
|
||||||
}
|
}
|
||||||
@@ -1201,6 +1210,10 @@ img {
|
|||||||
color: #555555;
|
color: #555555;
|
||||||
font-size: 15px;
|
font-size: 15px;
|
||||||
|
|
||||||
|
.bold-text{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
.btm-btn {
|
.btm-btn {
|
||||||
font-family: 'PingFangSC-Regular', 'PingFang SC', sans-serif;
|
font-family: 'PingFangSC-Regular', 'PingFang SC', sans-serif;
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
|
|||||||
Reference in New Issue
Block a user