mirror of
https://gitee.com/lab1024/smart-admin.git
synced 2025-11-18 00:23:50 +08:00
更改搜索页面样式功能的调整
This commit is contained in:
@@ -34,7 +34,7 @@
|
||||
v-for="(item, index) in searchdata"
|
||||
:key="index"
|
||||
@click="selectsearch(item, index)"
|
||||
:class="activeIndexa == index ? 'active' : 'unactive'"
|
||||
:class="activeIndexa == index"
|
||||
>
|
||||
{{ item.title }}
|
||||
</li>
|
||||
@@ -595,9 +595,13 @@ export default {
|
||||
if (element.name == "品种") {
|
||||
pinzhong.push(element);
|
||||
this.catageb = pinzhong;
|
||||
this.catageb=this.catageb.sort((n1,n2)=>{
|
||||
return n1.sort-n2.sort;
|
||||
})
|
||||
this.catageb.forEach((element) => {
|
||||
element.checked = false;
|
||||
});
|
||||
// console.log(this.catageb);
|
||||
}
|
||||
if (element.name == "功能") {
|
||||
gonneg.push(element);
|
||||
@@ -605,6 +609,7 @@ export default {
|
||||
this.catagea.forEach((element) => {
|
||||
element.checked = false;
|
||||
});
|
||||
console.log(this.catagea);
|
||||
}
|
||||
if (element.name == "年龄") {
|
||||
age.push(element);
|
||||
|
||||
Reference in New Issue
Block a user