{"id":2919,"date":"2024-11-10T10:17:43","date_gmt":"2024-11-10T02:17:43","guid":{"rendered":"https:\/\/fwq.ai\/blog\/2919\/"},"modified":"2024-11-10T10:17:43","modified_gmt":"2024-11-10T02:17:43","slug":"%e5%a6%82%e4%bd%95%e8%a7%a3%e5%86%b3%e6%9f%a5%e7%9c%8b%e6%9b%b4%e5%a4%9a%e6%8c%89%e9%92%ae%e6%b5%ae%e5%8a%a8%e5%b8%83%e5%b1%80%e5%9c%a8%e4%b8%8d%e5%90%8c%e5%b1%8f%e5%b9%95%e5%88%86","status":"publish","type":"post","link":"https:\/\/fwq.ai\/blog\/2919\/","title":{"rendered":"\u5982\u4f55\u89e3\u51b3\u201c\u67e5\u770b\u66f4\u591a\u201d\u6309\u94ae\u6d6e\u52a8\u5e03\u5c40\u5728\u4e0d\u540c\u5c4f\u5e55\u5206\u8fa8\u7387\u4e0b\u5931\u6548\u7684\u95ee\u9898\uff1f"},"content":{"rendered":"<p><img decoding=\"async\" src=\"https:\/\/img.php.cn\/upload\/article\/001\/246\/273\/173094120686596.jpg\" class=\"aligncenter\" title=\"\u5982\u4f55\u89e3\u51b3\u201c\u67e5\u770b\u66f4\u591a\u201d\u6309\u94ae\u6d6e\u52a8\u5e03\u5c40\u5728\u4e0d\u540c\u5c4f\u5e55\u5206\u8fa8\u7387\u4e0b\u5931\u6548\u7684\u95ee\u9898\uff1f\u63d2\u56fe\" alt=\"\u5982\u4f55\u89e3\u51b3\u201c\u67e5\u770b\u66f4\u591a\u201d\u6309\u94ae\u6d6e\u52a8\u5e03\u5c40\u5728\u4e0d\u540c\u5c4f\u5e55\u5206\u8fa8\u7387\u4e0b\u5931\u6548\u7684\u95ee\u9898\uff1f\u63d2\u56fe\" \/><\/p>\n<p><strong>\u89e3\u51b3\u6309\u94ae\u6d6e\u52a8\u5e03\u5c40\u7684\u96be\u9898<\/strong><\/p>\n<p>\u672c\u6587\u65e8\u5728\u89e3\u51b3\u4e00\u4e2a\u5e38\u89c1\u5e03\u5c40\u95ee\u9898\uff1a\u5982\u4f55\u5728\u4fdd\u6301\u201c\u67e5\u770b\u66f4\u591a\u201d\u6309\u94ae\u59cb\u7ec8\u4f4d\u4e8e\u53f3\u8fb9\u7684\u60c5\u51b5\u4e0b\u5b9e\u73b0\u5982\u56fe 1 \u6240\u793a\u7684\u5e03\u5c40\u3002\u5f53\u5c4f\u5e55\u5206\u8fa8\u7387\u8f83\u5c0f\u65f6\uff0c\u53ef\u80fd\u4f1a\u51fa\u73b0\u5982\u56fe 2 \u6240\u793a\u7684\u60c5\u51b5\u3002<\/p>\n<p>\u4e3a\u4e86\u89e3\u51b3\u8fd9\u4e2a\u95ee\u9898\uff0c\u6211\u4eec\u9700\u8981\u8c03\u6574 HTML \u7ed3\u6784\uff0c\u5177\u4f53\u5982\u4e0b\uff1a<\/p>\n<ol>\n<li>\u5728 .tips \u5143\u7d20\u4e2d\u6dfb\u52a0 height: auto \u548c : hidden \u6837\u5f0f\uff1a<\/li>\n<\/ol>\n<pre>.tips {\n  width: 1000px;\n  height: auto;\n  overflow: hidden;\n}<\/pre>\n<p> \u767b\u5f55\u540e\u590d\u5236 <\/p>\n<p>\u901a\u8fc7\u6dfb\u52a0\u8fd9\u4e9b\u6837\u5f0f\uff0c\u6211\u4eec\u53ef\u4ee5\u8ba9 .tips \u5143\u7d20\u81ea\u52a8\u9002\u5e94\u5185\u5bb9\u7684\u9ad8\u5ea6\uff0c\u540c\u65f6\u9690\u85cf\u6ea2\u51fa\u5185\u5bb9\u3002<\/p>\n<p>\u8c03\u6574\u540e\u7684\u4ee3\u7801\u5982\u4e0b\uff1a<\/p>\n<pre>&lt;!DOCTYPE html&gt;\n&lt;html lang=\"en\"&gt;\n&lt;head&gt;\n  &lt;meta charset=\"UTF-8\"&gt;\n  &lt;title&gt;&lt;\/title&gt;\n  &lt;style&gt;\n    .tips {\n      width: 1000px;\n      height: auto;\n      overflow: hidden;\n    }\n    .click-more {\n      color: #409eff;\n      float: right;\n      cursor: pointer;\n    }\n    .el-icon {\n      margin-left: 4px;\n      transition: all 0.3s;\n    }\n    .btn-list {\n      width: 1000px;\n      text-align: right;\n    }\n    .btn-list button {\n      display: inline-block;\n      line-height: 1;\n      white-space: nowrap;\n      cursor: pointer;\n      border: 1px solid #409eff;\n      border-color: #DCDFE6;\n      color: #FFF;\n      -webkit-appearance: none;\n      text-align: center;\n      box-sizing: border-box;\n      outline: none;\n      margin: 0;\n      transition: .1s;\n      font-weight: 500;\n      padding: 12px 20px;\n      font-size: 14px;\n      border-radius: 4px;\n      background-color: #409eff;\n    }\n  &lt;\/style&gt;\n&lt;\/head&gt;\n&lt;body&gt;\n  &lt;div class=\"tips\"&gt;\n    &lt;span&gt;\u5df4\u62c9\u5df4\u62c9\u5df4\u62c9\u5df4\u62c9\u5df4\u62c9\u5df4\u62c9\u5df4\u62c9\u5df4\u62c9\u5df4\u62c9\u5df4\u62c9\u5df4\u62c9\u5df4\u62c9\u5df4\u62c9\u5df4\u62c9\u5df4\u62c9\u5df4\u62c9\u5df4\u62c9\u5df4\u62c9\u5df4\u62c9\u5df4\u62c9\u5df4\u62c9\u5df4\u62c9\u5df4\u62c9\u5df4\u62c9\u5df4\u62c9\u5df4\u62c9\u5df4\u62c9\u5df4\u62c9\u5df4\u62c9\u5df4\u62c9\u5df4\u62c9\u5df4\u62c9\u5df4\u62c9\u5df4\u62c9\u5df4\u62c9\u5df4\u62c9\u5df4\u62c9\u5df4\u62c9\u5df4\u62c9\u5df4\u62c9\u5df4\u62c9\u5df4\u62c9\u5df4\u62c9\u5df4\u62c9\u5df4\u62c9\u5df4\u62c9\u5df4\u62c9\u5df4\u62c9&lt;\/span&gt;\n    &lt;!-- &lt;span&gt;\u5df4\u62c9\u5df4\u62c9\u5df4\u62c9\u5df4\u62c9\u5df4\u62c9\u5df4\u62c9\u5df4\u62c9\u5df4\u62c9\u5df4\u62c9\u5df4\u62c9\u5df4\u62c9\u5df4\u62c9\u5df4\u62c9\u5df4\u62c9\u5df4\u62c9\u5df4\u62c9\u5df4\u62c9\u5df4\u62c9\u5df4\u62c9\u5df4\u62c9\u5df4\u62c9\u5df4\u62c9\u5df4\u62c9\u5df4\u62c9\u5df4\u62c9\u5df4\u62c9\u5df4\u62c9\u5df4\u62c9\u5df4\u62c9\u62c9\u5df4\u62c9\u5df4&lt;\/span&gt; --&gt;\n    &lt;span class=\"click-more\"&gt;\u67e5\u770b\u66f4\u591a&lt;i :class=\"`el-icon el-icon-d-arrow-right`\"&gt;&lt;\/i&gt;&lt;\/span&gt;\n  &lt;\/div&gt;\n  &lt;div class=\"btn-list\"&gt;\n    &lt;button&gt;\u4fdd\u5b58&lt;\/button&gt;\n  &lt;\/div&gt;\n&lt;\/body&gt;\n&lt;\/html&gt;<\/pre>\n<p> \u767b\u5f55\u540e\u590d\u5236 <\/p>\n<p>\u8fd9\u6837\u4fee\u6539\u540e\uff0c\u5e03\u5c40\u5c06\u5982\u671f\u663e\u793a\uff0c\u65e0\u8bba\u5c4f\u5e55\u5206\u8fa8\u7387\u5982\u4f55\u3002\u201c\u67e5\u770b\u66f4\u591a\u201d\u6309\u94ae\u59cb\u7ec8\u4fdd\u6301\u5728\u53f3\u4fa7\uff0c\u800c\u5185\u5bb9\u533a\u57df\u5219\u81ea\u52a8\u8c03\u6574\u9ad8\u5ea6\u3002<\/p>\n<p>\u4ee5\u4e0a\u5c31\u662f\u5982\u4f55\u89e3\u51b3\u201c\u67e5\u770b\u66f4\u591a\u201d\u6309\u94ae\u6d6e\u52a8\u5e03\u5c40\u5728\u4e0d\u540c\u5c4f\u5e55\u5206\u8fa8\u7387\u4e0b\u5931\u6548\u7684\u95ee\u9898\uff1f\u7684\u8be6\u7ec6\u5185\u5bb9\uff0c\u66f4\u591a\u8bf7\u5173\u6ce8\u7c73\u4e91\u5176\u5b83\u76f8\u5173\u6587\u7ae0\uff01<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u89e3\u51b3\u6309\u94ae\u6d6e\u52a8\u5e03\u5c40\u7684\u96be\u9898 \u672c\u6587\u65e8\u5728\u89e3\u51b3\u4e00\u4e2a\u5e38\u89c1\u5e03\u5c40\u95ee\u9898\uff1a\u5982\u4f55\u5728\u4fdd\u6301\u201c\u67e5\u770b\u66f4\u591a\u201d\u6309\u94ae\u59cb\u7ec8\u4f4d\u4e8e\u53f3\u8fb9\u7684\u60c5\u51b5\u4e0b\u5b9e\u73b0\u5982\u56fe 1 \u6240\u793a\u7684\u5e03\u5c40\u3002\u5f53\u5c4f\u5e55\u5206\u8fa8\u7387\u8f83\u5c0f\u65f6\uff0c\u53ef\u80fd\u4f1a\u51fa\u73b0\u5982\u56fe 2 \u6240\u793a\u7684\u60c5\u51b5\u3002 \u4e3a\u4e86\u89e3\u51b3\u8fd9\u4e2a\u95ee\u9898\uff0c\u6211\u4eec\u9700\u8981\u8c03\u6574 HTML \u7ed3\u6784\uff0c\u5177\u4f53\u5982\u4e0b\uff1a \u5728 .tips \u5143\u7d20\u4e2d\u6dfb\u52a0 height: auto \u548c : hidden \u6837\u5f0f\uff1a .tips { width: 1000px; height: auto; overflow: hidden; } \u767b\u5f55\u540e\u590d\u5236 \u901a\u8fc7\u6dfb\u52a0\u8fd9\u4e9b\u6837\u5f0f\uff0c\u6211\u4eec\u53ef\u4ee5\u8ba9 .tips \u5143\u7d20\u81ea\u52a8\u9002\u5e94\u5185\u5bb9\u7684\u9ad8\u5ea6\uff0c\u540c\u65f6\u9690\u85cf\u6ea2\u51fa\u5185\u5bb9\u3002 \u8c03\u6574\u540e\u7684\u4ee3\u7801\u5982\u4e0b\uff1a &lt;!DOCTYPE html&gt; &lt;html lang=&#8221;en&#8221;&gt; &lt;head&gt; &lt;meta charset=&#8221;UTF-8&#8243;&gt; &lt;title&gt;&lt;\/title&gt; &lt;style&gt; .tips { width: 1000px; height: auto; overflow: hidden; } .click-more { color: #409eff; float: [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[16],"tags":[],"class_list":["post-2919","post","type-post","status-publish","format-standard","hentry","category-16"],"_links":{"self":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/2919","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/comments?post=2919"}],"version-history":[{"count":0,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/2919\/revisions"}],"wp:attachment":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/media?parent=2919"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/categories?post=2919"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/tags?post=2919"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}