{"id":31695,"date":"2024-11-25T14:00:33","date_gmt":"2024-11-25T06:00:33","guid":{"rendered":"https:\/\/fwq.ai\/blog\/31695\/"},"modified":"2024-11-25T14:00:33","modified_gmt":"2024-11-25T06:00:33","slug":"%e5%be%ae%e4%bf%a1%e5%b0%8f%e7%a8%8b%e5%ba%8f%e7%9a%84mina%e6%96%87%e4%bb%b6%e7%bb%93%e6%9e%84%e7%9a%84%e4%bb%8b%e7%bb%8d","status":"publish","type":"post","link":"https:\/\/fwq.ai\/blog\/31695\/","title":{"rendered":"\u5fae\u4fe1\u5c0f\u7a0b\u5e8f\u7684MINA\u6587\u4ef6\u7ed3\u6784\u7684\u4ecb\u7ecd"},"content":{"rendered":"<p>\u8fd9\u7bc7\u6587\u7ae0\u4e3b\u8981\u4ecb\u7ecd\u4e86\u5fae\u4fe1\u5c0f\u7a0b\u5e8f mina\u6587\u4ef6\u7ed3\u6784\u7684\u76f8\u5173\u8d44\u6599,\u8fd9\u91cc\u8be6\u7ec6\u4ecb\u7ecd\u4e86\u5fae\u4fe1\u5c0f\u7a0b\u5e8f\u7684\u6587\u4ef6\u76ee\u5f55\u53ca\u6587\u4ef6\u4f5c\u7528\uff0c\u9700\u8981\u7684\u670b\u53cb\u53ef\u4ee5\u53c2\u8003\u4e0b<\/p>\n<p><strong>\u6587\u4ef6\u7ed3\u6784<\/strong><\/p>\n<p>\u6846\u67b6\u7a0b\u5e8f\u5305\u542b\u4e00\u4e2a\u63cf\u8ff0\u6574\u4f53\u7a0b\u5e8f\u7684 app \u548c\u591a\u4e2a\u63cf\u8ff0\u5404\u81ea\u9875\u9762\u7684 page\u3002<\/p>\n<p>\u4e00\u4e2a\u6846\u67b6\u7a0b\u5e8f\u4e3b\u4f53\u90e8\u5206\u7531\u4e09\u4e2a\u6587\u4ef6\u7ec4\u6210\uff0c\u5fc5\u987b\u653e\u5728\u9879\u76ee\u7684\u6839\u76ee\u5f55\uff0c\u5982\u4e0b\uff1a<\/p>\n<table style=\"height: 97px;width: 617px\">\n<thead>\n<tr>\n<th>\u6587\u4ef6<\/th>\n<th>\u5fc5\u586b<\/th>\n<th>\u4f5c\u7528<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>app.js<\/td>\n<td>\u662f<\/td>\n<td>\u5c0f\u7a0b\u5e8f\u903b\u8f91<\/td>\n<\/tr>\n<tr>\n<td>app.json<\/td>\n<td>\u662f<\/td>\n<td>\u5c0f\u7a0b\u5e8f\u516c\u5171\u8bbe\u7f6e<\/td>\n<\/tr>\n<tr>\n<td>app.wxss<\/td>\n<td>\u5426<\/td>\n<td>\u5c0f\u7a0b\u5e8f\u516c\u5171\u6837\u5f0f\u8868<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u4e00\u4e2a\u6846\u67b6\u9875\u9762\u7531\u56db\u4e2a\u6587\u4ef6\u7ec4\u6210\uff0c\u5206\u522b\u662f\uff1a<\/p>\n<table style=\"height: 118px;width: 579px\">\n<thead>\n<tr>\n<th>\u6587\u4ef6\u7c7b\u578b<\/th>\n<th>\u5fc5\u586b<\/th>\n<th>\u4f5c\u7528<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>js<\/td>\n<td>\u662f<\/td>\n<td>\u9875\u9762\u903b\u8f91<\/td>\n<\/tr>\n<tr>\n<td>wxml<\/td>\n<td>\u662f<\/td>\n<td>\u9875\u9762\u7ed3\u6784<\/td>\n<\/tr>\n<tr>\n<td>wxss<\/td>\n<td>\u5426<\/td>\n<td>\u9875\u9762\u6837\u5f0f\u8868<\/td>\n<\/tr>\n<tr>\n<td>json<\/td>\n<td>\u5426<\/td>\n<td>\u9875\u9762\u914d\u7f6e<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><strong><span style=\"color: #0000ff\">\u6ce8\u610f\uff1a<\/span>\u4e3a\u4e86\u65b9\u4fbf\u5f00\u53d1\u8005\u51cf\u5c11\u914d\u7f6e\u9879\uff0c\u6211\u4eec\u89c4\u5b9a\u63cf\u8ff0\u9875\u9762\u7684\u8fd9\u56db\u4e2a\u6587\u4ef6\u5fc5\u987b\u5177\u6709\u76f8\u540c\u7684\u8def\u5f84\u4e0e\u6587\u4ef6\u540d\u3002<\/strong><\/p>\n<p>\u4ee5\u4e0a\u5c31\u662f\u672c\u6587\u7684\u5168\u90e8\u5185\u5bb9\uff0c\u5e0c\u671b\u5bf9\u5927\u5bb6\u7684\u5b66\u4e60\u6709\u6240\u5e2e\u52a9\uff0c\u66f4\u591a\u76f8\u5173\u5185\u5bb9\u8bf7\u5173\u6ce8PHP\u4e2d\u6587\u7f51\uff01<\/p>\n<p>\u76f8\u5173\u63a8\u8350\uff1a<\/p>\n<p><\/p>\n<\/p>\n<p><span><\/span><\/p>\n<p>\u4ee5\u4e0a\u5c31\u662f\u5fae\u4fe1\u5c0f\u7a0b\u5e8f\u7684MINA\u6587\u4ef6\u7ed3\u6784\u7684\u4ecb\u7ecd\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>\u8fd9\u7bc7\u6587\u7ae0\u4e3b\u8981\u4ecb\u7ecd\u4e86\u5fae\u4fe1\u5c0f\u7a0b\u5e8f mina\u6587\u4ef6\u7ed3\u6784\u7684\u76f8\u5173\u8d44\u6599,\u8fd9\u91cc\u8be6\u7ec6\u4ecb\u7ecd\u4e86\u5fae\u4fe1\u5c0f\u7a0b\u5e8f\u7684\u6587\u4ef6\u76ee\u5f55\u53ca\u6587\u4ef6\u4f5c\u7528\uff0c\u9700\u8981\u7684\u670b\u53cb\u53ef\u4ee5\u53c2\u8003\u4e0b \u6587\u4ef6\u7ed3\u6784 \u6846\u67b6\u7a0b\u5e8f\u5305\u542b\u4e00\u4e2a\u63cf\u8ff0\u6574\u4f53\u7a0b\u5e8f\u7684 app \u548c\u591a\u4e2a\u63cf\u8ff0\u5404\u81ea\u9875\u9762\u7684 page\u3002 \u4e00\u4e2a\u6846\u67b6\u7a0b\u5e8f\u4e3b\u4f53\u90e8\u5206\u7531\u4e09\u4e2a\u6587\u4ef6\u7ec4\u6210\uff0c\u5fc5\u987b\u653e\u5728\u9879\u76ee\u7684\u6839\u76ee\u5f55\uff0c\u5982\u4e0b\uff1a \u6587\u4ef6 \u5fc5\u586b \u4f5c\u7528 app.js \u662f \u5c0f\u7a0b\u5e8f\u903b\u8f91 app.json \u662f \u5c0f\u7a0b\u5e8f\u516c\u5171\u8bbe\u7f6e app.wxss \u5426 \u5c0f\u7a0b\u5e8f\u516c\u5171\u6837\u5f0f\u8868 \u4e00\u4e2a\u6846\u67b6\u9875\u9762\u7531\u56db\u4e2a\u6587\u4ef6\u7ec4\u6210\uff0c\u5206\u522b\u662f\uff1a \u6587\u4ef6\u7c7b\u578b \u5fc5\u586b \u4f5c\u7528 js \u662f \u9875\u9762\u903b\u8f91 wxml \u662f \u9875\u9762\u7ed3\u6784 wxss \u5426 \u9875\u9762\u6837\u5f0f\u8868 json \u5426 \u9875\u9762\u914d\u7f6e \u6ce8\u610f\uff1a\u4e3a\u4e86\u65b9\u4fbf\u5f00\u53d1\u8005\u51cf\u5c11\u914d\u7f6e\u9879\uff0c\u6211\u4eec\u89c4\u5b9a\u63cf\u8ff0\u9875\u9762\u7684\u8fd9\u56db\u4e2a\u6587\u4ef6\u5fc5\u987b\u5177\u6709\u76f8\u540c\u7684\u8def\u5f84\u4e0e\u6587\u4ef6\u540d\u3002 \u4ee5\u4e0a\u5c31\u662f\u672c\u6587\u7684\u5168\u90e8\u5185\u5bb9\uff0c\u5e0c\u671b\u5bf9\u5927\u5bb6\u7684\u5b66\u4e60\u6709\u6240\u5e2e\u52a9\uff0c\u66f4\u591a\u76f8\u5173\u5185\u5bb9\u8bf7\u5173\u6ce8PHP\u4e2d\u6587\u7f51\uff01 \u76f8\u5173\u63a8\u8350\uff1a \u4ee5\u4e0a\u5c31\u662f\u5fae\u4fe1\u5c0f\u7a0b\u5e8f\u7684MINA\u6587\u4ef6\u7ed3\u6784\u7684\u4ecb\u7ecd\u7684\u8be6\u7ec6\u5185\u5bb9\uff0c\u66f4\u591a\u8bf7\u5173\u6ce8\u7c73\u4e91\u5176\u5b83\u76f8\u5173\u6587\u7ae0\uff01<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[19],"tags":[],"class_list":["post-31695","post","type-post","status-publish","format-standard","hentry","category-19"],"_links":{"self":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/31695","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=31695"}],"version-history":[{"count":0,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/31695\/revisions"}],"wp:attachment":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/media?parent=31695"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/categories?post=31695"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/tags?post=31695"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}