{"id":450,"date":"2015-01-22T22:50:58","date_gmt":"2015-01-22T14:50:58","guid":{"rendered":"http:\/\/www.baishitou.cn\/?p=450"},"modified":"2018-05-10T15:40:54","modified_gmt":"2018-05-10T07:40:54","slug":"dedecms%e5%bd%93%e5%89%8d%e6%a0%8f%e7%9b%ae%e9%ab%98%e4%ba%ae%e6%98%be%e7%a4%ba%e6%96%b9%e6%b3%95","status":"publish","type":"post","link":"https:\/\/www.baishitou.cn\/450.html","title":{"rendered":"dedecms\u5f53\u524d\u680f\u76ee\u9ad8\u4eae\u663e\u793a\u65b9\u6cd5"},"content":{"rendered":"

\u6807\u7b7e\u540d\u79f0\uff1achannel<\/span><\/p>\n

\u6807\u8bb0\u7b80\u4ecb\uff1a\u7ec7\u68a6\u5e38\u7528\u6807\u8bb0\uff0c\u901a\u5e38\u7528\u4e8e\u7f51\u7ad9\u9876\u90e8\u4ee5\u83b7\u53d6\u7ad9\u70b9\u680f\u76ee\u4fe1\u606f\uff0c\u65b9\u4fbf\u7f51\u7ad9\u4f1a\u5458\u5206\u7c7b\u6d4f\u89c8\u6574\u7ad9\u4fe1\u606f\u529f\u80fd\u8bf4\u660e\uff1a\u7528\u4e8e\u83b7\u53d6\u680f\u76ee\u5217\u8868\u9002\u7528\u8303\u56f4\uff1a<\/span><\/p>\n

\u5168\u5c40\u4f7f\u7528\u57fa\u672c\u8bed\u6cd5\uff1a<\/span><\/p>\n

<li><a href=\"\/\">\u9996\u9875<\/a><\/li>\r\n{dede:channel type='top' currentstyle=\"<li><a href='~typelink~' class='thisclass'>~typename~<\/a><\/li>\"}\r\n<li><a href='[field:typelink\/]'>[field:typename\/]<\/a><\/li>\r\n{\/dede:channel}<\/code><\/pre>\n

 <\/p>\n

{dede:channel type='top' row='8' currentstyle=\"<li><a href='~typelink~'class='thisclass'>~typename~<\/a> <\/li>\"}<\/span><\/p>\n

<li><a href='[field:typelink\/]'>[field:typename\/]<\/a><\/span><\/p>\n

<\/li><\/span><\/p>\n

{\/dede:channel}<\/span><\/p>\n

\u53c2\u6570\u8bf4\u660e\uff1atypeid = '0' \u680f\u76eeID<\/span><\/p>\n

reid = '0' \u4e0a\u7ea7\u680f\u76eeID<\/span><\/p>\n

row = '100' \u8c03\u7528\u680f\u76ee\u6570<\/span><\/p>\n

col = '1'\u5206\u591a\u5c11\u5217\u663e\u793a\uff08\u9ed8\u8ba4\u4e3a\u5355\u5217\uff09<\/span><\/p>\n

type = 'son | sun' son\u8868\u793a\u4e0b\u7ea7\u680f\u76ee,self\u8868\u793a\u540c\u7ea7\u680f\u76ee,top\u9876\u7ea7\u680f\u76ee<\/span><\/p>\n

currentstyle = ''\u5e94\u7528\u6837\u5f0f<\/span><\/p>\n

class='thisclass' \u00a0 thisclass\u8fd9\u4e2a\u662f\u81ea\u7531\u7684\uff0c\u4ed6\u4ee3\u8868\u7684\u610f\u601d\u662f\u6837\u5f0f\u8868\u91cc\u9762\uff0c\u4f60\u6240\u7ed9\u7684\u9ad8\u4eae\u663e\u793a\u7684\u6837\u5f0f\u3002<\/span><\/p>\n

\u5e95\u5c42\u6a21\u677f\u5b57\u6bb5\uff1aID(\u540c id),typeid, typelink, typename, typeurl,typedir(\u4ec5\u8868\u793a\u680f\u76ee\u7684\u7f51\u5740)<\/span><\/p>\n

\u4f8b\uff1a{dede:channel type='top'}<a href='[field:typelink \/]'>[field:typename\/]<\/a>{\/dede:channel}<\/span><\/p>\n

\u6ce8\uff1a\u5728\u6ca1\u6709\u6307\u5b9atypeid\u7684\u60c5\u51b5\u4e0b\uff0ctype\u6807\u8bb0\u4e0e\u6a21\u677f\u7684\u73af\u5883\u6709\u5173\uff0c\u5982\uff0c\u6a21\u677f\u751f\u6210\u5230\u680f\u76ee\u4e00\uff0c\u90a3\u4e48type='son'\u5c31\u8868\u793a\u680f\u76ee\u4e00\u7684\u6240\u6709\u5b50\u7c7b\u3002<\/span><\/p>\n

\u8bf7\u770b\u6211\u7684 dedecms\u6a21\u677f\u4e2d\u5bfc\u822a\u90e8\u5206\u4ee3\u7801\uff1a<\/span><\/p>\n

<DIV class=menu><\/span><\/p>\n

<UL><\/span><\/p>\n

<LI><A href=\"\/\">\u9996\u9875<\/A> <\/LI><\/span><\/p>\n

{dede:channel type='self' row='8' currentstyle=\"<li class=hover><a href=~typelink~>~typename~<\/a><\/li>\"}<\/span><\/p>\n

<LI><a href='[field:typelink\/]'>[field:typename\/]<\/a><\/LI><\/span><\/p>\n

{\/dede:channel}<\/span><\/p>\n

<\/UL><\/span><\/p>\n

<\/DIV><\/span><\/p>\n

\u90a3\u4e48\u6211\u4eec\u5728\u6837\u5f0f\u8868\u91cc\u9762\u7684hover\u5c31\u662f\u63a7\u5236\u9ad8\u4eae\u663e\u793a\u7684\u6837\u5f0f\uff1a<\/span><\/p>\n

.menu{\u91cc\u9762\u5c31\u4e0d\u591a\u5199\u4e86}<\/span><\/p>\n

.menu ul{\u91cc\u9762\u5c31\u4e0d\u591a\u5199\u4e86}<\/span><\/p>\n

.menu ul li{\u91cc\u9762\u5c31\u4e0d\u591a\u5199\u4e86}<\/span><\/p>\n

.menu ul li a{\u91cc\u9762\u5c31\u4e0d\u591a\u5199\u4e86}<\/span><\/p>\n

.hover{background:url(bg-nav.jpg) no-repeat;}<\/span><\/p>\n

\u4e0a\u9762\u8fd9\u6bb5\u662f\u6211\u7684\u7f51\u9875\u9876\u90e8\u5bfc\u822a\u83dc\u5355\uff0c\u5176\u4e2dcurrentstyle\u5c31\u662f\u7528\u6765\u5b9e\u73b0\u5f53\u524d\u680f\u76ee\u7a81\u51fa\u663e\u793a\u7684\u3002 class=hover\u81ea\u7136\u662f\u6211\u5b9a\u4e49\u7684\u5f53\u524d\u680f\u76ee\u6837\u5f0f\u5566\uff01<\/span><\/p>\n

\u8fd9\u91cc\u5c31\u6d89\u53ca\u5230\u4e86dedecms\u7684\u6807\u7b7e\u95ee\u9898\uff0c\u5176\u5b9e\u719f\u6089dedecms\u6807\u7b7e\u7684\u540c\u5b66\u5bf9\u8fd9\u4e2a\u95ee\u9898\u5c31\u4e0d\u4f1a\u4e3a\u96be\uff0c\u4ee5\u4e0b\u662fdedecms\u7684\u5b98\u65b9\u9891\u9053\u6807\u7b7e\uff08\u4e5f\u5c31\u662f\u5bfc\u822a\u6761\u7528<\/span><\/p>\n

\u5230\u7684\u6807\u7b7e\uff09\u8bf4\u660e\uff1a\u5176\u4e2d class='thisclass' \u4e2d\u7684thisclass\u5c31\u662f\u4f60\u5b9a\u4e49\u7684css\u6837\u5f0f\u7c7b\u522b\u540d\uff08class\uff0c\u7c7b\u522b\u9009\u62e9\u5668\uff09\uff0c\u5e94\u7528\u65f6\u6539\u4e3a\u4f60\u5b9a\u4e49\u7684class\u3002<\/span><\/p>\n

class='thisclass'\u653e\u5728<a>\u6807\u8bb0\u4e2d\u5219css\u6837\u5f0f\u4f5c\u7528\u4e8e<a>\uff0c\u4e5f\u53ef\u4ee5\u653e\u5728<li>\u6807\u8bb0\u4e2d\uff0c\u4f5c\u7528\u4e8e<li>\u6807\u8bb0\u3002<\/span><\/p>\n

\u6f14\u793a\u5730\u5740\uff1ahttp:\/\/www.441516.com<\/p>\n","protected":false},"excerpt":{"rendered":"

\u6807\u7b7e\u540d\u79f0\uff1achannel \u6807\u8bb0\u7b80\u4ecb\uff1a\u7ec7\u68a6\u5e38\u7528\u6807\u8bb0\uff0c\u901a\u5e38\u7528\u4e8e\u7f51\u7ad9\u9876\u90e8\u4ee5\u83b7\u53d6\u7ad9\u70b9\u680f\u76ee\u4fe1\u606f\uff0c\u65b9\u4fbf\u7f51\u7ad9\u4f1a\u5458\u5206\u7c7b\u6d4f\u89c8\u6574\u7ad9 […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[43,132],"class_list":["post-450","post","type-post","status-publish","format-standard","hentry","category-web","tag-dedecms","tag-132"],"_links":{"self":[{"href":"https:\/\/www.baishitou.cn\/wp-json\/wp\/v2\/posts\/450","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.baishitou.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.baishitou.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.baishitou.cn\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.baishitou.cn\/wp-json\/wp\/v2\/comments?post=450"}],"version-history":[{"count":0,"href":"https:\/\/www.baishitou.cn\/wp-json\/wp\/v2\/posts\/450\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.baishitou.cn\/wp-json\/wp\/v2\/media?parent=450"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.baishitou.cn\/wp-json\/wp\/v2\/categories?post=450"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.baishitou.cn\/wp-json\/wp\/v2\/tags?post=450"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}