|
@@ -3,7 +3,7 @@
|
|
|
<div class="SearchLearn" v-else>
|
|
|
<div
|
|
|
class="row"
|
|
|
- v-for="(item) in data"
|
|
|
+ v-for="item in data"
|
|
|
:key="item.id"
|
|
|
@click="skip(item.path)"
|
|
|
>
|
|
@@ -50,7 +50,10 @@ export default {
|
|
|
} else {
|
|
|
let temp = [];
|
|
|
temp = LearnEngage.filter((v) => {
|
|
|
- return v.h3.includes(txt) || v.p.includes(txt);
|
|
|
+ return (
|
|
|
+ v.h3.toLowerCase().includes(txt.toLowerCase()) ||
|
|
|
+ v.p.toLowerCase().includes(txt.toLowerCase())
|
|
|
+ );
|
|
|
});
|
|
|
//
|
|
|
temp = temp.map((v) => {
|
|
@@ -116,7 +119,7 @@ export default {
|
|
|
& > p {
|
|
|
line-height: 16px;
|
|
|
font-size: 14px;
|
|
|
- color: #6A6A6A;
|
|
|
+ color: #6a6a6a;
|
|
|
display: -webkit-box;
|
|
|
overflow: hidden;
|
|
|
white-space: normal !important;
|