Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Hooke
/
hager
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
hookehuyr
2024-12-04 16:02:55 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
7128dcc03fc6a27acaee45f02e6f62e68579706d
7128dcc0
1 parent
12418527
fix 搜索页 成功案例查询联调
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
4 deletions
src/views/search.vue
src/views/search.vue
View file @
7128dcc
<!--
* @Date: 2024-10-20 16:57:48
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2024-1
1-01 13:51:06
* @LastEditTime: 2024-1
2-04 16:00:08
* @FilePath: /hager/src/views/search.vue
* @Description: 文件描述
-->
...
...
@@ -43,10 +43,10 @@
<div slot="label" class="customer-label">成功案例 <span>{{ count_case }}</span></div>
<div style="margin-top: 1rem;" v-for="(item, index) in case_list" :key="index">
<div :class="['search-news-wrapper', is_xs ? 'xs' : '']">
<div class="search-news-title" v-html="highlightKeyword(keyword, item.title)"></div>
<div class="search-news-content" v-html="highlightKeyword(keyword, item.
content
)"></div>
<div class="search-news-title" v-html="highlightKeyword(keyword, item.
post_
title)"></div>
<div class="search-news-content" v-html="highlightKeyword(keyword, item.
post_description
)"></div>
<div class="search-news-more">
<div class="search-news-more-btn" @click="goTo(item.id)">MORE</div>
<div class="search-news-more-btn" @click="goTo
Success
(item.id)">MORE</div>
</div>
</div>
</div>
...
...
@@ -269,6 +269,14 @@ export default {
id: v.id
}
});
},
goToSuccess (v) { // 跳转成功案例
this.$router.push({
path: '/solution/case',
query: {
id: v
}
});
}
}
}
...
...
Please
register
or
login
to post a comment