{"id":78,"date":"2024-05-16T04:15:30","date_gmt":"2024-05-15T20:15:30","guid":{"rendered":"https:\/\/beekeeperr.com\/?p=78"},"modified":"2024-06-13T01:11:49","modified_gmt":"2024-06-12T17:11:49","slug":"dux%e4%b8%bb%e9%a2%98%e7%be%8e%e5%8c%96%e8%ae%b0%e5%bd%95","status":"publish","type":"post","link":"https:\/\/beekeeperr.com\/78.html","title":{"rendered":"DUX\u4e3b\u9898\u7f8e\u5316\u8bb0\u5f55"},"content":{"rendered":"

DUX\u4e3b\u9898\u662f\u57fa\u4e8eWordPress\u7a0b\u5e8f\u7684\u4e3b\u9898\uff0c\u7531themebetter\u56e2\u961f\u539f\u521b\u5f00\u53d1\uff0c\u4f7f\u7528\u4e3b\u9898\u4f60\u9700\u8981\u5b89\u88c5WordPress\u7a0b\u5e8f\u3002<\/span>
\n\u652f\u6301\u591c\u95f4\u6a21\u5f0f\u3001\u5feb\u8baf\u3001\u4e13\u9898\u3001\u767e\u5ea6\u6536\u5f55\u3001\u4eba\u673a\u9a8c\u8bc1\u3001\u591a\u7ea7\u5206\u7c7b\u7b5b\u9009\uff0c\u9002\u7528\u4e8e\u5782\u76f4\u7ad9\u70b9\u3001\u79d1\u6280\u535a\u5ba2\u3001\u4e2a\u4eba\u7ad9\uff0c\u6241\u5e73\u5316\u8bbe\u8ba1\u3001\u7b80\u6d01\u767d\u8272\u3001\u8d85\u591a\u529f\u80fd\u914d\u7f6e\u3001\u4f1a\u5458\u4e2d\u5fc3\u3001\u76f4\u8fbe\u94fe\u63a5\u3001\u81ea\u52a8\u7f29\u7565\u56fe\u7b49\u591a\u79cd\u529f\u80fd\u3002<\/span><\/p>\n

\"dux\"<\/p>\n

 <\/p>\n

\u5bfc\u822aico\u56fe\u6807\u65cb\u8f6c<\/h2>\n
\/*\u5bfc\u822aico\u56fe\u6807\u65cb\u8f6c*\/\r\n.icon:hover{transform:rotate(360deg)}<\/pre>\n

\u5bfc\u822aico\u56fe\u6807<\/h2>\n
.icon {\r\nwidth: 20px; \r\nheight: 20px;\r\nvertical-align: -5px;\r\nfill: currentColor;\r\noverflow: hidden;\r\ntransition: transform 0.3s ease;\r\n}<\/pre>\n
<script type='text\/javascript' src='\/\/at.alicdn.com\/t\/c\/font_4531430_gwdw2fkhet.js'><\/script><\/pre>\n

logo\u626b\u5149\u6548\u679c<\/h2>\n
\/*logo\u626b\u5149\u6548\u679c*\/\r\n.logo{position:relative;float:left;margin-right:10px;padding:5px 0;overflow:hidden}.logo a:before{content:\"\";position:absolute;left:-300px;width:250px;height:10px;background-color:rgba(255,255,255,.5);-webkit-transform:rotate(-30deg);-moz-transform:rotate(-30deg);-ms-transform:rotate(-30deg);-o-transform:rotate(-30deg);transform:rotate(-30deg);-webkit-animation:searchLights 2s ease-in 2s infinite;-o-animation:searchLights 2s ease-in 2s infinite;animation:searchLights 2s ease-in 2s infinite}@-webkit-keyframes searchLights{0%{left:-100px;top:0}to{left:120px;top:100px}}@-o-keyframes searchLights{0%{left:-100px;top:0}to{left:120px;top:100px}}@-moz-keyframes searchLights{0%{left:-100px;top:0}to{left:120px;top:100px}}@keyframes searchLights{0%{left:-100px;top:0}to{left:120px;top:100px}}<\/pre>\n

\u53bb\u9664\u5206\u7c7b\u9875\u9762\u7ad9\u70b9\u6807\u9898<\/h2>\n

\u4fee\u6539\u8def\u5f84\uff1a\/themes\/dux\/functions-theme.php\uff0c\u641c\u7d22post_title_no_sitetitle_s\uff0c\u5927\u6982\u4f4d\u7f6e581\u3002\u5728\u6dfb\u52a0\u4e00\u4e2aif\u4e3a\u5982\u4e0b\u4ee3\u7801\uff1a<\/p>\n

\u00a0if ( is_category() ) {\r\n\/\/ \u5728\u5206\u7c7b\u9875\u9762\u4e2d\u53ea\u663e\u793a\u5206\u7c7b\u6807\u9898\r\n$category_title = single_cat_title( '', false );\r\n$html = $category_title;\r\n}<\/pre>\n

\u9996\u9875\u5217\u8868\u56fe\u7247\u653e\u5927\u6548\u679c<\/h2>\n
\/* \u9996\u9875\u5217\u8868\u56fe\u7247\u653e\u5927\u6548\u679c *\/\r\n.excerpt:hover .thumb{transform:scale(1.2) rotate(-6deg);transition:transform 0.3s ease}.thumb{transition:transform 0.3s ease}<\/pre>\n

\u9996\u9875\u5217\u8868\u5f69\u8272\u8fb9\u6846<\/h2>\n
\/*\u9996\u9875\u5217\u8868\u5f69\u8272\u8fb9\u6846*\/\r\n.excerpt{border:1px solid #dcd9d900}\r\n.excerpt:hover{border-color:#ffaa00 #ff3f86 #94b21b #00d0ff;z-index:2;box-shadow:0 34px 20px -30px rgba(136,161,206,0.3);transform:translateY(-5px)}<\/pre>\n

\u5934\u50cf\u65cb\u8f6c<\/h2>\n
\/*\u5934\u50cf\u65cb\u8f6c*\/\r\n.avatar{-webkit-transition:0.4s;-webkit-transition:-webkit-transform 0.4s ease-out;transition:transform 0.4s ease-out;-moz-transition:-moz-transform 0.4s ease-out}.avatar:hover{transform:rotateZ(360deg);-webkit-transform:rotateZ(360deg);-moz-transform:rotateZ(360deg)}<\/pre>\n

\u5c0f\u5de5\u5177\u60ac\u505c\u6548\u679c<\/h2>\n
\/*\u5c0f\u5de5\u5177\u6548\u679c*\/\r\n.widget:hover{box-shadow:0 34px 20px -33px rgba(136,161,206,0.3);transform:translateY(-5px)}<\/pre>\n

\u6587\u7ae0\u5217\u8868\u63cf\u8ff0\u6dfb\u52a0\u8d85\u94fe\u63a5<\/h2>\n

\u4fee\u6539\u8def\u5f84\/themes\/dux\/excerpt.php\uff0c\u627e\u5230\u7b2c\u4e8c\u4e2aclass=\u201dnote\u201d\u6807\u7b7e\uff0c\u4fee\u6539\u4e3a\u4e0b\u5217\u4ee3\u7801<\/p>\n

echo '<p><a class=\"note\" href=\"' . get_permalink() . '\">' . $res_desc . '<\/a><\/p>';<\/pre>\n

\u6dfb\u52a0Mac\u6837\u5f0f\u7684\u4e09\u4e2a\u5c0f\u5706\u70b9<\/h2>\n

1\u3001\u6dfb\u52a0\u8def\u5f84\/themes\/dux\/widgets\/widget-posts.php\uff0c\u3010echo $before_title.$title.$after_title; \u3011\u5728\u6b64\u4ee3\u7801\u4e0b\u9762\u6dfb\u52a0<\/p>\n

echo '<i class=\"mac\"><\/i>';<\/pre>\n

2\u3001CSS\uff1a\u6dfb\u52a0\u5230\u4e3b\u9898\u81ea\u5b9a\u4e49CSS\u6837\u5f0f<\/p>\n

\/*Mac\u4e09\u4e2a\u5706\u70b9*\/\r\n.mac{content:\" \";position:absolute;-webkit-border-radius:50%;border-radius:50%;background:#fc625d !important;width:10px;height:10px;-webkit-box-shadow:20px 0 #fdbc40,40px 0 #35cd4b;box-shadow:20px 0 #fdbc40,40px 0 #35cd4b;float:right;right:55px;top:15px}<\/pre>\n

\u5e95\u90e8\u6ce2\u6d6a\u6548\u679c\uff081\uff09<\/h2>\n

1\u3001\u6dfb\u52a0\u8def\u5f84<\/themes\/dux\/footer.php>\u6dfb\u52a0\u5230\u6700\u5e95\u90e8<\/body><\/html>\u524d\u9762<\/p>\n

<div class=\"waveHorizontals\">\r\n<div id=\"waveHorizontal1\" class=\"waveHorizontal\"><\/div>\r\n<div id=\"waveHorizontal2\" class=\"waveHorizontal\"><\/div>\r\n<div id=\"waveHorizontal3\" class=\"waveHorizontal\"><\/div>\r\n<\/div><\/pre>\n

2\u3001CSS\uff1a\u6dfb\u52a0\u5230\u4e3b\u9898\u81ea\u5b9a\u4e49CSS\u6837\u5f0f<\/p>\n

\/*\u5e95\u90e8\u6ce2\u6d6a*\/\r\n.waveHorizontals{width: 100%;height: 20px;position: relative;overflow: hidden;z-index: 1;}\r\n.ripro-dark .waveHorizontals{width: 100%; height: 20px; position: relative; overflow: hidden; z-index: 1; background-color:#181616 !important}\r\n#waveHorizontal1{-webkit-mask: url(.\/img\/sucaihu_001.svg); mask: url(.\/img\/sucaihu_001.svg); animation-delay: -2s; animation-duration: 12s;}\r\n#waveHorizontal1, #waveHorizontal2, #waveHorizontal3{background-image: linear-gradient(20deg,#18cef2 0,#448aff 100%)!important;}\r\n.ripro-dark #waveHorizontal1, .ripro-dark #waveHorizontal2, .ripro-dark #waveHorizontal3{background-image: linear-gradient(20deg,#ececec 0,#bbbbbb 100%)!important}\r\n.waveHorizontal{width: 200%; height: 100%; display: block; position: absolute; left: 0; bottom: 0; background-repeat: repeat-x; background-position: left bottom; background-size: 350px 100%; transform-origin: 0 100% 0; animation-name: move; animation-timing-function: linear; animation-iteration-count: infinite;}\r\n@keyframes move{0%{transform:translate(-175px,0px) scale(1,1)}50%{transform:translate(-87px,0px) scale(1,0.5)}100%{transform:translate(0px,0px) scale(1,1)}}\r\n#waveHorizontal2{-webkit-mask: url(.\/img\/sucaihu_002.svg); mask: url(.\/img\/sucaihu_002.svg); animation-delay: -2s; animation-duration: 5s;}\r\n#waveHorizontal3{-webkit-mask: url(.\/img\/sucaihu_003.svg); mask: url(.\/img\/sucaihu_003.svg); animation-delay: -1s; animation-duration: 3s;}<\/pre>\n

3\u3001\u4e0b\u8f7d\u56fe\u7247\u5e76\u653e\u5230\u6b64\u76ee\u5f55\u4e2d url(.\/img\/sucaihu_003.svg)\uff0c\u8def\u5f84\u53ef\u81ea\u5df1\u4fee\u6539\uff08CSS\u6837\u5f0f\u4e2d\uff09<\/p>\n

\u5e95\u90e8\u6ce2\u6d6a\u6548\u679c\uff082\uff09<\/h2>\n

\u6dfb\u52a0\u8def\u5f84<\/themes\/dux\/footer.php>\u6dfb\u52a0\u5230\u6700\u5e95\u90e8<\/body><\/html>\u524d\u9762<\/p>\n

<!--\u5e95\u90e8\u6ce2\u6d6a\u5f00\u59cb-->\r\n<div class=\"wiiuii_layout\">\r\n<svg class=\"editorial\"\r\nxmlns=\"http:\/\/www.w3.org\/2000\/svg\"\r\nxmlns:xlink=\"http:\/\/www.w3.org\/1999\/xlink\"\r\nviewBox=\"0 24 150 28\"\r\npreserveAspectRatio=\"none\">\r\n<defs>\r\n<path id=\"gentle-wave\"\r\nd=\"M-160 44c30 0 \r\n58-18 88-18s\r\n58 18 88 18 \r\n58-18 88-18 \r\n58 18 88 18\r\nv44h-352z\" \/>\r\n<\/defs>\r\n<g class=\"parallax\">\r\n<use xlink:href=\"#gentle-wave\" x=\"50\" y=\"0\" fill=\"#4579e2\"\/>\r\n<use xlink:href=\"#gentle-wave\" x=\"50\" y=\"3\" fill=\"#3461c1\"\/>\r\n<use xlink:href=\"#gentle-wave\" x=\"50\" y=\"6\" fill=\"#2d55aa\"\/> \r\n<\/g>\r\n<\/svg>\r\n<\/div>\r\n<style type='text\/css'>\r\n.parallax > use{animation: move-forever 12s linear infinite;}.parallax > use:nth-child(1){animation-delay: -2s;}.parallax > use:nth-child(2){animation-delay: -2s; animation-duration: 5s;}.parallax > use:nth-child(3){animation-delay: -4s; animation-duration: 3s;}@keyframes move-forever{0%{transform: translate(-90px, 0%);} 100%{transform: translate(85px, 0%);}}.wiiuii_layout{width: 100%;height: 40px;position: relative;overflow: hidden;z-index: 1;background: var(--footer-bg);}.editorial{display: block; width: 100%; height: 40px; margin: 0;}\r\n<\/style>\r\n<!--\u5e95\u90e8\u6ce2\u6d6a\u7ed3\u675f--><\/pre>\n

\u6587\u7ae0\u5e95\u90e8\u7248\u6743\u58f0\u660e<\/h2>\n
<fieldset style=\"border: 8px dashed;padding: 10px; border-radius: 5px; line-height: 1.5em; color: #595959;\" data-mce-style=\"border: 2px dashed; background: #ffffff; padding: 10px; border-radius: 5px; line-height: 1.5em; color: #595959;\"><legend style=\"color: #ffffff; width: 30%; text-align: center; background-color: #e8b235; border-radius: 5px;\" align=\"center\" data-mce-style=\"color: #ffffff; width: 30%; text-align: center; background-color: #e8b235; border-radius: 8px;\">\u7248\u6743\u58f0\u660e<\/legend><fieldset style=\"border: 1px dashed #e8b235; padding: 10px; border-radius: 5px; line-height: 2em; font-size: 12px; color: #bdbdbd; text-align: center;\" data-mce-style=\"border: 1px dashed #e8b235; padding: 10px; border-radius: 5px; line-height: 2em; font-size: 12px; color: #bdbdbd; text-align: center;\"><div style=\"font-size: 14px; color: #A3A3A3; text-align: left;\" data-mce-style=\"font-size: 14px; text-align: left;\">\u672c\u6587\u91c7\u7528\u77e5\u8bc6\u5171\u4eab \u7f72\u540d4.0\u56fd\u9645\u8bb8\u53ef\u534f\u8bae [BY-NC-SA] \u8fdb\u884c\u6388\u6743\r\n\u6587\u7ae0\u540d\u79f0\uff1a\u300a%POSTNAME%\u300b\r\n\u6587\u7ae0\u94fe\u63a5\uff1a<a href=\"%POSTLINK%\"style=\" color: #A3A3A3; \">%POSTLINK%<\/a>\r\n\u672c\u7ad9\u8d44\u6e90\u4ec5\u4f9b\u4e2a\u4eba\u5b66\u4e60\u4ea4\u6d41\uff0c\u8bf7\u4e8e\u4e0b\u8f7d\u540e24\u5c0f\u65f6\u5185\u5220\u9664\uff0c\u4e0d\u5141\u8bb8\u7528\u4e8e\u5546\u4e1a\u7528\u9014\uff0c\u5426\u5219\u6cd5\u5f8b\u95ee\u9898\u81ea\u884c\u627f\u62c5\u3002<\/div><\/fieldset><\/fieldset><\/pre>\n

\u5206\u4eab\u548c\u6807\u7b7e\u6548\u679c<\/h2>\n
\/*\u5206\u4eab\u548c\u6807\u7b7e\u6548\u679c*\/\r\n.shares a:hover,.article-tags a:hover{transform:translateY(-5px)}<\/pre>\n

\u76f8\u5173\u63a8\u8350\u7279\u6548\u53ca\u5b57\u4f53\u5c45\u4e2d\u663e\u793a<\/h2>\n
\/*\u76f8\u5173\u63a8\u8350\u7279\u6548\u53ca\u5b57\u4f53\u5c45\u4e2d\u663e\u793a*\/\r\n.relates-imagetext li {transition: transform 0.2s ease;}\r\n.relates-imagetext li:hover{-webkit-transform:translateY(5px);transform:translateY(5px)}\r\n.relates-imagetext a:nth-of-type(2){display:flex;justify-content:center;align-items:center;color:var(--tb--gray)}<\/pre>\n

Pre\u4ee3\u7801\u81ea\u52a8\u6362\u884c<\/h2>\n
\/*\u4ee3\u7801\u81ea\u52a8\u6362\u884c*\/\r\npre{white-space:pre-wrap;word-wrap:break-word}<\/pre>\n

 <\/p>\n","protected":false},"excerpt":{"rendered":"

DUX\u4e3b\u9898\u662f\u57fa\u4e8eWordPress\u7a0b\u5e8f\u7684\u4e3b\u9898\uff0c\u7531themebetter\u56e2\u961f\u539f\u521b\u5f00\u53d1\uff0c\u4f7f\u7528\u4e3b\u9898\u4f60\u9700\u8981\u5b89\u88c5WordPress\u7a0b\u5e8f\u3002 \u652f\u6301\u591c\u95f4\u6a21\u5f0f\u3001\u5feb\u8baf\u3001\u4e13\u9898\u3001\u767e\u5ea6\u6536\u5f55\u3001\u4eba\u673a\u9a8c\u8bc1\u3001\u591a\u7ea7\u5206\u7c7b\u7b5b\u9009\uff0c\u9002\u7528\u4e8e\u5782\u76f4\u7ad9\u70b9\u3001\u79d1\u6280\u535a\u5ba2\u3001\u4e2a\u4eba\u7ad9\uff0c\u6241\u5e73\u5316\u8bbe\u8ba1\u3001\u7b80\u6d01\u767d…<\/p>\n","protected":false},"author":1,"featured_media":180,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,7],"tags":[31,30,32],"topic":[],"class_list":["post-78","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-wordpress","category-beautification","tag-dux","tag-wordpress","tag-32"],"_links":{"self":[{"href":"https:\/\/beekeeperr.com\/wp-json\/wp\/v2\/posts\/78"}],"collection":[{"href":"https:\/\/beekeeperr.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/beekeeperr.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/beekeeperr.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/beekeeperr.com\/wp-json\/wp\/v2\/comments?post=78"}],"version-history":[{"count":0,"href":"https:\/\/beekeeperr.com\/wp-json\/wp\/v2\/posts\/78\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/beekeeperr.com\/wp-json\/wp\/v2\/media\/180"}],"wp:attachment":[{"href":"https:\/\/beekeeperr.com\/wp-json\/wp\/v2\/media?parent=78"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/beekeeperr.com\/wp-json\/wp\/v2\/categories?post=78"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/beekeeperr.com\/wp-json\/wp\/v2\/tags?post=78"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/beekeeperr.com\/wp-json\/wp\/v2\/topic?post=78"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}