修改了帮助中心和客服中心的搜索样式
This commit is contained in:
parent
b86f3ac7ee
commit
0feb96fd10
@ -173,6 +173,7 @@ export default {
|
||||
number: 0,
|
||||
items: [],
|
||||
content: [],
|
||||
contentOne: '',
|
||||
// 默认展开的菜单项索引数组
|
||||
defaultOpeneds: [],
|
||||
// 用于追踪每个子菜单的展开状态
|
||||
@ -205,7 +206,7 @@ export default {
|
||||
if(detail === 1 ) {
|
||||
var url = 'https://www.aimzhu.com/operator/app/help-detail/listrelease?helpTypeId=' + contendId
|
||||
axios.get(url).then(response => {
|
||||
console.log(response.data)
|
||||
// console.log(response.data)
|
||||
var content = response.data[0].richContent
|
||||
// console.log(content)
|
||||
contentBox.innerHTML = content
|
||||
@ -232,7 +233,7 @@ export default {
|
||||
this.result0 = true
|
||||
this.result1 = false
|
||||
}
|
||||
console.log(this.searchQuery);
|
||||
// console.log(this.searchQuery);
|
||||
|
||||
})
|
||||
.catch(function (error) {
|
||||
@ -252,12 +253,12 @@ export default {
|
||||
// return this.pagedData.slice(start, end);
|
||||
// },
|
||||
|
||||
updatePagination() {
|
||||
this.pagedItems = this.pagedData.slice(
|
||||
(this.currentPage - 1) * this.pageSize,
|
||||
this.currentPage * this.pageSize
|
||||
);
|
||||
},
|
||||
// updatePagination() {
|
||||
// this.pagedItems = this.pagedData.slice(
|
||||
// (this.currentPage - 1) * this.pageSize,
|
||||
// this.currentPage * this.pageSize
|
||||
// );
|
||||
// },
|
||||
|
||||
handlePageChange(page) {
|
||||
this.currentPage = page;
|
||||
@ -325,6 +326,7 @@ export default {
|
||||
let url0 = 'https://www.aimzhu.com/operator/app/help-detail/listrelease?helpTypeId=' + contendId0
|
||||
axios.get(url0).then(response => {
|
||||
// console.log(response.data[0].richContent);
|
||||
this.contentOne = response.data[0].richContent
|
||||
var content0 = response.data[0].richContent
|
||||
let contentBox0 = document.querySelector('.contentBox')
|
||||
contentBox0.innerHTML = content0
|
||||
@ -451,6 +453,10 @@ export default {
|
||||
letter-spacing: 2px;
|
||||
color: #FFF;
|
||||
}
|
||||
.help-center .box-bottom .box .boxTitle span #search:hover {
|
||||
cursor: pointer;
|
||||
opacity: 0.9;
|
||||
}
|
||||
#contentArea {
|
||||
line-height: 2.1;
|
||||
}
|
||||
|
@ -239,6 +239,10 @@ export default {
|
||||
color: #FFF;
|
||||
border: none;
|
||||
}
|
||||
.ke-fu .box-bottom .box .left-box .kefu-sub .kefu-search #search:hover {
|
||||
cursor: pointer;
|
||||
opacity: 0.8;
|
||||
}
|
||||
.ke-fu .box-bottom .box .left-box ul {
|
||||
display: flex;
|
||||
height: 140px;
|
||||
|
Loading…
Reference in New Issue
Block a user