{"id":6415,"date":"2021-05-06T02:12:00","date_gmt":"2021-05-05T18:12:00","guid":{"rendered":"https:\/\/vip.fxxkpython.com\/?p=6415"},"modified":"2021-05-07T02:20:07","modified_gmt":"2021-05-06T18:20:07","slug":"%e4%bd%bf%e7%94%a8-python-%e4%bb%8e-0-%e5%bc%80%e5%8f%91%e5%b1%9e%e4%ba%8e%e4%bd%a0%e7%9a%84%e4%b8%aa%e4%ba%ba%e7%ae%a1%e7%90%86%e7%b3%bb%e7%bb%9f-10-%e7%af%87-%ef%bd%9c-%e7%bb%93%e5%90%88-bootstrap","status":"publish","type":"post","link":"https:\/\/vip.fxxkpython.com\/?p=6415","title":{"rendered":"\u4f7f\u7528 Python \u4ece 0 \u5f00\u53d1\u5c5e\u4e8e\u4f60\u7684\u4e2a\u4eba\u7ba1\u7406\u7cfb\u7edf 10 \u7bc7 \uff5c \u7ed3\u5408 Bootstrap\uff0c\u9ad8\u6548\u53c8\u597d\u770b"},"content":{"rendered":"\n<p>\u524d\u9762\u6211\u4eec\u4e86\u89e3\u4e86\u7f51\u9875\u7684\u6e32\u67d3\u4f7f\u7528\uff0c\u90a3\u4e48\u662f\u4e0d\u662f\u6211\u4eec\u7684\u6bcf\u4e2a HTML \u9875\u9762\u90fd\u9700\u8981\u81ea\u5df1\u53bb\u5199\u5462\uff0c\u50cf HTML\uff0cCSS \uff0cJS \u8fd9\u4e9b\u6587\u4ef6\u5f53\u7136\u662f\u4e0d\u9700\u8981\u6211\u4eec\u81ea\u5df1\u4ece\u5934\u5f00\u59cb\u5199\u8d77\u7684\u3002<\/p>\n\n\n\n<p>\u6211\u4eec\u53ef\u4ee5\u4f7f\u7528 Bootstrap \u6846\u67b6\u6765\u5199\u6211\u4eec\u7684\u524d\u7aef\u9875\u9762\uff0c\u5b83\u662f\u4e00\u4e2a\u57fa\u4e8e HTML\uff0cCSS \uff0cJS \u7684\u6846\u67b6\uff0c\u6211\u4eec\u53ef\u4ee5\u4f7f\u7528\u5b83\u5feb\u901f\u642d\u5efa\u524d\u7aef\u9875\u9762\uff0c\u7b80\u5355\u70b9\u8bf4\u5c31\u662f\uff0c\u6211\u4eec\u53bb\u5f15\u7528 <a href=\"https:\/\/getbootstrap.com\/docs\/5.0\/getting-started\/introduction\/\">Bootstrap<\/a> \u63d0\u4f9b\u7684\u76f8\u5173\u9759\u6001\u8d44\u6e90\u6587\u4ef6\uff0c\u5c31\u53ef\u4ee5\u5f88\u5feb\u7684\u5199\u51fa\u6f02\u4eae\u7684\u8868\u5355\u7b49\u9875\u9762\u3002<\/p>\n\n\n\n<p>\u6709\u4e00\u4e2a\u53eb\u505a\u300cflask_bootstrap\u300d\u7684\u5e93\uff0c\u53ef\u4ee5\u76f4\u63a5\u4f7f\u7528\u5b83\u6765\u8fdb\u884c\u64cd\u4f5c\uff1a<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre class=\"CodeMirror\" data-setting=\"{&quot;showPanel&quot;:true,&quot;languageLabel&quot;:&quot;language&quot;,&quot;fullScreenButton&quot;:true,&quot;copyButton&quot;:true,&quot;mode&quot;:&quot;python&quot;,&quot;mime&quot;:&quot;text\/x-python&quot;,&quot;theme&quot;:&quot;material&quot;,&quot;lineNumbers&quot;:false,&quot;styleActiveLine&quot;:false,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;fileName&quot;:&quot;&quot;,&quot;wpum_restrict_type&quot;:&quot;wpum_restrict_type_state&quot;,&quot;wpum_hide_state_in&quot;:false,&quot;wpum_hide_state_out&quot;:false,&quot;language&quot;:&quot;Python&quot;,&quot;maxHeight&quot;:&quot;400px&quot;,&quot;modeName&quot;:&quot;python&quot;}\">\n\nfrom flask import Flask\nfrom flask_bootstrap import Bootstrap\n\ndef create_app():\n  app = Flask(__name__)\n  Bootstrap(app)\n\n  return app\n<\/pre><\/div>\n\n\n\n<p>\u8fd9\u6837\u6211\u4eec\u5c31\u53ef\u4ee5\u5728\u524d\u7aef\u5f15\u7528 Bootstrap \u3002<\/p>\n\n\n\n<p>\u53e6\u4e00\u79cd\u65b9\u5f0f\u5c31\u662f\u4f60\u4e5f\u53ef\u4ee5\u76f4\u63a5\u53bb\u4e0b\u8f7d Bootstrap \u7684\u9759\u6001\u8d44\u6e90\u5230 templates \u4e2d\u53bb\u5f15\u7528\u3002<\/p>\n\n\n\n<h2>\u53bb\u54ea\u513f\u627e bootstrap \u6a21\u677f\uff1f<\/h2>\n\n\n\n<p>\u7ed9\u4f60\u63a8\u8350\u4e00\u4e2a\u4e0d\u9519\u7684 bootstrap \u6a21\u677f\u6587\u4ef6\uff0c\u91cc\u9762\u6709\u5404\u79cd\u597d\u770b\u7684\u6a21\u677f\u9875\u9762\u4f9b\u4f60\u9009\u62e9\uff1a<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"1024\" height=\"709\" src=\"https:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2021\/05\/\u622a\u5c4f2021-05-07-\u4e0a\u53481.47.39-1-1024x709.png\" alt=\"\" class=\"wp-image-6417\" srcset=\"https:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2021\/05\/\u622a\u5c4f2021-05-07-\u4e0a\u53481.47.39-1-1024x709.png 1024w, https:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2021\/05\/\u622a\u5c4f2021-05-07-\u4e0a\u53481.47.39-1-300x208.png 300w, https:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2021\/05\/\u622a\u5c4f2021-05-07-\u4e0a\u53481.47.39-1-768x531.png 768w, https:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2021\/05\/\u622a\u5c4f2021-05-07-\u4e0a\u53481.47.39-1-1536x1063.png 1536w, https:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2021\/05\/\u622a\u5c4f2021-05-07-\u4e0a\u53481.47.39-1-2048x1417.png 2048w, https:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2021\/05\/\u622a\u5c4f2021-05-07-\u4e0a\u53481.47.39-1-769x532.png 769w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure><\/div>\n\n\n\n<p>\u5730\u5740\u5728\u8fd9\uff1a<div style=\"text-align:center;border:1px dashed #FF9A9A;padding:8px;margin:10px auto;color:#FF6666;\">\u672c\u6587\u9690\u85cf\u5185\u5bb9 <a href=\"https:\/\/vip.fxxkpython.com\/wp-login.php?redirect_to=https%3A%2F%2Fvip.fxxkpython.com%2F%3Fp%3D6415\">\u767b\u9646<\/a> \u540e\u624d\u53ef\u4ee5\u6d4f\u89c8<\/div><\/p>\n\n\n\n<blockquote class=\"wp-block-quote\"><p><a href=\"https:\/\/startbootstrap.com\/themes\">https:\/\/startbootstrap.com\/themes<\/a><\/p><\/blockquote>\n\n\n\n<p>\u5176\u4e2d\u6709\u514d\u8d39\u7248\u672c\u548c\u6536\u8d39\u7248\u672c\uff0c\u4e0d\u8fc7\u5927\u90e8\u5206\u514d\u8d39\u7248\u672c\u5df2\u7ecf\u591f\u4f60\u4f7f\u7528\u4e86\u3002<\/p>\n\n\n\n<p>\u6bd4\u5982\u8fd9\u4e2a\u300c<a href=\"https:\/\/startbootstrap.com\/theme\/sb-admin-2\">sb-admin<\/a>\u300d\u5c31\u633a\u597d\u3002<\/p>\n\n\n\n<h2>\u5982\u4f55\u7ed3\u5408\u5230\u4f60\u7684\u9879\u76ee\u4e2d\u53bb\uff1f<\/h2>\n\n\n\n<p>\u5982\u4f55\u5c06\u6a21\u677f\u6587\u4ef6\u4e3a\u4f60\u6240\u7528\u5462\uff1f\u5176\u5b9e\u5f88\u7b80\u5355\uff0c\u6bd5\u7adf\u4f60\u4e4b\u524d\u5df2\u7ecf\u77e5\u9053\u5982\u4f55\u6e32\u67d3\u7f51\u9875\u4e86\u3002<\/p>\n\n\n\n<p>\u6bd4\u5982\u73b0\u5728\u4f60\u4e0b\u8f7d\u597d\u4e86 \u300csb-admin\u300d\u7684\u6a21\u677f\u6587\u4ef6\uff1a<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"988\" height=\"1024\" src=\"https:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2021\/05\/\u622a\u5c4f2021-05-07-\u4e0a\u53481.51.15-1-988x1024.png\" alt=\"\" class=\"wp-image-6419\" srcset=\"https:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2021\/05\/\u622a\u5c4f2021-05-07-\u4e0a\u53481.51.15-1-988x1024.png 988w, https:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2021\/05\/\u622a\u5c4f2021-05-07-\u4e0a\u53481.51.15-1-290x300.png 290w, https:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2021\/05\/\u622a\u5c4f2021-05-07-\u4e0a\u53481.51.15-1-768x796.png 768w, https:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2021\/05\/\u622a\u5c4f2021-05-07-\u4e0a\u53481.51.15-1-769x797.png 769w, https:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2021\/05\/\u622a\u5c4f2021-05-07-\u4e0a\u53481.51.15-1.png 1106w\" sizes=\"(max-width: 988px) 100vw, 988px\" \/><\/figure><\/div>\n\n\n\n<p>\u4f60\u53ef\u4ee5\u628a\u5fc5\u8981\u7684\u6587\u4ef6\u590d\u5236\u5230\u4f60\u9879\u76ee\u4e2d\u7684\u5bf9\u5e94\u4f4d\u7f6e\uff0c\u7136\u540e\u8fdb\u884c\u6e32\u67d3\u3002<\/p>\n\n\n\n<p>\u5047\u8bbe\u73b0\u5728\u4f60\u7684\u9879\u76ee\u521b\u5efa\u76ee\u5f55\u662f\u8fd9\u6837\u7684\uff1a<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre class=\"CodeMirror\" data-setting=\"{&quot;showPanel&quot;:true,&quot;languageLabel&quot;:&quot;language&quot;,&quot;fullScreenButton&quot;:true,&quot;copyButton&quot;:true,&quot;mode&quot;:&quot;python&quot;,&quot;mime&quot;:&quot;text\/x-python&quot;,&quot;theme&quot;:&quot;material&quot;,&quot;lineNumbers&quot;:false,&quot;styleActiveLine&quot;:false,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;fileName&quot;:&quot;&quot;,&quot;wpum_restrict_type&quot;:&quot;wpum_restrict_type_state&quot;,&quot;wpum_hide_state_in&quot;:false,&quot;wpum_hide_state_out&quot;:false,&quot;language&quot;:&quot;Python&quot;,&quot;maxHeight&quot;:&quot;400px&quot;,&quot;modeName&quot;:&quot;python&quot;}\">\n\n.\n\u2514\u2500\u2500 mysystem\n    \u251c\u2500\u2500 Pipfile\n    \u251c\u2500\u2500 Pipfile.lock\n    \u251c\u2500\u2500 __init__.py\n    \u251c\u2500\u2500 static\n    \u251c\u2500\u2500 templates\n    \u2514\u2500\u2500 views.py\n<\/pre><\/div>\n\n\n\n<p>\u4f60\u53ef\u4ee5\u5c06\u6a21\u677f\u6587\u4ef6\u4e2d\u5fc5\u8981\u7684\u9759\u6001\u8d44\u6e90\u6587\u4ef6\u653e\u5230 static \u4e0b\uff1a<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre class=\"CodeMirror\" data-setting=\"{&quot;showPanel&quot;:true,&quot;languageLabel&quot;:&quot;language&quot;,&quot;fullScreenButton&quot;:true,&quot;copyButton&quot;:true,&quot;mode&quot;:&quot;python&quot;,&quot;mime&quot;:&quot;text\/x-python&quot;,&quot;theme&quot;:&quot;material&quot;,&quot;lineNumbers&quot;:false,&quot;styleActiveLine&quot;:false,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;fileName&quot;:&quot;&quot;,&quot;wpum_restrict_type&quot;:&quot;wpum_restrict_type_state&quot;,&quot;wpum_hide_state_in&quot;:false,&quot;wpum_hide_state_out&quot;:false,&quot;language&quot;:&quot;Python&quot;,&quot;maxHeight&quot;:&quot;400px&quot;,&quot;modeName&quot;:&quot;python&quot;}\">\n\nmysystem\/static\n\u251c\u2500\u2500 css\n\u2502\u00a0\u00a0 \u251c\u2500\u2500 sb-admin-2.css\n\u2502\u00a0\u00a0 \u2514\u2500\u2500 sb-admin-2.min.css\n\u251c\u2500\u2500 img\n\u2502\u00a0\u00a0 \u251c\u2500\u2500 undraw_posting_photo.svg\n\u2502\u00a0\u00a0 \u251c\u2500\u2500 undraw_profile.svg\n\u2502\u00a0\u00a0 \u251c\u2500\u2500 undraw_profile_1.svg\n\u2502\u00a0\u00a0 \u251c\u2500\u2500 undraw_profile_2.svg\n\u2502\u00a0\u00a0 \u251c\u2500\u2500 undraw_profile_3.svg\n\u2502\u00a0\u00a0 \u2514\u2500\u2500 undraw_rocket.svg\n\u251c\u2500\u2500 js\n\u2502\u00a0\u00a0 \u251c\u2500\u2500 demo\n\u2502\u00a0\u00a0 \u251c\u2500\u2500 sb-admin-2.js\n\u2502\u00a0\u00a0 \u2514\u2500\u2500 sb-admin-2.min.js\n\u2514\u2500\u2500 vendor\n    \u251c\u2500\u2500 bootstrap\n    \u251c\u2500\u2500 chart.js\n    \u251c\u2500\u2500 datatables\n    \u251c\u2500\u2500 fontawesome-free\n    \u251c\u2500\u2500 jquery\n    \u2514\u2500\u2500 jquery-easing\n<\/pre><\/div>\n\n\n\n<p>\u5c06\u4e0b\u8f7d\u5230\u7684 index.html \u6587\u4ef6\u653e\u5230 templates \u4e0b\uff1a<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre class=\"CodeMirror\" data-setting=\"{&quot;showPanel&quot;:true,&quot;languageLabel&quot;:&quot;language&quot;,&quot;fullScreenButton&quot;:true,&quot;copyButton&quot;:true,&quot;mode&quot;:&quot;python&quot;,&quot;mime&quot;:&quot;text\/x-python&quot;,&quot;theme&quot;:&quot;material&quot;,&quot;lineNumbers&quot;:false,&quot;styleActiveLine&quot;:false,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;fileName&quot;:&quot;&quot;,&quot;wpum_restrict_type&quot;:&quot;wpum_restrict_type_state&quot;,&quot;wpum_hide_state_in&quot;:false,&quot;wpum_hide_state_out&quot;:false,&quot;language&quot;:&quot;Python&quot;,&quot;maxHeight&quot;:&quot;400px&quot;,&quot;modeName&quot;:&quot;python&quot;}\">\n\nmysystem\/templates\n\u2514\u2500\u2500 index.html\n<\/pre><\/div>\n\n\n\n<p>\u5728\u4f60\u7684\u9879\u76ee\u4e2d\u7684\u521d\u59cb\u5316 py \u6587\u4ef6\u4e2d\u5bfc\u5165 Flask\uff1a<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre class=\"CodeMirror\" data-setting=\"{&quot;showPanel&quot;:true,&quot;languageLabel&quot;:&quot;language&quot;,&quot;fullScreenButton&quot;:true,&quot;copyButton&quot;:true,&quot;mode&quot;:&quot;python&quot;,&quot;mime&quot;:&quot;text\/x-python&quot;,&quot;theme&quot;:&quot;material&quot;,&quot;lineNumbers&quot;:false,&quot;styleActiveLine&quot;:false,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;fileName&quot;:&quot;&quot;,&quot;wpum_restrict_type&quot;:&quot;wpum_restrict_type_state&quot;,&quot;wpum_hide_state_in&quot;:false,&quot;wpum_hide_state_out&quot;:false,&quot;language&quot;:&quot;Python&quot;,&quot;maxHeight&quot;:&quot;400px&quot;,&quot;modeName&quot;:&quot;python&quot;}\">\nfrom flask import Flask\n\napp = Flask('personal_system')\n<\/pre><\/div>\n\n\n\n<p>\u63a5\u7740\u5728\u89c6\u56fe\u5c42 view.py \u4e2d\u6e32\u67d3\u8fd9\u4e2a\u9875\u9762\uff1a<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre class=\"CodeMirror\" data-setting=\"{&quot;showPanel&quot;:true,&quot;languageLabel&quot;:&quot;language&quot;,&quot;fullScreenButton&quot;:true,&quot;copyButton&quot;:true,&quot;mode&quot;:&quot;python&quot;,&quot;mime&quot;:&quot;text\/x-python&quot;,&quot;theme&quot;:&quot;material&quot;,&quot;lineNumbers&quot;:false,&quot;styleActiveLine&quot;:false,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;fileName&quot;:&quot;&quot;,&quot;wpum_restrict_type&quot;:&quot;wpum_restrict_type_state&quot;,&quot;wpum_hide_state_in&quot;:false,&quot;wpum_hide_state_out&quot;:false,&quot;language&quot;:&quot;Python&quot;,&quot;maxHeight&quot;:&quot;400px&quot;,&quot;modeName&quot;:&quot;python&quot;}\">\n\nfrom flask import render_template\nfrom mysystem import app\n\n\n@app.route('\/', methods=['GET'])\ndef index():\n    return render_template('index.html', title='\u4e2a\u4eba\u7ba1\u7406\u7cfb\u7edf')\n\n<\/pre><\/div>\n\n\n\n<p>\u56de\u5230 index.html \u4e2d\uff0c\u5c06\u4f60\u9759\u6001\u8d44\u6e90\u7684\u5f15\u7528\u4f7f\u7528\u4e0a\u7bc7\u8bb2\u5230\u7684\u6a21\u677f\u8bed\u8a00\u5b9e\u73b0\uff1a<\/p>\n\n\n\n<p>\u6bd4\u5982\u52a0\u8f7d css \u6587\u4ef6\u7684\u65f6\u5019\u5e94\u8be5\u6539\u6210\u8fd9\u6837\uff1a<\/p>\n\n\n\n<blockquote class=\"wp-block-quote\"><p>&lt;link href=&#8221;{{ url_for(&#8216;static&#8217;, filename=&#8217;css\/sb-admin-2.min.css&#8217;) }}&#8221; rel=&#8221;stylesheet&#8221;><\/p><\/blockquote>\n\n\n\n<p>\u52a0\u8f7d\u56fe\u7247\u7684\u65f6\u5019\u6539\u6210\u8fd9\u6837\uff1a<\/p>\n\n\n\n<blockquote class=\"wp-block-quote\"><p>&lt;img class=&#8221;rounded-circle&#8221; src=&#8221;{{ url_for(&#8216;static&#8217;, filename=&#8217;img\/undraw_profile_3.svg&#8217;) }}&#8221; alt=&#8221;&#8230;&#8221;><\/p><\/blockquote>\n\n\n\n<p>\u52a0\u8f7d js \u6587\u4ef6\u7684\u65f6\u5019\u6539\u6210\u8fd9\u6837\uff1a<\/p>\n\n\n\n<blockquote class=\"wp-block-quote\"><p>&lt;script src=&#8221;{{ url_for(&#8216;static&#8217;, filename=&#8217;vendor\/bootstrap\/js\/bootstrap.bundle.min.js&#8217;) }}&#8221;>&lt;\/script><\/p><\/blockquote>\n\n\n\n<p><div style=\"text-align:center;border:1px dashed #FF9A9A;padding:8px;margin:10px auto;color:#FF6666;\">\u672c\u6587\u9690\u85cf\u5185\u5bb9 <a href=\"https:\/\/vip.fxxkpython.com\/wp-login.php?redirect_to=https%3A%2F%2Fvip.fxxkpython.com%2F%3Fp%3D6415\">\u767b\u9646<\/a> \u540e\u624d\u53ef\u4ee5\u6d4f\u89c8<\/div>OK\uff0c\u73b0\u5728\u4f60\u53ef\u4ee5\u542f\u52a8 Flask\uff0c\u8fd0\u884c\u4f60\u7684\u9879\u76ee\uff1a<\/p>\n\n\n\n<blockquote class=\"wp-block-quote\"><p>export FLASK_APP=views.py<\/p><p>flask run<\/p><\/blockquote>\n\n\n\n<p>\u6253\u5f00\u5730\u5740 <a href=\"http:\/\/127.0.0.1:5000\/\">http:\/\/127.0.0.1:5000\/<\/a>\uff1a<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"1024\" height=\"587\" src=\"https:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2021\/05\/\u622a\u5c4f2021-05-07-\u4e0a\u53482.06.31-1-1024x587.png\" alt=\"\" class=\"wp-image-6421\" srcset=\"https:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2021\/05\/\u622a\u5c4f2021-05-07-\u4e0a\u53482.06.31-1-1024x587.png 1024w, https:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2021\/05\/\u622a\u5c4f2021-05-07-\u4e0a\u53482.06.31-1-300x172.png 300w, https:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2021\/05\/\u622a\u5c4f2021-05-07-\u4e0a\u53482.06.31-1-768x440.png 768w, https:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2021\/05\/\u622a\u5c4f2021-05-07-\u4e0a\u53482.06.31-1-1536x880.png 1536w, https:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2021\/05\/\u622a\u5c4f2021-05-07-\u4e0a\u53482.06.31-1-2048x1173.png 2048w, https:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2021\/05\/\u622a\u5c4f2021-05-07-\u4e0a\u53482.06.31-1-769x441.png 769w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure><\/div>\n\n\n\n<p>\u53ef\u4ee5\u770b\u5230\u73b0\u5728\u4f60\u7684\u9879\u76ee\u9875\u9762\u53d8\u5f97\u5982\u6b64\u597d\u770b\u3002<\/p>\n\n\n\n<p>\u6211\u4eec\u63a5\u4e0b\u6765\u5c31\u53ef\u4ee5\u4f7f\u7528\u5b83\u63d0\u4f9b\u5f97\u4e00\u4e9b\u7ec4\u4ef6\uff0c\u6bd4\u5982\u6309\u94ae\uff0c\u8868\u683c\uff0c\u6807\u7b7e\u7b49\u7b49\u3002\u4e0d\u9700\u8981\u81ea\u5df1\u52a8\u624b\u4ece 0 \u53bb\u5f00\u53d1\u524d\u7aef\u7684\u5404\u79cd\u6837\u5f0f\uff0c\u800c\u4f60\u8981\u505a\u7684\u5c31\u662f\u5199\u597d\u903b\u8f91\u5c42\u7684\u6570\u636e\uff0c\u7136\u540e\u5c55\u73b0\u5728\u524d\u7aef\u9875\u9762\uff0c\u5e76\u4e0e\u4e4b\u505a\u4e00\u4e9b\u7b80\u5355\u7684\u6570\u636e\u4ea4\u4e92\u5c31\u53ef\u4ee5\u4e86\u3002<\/p>\n\n\n\n<p>\u73b0\u5728\u4f60\u53ef\u4ee5\u4e0b\u8f7d\u4f60\u559c\u6b22\u7684\u6a21\u677f\u6587\u4ef6\uff0c\u5c1d\u8bd5\u5c06\u4f60\u7684\u9996\u9875\u6e32\u67d3\u6210\u4f60\u60f3\u8981\u7684\u6837\u5b50\uff0c\u4f60\u63a5\u4e0b\u6765\u7684\u76ee\u6807\u5c31\u662f\uff0c\u8ba9\u6570\u636e\u52a8\u8d77\u6765\uff0c\u4ece\u4f60\u7684\u4e2a\u4eba\u4efb\u52a1 todo-list \u5f00\u59cb\uff1f<\/p>\n\n\n\n<p>\u6211\u4eec\u4e0b\u7bc7\u89c1\uff0cpeace\uff01<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u524d\u9762\u6211\u4eec\u4e86\u89e3\u4e86\u7f51\u9875\u7684\u6e32\u67d3\u4f7f\u7528\uff0c\u90a3\u4e48\u662f\u4e0d\u662f\u6211\u4eec\u7684\u6bcf\u4e2a HTML \u9875\u9762\u90fd\u9700\u8981\u81ea\u5df1\u53bb\u5199\u5462\uff0c\u50cf HTML\uff0cCSS \uff0cJS \u8fd9\u4e9b\u6587\u4ef6\u5f53\u7136\u662f\u4e0d\u9700\u8981\u6211\u4eec\u81ea\u5df1\u4ece\u5934\u5f00\u59cb\u5199\u8d77\u7684\u3002 \u6211\u4eec\u53ef\u4ee5\u4f7f\u7528 Bootstrap \u6846\u67b6\u6765\u5199\u6211\u4eec\u7684\u524d\u7aef\u9875\u9762\uff0c\u5b83\u662f\u4e00\u4e2a\u57fa\u4e8e HTML\uff0cCSS &hellip;<\/p>\n","protected":false},"author":1,"featured_media":6421,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[99],"tags":[588,549,559],"_links":{"self":[{"href":"https:\/\/vip.fxxkpython.com\/index.php?rest_route=\/wp\/v2\/posts\/6415"}],"collection":[{"href":"https:\/\/vip.fxxkpython.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/vip.fxxkpython.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/vip.fxxkpython.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/vip.fxxkpython.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=6415"}],"version-history":[{"count":1,"href":"https:\/\/vip.fxxkpython.com\/index.php?rest_route=\/wp\/v2\/posts\/6415\/revisions"}],"predecessor-version":[{"id":6422,"href":"https:\/\/vip.fxxkpython.com\/index.php?rest_route=\/wp\/v2\/posts\/6415\/revisions\/6422"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/vip.fxxkpython.com\/index.php?rest_route=\/wp\/v2\/media\/6421"}],"wp:attachment":[{"href":"https:\/\/vip.fxxkpython.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=6415"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/vip.fxxkpython.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=6415"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/vip.fxxkpython.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=6415"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}