fix(样式): 修复移动端布局问题并优化样式
修复移动端搜索页面的布局问题,优化响应式设计 调整头部导航栏的z-index防止遮挡 统一处理签到组件的显示逻辑 修复搜索推荐框宽度问题 优化媒体查询断点设置
This commit is contained in:
@@ -289,9 +289,11 @@ class SignInBox extends HTMLElement {
|
||||
signBtn.textContent = "今天已签到,明天记得来哦~";
|
||||
signBtn.classList.add("already");
|
||||
|
||||
const sign = document.querySelector(".sign-in");
|
||||
sign.classList.add("sign-in-already");
|
||||
sign.classList.remove("sign-in-no");
|
||||
const sign = document.querySelectorAll(".sign-in");
|
||||
sign.forEach((element) => {
|
||||
element.classList.add("sign-in-already");
|
||||
element.classList.remove("sign-in-no");
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
@@ -1301,6 +1301,27 @@
|
||||
min-width: inherit !important;
|
||||
}
|
||||
}
|
||||
@media screen and (max-width: 850px) {
|
||||
#details .matter .matter-left .action-bar .action-bar-item:not(:last-child) {
|
||||
margin-right: 40px;
|
||||
}
|
||||
.head-top .input-box {
|
||||
width: inherit;
|
||||
height: inherit;
|
||||
background: none;
|
||||
border: none;
|
||||
padding: 5px;
|
||||
}
|
||||
.head-top .input-box .placeholder {
|
||||
display: none;
|
||||
}
|
||||
.head-top .input-box .input {
|
||||
display: none;
|
||||
}
|
||||
.head-top .input-box .icon {
|
||||
margin-left: 0;
|
||||
}
|
||||
}
|
||||
@media screen and (max-width: 768px) {
|
||||
header.page-header {
|
||||
display: none !important;
|
||||
|
||||
@@ -1552,6 +1552,33 @@
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width: 850px) {
|
||||
#details .matter .matter-left .action-bar .action-bar-item:not(:last-child) {
|
||||
margin-right: 40px;
|
||||
}
|
||||
.head-top {
|
||||
.input-box {
|
||||
width: inherit;
|
||||
height: inherit;
|
||||
background: none;
|
||||
border: none;
|
||||
padding: 5px;
|
||||
|
||||
.placeholder {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.input {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.icon {
|
||||
margin-left: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// 媒体查询 最大宽度 850px 时
|
||||
@media screen and (max-width: 768px) {
|
||||
header.page-header {
|
||||
|
||||
149
css/index.css
149
css/index.css
@@ -17,6 +17,9 @@
|
||||
}
|
||||
#appIndex .header-content-box .header-content-left .adv-list .adv-item {
|
||||
width: calc((100% - 12px) / 2);
|
||||
height: 60px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
#appIndex .header-content-box .header-content-left .adv-list .adv-item:not(:last-child) {
|
||||
margin-right: 12px;
|
||||
@@ -148,7 +151,7 @@
|
||||
color: #000000;
|
||||
}
|
||||
#appIndex .header-content-box .header-content-left .topic-and-selectives .selectives-box {
|
||||
width: calc((100% - 12px) * 0.662);
|
||||
width: calc((100% - 12px) * 0.675);
|
||||
height: 320px;
|
||||
background-color: #ffffff;
|
||||
border: 1px solid #e9eef2;
|
||||
@@ -222,8 +225,6 @@
|
||||
}
|
||||
#appIndex .header-content-box .header-content-left .header-left-bottom-box .list .item {
|
||||
height: 20px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
#appIndex .header-content-box .header-content-left .header-left-bottom-box .list .item:not(:last-of-type) {
|
||||
margin-bottom: 12px;
|
||||
@@ -234,12 +235,10 @@
|
||||
margin-right: 10px;
|
||||
background: #30b0d5;
|
||||
border-radius: 50%;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
#appIndex .header-content-box .header-content-left .header-left-bottom-box .list .item .text {
|
||||
cursor: pointer;
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
width: auto;
|
||||
text-decoration: none;
|
||||
color: #555;
|
||||
}
|
||||
@@ -511,12 +510,12 @@
|
||||
}
|
||||
#appIndex .matter .matter-content .forum-sections-list {
|
||||
position: relative;
|
||||
flex: 1;
|
||||
background-color: #ffffff;
|
||||
border: 1px solid #e9eef2;
|
||||
border-radius: 10px;
|
||||
padding-left: 70px;
|
||||
padding-top: 20px;
|
||||
padding-right: 2px;
|
||||
padding-bottom: 14px;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
@@ -588,7 +587,95 @@
|
||||
#appIndex .matter .sidebar .side-box.interviewexperience-side-box {
|
||||
background: linear-gradient(158.64328877deg, #d3e1fb 1%, #dee6f9 100%);
|
||||
}
|
||||
@media screen and (max-width: 910px) {
|
||||
#appIndex .header-content-box .header-content-left {
|
||||
width: 100%;
|
||||
}
|
||||
#appIndex .header-content-box .header-content-left .header-left-bottom-box .list {
|
||||
margin-right: 15px;
|
||||
}
|
||||
#appIndex .header-content-box .header-content-right {
|
||||
display: none;
|
||||
}
|
||||
#appIndex .header-content-box .header-content-left .topic-and-selectives .topic-box .topic-head .people .right {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
@media screen and (max-width: 768px) {
|
||||
.head-top .input-box {
|
||||
width: inherit;
|
||||
height: inherit;
|
||||
background: none;
|
||||
border: none;
|
||||
padding: 5px;
|
||||
}
|
||||
.head-top .input-box .placeholder {
|
||||
display: none;
|
||||
}
|
||||
.head-top .input-box .input {
|
||||
display: none;
|
||||
}
|
||||
.head-top .input-box .icon {
|
||||
margin-left: 0;
|
||||
}
|
||||
.head-top .post-list {
|
||||
display: none !important;
|
||||
}
|
||||
.head-top .sign-in {
|
||||
display: none !important;
|
||||
}
|
||||
#appIndex {
|
||||
width: 100%;
|
||||
padding: 0 10px;
|
||||
}
|
||||
#appIndex .admission .admission-list {
|
||||
flex-wrap: nowrap;
|
||||
overflow-x: auto;
|
||||
}
|
||||
#appIndex .admission .admission-list .admission-item {
|
||||
flex-shrink: 0;
|
||||
width: auto;
|
||||
height: 80px;
|
||||
margin-right: 12px;
|
||||
}
|
||||
#appIndex .admission .admission-list .admission-item:not(:nth-last-child(-n + 4)) {
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
#appIndex .admission .admission-list .admission-item img {
|
||||
width: 100%;
|
||||
height: auto;
|
||||
}
|
||||
#appIndex .matter {
|
||||
flex-direction: column;
|
||||
}
|
||||
#appIndex .matter .matter-content {
|
||||
width: 100%;
|
||||
margin-right: 0;
|
||||
}
|
||||
#appIndex .matter .matter-content .forum-sections-list {
|
||||
width: 100%;
|
||||
height: auto;
|
||||
padding: 10px;
|
||||
}
|
||||
#appIndex .matter .matter-content .forum-sections-list .img {
|
||||
display: none;
|
||||
}
|
||||
#appIndex .matter .matter-content .forum-sections-list .list .line {
|
||||
flex-wrap: wrap;
|
||||
margin-bottom: 0 !important;
|
||||
height: auto;
|
||||
}
|
||||
#appIndex .matter .matter-content .forum-sections-list .list .line .item {
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
#appIndex .matter .sidebar {
|
||||
display: none;
|
||||
}
|
||||
#appIndex .pop-list {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
@media screen and (max-width: 620px) {
|
||||
.head-top {
|
||||
width: 100% !important;
|
||||
padding: 0 10px;
|
||||
@@ -667,52 +754,6 @@
|
||||
#appIndex .header-content-box .header-content-right {
|
||||
display: none;
|
||||
}
|
||||
#appIndex .admission .admission-list {
|
||||
flex-wrap: nowrap;
|
||||
overflow-x: auto;
|
||||
}
|
||||
#appIndex .admission .admission-list .admission-item {
|
||||
flex-shrink: 0;
|
||||
width: auto;
|
||||
height: 80px;
|
||||
margin-right: 12px;
|
||||
}
|
||||
#appIndex .admission .admission-list .admission-item:not(:nth-last-child(-n + 4)) {
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
#appIndex .admission .admission-list .admission-item img {
|
||||
width: 100%;
|
||||
height: auto;
|
||||
}
|
||||
#appIndex .pop-list {
|
||||
display: block;
|
||||
}
|
||||
#appIndex .matter {
|
||||
flex-direction: column;
|
||||
}
|
||||
#appIndex .matter .matter-content {
|
||||
width: 100%;
|
||||
margin-right: 0;
|
||||
}
|
||||
#appIndex .matter .matter-content .forum-sections-list {
|
||||
width: 100%;
|
||||
height: auto;
|
||||
padding: 10px;
|
||||
}
|
||||
#appIndex .matter .matter-content .forum-sections-list .img {
|
||||
display: none;
|
||||
}
|
||||
#appIndex .matter .matter-content .forum-sections-list .list .line {
|
||||
flex-wrap: wrap;
|
||||
margin-bottom: 0 !important;
|
||||
height: auto;
|
||||
}
|
||||
#appIndex .matter .matter-content .forum-sections-list .list .line .item {
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
#appIndex .matter .sidebar {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
.pop-list {
|
||||
width: 100%;
|
||||
@@ -734,7 +775,7 @@
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
height: 70px;
|
||||
height: 55px;
|
||||
}
|
||||
.pop-list .list .item:nth-of-type(1) {
|
||||
flex: 95;
|
||||
|
||||
195
css/index.less
195
css/index.less
@@ -18,6 +18,9 @@
|
||||
|
||||
.adv-item {
|
||||
width: calc((100% - 12px) / 2);
|
||||
height: 60px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
||||
&:not(:last-child) {
|
||||
margin-right: 12px;
|
||||
@@ -183,7 +186,7 @@
|
||||
}
|
||||
|
||||
.selectives-box {
|
||||
width: calc((100% - 12px) * 0.662);
|
||||
width: calc((100% - 12px) * 0.675);
|
||||
height: 320px;
|
||||
background-color: #ffffff;
|
||||
border: 1px solid #e9eef2;
|
||||
@@ -233,7 +236,7 @@
|
||||
.header-left-bottom-box {
|
||||
width: 100%;
|
||||
height: auto;
|
||||
background-color: rgba(255, 255, 255, 1);
|
||||
background-color: rgb(255, 255, 255);
|
||||
border: 1px solid rgba(233, 238, 242, 1);
|
||||
border-radius: 10px;
|
||||
padding: 12px;
|
||||
@@ -269,8 +272,6 @@
|
||||
|
||||
.item {
|
||||
height: 20px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
||||
&:not(:last-of-type) {
|
||||
margin-bottom: 12px;
|
||||
@@ -282,13 +283,11 @@
|
||||
margin-right: 10px;
|
||||
background: #30b0d5;
|
||||
border-radius: 50%;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.text {
|
||||
cursor: pointer;
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
width: auto;
|
||||
text-decoration: none;
|
||||
color: #555;
|
||||
|
||||
@@ -625,14 +624,13 @@
|
||||
|
||||
.forum-sections-list {
|
||||
position: relative;
|
||||
// flex: 1;
|
||||
flex: 1;
|
||||
// height: 240px;
|
||||
background-color: rgba(255, 255, 255, 1);
|
||||
border: 1px solid rgba(233, 238, 242, 1);
|
||||
border-radius: 10px;
|
||||
padding-left: 70px;
|
||||
padding-top: 20px;
|
||||
padding-right: 2px;
|
||||
padding-bottom: 14px;
|
||||
margin-bottom: 20px;
|
||||
|
||||
@@ -728,7 +726,121 @@
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width: 910px) {
|
||||
#appIndex .header-content-box .header-content-left {
|
||||
width: 100%;
|
||||
}
|
||||
#appIndex .header-content-box .header-content-left .header-left-bottom-box .list {
|
||||
margin-right: 15px;
|
||||
}
|
||||
#appIndex .header-content-box .header-content-right {
|
||||
display: none;
|
||||
}
|
||||
#appIndex .header-content-box .header-content-left .topic-and-selectives .topic-box .topic-head .people .right {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width: 768px) {
|
||||
.head-top {
|
||||
.input-box {
|
||||
width: inherit;
|
||||
height: inherit;
|
||||
background: none;
|
||||
border: none;
|
||||
padding: 5px;
|
||||
|
||||
.placeholder {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.input {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.icon {
|
||||
margin-left: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.post-list {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
.sign-in {
|
||||
display: none !important;
|
||||
}
|
||||
}
|
||||
|
||||
#appIndex {
|
||||
width: 100%;
|
||||
padding: 0 10px;
|
||||
|
||||
.admission {
|
||||
.admission-list {
|
||||
flex-wrap: nowrap;
|
||||
overflow-x: auto;
|
||||
|
||||
.admission-item {
|
||||
flex-shrink: 0;
|
||||
width: auto;
|
||||
height: 80px;
|
||||
margin-right: 12px;
|
||||
|
||||
&:not(:nth-last-child(-n + 4)) {
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
|
||||
img {
|
||||
width: 100%;
|
||||
height: auto;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.matter {
|
||||
flex-direction: column;
|
||||
|
||||
.matter-content {
|
||||
width: 100%;
|
||||
margin-right: 0;
|
||||
|
||||
.forum-sections-list {
|
||||
width: 100%;
|
||||
height: auto;
|
||||
padding: 10px;
|
||||
|
||||
.img {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.list {
|
||||
.line {
|
||||
flex-wrap: wrap;
|
||||
margin-bottom: 0 !important;
|
||||
height: auto;
|
||||
|
||||
.item {
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.sidebar {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
.pop-list {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width: 620px) {
|
||||
.head-top {
|
||||
width: 100% !important;
|
||||
padding: 0 10px;
|
||||
@@ -827,68 +939,6 @@
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
.admission {
|
||||
.admission-list {
|
||||
flex-wrap: nowrap;
|
||||
overflow-x: auto;
|
||||
|
||||
.admission-item {
|
||||
flex-shrink: 0;
|
||||
width: auto;
|
||||
height: 80px;
|
||||
margin-right: 12px;
|
||||
|
||||
&:not(:nth-last-child(-n + 4)) {
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
|
||||
img {
|
||||
width: 100%;
|
||||
height: auto;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.pop-list {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.matter {
|
||||
flex-direction: column;
|
||||
|
||||
.matter-content {
|
||||
width: 100%;
|
||||
margin-right: 0;
|
||||
|
||||
.forum-sections-list {
|
||||
width: 100%;
|
||||
height: auto;
|
||||
padding: 10px;
|
||||
|
||||
.img {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.list {
|
||||
.line {
|
||||
flex-wrap: wrap;
|
||||
margin-bottom: 0 !important;
|
||||
height: auto;
|
||||
|
||||
.item {
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.sidebar {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -908,7 +958,6 @@
|
||||
background-color: rgba(246, 246, 246, 1);
|
||||
border-radius: 15px;
|
||||
width: 100%;
|
||||
// height: 100%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
||||
@@ -916,7 +965,7 @@
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
height: 70px;
|
||||
height: 55px;
|
||||
|
||||
&:nth-of-type(1) {
|
||||
flex: 95;
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -1791,6 +1791,10 @@ body {
|
||||
display: none;
|
||||
padding: 5px;
|
||||
}
|
||||
.head-top .head-pop.head-pop-show .sign-in {
|
||||
display: flex !important;
|
||||
margin: 20px auto;
|
||||
}
|
||||
.hot-tag {
|
||||
background-color: #ffffff;
|
||||
border: 1px solid #e9eef2;
|
||||
|
||||
@@ -2156,6 +2156,13 @@ body {
|
||||
display: none;
|
||||
padding: 5px;
|
||||
}
|
||||
|
||||
.head-pop.head-pop-show {
|
||||
.sign-in {
|
||||
display: flex !important;
|
||||
margin: 20px auto;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.hot-tag {
|
||||
|
||||
@@ -218,6 +218,7 @@
|
||||
}
|
||||
#search .search-no .recommend-box .hot-box {
|
||||
width: 100%;
|
||||
min-width: 0;
|
||||
background-color: #ffffff;
|
||||
border: 1px solid #e9eef2;
|
||||
border-radius: 10px;
|
||||
@@ -248,7 +249,8 @@
|
||||
margin-right: 5px;
|
||||
}
|
||||
#search .search-no .recommend-box .read-box {
|
||||
width: 291px;
|
||||
width: 100%;
|
||||
min-width: 0;
|
||||
background-color: #ffffff;
|
||||
border: 1px solid #e9eef2;
|
||||
border-radius: 10px;
|
||||
|
||||
@@ -267,6 +267,7 @@
|
||||
.hot-box {
|
||||
// width: 291px;
|
||||
width: 100%;
|
||||
min-width: 0;
|
||||
// height: 365px;
|
||||
background-color: rgba(255, 255, 255, 1);
|
||||
border: 1px solid rgba(233, 238, 242, 1);
|
||||
@@ -302,7 +303,8 @@
|
||||
}
|
||||
|
||||
.read-box {
|
||||
width: 291px;
|
||||
width: 100%;
|
||||
min-width: 0;
|
||||
background-color: rgba(255, 255, 255, 1);
|
||||
border: 1px solid rgba(233, 238, 242, 1);
|
||||
border-radius: 10px;
|
||||
|
||||
@@ -105,7 +105,7 @@
|
||||
</script>
|
||||
<div id="ajaxwaitid"></div>
|
||||
<div id="append_parent"></div>
|
||||
<div class="head-top flexacenter" style="width: 1200px;margin: 20px auto 30px;">
|
||||
<div class="head-top flexacenter" style="width: 1200px;margin: 20px auto 30px;z-index: 8;">
|
||||
<a href="/" class="flexacenter" target="_blank">
|
||||
<img class="logo" src="https://oss.gter.net/logo" alt="" />
|
||||
</a>
|
||||
@@ -330,6 +330,15 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="pop-list" v-cloak>
|
||||
<div class="list">
|
||||
<div class="item" v-for="item in popList" @click="openPop(item.type)">
|
||||
<div class="top">{{ item.title }}</div>
|
||||
<div class="bottom">{{ item.subtitle }}</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="admission">
|
||||
<a class="admission-header flexflex" target="_blank" href="https://admissionofficer.gter.net">
|
||||
@@ -380,14 +389,7 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="pop-list">
|
||||
<div class="list">
|
||||
<div class="item" v-for="item in popList" @click="openPop(item.type)">
|
||||
<div class="top">{{ item.title }}</div>
|
||||
<div class="bottom">{{ item.subtitle }}</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="matter flexflex" ref="matterRef">
|
||||
<div class="matter-content flex1">
|
||||
|
||||
290
searchV2.html
290
searchV2.html
@@ -1,3 +1,4 @@
|
||||
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
|
||||
@@ -5,10 +6,10 @@
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
|
||||
<title>搜索结果 - - 寄托天下 -- 寄托天下</title>
|
||||
<link rel="stylesheet" href="/css/public.css?v=uj0T1euj8ufe" />
|
||||
<link rel="stylesheet" href="/css/search.css?v=uj0T1euj8ufe" />
|
||||
<!-- <link rel="stylesheet" href="https://f.gter.net/css/search.css" /> -->
|
||||
<title>搜索结果 - - 寄托天下 -- 寄托天下</title>
|
||||
<link rel="stylesheet" href="https://framework.x-php.com/gter/forum/css/public.css?v=nbSmnHfeC1qX" />
|
||||
<link rel="stylesheet" href="https://framework.x-php.com/gter/forum/css/search.css?v=nbSmnHfeC1qX" />
|
||||
<!-- <link rel="stylesheet" href="https://f.gter.net/css/search.css" /> -->
|
||||
|
||||
<meta name="description" content="在寄托天下留学论坛上搜索, 分享留学经验, 咨询签证, 面试, 机经, offer, 奖学金, 名校专业等。">
|
||||
<meta name="keywords" content=", 寄托天下, 留学论坛">
|
||||
@@ -72,6 +73,12 @@
|
||||
-webkit-transform: scale(1);
|
||||
}
|
||||
}
|
||||
|
||||
/* 修复大于768px时,.read-box被撑开的问题 */
|
||||
#search .search-no .recommend-box .hot-box,
|
||||
#search .search-no .recommend-box .read-box {
|
||||
min-width: 0;
|
||||
}
|
||||
</style>
|
||||
<script type="text/javascript">
|
||||
var STYLEID = '2',
|
||||
@@ -105,7 +112,7 @@
|
||||
</script>
|
||||
<div id="ajaxwaitid"></div>
|
||||
<div id="append_parent"></div>
|
||||
<div class="head-top flexacenter" style="width: 1200px;margin: 20px auto 30px;">
|
||||
<div class="head-top flexacenter" style="width: 1200px;margin: 20px auto 30px;z-index: 8;">
|
||||
<a href="/" class="flexacenter" target="_blank">
|
||||
<img class="logo" src="https://oss.gter.net/logo" alt="" />
|
||||
</a>
|
||||
@@ -115,7 +122,7 @@
|
||||
<div class="placeholder-box" style="transition: transform .3s ease"></div>
|
||||
</div>
|
||||
|
||||
<input class="input flex1" type="text" maxlength="140" /> <img class="icon" onclick="searchEvent()" src="https://framework.x-php.com/gter/forum/img/search-icon.svg?v=uj0T1euj8ufe" />
|
||||
<input class="input flex1" type="text" maxlength="140" /> <img class="icon" onclick="searchEvent()" src="https://framework.x-php.com/gter/forum/img/search-icon.svg?v=nbSmnHfeC1qX" />
|
||||
<div class="search-box-history">
|
||||
<div class="search-box-history-title">历史搜索</div>
|
||||
<div class="search-box-history-list"></div>
|
||||
@@ -127,7 +134,7 @@
|
||||
<div class="sign-in sign-in-no flexacenter"></div>
|
||||
|
||||
<div class="head-more flexcenter" onclick="openHeadPop()">
|
||||
<img class="more-icon" style="width: 18px;height: 15px;" src="https://framework.x-php.com/gter/forum/img/threeAcross.svg?v=uj0T1euj8ufe" />
|
||||
<img class="more-icon" style="width: 18px;height: 15px;" src="https://framework.x-php.com/gter/forum/img/threeAcross.svg?v=nbSmnHfeC1qX" />
|
||||
</div>
|
||||
|
||||
<div class="head-pop" style="display: none;">
|
||||
@@ -142,166 +149,162 @@
|
||||
</div>
|
||||
<div class="tab-list"><a class="tab-item flexacenter" href="https://www.gter.net" target="_blank">寄托首页</a><a class="tab-item flexacenter pitch" href="https://f.gter.net" target="_blank">论坛</a><a class="tab-item flexacenter" href="https://app.gter.net/admissionOfficer" target="_blank">招生官</a><a class="tab-item flexacenter" href="https://bbs.gter.net/thread-2345065-1-1.html" target="_blank">加群</a><a class="tab-item flexacenter" href="https://offer.gter.net" target="_blank">Offer榜</a></div>
|
||||
<a class="head-more-post flexcenter" href="/publish" target="" onclick="skipLoginUrl(event)">
|
||||
<div class="head-more-post-icon flexcenter"><img class="head-more-post-img" src="https://framework.x-php.com/gter/forum/img/addyellow.svg?v=uj0T1euj8ufe" /></div>发布帖子
|
||||
<div class="head-more-post-icon flexcenter"><img class="head-more-post-img" src="https://framework.x-php.com/gter/forum/img/addyellow.svg?v=nbSmnHfeC1qX" /></div>发布帖子
|
||||
</a>
|
||||
<img class="cross-icon" onclick="crossHeadPop()" src="https://framework.x-php.com/gter/forum/img/cross.svg?v=uj0T1euj8ufe">
|
||||
<img class="cross-icon" onclick="crossHeadPop()" src="https://framework.x-php.com/gter/forum/img/cross.svg?v=nbSmnHfeC1qX">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="valueA" style="display: none;">https://framework.x-php.com/gter/forum/</div>
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="container" id="search">
|
||||
<div class="templateValue" ref="kwValue"></div>
|
||||
<div class="templateValue" ref="typeValue"></div>
|
||||
<div v-if="isNoSearch" class="search-no" style="min-height: 50vh;">
|
||||
<img class="earth-icon flexflex" src="/img/earth-icon.png">
|
||||
<div class="input-box flexacenter">
|
||||
<input class="input flex1 vuehide" placeholder="请输入关键词" v-model="kw" @keyup.enter="startSearch(kw ? '' : placeholder)">
|
||||
<input v-cloak class="input flex1" :placeholder="placeholder" v-model="kw" @keyup.enter="startSearch(kw ? '' : placeholder)">
|
||||
<div class="btn" @click="startSearch(kw ? '' : placeholder)">搜索</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<div class="container" id="search">
|
||||
<div class="templateValue" ref="kwValue"></div>
|
||||
<div class="templateValue" ref="typeValue"></div>
|
||||
<div v-if="isNoSearch" class="search-no" style="min-height: 50vh;">
|
||||
<img class="earth-icon flexflex" src="/img/earth-icon.png">
|
||||
<div class="input-box flexacenter">
|
||||
<input class="input flex1 vuehide" placeholder="请输入关键词" v-model="kw" @keyup.enter="startSearch(kw ? '' : placeholder)">
|
||||
<input v-cloak class="input flex1" :placeholder="placeholder" v-model="kw" @keyup.enter="startSearch(kw ? '' : placeholder)">
|
||||
<div class="btn" @click="startSearch(kw ? '' : placeholder)">搜索</div>
|
||||
<div class="recommend-box flexflex" v-cloak>
|
||||
<div class="hot-box" v-if="searchList.length != 0">
|
||||
<div class="recommend-head flexacenter">
|
||||
<img class="icon" src="/img/triangle-violet.svg">
|
||||
热门搜索
|
||||
</div>
|
||||
<div class="hot-list flexflex">
|
||||
<div class="item" v-for="item in searchList" @click="startSearch(item.keyword)">{{ item.keyword }}</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="recommend-box flexflex" v-cloak>
|
||||
<div class="hot-box" v-if="searchList.length != 0">
|
||||
<div class="recommend-head flexacenter">
|
||||
<img class="icon" src="/img/triangle-violet.svg">
|
||||
热门搜索
|
||||
</div>
|
||||
<div class="hot-list flexflex">
|
||||
<div class="item" v-for="item in searchList" @click="startSearch(item.keyword)">{{ item.keyword }}</div>
|
||||
</div>
|
||||
<div class="hot-box" v-if="tagList.length != 0">
|
||||
<div class="recommend-head flexacenter">
|
||||
<img class="icon" src="/img/triangle-yellow.svg">
|
||||
热门标签
|
||||
</div>
|
||||
<div class="hot-box" v-if="tagList.length != 0">
|
||||
<div class="recommend-head flexacenter">
|
||||
<img class="icon" src="/img/triangle-yellow.svg">
|
||||
热门标签
|
||||
</div>
|
||||
<div class="hot-list flexflex">
|
||||
<a class="item flexacenter" href="/recommend" target="_blank">
|
||||
<img class="icon" src="/img/recommend-head-icon.png">
|
||||
编辑推荐
|
||||
</a>
|
||||
<a class="item flexacenter" href="/best" target="_blank">
|
||||
<img class="icon" src="/img/essence-head-icon.png">
|
||||
精华帖
|
||||
</a>
|
||||
<a class="item" v-for="item in tagList" :href="'/tag/' + item.tagname" target="_blank">{{ item.tagname }}</a>
|
||||
</div>
|
||||
<div class="hot-list flexflex">
|
||||
<a class="item flexacenter" href="/recommend" target="_blank">
|
||||
<img class="icon" src="/img/recommend-head-icon.png">
|
||||
编辑推荐
|
||||
</a>
|
||||
<a class="item flexacenter" href="/best" target="_blank">
|
||||
<img class="icon" src="/img/essence-head-icon.png">
|
||||
精华帖
|
||||
</a>
|
||||
<a class="item" v-for="item in tagList" :href="'/tag/' + item.tagname" target="_blank">{{ item.tagname }}</a>
|
||||
</div>
|
||||
<div class="read-box" v-if="recommendList.length != 0">
|
||||
<div class="recommend-head flexacenter">
|
||||
<img class="icon" src="/img/triangle-blue.svg">
|
||||
推荐阅读
|
||||
</div>
|
||||
<div class="read-list">
|
||||
<a class="item flexacenter" v-for="item in recommendList" target="_blank" :href="'/details/' + item.uniqid ">
|
||||
<div class="dot"></div>
|
||||
<div class="text flex1 one-line-display">{{ item.title }}</div>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="read-box" v-if="recommendList.length != 0">
|
||||
<div class="recommend-head flexacenter">
|
||||
<img class="icon" src="/img/triangle-blue.svg">
|
||||
推荐阅读
|
||||
</div>
|
||||
<div class="read-list">
|
||||
<a class="item flexacenter" v-for="item in recommendList" target="_blank" :href="'/details/' + item.uniqid ">
|
||||
<div class="dot"></div>
|
||||
<div class="text flex1 one-line-display">{{ item.title }}</div>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<template v-else>
|
||||
<div class="search-box flexacenter">
|
||||
<input class="search-input flex1" placeholder="请输入搜索关键词" v-model="kw" @keyup.enter="startSearch()" />
|
||||
<img class="search-icon" src="https://framework.x-php.com/gter/forum/img/search-icon.svg?v=uj0T1euj8ufe" alt="" @click="startSearch()" />
|
||||
</div>
|
||||
<template v-else>
|
||||
<div class="search-box flexacenter">
|
||||
<input class="search-input flex1" placeholder="请输入搜索关键词" v-model="kw" @keyup.enter="startSearch()" />
|
||||
<img class="search-icon" src="https://framework.x-php.com/gter/forum/img/search-icon.svg?v=nbSmnHfeC1qX" alt="" @click="startSearch()" />
|
||||
</div>
|
||||
<template v-if="!isEmptySearch">
|
||||
<div class="classify flexacenter">
|
||||
<div class="item" :class="{'pitch': key == tabValue}" v-for="(item, key) in tabList" :key="key" @click="cutTab(key)">{{ item }}</div>
|
||||
</div>
|
||||
<template v-if="!isEmptySearch">
|
||||
<div class="classify flexacenter">
|
||||
<div class="item" :class="{'pitch': key == tabValue}" v-for="(item, key) in tabList" :key="key" @click="cutTab(key)">{{ item }}</div>
|
||||
</div>
|
||||
|
||||
<div class="quantity flexacenter">
|
||||
{{ tabList[tabValue] }}
|
||||
<div class="line"></div>
|
||||
共
|
||||
<div class="num">{{ total }}</div>
|
||||
条
|
||||
</div>
|
||||
</template>
|
||||
<!-- <div id="pre-loader">
|
||||
<div class="quantity flexacenter">
|
||||
{{ tabList[tabValue] }}
|
||||
<div class="line"></div>
|
||||
共
|
||||
<div class="num">{{ total }}</div>
|
||||
条
|
||||
</div>
|
||||
</template>
|
||||
<!-- <div id="pre-loader">
|
||||
<div class="three-bounce" p-id="11">
|
||||
<div class="one" p-id="12"></div>
|
||||
<div class="two" p-id="13"></div>
|
||||
<div class="three" p-id="14"></div>
|
||||
</div>
|
||||
</div> -->
|
||||
<div class="matter flexflex" ref="matterRef" v-cloak>
|
||||
<div class="matter-content flex1" ref="matterContentRef" :style="{'top': matterHeight + 'px'}">
|
||||
|
||||
<div class="list-box" v-if="list.length != 0">
|
||||
<template v-for="(item,index) in list" :key="index">
|
||||
<item-offer v-if=" item.type == 'offer'" :itemdata="item"></item-offer>
|
||||
<item-summary v-else-if="item.type == 'offer_summary'" :itemdata="item"></item-summary>
|
||||
<item-vote v-else-if="item.type == 'vote'" :itemdata="item"></item-vote>
|
||||
<item-mj v-else-if="item.type == 'interviewexperience'" :itemdata="item"></item-mj>
|
||||
<item-tenement v-else-if="item.type == 'tenement'" :itemdata="item"></item-tenement>
|
||||
<item-project v-else-if="item.type == 'programs' || tabValue == 'xg'" :itemdata="item"></item-project>
|
||||
<item-forum v-else :itemdata="item"></item-forum>
|
||||
</template>
|
||||
</div>
|
||||
|
||||
<load-box :loading="loading"></load-box>
|
||||
|
||||
<div v-if="list.length == 0 && page == null" class="empty flexcenter">
|
||||
<img class="empty-icon" src="https://framework.x-php.com/gter/forum/img/empty-icon.png?v=uj0T1euj8ufe" />
|
||||
<div class="empty-text">{{ kw ? '- 暂无内容 -' : '- 请输入搜索关键词 -' }}</div>
|
||||
</div>
|
||||
|
||||
<div class="pages-box flexcenter" v-if="pagination.length != 0">
|
||||
<img v-if="page == 1" class="arrows" src="https://framework.x-php.com/gter/forum/img/arrows-gray-simple.svg?v=uj0T1euj8ufe" alt="" />
|
||||
<img @click="prevPage" v-else class="arrows rotate180" src="https://framework.x-php.com/gter/forum/img/arrows-gray-deep.svg?v=uj0T1euj8ufe" alt="" />
|
||||
|
||||
<div class="item" :class="{'pitch': item == page }" v-for="(item, index) in pagination" @click="cutPage(item)">{{ item }}</div>
|
||||
|
||||
<img v-if="page == maxPage" class="arrows rotate180" src="https://framework.x-php.com/gter/forum/img/arrows-gray-simple.svg?v=uj0T1euj8ufe" alt="" />
|
||||
<img @click="nextPage" v-else v-else class="arrows" src="https://framework.x-php.com/gter/forum/img/arrows-gray-deep.svg?v=uj0T1euj8ufe" alt="" />
|
||||
</div>
|
||||
<div class="matter flexflex" ref="matterRef" v-cloak>
|
||||
<div class="matter-content flex1" ref="matterContentRef" :style="{'top': matterHeight + 'px'}">
|
||||
<div class="list-box" v-if="list.length != 0">
|
||||
<template v-for="(item,index) in list" :key="index">
|
||||
<item-offer v-if=" item.type == 'offer'" :itemdata="item"></item-offer>
|
||||
<item-summary v-else-if="item.type == 'offer_summary'" :itemdata="item"></item-summary>
|
||||
<item-vote v-else-if="item.type == 'vote'" :itemdata="item"></item-vote>
|
||||
<item-mj v-else-if="item.type == 'interviewexperience'" :itemdata="item"></item-mj>
|
||||
<item-tenement v-else-if="item.type == 'tenement'" :itemdata="item"></item-tenement>
|
||||
<item-project v-else-if="item.type == 'programs' || tabValue == 'xg'" :itemdata="item"></item-project>
|
||||
<item-forum v-else :itemdata="item"></item-forum>
|
||||
</template>
|
||||
</div>
|
||||
|
||||
<div class="sidebar-box" ref="sidebarRef" :style="{'top': sidebarHeight + 'px'}">
|
||||
<div class="recommend-and-essence flexacenter">
|
||||
<a class="item flexcenter" target="_blank" href="/recommend">
|
||||
<img class="icon" src="/img/recommend-head-icon.png" />
|
||||
<div class="text">编辑推荐</div>
|
||||
</a>
|
||||
<a class="item flexcenter" target="_blank" href="/best">
|
||||
<img class="icon" src="/img/essence-head-icon.png" />
|
||||
<div class="text">精华帖</div>
|
||||
</a>
|
||||
</div>
|
||||
<hot-search :isNoRequestData="true" :searchlist="searchList"></hot-search>
|
||||
<hot-tag :isNoRequestData="true" :taglist="tagList"></hot-tag>
|
||||
<slideshow-box></slideshow-box>
|
||||
<latest-list></latest-list>
|
||||
<load-box :loading="loading"></load-box>
|
||||
|
||||
<div v-if="list.length == 0 && page == null" class="empty flexcenter">
|
||||
<img class="empty-icon" src="https://framework.x-php.com/gter/forum/img/empty-icon.png?v=nbSmnHfeC1qX" />
|
||||
<div class="empty-text">{{ kw ? '- 暂无内容 -' : '- 请输入搜索关键词 -' }}</div>
|
||||
</div>
|
||||
|
||||
<div class="pages-box flexcenter" v-if="pagination.length != 0">
|
||||
<img v-if="page == 1" class="arrows" src="https://framework.x-php.com/gter/forum/img/arrows-gray-simple.svg?v=nbSmnHfeC1qX" alt="" />
|
||||
<img @click="prevPage" v-else class="arrows rotate180" src="https://framework.x-php.com/gter/forum/img/arrows-gray-deep.svg?v=nbSmnHfeC1qX" alt="" />
|
||||
|
||||
<div class="item" :class="{'pitch': item == page }" v-for="(item, index) in pagination" @click="cutPage(item)">{{ item }}</div>
|
||||
|
||||
<img v-if="page == maxPage" class="arrows rotate180" src="https://framework.x-php.com/gter/forum/img/arrows-gray-simple.svg?v=nbSmnHfeC1qX" alt="" />
|
||||
<img @click="nextPage" v-else v-else class="arrows" src="https://framework.x-php.com/gter/forum/img/arrows-gray-deep.svg?v=nbSmnHfeC1qX" alt="" />
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
</div>
|
||||
|
||||
<div class="sidebar-box" ref="sidebarRef" :style="{'top': sidebarHeight + 'px'}">
|
||||
<div class="recommend-and-essence flexacenter">
|
||||
<a class="item flexcenter" target="_blank" href="/recommend">
|
||||
<img class="icon" src="/img/recommend-head-icon.png" />
|
||||
<div class="text">编辑推荐</div>
|
||||
</a>
|
||||
<a class="item flexcenter" target="_blank" href="/best">
|
||||
<img class="icon" src="/img/essence-head-icon.png" />
|
||||
<div class="text">精华帖</div>
|
||||
</a>
|
||||
</div>
|
||||
<hot-search :isNoRequestData="true" :searchlist="searchList"></hot-search>
|
||||
<hot-tag :isNoRequestData="true" :taglist="tagList"></hot-tag>
|
||||
<slideshow-box></slideshow-box>
|
||||
<latest-list></latest-list>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
</div>
|
||||
|
||||
<script src="https://framework.x-php.com/gter/forum/js/vue.global.js?v=uj0T1euj8ufe"></script>
|
||||
<script src="https://framework.x-php.com/gter/forum/js/axios.min.js?v=uj0T1euj8ufe"></script>
|
||||
<script src="https://framework.x-php.com/gter/forum/js/public.js?v=uj0T1euj8ufe"></script>
|
||||
|
||||
<script src="https://framework.x-php.com/gter/forum/js/vue.global.js?v=nbSmnHfeC1qX"></script>
|
||||
<script src="https://framework.x-php.com/gter/forum/js/axios.min.js?v=nbSmnHfeC1qX"></script>
|
||||
<script src="https://framework.x-php.com/gter/forum/js/public.js?v=nbSmnHfeC1qX"></script>
|
||||
<!-- <script src="https://f.gter.net/js/public.js"></script> -->
|
||||
|
||||
<!-- <script type="module" src="https://framework.x-php.com/gter/forum/js/search.js?v=uj0T1euj8ufe"></script> -->
|
||||
<script type="module" src="/js/search.js"></script>
|
||||
|
||||
<script type="module" src="https://framework.x-php.com/gter/forum/js/search.js?v=nbSmnHfeC1qX"></script>
|
||||
<!-- <script type="module" src="https://f.gter.net/js/search.js"></script> -->
|
||||
|
||||
|
||||
<script src="https://app.gter.net/bottom?tpl=footer,popupnotification"></script>
|
||||
|
||||
<script>
|
||||
console.log(location.href.indexOf('details') != -1);
|
||||
|
||||
<script>
|
||||
if (location.href.indexOf('details') != -1) {
|
||||
const postList = document.querySelector('.head-top .post-list')
|
||||
postList.innerHTML = `<a href="/publish" target="_blank" style="margin-right: 10px"> <img class="post-item" src="https://framework.x-php.com/gter/forum/img/post-thread.png?v=uj0T1euj8ufe" /> </a> <a href="https://offer.gter.net/post" target="_blank" style="margin-right: 10px"> <img class="post-item" src="https://framework.x-php.com/gter/forum/img/post-offer.png?v=uj0T1euj8ufe" /> </a> <a href="https://offer.gter.net/post/summary" target="_blank" style="margin-right: 10px"> <img class="post-item" src="https://framework.x-php.com/gter/forum/img/post-summary.png?v=uj0T1euj8ufe" /> </a> <a href="https://interviewexperience.gter.net/publish" target="_blank" style="margin-right: 10px"> <img class="post-item" src="https://framework.x-php.com/gter/forum/img/post-mj.png?v=uj0T1euj8ufe" /> </a> <a href="https://vote.gter.net/publish" target="_blank"> <img class="post-item" src="https://framework.x-php.com/gter/forum/img/post-vote.png?v=uj0T1euj8ufe" /> </a>`
|
||||
console.log(postList);
|
||||
postList.innerHTML = `<a href="/publish" target="_blank" style="margin-right: 10px"> <img class="post-item" src="https://framework.x-php.com/gter/forum/img/post-thread.png?v=nbSmnHfeC1qX" /> </a> <a href="https://offer.gter.net/post" target="_blank" style="margin-right: 10px"> <img class="post-item" src="https://framework.x-php.com/gter/forum/img/post-offer.png?v=nbSmnHfeC1qX" /> </a> <a href="https://offer.gter.net/post/summary" target="_blank" style="margin-right: 10px"> <img class="post-item" src="https://framework.x-php.com/gter/forum/img/post-summary.png?v=nbSmnHfeC1qX" /> </a> <a href="https://interviewexperience.gter.net/publish" target="_blank" style="margin-right: 10px"> <img class="post-item" src="https://framework.x-php.com/gter/forum/img/post-mj.png?v=nbSmnHfeC1qX" /> </a> <a href="https://vote.gter.net/publish" target="_blank"> <img class="post-item" src="https://framework.x-php.com/gter/forum/img/post-vote.png?v=nbSmnHfeC1qX" /> </a>`
|
||||
postList.style.display = 'flex'
|
||||
} else if (location.href.indexOf('search') != -1) {
|
||||
const box = document.querySelector(".head-top")
|
||||
@@ -309,21 +312,22 @@
|
||||
box.querySelector(".sign-in").style.display = "none"
|
||||
} else if (location.href.indexOf("publish") != -1) {
|
||||
const box = document.querySelector(".head-top")
|
||||
if (box) document.body.removeChild(box)
|
||||
if (box) document.body.removeChild(box)
|
||||
} else {
|
||||
const signIn = document.querySelector('.head-top .sign-in')
|
||||
console.log('signIn', signIn);
|
||||
signIn.innerHTML = `<div class="sign-in-no-box" onclick="headSignIn()">
|
||||
<img class="sign-in-bj" src="https://framework.x-php.com/gter/forum/img/sign-in-bj.svg?v=uj0T1euj8ufe" /><img class="coin-bj" src="https://framework.x-php.com/gter/forum/img/coin-bj.svg?v=uj0T1euj8ufe" />
|
||||
<img class="coin-icon" src="https://framework.x-php.com/gter/forum/img/coin-icon.png?v=uj0T1euj8ufe" /><span class="text flex1">签到领寄托币</span>
|
||||
<img class="sign-in-bj" src="https://framework.x-php.com/gter/forum/img/sign-in-bj.svg?v=nbSmnHfeC1qX" /><img class="coin-bj" src="https://framework.x-php.com/gter/forum/img/coin-bj.svg?v=nbSmnHfeC1qX" />
|
||||
<img class="coin-icon" src="https://framework.x-php.com/gter/forum/img/coin-icon.png?v=nbSmnHfeC1qX" /><span class="text flex1">签到领寄托币</span>
|
||||
<div class="sign-go flexcenter">
|
||||
<img class="sign-go-bj" src="https://framework.x-php.com/gter/forum/img/sign-go.svg?v=uj0T1euj8ufe" /> GO
|
||||
<img class="sign-go-bj" src="https://framework.x-php.com/gter/forum/img/sign-go.svg?v=nbSmnHfeC1qX" /> GO
|
||||
</div>
|
||||
<img class="petal1" src="https://framework.x-php.com/gter/forum/img/petal1.png?v=uj0T1euj8ufe" />
|
||||
<img class="petal2" src="https://framework.x-php.com/gter/forum/img/petal2.png?v=uj0T1euj8ufe" />
|
||||
<img class="petal3" src="https://framework.x-php.com/gter/forum/img/petal3.png?v=uj0T1euj8ufe" />
|
||||
<img class="petal1" src="https://framework.x-php.com/gter/forum/img/petal1.png?v=nbSmnHfeC1qX" />
|
||||
<img class="petal2" src="https://framework.x-php.com/gter/forum/img/petal2.png?v=nbSmnHfeC1qX" />
|
||||
<img class="petal3" src="https://framework.x-php.com/gter/forum/img/petal3.png?v=nbSmnHfeC1qX" />
|
||||
</div>
|
||||
<div class="sign-in-already-box">
|
||||
<img class="sign-icon" src="https://framework.x-php.com/gter/forum/img/sign-icon.png?v=uj0T1euj8ufe" />
|
||||
<img class="sign-icon" src="https://framework.x-php.com/gter/forum/img/sign-icon.png?v=nbSmnHfeC1qX" />
|
||||
<span>已签到,明天再来</span>
|
||||
</div>`
|
||||
signIn.style.display = 'flex'
|
||||
@@ -401,9 +405,9 @@
|
||||
};
|
||||
|
||||
if (location.href.indexOf("/publish") == -1 && location.href.indexOf("/search") == -1) getHistorySearch();
|
||||
|
||||
|
||||
|
||||
const searchEvent = (value) => {
|
||||
const searchEvent = (value) => {
|
||||
if (window.innerWidth <= 480) {
|
||||
redirectToExternalWebsite("/search");
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user