避世金门[ bì shì jīn mén ]
基本释义
[ bì shì jīn mén ]
以之比喻身为朝官而逃避世务。
辞书释义
近反义词
近义词
避世金马
.all-search-deafult {
background: #fff;
padding: 35px 17px 35px 17px;
color: #000000;
font-size: 18px;
font-style: normal;
font-weight: 500;
line-height: 18px;
text-align: left;
border-top: 0.2415vw dashed #e0e0e0;
display: “”;
}
.all-search-title {
position: relative;
display: inline-block;
margin-bottom: 24px;
letter-spacing: 0;
}
.all-search-card {
border-radius: 36px;
padding: 17px 17px 18px 17px;
background: #FFF;
font-size: 18px;
font-weight: 500;
line-height: 18px;
}
.all-search-card>.all-search-title {
position: relative;
display: inline-block;
margin-bottom: 18px;
letter-spacing: 0;
}
.all-search-grayBg {
padding: 35px 17px 35px 17px;
color: #000000;
font-size: 18px;
font-style: normal;
font-weight: 500;
line-height: 18px;
background: #F8F9F9;
border-top: 0.2415vw dashed #e0e0e0;
}
.all-search-item {
color: #1E1F24;
height: 40px;
padding-left: 24px;
padding-right: 24px;
border-radius: 6px;
font-weight: 500;
font-size: 14px;
line-height: 40px;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
background: linear-gradient(0deg, #F1F1F1 0%, #F1F1F1 100%), #F5F6F9;
flex-shrink: 0;
}
.all-search-cont {
display: grid;
grid-template-columns: 1fr 1fr;
grid-column-gap: 8px;
grid-row-gap: 9px;
}
.all-search-deafult {
background: #fff;
padding: 31px 0 0 0;
border-top: none;
display: “”;
}
.all-search-title {
position: relative;
display: inline-block;
margin-bottom: 9px;
letter-spacing: 0;
color: #000000;
font-size: 14px;
font-style: normal;
font-weight: 900;
line-height: 14px;
padding-left: 10px;
}
.all-search-item {
height: 33px;
line-height: 33px;
padding-left: 12px;
align-items: center;
flex-shrink: 0;
border-radius: 9px;
background: #F5F5F6;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
color:#1930CA;
font-size: 13px;
font-weight: 400;
}
.all-search-item:hover {
cursor: pointer;
color: #1930CA;
background: #E8EAFA;
}
.all-search-cont {
border-top: 1px solid #EEE;
padding-top: 20px;
display: grid;
grid-template-columns: 1fr 1fr 1fr;
grid-column-gap: 16px;
grid-row-gap: 10px;
}
大家还在搜
var ubcUtils = {};
var initConfig = {
queryParams: {
appname: “baiduhanyu”
},
version: “2.0”
};
var nameCache = {};
// 根据key获取cookie值
function getCookieValue(cookieName) {
try {
if (!cookieName || !document.cookie) {
return “”;
}
const matches = document.cookie.match(
new RegExp(“(?:^|; )” + cookieName.replace(/([.$?*|{}()[]/+^])/g, “\$1”) + “=([^;]*)”)
);
return matches ? decodeURIComponent(matches[1]) : undefined;
}
catch (e) {
return “”;
}
}
// 初始化打点
ubcUtils.init = function (initName, serverId, config) {
var name = initName;
var ubcConfig = config || {};
if (isNaN(parseInt(initName, 10))) {
name = initName + “.init”;
} else {
return console.error(“第一个参数必须是字符串”);
}
if (isNaN(parseInt(serverId, 10))) {
return console.error(“第二个参数 ubcid 必须是数字”);
}
if (nameCache[initName]) {
return console.error(initName + “该名字已经被定义,请更换名字”);
}
nameCache[initName] = true;
if (!ubcConfig.source) {
ubcConfig.source = encodeURIComponent(document.referrer);
}
ubc(name, serverId, $.extend({}, initConfig, ubcConfig)); // eslint-disable-line
};
ubcUtils.event = function (name, data, callback) {
var eventName = name;
var eventData = data || {};
if (typeof name === “string”) {
eventName = name + “.event”;
} else {
return console.error(“第一个参数必须是字符串”);
}
if (!nameCache[name]) {
return console.error(name + “该名称尚未定义”);
}
if (typeof eventData.page === “undefined”
|| typeof eventData.type === “undefined”
|| typeof eventData.value === “undefined”) {
console.error(“page、type、value 都必须有值~”);
return;
}
if (!eventData.ext) {
eventData.ext = {};
}
if (!eventData.ext.url) {
eventData.ext.url = encodeURIComponent(location.href);
}
// 补充搜索小流量实验参数
try {
var sid = getCookieValue(“H_WISE_SIDS”);
if (sid) {
eventData.ext.sid = sid;
}
}
catch (e) {}
ubc(eventName, eventData, callback); // eslint-disable-line
};
var query = “避世金门” || getSearchParam(“highlight”) || “}”;
var queryLength = 8;
let allsearchElem = document.getElementsByClassName(“all-search-deafult”)[0];
getQueryList(query);
function getQueryList(query) {
ajax({
type: “POST”,
url: “/edu-web-go/search/recquerylist”,
data:{“query”: query},
dataType:”json”,
success: function (data) {
const {recQueryNum = 0, recQueryList = []} = data.data;
if (recQueryNum) {
const {srcid = “”, displaydata_json} = recQueryList[0];
const response = JSON.parse(displaydata_json).rs;
let length = response.length;
length & 1 && length–;
if (length && length > 4) {
length = length > queryLength ? queryLength : length;
var queryList = response.slice(0, length);
renderList(queryList);
let ubcId = “PC” === “PC” ? 18428 : sessionStorage.getItem(“ubcId”);
ubcUtils.init(“pagePv”, ubcId);
} else {
allsearchElem.style.display=”none”;
}
}
},
error: function(error) {
if (allsearchElem) {
allsearchElem.style.display = “none”;
}
throw new Error(“recquerylist接口异常:” + (error.errmsg || error.statusText));
}
});
}
function renderList (list = []) {
let divCont = document.createElement(“div”);
divCont.setAttribute(“class”, “all-search-cont”);
list.map(item => {
let divEle = document.createElement(“div”);
divEle.setAttribute(“class”, “all-search-item”);
divEle.setAttribute(“data-item”, item.term);
divEle.textContent = item.term;
divCont.appendChild(divEle);
});
allsearchElem && allsearchElem.appendChild(divCont);
divCont.addEventListener(“click”, (e) => {
let item = e.target.dataset && e.target.dataset.item;
if (item !== undefined) {
ubcUtils.event(“pagePv”, {
from: “search_wise”,
page: “edu_landpage”,
value: “edu_landpage”,
type: “click”,
ext: {
unique: new Date().getTime() + “” + generateRandomNumber(6), // 页面展现时的时间戳+6位随机数字
area: “rgrs”,
clk_content: item
}
}, () => {
window.location.href = `https://www.baidu.com/s?word=${item}&sa=re_dl_cont_education`;
});
}
});
}
function generateRandomNumber(length) { // 获取6位数随机数
let result = “”;
let characters = “0123456789”;
let charactersLength = characters.length;
for (var i = 0; i {
if (response.ok) {
return response.json();
}
throw new Error(“Network response was not ok.”);
}).then(success).catch(error);
}
本文来自网络,不代表词库大全立场,如若转载,请注明出处:https://www.cnck.net/c39633.html