
{"id":670,"date":"2016-09-23T12:00:25","date_gmt":"2016-09-23T04:00:25","guid":{"rendered":"http:\/\/www.jiandaima.com\/blog\/?p=670"},"modified":"2016-11-06T21:57:24","modified_gmt":"2016-11-06T13:57:24","slug":"%e6%96%87%e6%a1%a3%e6%95%99%e7%a8%8b-%e5%85%a8%e7%90%83%e9%a6%96%e4%b8%aa%e5%be%ae%e4%bf%a1%e5%ba%94%e7%94%a8%e5%8f%b7%e5%bc%80%e5%8f%91%e6%95%99%e7%a8%8b%ef%bc%81","status":"publish","type":"post","link":"http:\/\/www.jiandaima.com\/blog\/archives\/670.html","title":{"rendered":"[\u6587\u6863\u6559\u7a0b] \u5168\u7403\u9996\u4e2a\u5fae\u4fe1\u5e94\u7528\u53f7\u5f00\u53d1\u6559\u7a0b\uff01"},"content":{"rendered":"<div align=\"left\"><span style=\"color: #696969;\"><span style=\"font-family: \u5b8b\u4f53;\">\u5fae\u4fe1\u5e94\u7528\u53f7\uff08\u5c0f\u7a0b\u5e8f\uff0c\u300c\u5e94\u7528\u53f7\u300d\u7684\u65b0\u79f0\u547c\uff09\u7ec8\u4e8e\u6765\u4e86\uff01<\/span><\/span><\/div>\n<div align=\"left\"><span style=\"color: #696969;\"><span style=\"font-family: \u5b8b\u4f53;\">\u76ee\u524d\u8fd8\u5904\u4e8e\u5185\u6d4b\u9636\u6bb5\uff0c\u5fae\u4fe1\u53ea\u9080\u8bf7\u4e86\u90e8\u5206\u4f01\u4e1a\u53c2\u4e0e\u5c01\u6d4b\u3002\u60f3\u5fc5\u5927\u5bb6\u90fd\u5173\u5fc3\u5e94\u7528\u53f7\u7684\u6700\u7ec8\u5f62\u6001\u5230\u5e95\u662f\u4ec0\u4e48\u6837\u5b50\uff1f\u600e\u6837\u5c06\u4e00\u4e2a\u300c\u670d\u52a1\u53f7\u300d\u6539\u9020\u6210\u4e3a\u300c\u5c0f\u7a0b\u5e8f\u300d\uff1f<\/span><\/span><\/div>\n<p>&nbsp;<\/p>\n<div align=\"left\"><span style=\"color: #696969;\">\u00a0\u00a0<span style=\"font-family: \u5b8b\u4f53;\">\u6211\u4eec\u6682\u65f6\u4ee5\u4e00\u6b3e\u7b80\u5355\u7684\u7b2c\u4e09\u65b9\u5de5\u5177\u7684\u5b9e\u4f8b\uff0c\u6765\u6f14\u793a\u4e00\u4e0b\u5f00\u53d1\u8fc7\u7a0b\u5427\u3002\uff08\u516c\u53f8\u7684\u9879\u76ee\u4fdd\u5bc6\u8fd8\u4e0d\u80fd\u5206\u4eab\u4ee3\u7801\u548c\u622a\u56fe\u3002\u535a\u5361\u541b\u662f\u8fb9\u52a0\u73ed\u8fb9\u5077\u5077\u7ed9\u5927\u5bb6\u5199\u6559\u7a0b\u3002\u611f\u8c22\u300c\u540d\u7247\u76d2\u300d\u56e2\u961f\u63d0\u4f9b\u4ed6\u4eec\u7684\u670d\u52a1\u53f7\u6765\u52a8\u8fd9\u4e2a\u624b\u672f\uff0c\u6240\u4ee5\u535a\u5361\u541b\u7684\u6559\u7a0b\u5c31\u7528\u300c\u540d\u7247\u76d2\u300d\u7684\u516c\u4f17\u53f7\u6eda\u52a8\u66f4\u65b0\u53d1\u5e03\u5427<\/span> \uff01\uff09<\/span><\/div>\n<p>&nbsp;<\/p>\n<div align=\"left\"><span style=\"color: #696969;\">OK<span style=\"font-family: \u5b8b\u4f53;\">\uff0c\u4e3a\u4e86\u8ba9\u5927\u5bb6\u5c3d\u5feb\u770b\u5230\u8fd9\u4efd\u6559\u7a0b\uff0c\u535a\u5361\u541b\u6ce8\u5b9a\u8981\u71ac\u591c\u4e86\uff01\u4eca\u665a\u5f00\u59cb\u66f4\u65b0\uff0c\u5e0c\u671b\u660e\u5929\u4e00\u65e9\u5c31\u80fd\u53d1\u5e03\u7b2c\u4e00\u7bc7\u6559\u7a0b\uff01\u8bb0\u5f55\u5f00\u59cb\uff01\u770b\u770b\u51e0\u5929\u80fd\u5b8c\u6210\u53d8\u8eab\u5427\uff01<\/span><\/span><\/div>\n<div align=\"center\"><span style=\"color: #696969;\"><span style=\"font-family: \u5b8b\u4f53;\">\u5e8f\u8a00<\/span><\/span><\/div>\n<div align=\"left\"><span style=\"color: #696969;\"><span style=\"font-family: \u5b8b\u4f53;\">\u5f00\u59cb\u5f00\u53d1\u5e94\u7528\u53f7\u4e4b\u524d\uff0c\u5148\u770b\u770b\u5b98\u65b9\u516c\u5e03\u7684\u300c\u5c0f\u7a0b\u5e8f\u300d\u6559\u7a0b\u5427\uff01\uff08\u4ee5\u4e0b\u5185\u5bb9\u6765\u81ea\u5fae\u4fe1\u5b98\u65b9\u516c\u5e03\u7684\u300c\u5c0f\u7a0b\u5e8f\u300d\u5f00\u53d1\u6307\u5357\uff09<\/span><\/span><\/div>\n<div align=\"left\"><span style=\"color: #696969;\"><span style=\"font-family: \u5b8b\u4f53;\">\u672c\u6587\u6863\u5c06\u5e26\u4f60\u4e00\u6b65\u6b65\u521b\u5efa\u5b8c\u6210\u4e00\u4e2a\u5fae\u4fe1\u5c0f\u7a0b\u5e8f\uff0c\u5e76\u53ef\u4ee5\u5728\u624b\u673a\u4e0a\u4f53\u9a8c\u8be5\u5c0f\u7a0b\u5e8f\u7684\u5b9e\u9645\u6548\u679c\u3002\u8fd9\u4e2a\u5c0f\u7a0b\u5e8f\u7684\u9996\u9875\u5c06\u4f1a\u663e\u793a\u6b22\u8fce\u8bed\u4ee5\u53ca\u5f53\u524d\u7528\u6237\u7684\u5fae\u4fe1\u5934\u50cf\uff0c\u70b9\u51fb\u5934\u50cf\uff0c\u53ef\u4ee5\u5728\u65b0\u5f00\u7684\u9875\u9762\u4e2d\u67e5\u770b\u5f53\u524d\u5c0f\u7a0b\u5e8f\u7684\u542f\u52a8\u65e5\u5fd7\u3002<\/span><\/span><\/div>\n<div align=\"left\"><span style=\"color: #696969;\">1. <span style=\"font-family: \u5b8b\u4f53;\">\u83b7\u53d6\u5fae\u4fe1\u5c0f\u7a0b\u5e8f\u7684<\/span> AppID<\/span><\/div>\n<div align=\"left\"><span style=\"color: #696969;\"><span style=\"font-family: \u5b8b\u4f53;\">\u9996\u5148\uff0c\u6211\u4eec\u9700\u8981\u62e5\u6709\u4e00\u4e2a\u5e10\u53f7\uff0c\u5982\u679c\u4f60\u80fd\u770b\u5230\u8be5\u6587\u6863\uff0c\u6211\u4eec\u5e94\u5f53\u5df2\u7ecf\u9080\u8bf7\u5e76\u4e3a\u4f60\u521b\u5efa\u597d\u4e00\u4e2a\u5e10\u53f7\u3002\u6ce8\u610f\u4e0d\u53ef\u76f4\u63a5\u4f7f\u7528\u670d\u52a1\u53f7\u6216\u8ba2\u9605\u53f7\u7684<\/span> AppID<span style=\"font-family: \u5b8b\u4f53;\">\u3002<\/span> <span style=\"font-family: \u5b8b\u4f53;\">\u5229\u7528\u63d0\u4f9b\u7684\u5e10\u53f7\uff0c\u767b\u5f55<\/span> <a href=\"https:\/\/mp.weixin.qq.com\/\" target=\"_blank\">https:\/\/mp.weixin.qq.com<\/a> <span style=\"font-family: \u5b8b\u4f53;\">\uff0c\u5c31\u53ef\u4ee5\u5728\u7f51\u7ad9\u7684\u300c\u8bbe\u7f6e\u300d<\/span>-<span style=\"font-family: \u5b8b\u4f53;\">\u300c\u5f00\u53d1\u8005\u8bbe\u7f6e\u300d\u4e2d\uff0c\u67e5\u770b\u5230\u5fae\u4fe1\u5c0f\u7a0b\u5e8f\u7684<\/span> AppID <span style=\"font-family: \u5b8b\u4f53;\">\u4e86\u3002<\/span><\/span><\/div>\n<div align=\"left\"><span style=\"color: #696969;\"><span style=\"font-family: \u5b8b\u4f53;\">\u00a0<\/span><\/span><\/div>\n<p><img loading=\"lazy\" decoding=\"async\" id=\"aimg_122385\" class=\"zoom\" src=\"http:\/\/download.9miao.com\/b83ecc7afebf91d5a87d228cd96552d6.jpg\" width=\"730\" height=\"278\" \/><\/p>\n<div align=\"left\">\n<div align=\"left\"><span style=\"font-family: \u5b8b\u4f53;\">\u6ce8\u610f\uff1a\u5982\u679c\u6211\u4eec\u4e0d\u662f\u7528\u6ce8\u518c\u65f6\u7ed1\u5b9a\u7684\u7ba1\u7406\u5458\u5fae\u4fe1\u53f7\uff0c\u5728\u624b\u673a\u4e0a\u4f53\u9a8c\u8be5\u5c0f\u7a0b\u5e8f\u3002\u90a3\u4e48\u6211\u4eec\u8fd8\u9700\u8981\u64cd\u4f5c\u300c\u7ed1\u5b9a\u5f00\u53d1\u8005\u300d\u3002\u5373\u5728\u300c\u7528\u6237\u8eab\u4efd<\/span> - <span style=\"font-family: \u5b8b\u4f53;\">\u5f00\u53d1\u8005\u300d\u6a21\u5757\uff0c\u7ed1\u5b9a\u4e0a\u9700\u8981\u4f53\u9a8c\u8be5\u5c0f\u7a0b\u5e8f\u7684\u5fae\u4fe1\u53f7\u3002\u672c\u6559\u7a0b\u9ed8\u8ba4\u6ce8\u518c\u5e10\u53f7\u3001\u4f53\u9a8c\u90fd\u662f\u4f7f\u7528\u7ba1\u7406\u5458\u5fae\u4fe1\u53f7\u3002<\/span><\/div>\n<div align=\"left\">2. <span style=\"font-family: \u5b8b\u4f53;\">\u521b\u5efa\u9879\u76ee<\/span><\/div>\n<div align=\"left\"><span style=\"font-family: \u5b8b\u4f53;\">\u6211\u4eec\u9700\u8981\u901a\u8fc7\u5f00\u53d1\u8005\u5de5\u5177\uff0c\u6765\u5b8c\u6210\u5c0f\u7a0b\u5e8f\u521b\u5efa\u548c\u4ee3\u7801\u7f16\u8f91\u3002<\/span><\/div>\n<div align=\"left\"><span style=\"font-family: \u5b8b\u4f53;\">\u5f00\u53d1\u8005\u5de5\u5177\u5b89\u88c5\u5b8c\u6210\u540e\uff0c\u6253\u5f00\u5e76\u4f7f\u7528\u5fae\u4fe1\u626b\u7801\u767b\u5f55\u3002\u9009\u62e9\u521b\u5efa\u300c\u9879\u76ee\u300d\uff0c\u586b\u5165\u4e0a\u6587\u83b7\u53d6\u5230\u7684<\/span> AppID<span style=\"font-family: \u5b8b\u4f53;\">\uff0c\u8bbe\u7f6e\u4e00\u4e2a\u672c\u5730\u9879\u76ee\u7684\u540d\u79f0\uff08\u975e\u5c0f\u7a0b\u5e8f\u540d\u79f0\uff09\uff0c\u6bd4\u5982\u300c\u6211\u7684\u7b2c\u4e00\u4e2a\u9879\u76ee\u300d\uff0c\u5e76\u9009\u62e9\u4e00\u4e2a\u672c\u5730\u7684\u6587\u4ef6\u5939\u4f5c\u4e3a\u4ee3\u7801\u5b58\u50a8\u7684\u76ee\u5f55\uff0c\u70b9\u51fb\u300c\u65b0\u5efa\u9879\u76ee\u300d\u5c31\u53ef\u4ee5\u4e86\u3002<\/span><\/div>\n<div align=\"left\"><span style=\"font-family: \u5b8b\u4f53;\">\u00a0 \u00a0<\/span><\/div>\n<div align=\"left\"><span style=\"font-family: \u5b8b\u4f53;\">\u4e3a\u65b9\u4fbf\u521d\u5b66\u8005\u4e86\u89e3\u5fae\u4fe1\u5c0f\u7a0b\u5e8f\u7684\u57fa\u672c\u4ee3\u7801\u7ed3\u6784\uff0c\u5728\u521b\u5efa\u8fc7\u7a0b\u4e2d\uff0c\u5982\u679c\u9009\u62e9\u7684\u672c\u5730\u6587\u4ef6\u5939\u662f\u4e2a\u7a7a\u6587\u4ef6\u5939\uff0c\u5f00\u53d1\u8005\u5de5\u5177\u4f1a\u63d0\u793a\uff0c\u662f\u5426\u9700\u8981\u521b\u5efa\u4e00\u4e2a<\/span> quick start <span style=\"font-family: \u5b8b\u4f53;\">\u9879\u76ee\u3002\u9009\u62e9\u300c\u662f\u300d\uff0c\u5f00\u53d1\u8005\u5de5\u5177\u4f1a\u5e2e\u52a9\u6211\u4eec\u5728\u5f00\u53d1\u76ee\u5f55\u91cc\u751f\u6210\u4e00\u4e2a\u7b80\u5355\u7684<\/span>demo<span style=\"font-family: \u5b8b\u4f53;\">\u3002<\/span><\/div>\n<div align=\"left\"><span style=\"font-family: \u5b8b\u4f53;\">\u00a0<\/span><\/div>\n<p><img decoding=\"async\" id=\"aimg_122387\" class=\"zoom\" src=\"http:\/\/download.9miao.com\/e5cd47645ff5b91020c211ae3442e546.jpg\" width=\"600\" \/><\/p>\n<div align=\"left\">\n<div align=\"left\"><span style=\"color: #696969;\"><span style=\"font-family: \u5b8b\u4f53;\">\u9879\u76ee\u521b\u5efa\u6210\u529f\u540e\uff0c\u6211\u4eec\u5c31\u53ef\u4ee5\u70b9\u51fb\u8be5\u9879\u76ee\uff0c\u8fdb\u5165\u5e76\u770b\u5230\u5b8c\u6574\u7684\u5f00\u53d1\u8005\u5de5\u5177\u754c\u9762\uff0c\u70b9\u51fb\u5de6\u4fa7\u5bfc\u822a\uff0c\u5728\u300c\u7f16\u8f91\u300d\u91cc\u53ef\u4ee5\u67e5\u770b\u548c\u7f16\u8f91\u6211\u4eec\u7684\u4ee3\u7801\uff0c\u5728\u300c\u8c03\u8bd5\u300d\u91cc\u53ef\u4ee5\u6d4b\u8bd5\u4ee3\u7801\u5e76\u6a21\u62df\u5c0f\u7a0b\u5e8f\u5728\u5fae\u4fe1\u5ba2\u6237\u7aef\u6548\u679c\uff0c\u5728\u300c\u9879\u76ee\u300d\u91cc\u53ef\u4ee5\u53d1\u9001\u5230\u624b\u673a\u91cc\u9884\u89c8\u5b9e\u9645\u6548\u679c\u3002<\/span><\/span><\/div>\n<div align=\"left\"><span style=\"color: #696969;\">3. <span style=\"font-family: \u5b8b\u4f53;\">\u7f16\u5199\u4ee3\u7801<\/span><\/span><\/div>\n<div align=\"left\"><span style=\"color: #696969;\"><span style=\"font-family: \u5b8b\u4f53;\">\u70b9\u51fb\u5f00\u53d1\u8005\u5de5\u5177\u5de6\u4fa7\u5bfc\u822a\u7684\u300c\u7f16\u8f91\u300d\uff0c\u6211\u4eec\u53ef\u4ee5\u770b\u5230\u8fd9\u4e2a\u9879\u76ee\uff0c\u5df2\u7ecf\u521d\u59cb\u5316\u5e76\u5305\u542b\u4e86\u4e00\u4e9b\u7b80\u5355\u7684\u4ee3\u7801\u6587\u4ef6\u3002\u6700\u5173\u952e\u4e5f\u662f\u5fc5\u4e0d\u53ef\u5c11\u7684\uff0c\u662f<\/span> app.js<span style=\"font-family: \u5b8b\u4f53;\">\u3001<\/span>app.json<span style=\"font-family: \u5b8b\u4f53;\">\u3001<\/span>app.wxss <span style=\"font-family: \u5b8b\u4f53;\">\u8fd9\u4e09\u4e2a\u3002\u5176\u4e2d\uff0c<\/span>.js <span style=\"font-family: \u5b8b\u4f53;\">\u540e\u7f00\u7684\u662f\u811a\u672c\u6587\u4ef6\uff0c<\/span>.json <span style=\"font-family: \u5b8b\u4f53;\">\u540e\u7f00\u7684\u6587\u4ef6\u662f\u914d\u7f6e\u6587\u4ef6\uff0c<\/span>.wxss <span style=\"font-family: \u5b8b\u4f53;\">\u540e\u7f00\u7684\u662f\u6837\u5f0f\u8868\u6587\u4ef6\u3002\u5fae\u4fe1\u5c0f\u7a0b\u5e8f\u4f1a\u8bfb\u53d6\u8fd9\u4e9b\u6587\u4ef6\uff0c\u5e76\u751f\u6210\u5c0f\u7a0b\u5e8f\u5b9e\u4f8b\u3002<\/span><\/span><\/div>\n<div align=\"left\"><span style=\"color: #696969;\"><span style=\"font-family: \u5b8b\u4f53;\">\u4e0b\u9762\u6211\u4eec\u7b80\u5355\u4e86\u89e3\u8fd9\u4e09\u4e2a\u6587\u4ef6\u7684\u529f\u80fd\uff0c\u65b9\u4fbf\u4fee\u6539\u4ee5\u53ca\u4ece\u5934\u5f00\u53d1\u81ea\u5df1\u7684\u5fae\u4fe1\u5c0f\u7a0b\u5e8f\u3002<\/span><\/span><\/div>\n<div align=\"left\"><span style=\"color: #696969;\">app.js <span style=\"font-family: \u5b8b\u4f53;\">\u662f\u5c0f\u7a0b\u5e8f\u7684\u811a\u672c\u4ee3\u7801\u3002\u6211\u4eec\u53ef\u4ee5\u5728\u8fd9\u4e2a\u6587\u4ef6\u4e2d\u76d1\u542c\u5e76\u5904\u7406\u5c0f\u7a0b\u5e8f\u7684\u751f\u547d\u5468\u671f\u51fd\u6570\u3001\u58f0\u660e\u5168\u5c40\u53d8\u91cf\u3002\u8c03\u7528<\/span>MINA <span style=\"font-family: \u5b8b\u4f53;\">\u63d0\u4f9b\u7684\u4e30\u5bcc\u7684<\/span> API<span style=\"font-family: \u5b8b\u4f53;\">\uff0c\u5982\u672c\u4f8b\u7684\u540c\u6b65\u5b58\u50a8\u53ca\u540c\u6b65\u8bfb\u53d6\u672c\u5730\u6570\u636e\u3002<\/span><\/span><\/div>\n<div align=\"left\"><span style=\"color: #696969;\"><span style=\"font-family: \u5b8b\u4f53;\">\u00a0<\/span><\/span><\/div>\n<div align=\"left\">\n<div class=\"blockcode\">\n<div id=\"code_U07\">\n<ol>\n<li>\/\/app.js<\/li>\n<li>App({<\/li>\n<li>\u00a0\u00a0onLaunch: function () {<\/li>\n<li>\u00a0 \u00a0 \/\/ \u8c03\u7528 API \u4ece\u672c\u5730\u7f13\u5b58\u4e2d\u83b7\u53d6\u6570\u636e<\/li>\n<li>\u00a0 \u00a0 var logs = wx.getStorageSync('logs') || []<\/li>\n<li>\u00a0 \u00a0 logs.unshift(Date.now())<\/li>\n<li>\u00a0 \u00a0 wx.setStorageSync('logs', logs)<\/li>\n<li>\u00a0\u00a0},<\/li>\n<li>\u00a0\u00a0getUserInfo:function(cb){<\/li>\n<li>\u00a0 \u00a0 var that = this;<\/li>\n<li>\u00a0 \u00a0 if(this.globalData.userInfo){<\/li>\n<li>\u00a0 \u00a0\u00a0 \u00a0typeof cb == \"function\" &amp;&amp; cb(this.globalData.userInfo)<\/li>\n<li>\u00a0 \u00a0 }else{<\/li>\n<li>\u00a0 \u00a0\u00a0 \u00a0\/\/ \u8c03\u7528\u767b\u5f55\u63a5\u53e3<\/li>\n<li>\u00a0 \u00a0\u00a0 \u00a0wx.login({<\/li>\n<li>\u00a0 \u00a0\u00a0 \u00a0\u00a0\u00a0success: function () {<\/li>\n<li>\u00a0 \u00a0\u00a0 \u00a0\u00a0 \u00a0 wx.getUserInfo({<\/li>\n<li>\u00a0 \u00a0\u00a0 \u00a0\u00a0 \u00a0\u00a0 \u00a0success: function (res) {<\/li>\n<li>\u00a0 \u00a0\u00a0 \u00a0\u00a0 \u00a0\u00a0 \u00a0\u00a0\u00a0that.globalData.userInfo = res.userInfo;<\/li>\n<li>\u00a0 \u00a0\u00a0 \u00a0\u00a0 \u00a0\u00a0 \u00a0\u00a0\u00a0typeof cb == \"function\" &amp;&amp; cb(that.globalData.userInfo)<\/li>\n<li>\u00a0 \u00a0\u00a0 \u00a0\u00a0 \u00a0\u00a0 \u00a0}<\/li>\n<li>\u00a0 \u00a0\u00a0 \u00a0\u00a0 \u00a0 })<\/li>\n<li>\u00a0 \u00a0\u00a0 \u00a0\u00a0\u00a0}<\/li>\n<li>\u00a0 \u00a0\u00a0 \u00a0});<\/li>\n<li>\u00a0 \u00a0 }<\/li>\n<li>\u00a0\u00a0},<\/li>\n<li>\u00a0\u00a0globalData:{<\/li>\n<li>\u00a0 \u00a0 userInfo:null<\/li>\n<li>\u00a0\u00a0}<\/li>\n<li>})<\/li>\n<\/ol>\n<\/div>\n<p><em>\u590d\u5236\u4ee3\u7801<\/em><\/p>\n<\/div>\n<\/div>\n<div align=\"left\"><span style=\"color: #696969;\">app.json <span style=\"font-family: \u5b8b\u4f53;\">\u662f\u5bf9\u6574\u4e2a\u5c0f\u7a0b\u5e8f\u7684\u5168\u5c40\u914d\u7f6e\u3002\u6211\u4eec\u53ef\u4ee5\u5728\u8fd9\u4e2a\u6587\u4ef6\u4e2d\u914d\u7f6e\u5c0f\u7a0b\u5e8f\u662f\u7531\u54ea\u4e9b\u9875\u9762\u7ec4\u6210\uff0c\u914d\u7f6e\u5c0f\u7a0b\u5e8f\u7684\u7a97\u53e3<\/span>\u00a0\u00a0<span style=\"font-family: \u5b8b\u4f53;\">\u80cc\u666f\u8272\uff0c\u914d\u7f6e\u5bfc\u822a\u6761\u6837\u5f0f\uff0c\u914d\u7f6e\u9ed8\u8ba4\u6807\u9898\u3002\u6ce8\u610f\u8be5\u6587\u4ef6\u4e0d\u53ef\u6dfb\u52a0\u4efb\u4f55\u6ce8\u91ca\u3002<\/span><\/span><\/div>\n<div align=\"left\"><span style=\"color: #696969;\"><span style=\"font-family: \u5b8b\u4f53;\">\u00a0<\/span><\/span><\/div>\n<div align=\"left\">\n<div class=\"blockcode\">\n<div id=\"code_m8Q\">\n<ol>\n<li>\/**app.json*\/<\/li>\n<\/ol>\n<\/div>\n<p><em>\u590d\u5236\u4ee3\u7801<\/em><\/p>\n<\/div>\n<\/div>\n<div align=\"left\"><span style=\"color: #696969;\">app.wxss <span style=\"font-family: \u5b8b\u4f53;\">\u662f\u6574\u4e2a\u5c0f\u7a0b\u5e8f\u7684\u516c\u5171\u6837\u5f0f\u8868\u3002\u6211\u4eec\u53ef\u4ee5\u5728\u9875\u9762\u7ec4\u4ef6\u7684<\/span> class <span style=\"font-family: \u5b8b\u4f53;\">\u5c5e\u6027\u4e0a\u76f4\u63a5\u4f7f\u7528<\/span> app.wxss <span style=\"font-family: \u5b8b\u4f53;\">\u4e2d\u58f0\u660e\u7684\u6837\u5f0f\u89c4\u5219\u3002<\/span><\/span><\/div>\n<div align=\"left\"><span style=\"color: #696969;\"><span style=\"font-family: \u5b8b\u4f53;\">\u00a0<\/span><\/span><\/div>\n<div align=\"left\">\n<div class=\"blockcode\">\n<div id=\"code_NDa\">\n<ol>\n<li>\/**app.wxss**\/<\/li>\n<li>.container {<\/li>\n<li>\u00a0\u00a0height: 100%;<\/li>\n<li>\u00a0\u00a0display: flex;<\/li>\n<li>\u00a0\u00a0flex-direction: column;<\/li>\n<li>\u00a0\u00a0align-items: center;<\/li>\n<li>\u00a0\u00a0justify-content: space-between;<\/li>\n<li>\u00a0\u00a0padding: 200rpx 0;<\/li>\n<li>\u00a0\u00a0box-sizing: border-box;<\/li>\n<li>}<\/li>\n<\/ol>\n<\/div>\n<p><em>\u590d\u5236\u4ee3\u7801<\/em><\/p>\n<\/div>\n<\/div>\n<div align=\"left\">\n<div align=\"left\">3. <span style=\"font-family: \u5b8b\u4f53;\">\u521b\u5efa\u9875\u9762<\/span><\/div>\n<div align=\"left\"><span style=\"font-family: \u5b8b\u4f53;\">\u5728\u8fd9\u4e2a\u6559\u7a0b\u91cc\uff0c\u6211\u4eec\u6709\u4e24\u4e2a\u9875\u9762\uff0c<\/span>index <span style=\"font-family: \u5b8b\u4f53;\">\u9875\u9762\u548c<\/span> logs <span style=\"font-family: \u5b8b\u4f53;\">\u9875\u9762\uff0c\u5373\u6b22\u8fce\u9875\u548c\u5c0f\u7a0b\u5e8f\u542f\u52a8\u65e5\u5fd7\u7684\u5c55\u793a\u9875\uff0c\u4ed6\u4eec\u90fd\u5728<\/span>pages <span style=\"font-family: \u5b8b\u4f53;\">\u76ee\u5f55\u4e0b\u3002\u5fae\u4fe1\u5c0f\u7a0b\u5e8f\u4e2d\u7684\u6bcf\u4e00\u4e2a\u9875\u9762\u7684\u3010\u8def\u5f84<\/span> + <span style=\"font-family: \u5b8b\u4f53;\">\u9875\u9762\u540d\u3011\u90fd\u9700\u8981\u5199\u5728<\/span> app.json <span style=\"font-family: \u5b8b\u4f53;\">\u7684<\/span> pages <span style=\"font-family: \u5b8b\u4f53;\">\u4e2d\uff0c\u4e14<\/span> pages<span style=\"font-family: \u5b8b\u4f53;\">\u4e2d\u7684\u7b2c\u4e00\u4e2a\u9875\u9762\u662f\u5c0f\u7a0b\u5e8f\u7684\u9996\u9875\u3002<\/span><\/div>\n<div align=\"left\"><span style=\"font-family: \u5b8b\u4f53;\">\u6bcf\u4e00\u4e2a\u5c0f\u7a0b\u5e8f\u9875\u9762\u662f\u7531\u540c\u8def\u5f84\u4e0b\u540c\u540d\u7684\u56db\u4e2a\u4e0d\u540c\u540e\u7f00\u6587\u4ef6\u7684\u7ec4\u6210\uff0c\u5982\uff1a<\/span>index.js<span style=\"font-family: \u5b8b\u4f53;\">\u3001<\/span>index.wxml<span style=\"font-family: \u5b8b\u4f53;\">\u3001<\/span>index.wxss<span style=\"font-family: \u5b8b\u4f53;\">\u3001<\/span>index.json<span style=\"font-family: \u5b8b\u4f53;\">\u3002<\/span>.js <span style=\"font-family: \u5b8b\u4f53;\">\u540e\u7f00\u7684\u6587\u4ef6\u662f\u811a\u672c\u6587\u4ef6\uff0c<\/span>.json <span style=\"font-family: \u5b8b\u4f53;\">\u540e\u7f00\u7684\u6587\u4ef6\u662f\u914d\u7f6e\u6587\u4ef6\uff0c<\/span>.wxss <span style=\"font-family: \u5b8b\u4f53;\">\u540e\u7f00\u7684\u662f\u6837\u5f0f\u8868\u6587\u4ef6\uff0c<\/span>.wxml <span style=\"font-family: \u5b8b\u4f53;\">\u540e\u7f00\u7684\u6587\u4ef6\u662f\u9875\u9762\u7ed3\u6784\u6587\u4ef6\u3002<\/span><\/div>\n<div align=\"left\">index.wxml <span style=\"font-family: \u5b8b\u4f53;\">\u662f\u9875\u9762\u7684\u7ed3\u6784\u6587\u4ef6\uff1a<\/span><\/div>\n<div align=\"left\"><span style=\"font-family: \u5b8b\u4f53;\">\u00a0<\/span><\/div>\n<div align=\"left\">\n<div class=\"blockcode\">\n<div id=\"code_i2T\">\n<ol>\n<li>&lt;!--index.wxml--&gt;<\/li>\n<li>&lt;view class=\"container\"&gt;<\/li>\n<li>\u00a0\u00a0&lt;view\u00a0\u00a0bindtap=\"bindViewTap\" class=\"userinfo\"&gt;<\/li>\n<li>\u00a0 \u00a0 &lt;image class=\"userinfo-avatar\" src=\"{{userInfo.avatarUrl}}\" background-size=\"cover\"&gt;&lt;\/image&gt;<\/li>\n<li>\u00a0 \u00a0 &lt;text class=\"userinfo-nickname\"&gt;{{userInfo.nickName}}&lt;\/text&gt;<\/li>\n<li>\u00a0\u00a0&lt;\/view&gt;<\/li>\n<li>\u00a0\u00a0&lt;view class=\"usermotto\"&gt;<\/li>\n<li>\u00a0 \u00a0 &lt;text class=\"user-motto\"&gt;{{motto}}&lt;\/text&gt;<\/li>\n<li>\u00a0\u00a0&lt;\/view&gt;<\/li>\n<li>&lt;\/view&gt;<\/li>\n<\/ol>\n<\/div>\n<p><em>\u590d\u5236\u4ee3\u7801<\/em><\/p>\n<\/div>\n<\/div>\n<div align=\"left\">\n<div align=\"left\"><span style=\"font-family: \u5b8b\u4f53;\">\u672c\u4f8b\u4e2d\u4f7f\u7528\u4e86<\/span> &lt;view\/&gt;<span style=\"font-family: \u5b8b\u4f53;\">\u3001<\/span>&lt;image\/&gt;<span style=\"font-family: \u5b8b\u4f53;\">\u3001<\/span>&lt;text\/&gt; <span style=\"font-family: \u5b8b\u4f53;\">\u6765\u642d\u5efa\u9875\u9762\u7ed3\u6784\uff0c\u7ed1\u5b9a\u6570\u636e\u548c\u4ea4\u4e92\u5904\u7406\u51fd\u6570\u3002<\/span><\/div>\n<div align=\"left\">index.js <span style=\"font-family: \u5b8b\u4f53;\">\u662f\u9875\u9762\u7684\u811a\u672c\u6587\u4ef6\uff0c\u5728\u8fd9\u4e2a\u6587\u4ef6\u4e2d\u6211\u4eec\u53ef\u4ee5\u76d1\u542c\u5e76\u5904\u7406\u9875\u9762\u7684\u751f\u547d\u5468\u671f\u51fd\u6570\u3001\u83b7\u53d6\u5c0f\u7a0b\u5e8f\u5b9e\u4f8b\uff0c\u58f0\u660e\u5e76\u5904\u7406\u6570\u636e\uff0c\u54cd\u5e94\u9875\u9762\u4ea4\u4e92\u4e8b\u4ef6\u7b49\u3002<\/span><\/div>\n<div align=\"left\"><span style=\"font-family: \u5b8b\u4f53;\">\u00a0<\/span><\/div>\n<div align=\"left\">\n<div class=\"blockcode\">\n<div id=\"code_YVz\">\n<ol>\n<li>\/\/index.js<\/li>\n<li>\/\/ \u83b7\u53d6\u5e94\u7528\u5b9e\u4f8b<\/li>\n<li>var app = getApp()<\/li>\n<li>Page({<\/li>\n<li>\u00a0\u00a0data: {<\/li>\n<li>\u00a0 \u00a0 motto: 'Hello World',<\/li>\n<li>\u00a0 \u00a0 userInfo: {}<\/li>\n<li>\u00a0\u00a0},<\/li>\n<li>\u00a0\u00a0\/\/ \u4e8b\u4ef6\u5904\u7406\u51fd\u6570<\/li>\n<li>\u00a0\u00a0bindViewTap: function() {<\/li>\n<li>\u00a0 \u00a0 wx.navigateTo({<\/li>\n<li>\u00a0 \u00a0\u00a0 \u00a0url: '..\/logs\/logs'<\/li>\n<li>\u00a0 \u00a0 })<\/li>\n<li>\u00a0\u00a0},<\/li>\n<li>\u00a0\u00a0onLoad: function () {<\/li>\n<li>\u00a0 \u00a0 console.log('onLoad')<\/li>\n<li>\u00a0 \u00a0 var that = this<\/li>\n<li>\u00a0 \u00a0 \/\/ \u8c03\u7528\u5e94\u7528\u5b9e\u4f8b\u7684\u65b9\u6cd5\u83b7\u53d6\u5168\u5c40\u6570\u636e<\/li>\n<li>\u00a0 \u00a0 app.getUserInfo(function(userInfo){<\/li>\n<li>\u00a0 \u00a0\u00a0 \u00a0\/\/ \u66f4\u65b0\u6570\u636e<\/li>\n<li>\u00a0 \u00a0\u00a0 \u00a0that.setData({<\/li>\n<li>\u00a0 \u00a0\u00a0 \u00a0\u00a0\u00a0userInfo:userInfo<\/li>\n<li>\u00a0 \u00a0\u00a0 \u00a0})<\/li>\n<li>\u00a0 \u00a0 })<\/li>\n<li>\u00a0\u00a0}<\/li>\n<li>})<\/li>\n<\/ol>\n<\/div>\n<p><em>\u590d\u5236\u4ee3\u7801<\/em><\/p>\n<\/div>\n<\/div>\n<div align=\"left\">index.wxss <span style=\"font-family: \u5b8b\u4f53;\">\u662f\u9875\u9762\u7684\u6837\u5f0f\u8868\uff1a<\/span><\/div>\n<div align=\"left\"><span style=\"font-family: \u5b8b\u4f53;\">\u00a0<\/span><\/div>\n<div align=\"left\">\n<div align=\"left\">\n<div class=\"blockcode\">\n<div id=\"code_Bj9\">\n<ol>\n<li>\/**index.wxss**\/<\/li>\n<li>.userinfo {<\/li>\n<li>\u00a0\u00a0display: flex;<\/li>\n<li>\u00a0\u00a0flex-direction: column;<\/li>\n<li>\u00a0\u00a0align-items: center;<\/li>\n<li>}<\/li>\n<li>.userinfo-avatar {<\/li>\n<li>\u00a0\u00a0width: 128rpx;<\/li>\n<li>\u00a0\u00a0height: 128rpx;<\/li>\n<li>\u00a0\u00a0margin: 20rpx;<\/li>\n<li>\u00a0\u00a0border-radius: 50%;<\/li>\n<li>}<\/li>\n<li>.userinfo-nickname {<\/li>\n<li>\u00a0\u00a0color: #aaa;<\/li>\n<li>}<\/li>\n<li>.usermotto {<\/li>\n<li>\u00a0\u00a0margin-top: 200px;<\/li>\n<li>}<\/li>\n<\/ol>\n<\/div>\n<p><em>\u590d\u5236\u4ee3\u7801<\/em><\/p>\n<\/div>\n<\/div>\n<\/div>\n<div align=\"left\">\n<div align=\"left\"><span style=\"font-family: \u5b8b\u4f53;\">\u9875\u9762\u7684\u6837\u5f0f\u8868\u662f\u975e\u5fc5\u8981\u7684\u3002\u5f53\u6709\u9875\u9762\u6837\u5f0f\u8868\u65f6\uff0c\u9875\u9762\u7684\u6837\u5f0f\u8868\u4e2d\u7684\u6837\u5f0f\u89c4\u5219\u4f1a\u5c42\u53e0\u8986\u76d6<\/span> app.wxss <span style=\"font-family: \u5b8b\u4f53;\">\u4e2d\u7684\u6837\u5f0f\u89c4\u5219\u3002\u5982\u679c\u4e0d\u6307\u5b9a\u9875\u9762\u7684\u6837\u5f0f\u8868\uff0c\u4e5f\u53ef\u4ee5\u5728\u9875\u9762\u7684\u7ed3\u6784\u6587\u4ef6\u4e2d\u76f4\u63a5\u4f7f\u7528<\/span> app.wxss <span style=\"font-family: \u5b8b\u4f53;\">\u4e2d\u6307\u5b9a\u7684\u6837\u5f0f\u89c4\u5219\u3002<\/span><\/div>\n<div align=\"left\">index.json <span style=\"font-family: \u5b8b\u4f53;\">\u662f\u9875\u9762\u7684\u914d\u7f6e\u6587\u4ef6\uff1a<\/span><\/div>\n<div align=\"left\"><span style=\"font-family: \u5b8b\u4f53;\">\u9875\u9762\u7684\u914d\u7f6e\u6587\u4ef6\u662f\u975e\u5fc5\u8981\u7684\u3002\u5f53\u6709\u9875\u9762\u7684\u914d\u7f6e\u6587\u4ef6\u65f6\uff0c\u914d\u7f6e\u9879\u5728\u8be5\u9875\u9762\u4f1a\u8986\u76d6<\/span> app.json <span style=\"font-family: \u5b8b\u4f53;\">\u7684<\/span> window <span style=\"font-family: \u5b8b\u4f53;\">\u4e2d\u76f8\u540c\u7684\u914d\u7f6e\u9879\u3002\u5982\u679c\u6ca1\u6709\u6307\u5b9a\u7684\u9875\u9762\u914d\u7f6e\u6587\u4ef6\uff0c\u5219\u5728\u8be5\u9875\u9762\u76f4\u63a5\u4f7f\u7528<\/span> app.json <span style=\"font-family: \u5b8b\u4f53;\">\u4e2d\u7684\u9ed8\u8ba4\u914d\u7f6e\u3002<\/span><\/div>\n<div align=\"left\">logs <span style=\"font-family: \u5b8b\u4f53;\">\u7684\u9875\u9762\u7ed3\u6784<\/span><\/div>\n<div align=\"left\"><span style=\"font-family: \u5b8b\u4f53;\">\u00a0<\/span><\/div>\n<div align=\"left\">\n<div class=\"blockcode\">\n<div id=\"code_y0u\">\n<ol>\n<li>&lt;!--logs.wxml--&gt;<\/li>\n<li>&lt;view class=\"container log-list\"&gt;<\/li>\n<li>\u00a0\u00a0&lt;block wx:for-items=\"{{logs}}\" wx:for-item=\"log\"&gt;<\/li>\n<li>\u00a0 \u00a0 &lt;text class=\"log-item\"&gt;{{index + 1}}. {{log}}&lt;\/text&gt;<\/li>\n<li>\u00a0\u00a0&lt;\/block&gt;<\/li>\n<li>&lt;\/view&gt;<\/li>\n<\/ol>\n<\/div>\n<p><em>\u590d\u5236\u4ee3\u7801<\/em><\/p>\n<\/div>\n<\/div>\n<div align=\"left\">logs <span style=\"font-family: \u5b8b\u4f53;\">\u9875\u9762\u4f7f\u7528<\/span> &lt;block\/&gt; <span style=\"font-family: \u5b8b\u4f53;\">\u63a7\u5236\u6807\u7b7e\u6765\u7ec4\u7ec7\u4ee3\u7801\uff0c\u5728<\/span> &lt;block\/&gt; <span style=\"font-family: \u5b8b\u4f53;\">\u4e0a\u4f7f\u7528<\/span> wx:for-items <span style=\"font-family: \u5b8b\u4f53;\">\u7ed1\u5b9a<\/span> logs <span style=\"font-family: \u5b8b\u4f53;\">\u6570\u636e\uff0c\u5e76\u5c06<\/span>logs <span style=\"font-family: \u5b8b\u4f53;\">\u6570\u636e\u5faa\u73af\u5c55\u5f00\u8282\u70b9<\/span><\/div>\n<div align=\"left\"><span style=\"font-family: \u5b8b\u4f53;\">\u00a0<\/span><\/div>\n<div align=\"left\">\n<div class=\"blockcode\">\n<div id=\"code_f4b\">\n<ol>\n<li>\/\/logs.js<\/li>\n<li>var util = require('..\/..\/utils\/util.js')<\/li>\n<li>Page({<\/li>\n<li>\u00a0\u00a0data: {<\/li>\n<li>\u00a0 \u00a0 logs: []<\/li>\n<li>\u00a0\u00a0},<\/li>\n<li>\u00a0\u00a0onLoad: function () {<\/li>\n<li>\u00a0 \u00a0 this.setData({<\/li>\n<li>\u00a0 \u00a0\u00a0 \u00a0logs: (wx.getStorageSync('logs') || []).map(function (log) {<\/li>\n<li>\u00a0 \u00a0\u00a0 \u00a0\u00a0\u00a0return util.formatTime(new Date(log))<\/li>\n<li>\u00a0 \u00a0\u00a0 \u00a0})<\/li>\n<li>\u00a0 \u00a0 })<\/li>\n<li>\u00a0\u00a0}<\/li>\n<li>})<\/li>\n<\/ol>\n<\/div>\n<p><em>\u590d\u5236\u4ee3\u7801<\/em><\/p>\n<\/div>\n<\/div>\n<div align=\"left\"><span style=\"color: #696969;\"><span style=\"font-family: \u5b8b\u4f53;\">[size=14.6667px]\u8fd0\u884c\u7ed3\u679c\u5982\u4e0b\uff1a<\/span><\/span><\/div>\n<div align=\"left\"><span style=\"font-family: \u5b8b\u4f53;\">[size=14.6667px]<br \/>\n<\/span><\/div>\n<p><img decoding=\"async\" id=\"aimg_122389\" class=\"zoom\" src=\"http:\/\/download.9miao.com\/b77c7304137cbc6064265346648951d8.jpg\" width=\"730\" \/><\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div align=\"left\"><span style=\"color: #696969;\">4. <span style=\"font-family: \u5b8b\u4f53;\">\u624b\u673a\u9884\u89c8<\/span><\/span><\/div>\n<div align=\"left\"><span style=\"color: #696969;\"><span style=\"font-family: \u5b8b\u4f53;\">\u5f00\u53d1\u8005\u5de5\u5177\u5de6\u4fa7\u83dc\u5355\u680f\u9009\u62e9\u300c\u9879\u76ee\u300d\uff0c\u70b9\u51fb\u300c\u9884\u89c8\u300d\uff0c\u626b\u7801\u540e\u5373\u53ef\u5728\u5fae\u4fe1\u5ba2\u6237\u7aef\u4e2d\u4f53\u9a8c\u3002<\/span><\/span><\/div>\n<div align=\"left\"><img decoding=\"async\" id=\"aimg_122391\" class=\"zoom\" src=\"http:\/\/download.9miao.com\/781b8da20fdaad2a6e995f097cd0a12e.jpg\" width=\"730\" \/><\/div>\n<p>&nbsp;<\/p>\n<div align=\"left\">\n<div align=\"left\"><span style=\"font-family: \u5b8b\u4f53;\">\u76ee\u524d\uff0c\u9884\u89c8\u548c\u4e0a\u4f20\u529f\u80fd\u5c1a\u65e0\u6cd5\u5b9e\u73b0\uff0c\u9700\u8981\u7b49\u5f85\u5fae\u4fe1\u5b98\u65b9\u7684\u4e0b\u4e00\u6b65\u66f4\u65b0\u3002<\/span><\/div>\n<div align=\"left\"><span style=\"color: red;\"><span style=\"font-family: \u5b8b\u4f53;\">\u5982\u4f60\u6240\u89c1\uff0c\u5fae\u4fe1\u5b98\u65b9\u7ed9\u51fa\u7684\u5f00\u53d1\u6307\u5357\u8fd8\u975e\u5e38\u7b80\u5355\uff0c\u5f88\u591a\u7ec6\u8282\u3001\u4ee3\u7801\u548c\u529f\u80fd\u90fd\u6ca1\u6709\u660e\u786e\u7684\u5c55\u793a\uff0c\u6240\u4ee5\u63a5\u4e0b\u6765\u5c31\u5230\u535a\u5361\u541b\u5c55\u793a\u5b9e\u529b\u7684\u65f6\u5019\u5566\uff01\u5f00\u53d1\u6559\u7a0b\u6b63\u5f0f\u5f00\u59cb\uff01<\/span><\/span><\/div>\n<div align=\"center\"><span style=\"font-family: \u5b8b\u4f53;\">\u00a0<\/span><\/div>\n<div align=\"center\"><span style=\"font-family: \u5b8b\u4f53;\">\u7b2c\u4e00\u7ae0\uff1a\u51c6\u5907\u5de5\u4f5c<\/span><\/div>\n<div align=\"left\"><span style=\"font-family: \u5b8b\u4f53;\">\u505a\u597d\u51c6\u5907\u5de5\u4f5c\u5f88\u91cd\u8981\u3002\u5f00\u53d1\u4e00\u4e2a\u5fae\u4fe1\u5e94\u7528\u53f7\uff0c\u4f60\u9700\u8981\u63d0\u524d\u5230\u5fae\u4fe1\u7684\u5b98\u65b9\u7f51\u7ad9\uff08<\/span>weixin.qq.com<span style=\"font-family: \u5b8b\u4f53;\">\uff09\u4e0b\u8f7d\u5f00\u53d1\u8005\u5de5\u5177\u3002<\/span><\/div>\n<div align=\"left\">1. <span style=\"font-family: \u5b8b\u4f53;\">\u4e0b\u8f7d\u6700\u65b0<a class=\"relatedlink\" href=\"http:\/\/www.9miao.com\/forum-54-1.html\" target=\"_blank\">\u5fae\u4fe1\u5f00\u53d1<\/a>\u8005\u5de5\u5177\uff0c\u6253\u5f00\u540e\u4f60\u4f1a\u770b\u5230\u8be5\u754c\u9762\uff1a<\/span><\/div>\n<p><img decoding=\"async\" id=\"aimg_122393\" class=\"zoom\" src=\"http:\/\/download.9miao.com\/87660af15d61a462d58c62ffd46a1362.jpg\" width=\"600\" \/> <span style=\"color: #696969;\"><br \/>\n<\/span><\/p>\n<div align=\"left\">2. <span style=\"font-family: \u5b8b\u4f53;\">\u70b9\u51fb\u300c\u65b0\u5efa<\/span> web+<span style=\"font-family: \u5b8b\u4f53;\">\u300d\u9879\u76ee\uff0c\u968f\u540e\u51fa\u73b0\u5982\u4e0b\u753b\u9762\uff1a<\/span><\/div>\n<div align=\"left\"><span style=\"font-family: \u5b8b\u4f53;\">\u00a0<\/span><\/div>\n<p><img decoding=\"async\" id=\"aimg_122395\" class=\"zoom\" src=\"http:\/\/download.9miao.com\/453fe7794c806266bdee3381c9834d49.jpg\" width=\"730\" \/><\/p>\n<p>&nbsp;<\/p>\n<div align=\"left\">\n<div align=\"left\">\n<div align=\"left\">3. <span style=\"font-family: \u5b8b\u4f53;\">\u8be5\u9875\u9762\u5185\u7684\u5404\u9879\u5185\u5bb9\u9700\u8981\u6ce8\u610f\u2014\u2014<\/span><\/div>\n<div align=\"left\">\u00a0 \u00a0\u00a0 \u00a0 AppID\uff1a\u4f9d\u7167\u5b98\u65b9\u89e3\u91ca\u6765\u586b\u3002<\/div>\n<div align=\"left\">\u00a0 \u00a0\u00a0 \u00a0 Appname: \u9879\u76ee\u6700\u5916\u5c42\u6587\u4ef6\u5939\u540d\u79f0\uff0c\u5982\u4f60\u5c06\u5176\u547d\u540d\u4e3a\u300cABC\u300d\uff0c\u5219\u4e4b\u540e\u7684\u5168\u90e8\u9879\u76ee\u5185\u5bb9\u5747\u5c06\u4fdd\u5b58\u5728\u300c\/ABC\/\u2026\u300d\u76ee\u5f55\u4e0b\u3002<\/div>\n<div align=\"left\">\u00a0 \u00a0\u00a0 \u00a0\u672c\u5730\u5f00\u53d1\u76ee\u5f55\uff1a\u9879\u76ee\u5b58\u653e\u5728\u672c\u5730\u7684\u76ee\u5f55\u3002<\/div>\n<div align=\"left\"><span style=\"font-family: \u5b8b\u4f53;\">\u6ce8\uff1a\u518d\u6b21\u5f3a\u8c03\uff0c\u5982\u679c\u4f60\u548c\u56e2\u961f\u6210\u5458\u5171\u540c\u5f00\u53d1\u8be5\u9879\u76ee\uff0c\u5219\u5efa\u8bae\u4f60\u4eec\u4f7f\u7528\u540c\u6837\u7684\u76ee\u5f55\u540d\u79f0\u53ca\u672c\u5730\u76ee\u5f55\uff0c\u4ee5\u786e\u4fdd\u534f\u540c\u5f00\u53d1\u7684\u7edf\u4e00\u6027\u3002\u5982\u679c\u4f60\u4e4b\u524d\u5df2\u6709\u9879\u76ee\uff0c\u5219\u5bfc\u5165\u8fc7\u7a0b\u4e0e\u4ee5\u4e0a\u5185\u5bb9\u8fd1\u4f3c\uff0c\u4e0d\u518d\u8d58\u8ff0\u3002<\/span><\/div>\n<div align=\"left\">4. <span style=\"font-family: \u5b8b\u4f53;\">\u51c6\u5907\u5de5\u4f5c\u5168\u90e8\u5b8c\u6210\u540e\uff0c\u70b9\u51fb\u300c\u65b0\u5efa\u9879\u76ee\u300d\u6309\u94ae\uff0c\u5f39\u51fa\u6846\u70b9\u300c\u786e\u5b9a\u300d\u3002<\/span><\/div>\n<div align=\"left\"><img decoding=\"async\" id=\"aimg_122397\" class=\"zoom\" src=\"http:\/\/download.9miao.com\/2ddeb6412d804aaeb75b6b532165b19d.jpg\" width=\"730\" \/><\/div>\n<div align=\"left\">5. <span style=\"font-family: \u5b8b\u4f53;\">\u5982\u4e0a\u56fe\u6240\u793a\uff0c\u6b64\u523b\uff0c\u5fae\u4fe1\u5f00\u53d1\u8005\u5de5\u5177\u5df2\u7ecf\u4e3a\u4f60\u81ea\u52a8\u6784\u5efa\u4e86\u4e00\u4e2a\u521d\u59cb\u7684<\/span> demo <span style=\"font-family: \u5b8b\u4f53;\">\u9879\u76ee\uff0c\u8be5\u9879\u76ee\u5185\u5305\u542b\u4e86\u4e00\u4e2a\u5fae\u4fe1\u5e94\u7528\u9879\u76ee\u6240\u9700\u5177\u5907\u7684\u57fa\u672c\u5185\u5bb9\u548c\u6846\u67b6\u7ed3\u6784\u3002\u70b9\u51fb\u9879\u76ee\u540d\u79f0\uff08\u56fe\u4e2d\u5373\u300c<\/span>cards<span style=\"font-family: \u5b8b\u4f53;\">\u300d\uff09\u8fdb\u5165\u8be5\u9879\u76ee\uff0c\u5c31\u80fd\u770b\u5230\u6574\u4e2a\u9879\u76ee\u7684\u57fa\u672c\u67b6\u6784\u4e86\uff1a<\/span><\/div>\n<div align=\"left\"><img decoding=\"async\" id=\"aimg_122399\" class=\"zoom\" src=\"http:\/\/download.9miao.com\/af5709e5c46261e25740fcaee797e461.jpg\" width=\"730\" \/><\/div>\n<div align=\"left\">\n<div align=\"left\"><span style=\"font-family: \u5b8b\u4f53;\">\u5fae\u4fe1\u76ee\u524d\u7528\u6237\u7fa4\u4f53\u975e\u5e38\u5e9e\u5927\uff0c\u5fae\u4fe1\u63a8\u51fa\u516c\u4f17\u53f7\u4ee5\u540e\uff0c\u706b\u7206\u7a0b\u5ea6\u5927\u5bb6\u90fd\u770b\u5f97\u5230\uff0c\u4e5f\u540c\u6837\u63a8\u52a8\u7740<\/span> h5 <span style=\"font-family: \u5b8b\u4f53;\">\u7684\u9ad8\u901f\u53d1\u5c55\uff0c\u968f\u7740\u516c\u4f17\u53f7\u4e1a\u52a1\u7684\u9700\u6c42\u8d8a\u6765\u8d8a\u590d\u6742\uff0c\u5e94\u7528\u53f7\u73b0\u5728\u7684\u5230\u6765\u4e5f\u662f\u6070\u5230\u597d\u5904\u3002\u6211\u4eec\u56e2\u961f\u5177\u4f53\u770b\u4e86\u4e00\u4e24\u6b21\u6587\u6863\u540e\u53d1\u73b0\uff0c\u5b83\u63d0\u4f9b\u7ed9\u5f00\u53d1\u8005\u7684\u65b9\u5f0f\u4e5f\u5728\u53d1\u751f\u5168\u9762\u7684\u6539\u53d8\uff0c\u4ece\u64cd\u4f5c<\/span> DOM <span style=\"font-family: \u5b8b\u4f53;\">\u8f6c\u4e3a\u64cd\u4f5c\u6570\u636e\uff0c\u57fa\u4e8e\u5fae\u4fe1\u63d0\u4f9b\u7684\u4e00\u4e2a\u8fc7\u6865\u5de5\u5177\u5b9e\u73b0\u5f88\u591a<\/span> h5 <span style=\"font-family: \u5b8b\u4f53;\">\u5728\u516c\u4f17\u53f7\u5f88\u96be\u5b9e\u73b0\u7684\u529f\u80fd\uff0c\u6709\u70b9\u7c7b\u4f3c\u4e8e<\/span> hybrid <span style=\"font-family: \u5b8b\u4f53;\">\u5f00\u53d1\uff0c\u4e0d\u540c\u4e8e<\/span> hybrid <span style=\"font-family: \u5b8b\u4f53;\">\u5f00\u53d1\u7684\u65b9\u5f0f\u662f\uff1a\u5fae\u4fe1\u5f00\u653e\u7684\u63a5\u53e3\u66f4\u4e3a\u4e25\u8c28\uff0c\u7ed3\u6784\u5fc5\u987b\u91c7\u7528\u4ed6\u63d0\u4f9b\u7ed9\u6211\u4eec\u7684\u7ec4\u4ef6\uff0c\u5916\u90e8\u7684\u6846\u67b6\u548c\u63d2\u4ef6\u90fd\u4e0d\u80fd\u5728\u8fd9\u91cc\u4f7f\u7528\u4e0a\uff0c\u8ba9\u5f00\u53d1\u8005\u5b8c\u5168\u8131\u79bb\u64cd\u4f5c<\/span>DOM<span style=\"font-family: \u5b8b\u4f53;\">\uff0c\u5f00\u53d1\u601d\u60f3\u8f6c\u53d8\u5f88\u5927\u3002<\/span><\/div>\n<div align=\"left\"><span style=\"font-family: \u5b8b\u4f53;\">\u5de5\u6b32\u5584\u5176\u4e8b\uff0c\u5fc5\u5148\u5229\u5176\u5668\u3002\u7406\u89e3\u5b83\u7684\u6838\u5fc3\u529f\u80fd\u975e\u5e38\u91cd\u8981\uff0c\u5148\u4e86\u89e3\u5b83\u7684\u6574\u4e2a\u8fd0\u4f5c\u6d41\u7a0b\u3002<\/span><\/div>\n<div align=\"left\"><span style=\"font-family: \u5b8b\u4f53;\">\u751f\u547d\u5468\u671f\uff1a<\/span><\/div>\n<div align=\"left\"><span style=\"font-family: \u5b8b\u4f53;\">\u5728<\/span>index.js<span style=\"font-family: \u5b8b\u4f53;\">\u91cc\u9762\uff1a<\/span><\/div>\n<p><img decoding=\"async\" id=\"aimg_122401\" class=\"zoom\" src=\"http:\/\/download.9miao.com\/257434fe317046707a83d28e1ff998ec.jpg\" width=\"730\" \/><\/p>\n<div align=\"left\"><span style=\"font-family: \u5b8b\u4f53;\">\u5f00\u53d1\u8005\u5de5\u5177\u4e0a<\/span> Console <span style=\"font-family: \u5b8b\u4f53;\">\u53ef\u4ee5\u770b\u5230\uff1a<\/span><\/div>\n<div align=\"left\"><img decoding=\"async\" id=\"aimg_122403\" class=\"zoom\" src=\"http:\/\/download.9miao.com\/4be7b15fd8bf2d4187d8a208dca2d95c.jpg\" width=\"620\" \/><\/div>\n<div align=\"left\">\n<div align=\"left\"><span style=\"font-family: \u5b8b\u4f53;\">\u5728\u9996\u9875<\/span> console <span style=\"font-family: \u5b8b\u4f53;\">\u53ef\u4ee5\u770b\u51fa\u987a\u5e8f\u662f<\/span> App Launch--&gt;App Show--&gt;onload--&gt;onShow--&gt;onReady<span style=\"font-family: \u5b8b\u4f53;\">\u3002<\/span><\/div>\n<div align=\"left\"><span style=\"font-family: \u5b8b\u4f53;\">\u9996\u5148\u662f\u6574\u4e2a<\/span> app <span style=\"font-family: \u5b8b\u4f53;\">\u7684\u542f\u52a8\u4e0e\u663e\u793a\uff0c<\/span>app <span style=\"font-family: \u5b8b\u4f53;\">\u7684\u542f\u52a8\u5728<\/span> app.js <span style=\"font-family: \u5b8b\u4f53;\">\u91cc\u9762\u53ef\u4ee5\u914d\u7f6e\uff0c\u5176\u6b21\u518d\u8fdb\u5165\u5230\u5404\u4e2a\u9875\u9762\u7684\u52a0\u8f7d\u663e\u793a\u7b49\u7b49\u3002<\/span><\/div>\n<div align=\"left\"><span style=\"font-family: \u5b8b\u4f53;\">\u53ef\u4ee5\u60f3\u8c61\u5230\u8fd9\u91cc\u53ef\u4ee5\u5904\u7406\u5f88\u591a\u4e1c\u897f\u4e86\uff0c\u5982\u52a0\u8f7d\u6846\u4e4b\u7c7b\u7684\u90fd\u53ef\u4ee5\u5b9e\u73b0\u7b49\u7b49\u3002<\/span><\/div>\n<div align=\"left\"><span style=\"font-family: \u5b8b\u4f53;\">\u8def\u7531\uff1a<\/span><\/div>\n<div align=\"left\"><span style=\"font-family: \u5b8b\u4f53;\">\u8def\u7531\u5728\u9879\u76ee\u5f00\u53d1\u4e2d\u4e00\u76f4\u662f\u4e2a\u6838\u5fc3\u70b9\uff0c\u5728\u8fd9\u91cc\u5176\u5b9e\u5fae\u4fe1\u5bf9\u8def\u7531\u7684\u4ecb\u7ecd\u5f88\u5c11\uff0c\u53ef\u89c1\u5fae\u4fe1\u5728\u8def\u7531\u65b9\u9762\u7ecf\u8fc7\u5f88\u597d\u7684\u5c01\u88c5\uff0c\u4e5f\u63d0\u4f9b\u4e09\u4e2a\u8df3\u8f6c\u65b9\u6cd5\u3002<\/span><\/div>\n<div align=\"left\">wx.navigateTo(OBJECT)<span style=\"font-family: \u5b8b\u4f53;\">\uff1a\u4fdd\u7559\u5f53\u524d\u9875\u9762\uff0c\u8df3\u8f6c\u5230\u5e94\u7528\u5185\u7684\u67d0\u4e2a\u9875\u9762\uff0c\u4f7f\u7528<\/span>wx.navigateBack<span style=\"font-family: \u5b8b\u4f53;\">\u53ef\u4ee5\u8fd4\u56de\u5230\u539f\u9875\u9762\u3002<\/span><\/div>\n<div align=\"left\">wx.redirectTo(OBJECT)<span style=\"font-family: \u5b8b\u4f53;\">\uff1a\u5173\u95ed\u5f53\u524d\u9875\u9762\uff0c\u8df3\u8f6c\u5230\u5e94\u7528\u5185\u7684\u67d0\u4e2a\u9875\u9762\u3002<\/span><\/div>\n<div align=\"left\">wx.navigateBack()<span style=\"font-family: \u5b8b\u4f53;\">\uff1a\u5173\u95ed\u5f53\u524d\u9875\u9762\uff0c\u56de\u9000\u524d\u4e00\u9875\u9762\u3002<\/span><\/div>\n<div align=\"left\"><span style=\"font-family: \u5b8b\u4f53;\">\u8fd9\u4e09\u4e2a\u57fa\u672c\u4e0a\u4f7f\u7528\u8db3\u591f\uff0c\u5728\u8def\u7531\u65b9\u9762\u5fae\u4fe1\u5c01\u88c5\u7684\u5f88\u597d\uff0c\u5f00\u53d1\u8005\u6839\u672c\u4e0d\u7528\u53bb\u914d\u7f6e\u8def\u7531\uff0c\u5f80\u5f80\u5f88\u591a\u6846\u67b6\u5728\u8def\u7531\u65b9\u9762\u914d\u7f6e\u5f88\u7e41\u7410\u3002<\/span><\/div>\n<div align=\"left\"><span style=\"font-family: \u5b8b\u4f53;\">\u7ec4\u4ef6\uff1a<\/span><\/div>\n<div align=\"left\"><span style=\"font-family: \u5b8b\u4f53;\">\u6b64\u6b21\u5fae\u4fe1\u5728\u7ec4\u4ef6\u63d0\u4f9b\u65b9\u9762\u4e5f\u662f\u975e\u5e38\u5168\u9762\uff0c\u57fa\u672c\u4e0a\u6ee1\u8db3\u9879\u76ee\u9700\u6c42\uff0c\u6545\u800c\u5f00\u53d1\u901f\u5ea6\u975e\u5e38\u5feb\uff0c\u5f00\u53d1\u524d\u53ef\u4ee5\u8ba4\u771f\u6d4f\u89c8\u51e0\u6b21\uff0c\u5f00\u53d1\u6548\u7387\u4f1a\u5f88\u597d\u3002<\/span><\/div>\n<div align=\"left\"><span style=\"font-family: \u5b8b\u4f53;\">\u5176\u5b83\uff1a<\/span><\/div>\n<div align=\"left\"><span style=\"font-family: \u5b8b\u4f53;\">\u4efb\u4f55\u5916\u90e8\u6846\u67b6\u4ee5\u53ca\u63d2\u4ef6\u57fa\u672c\u4e0a\u65e0\u6cd5\u4f7f\u7528\uff0c\u5c31\u7b97\u539f\u751f\u7684<\/span> js <span style=\"font-family: \u5b8b\u4f53;\">\u63d2\u4ef6\u4e5f\u5f88\u96be\u4f7f\u7528\uff0c\u56e0\u4e3a\u4ee5\u524d\u6211\u4eec\u7684<\/span> js <span style=\"font-family: \u5b8b\u4f53;\">\u63d2\u4ef6\u4e5f\u57fa\u672c\u4e0a\u5168\u90e8\u662f\u4e00\u64cd\u4f5c<\/span> dom <span style=\"font-family: \u5b8b\u4f53;\">\u7684\u5f62\u5f0f\u5b58\u5728\uff0c\u800c\u5fae\u4fe1\u5e94\u7528\u53f7\u6b64\u6b21\u7684\u67b6\u6784\u662f\u4e0d\u5141\u8bb8\u64cd\u4f5c\u4efb\u4f55<\/span> dom<span style=\"font-family: \u5b8b\u4f53;\">\uff0c\u5c31\u8fde\u4ee5\u524d\u6211\u4eec\u4e60\u60ef\u4f7f\u7528\u7684\u52a8\u6001\u8bbe\u7f6e\u7684<\/span>rem.js<span style=\"font-family: \u5b8b\u4f53;\">\u4e5f\u662f\u4e0d\u652f\u6301\u7684\u3002<\/span><\/div>\n<div align=\"left\"><span style=\"font-family: \u5b8b\u4f53;\">\u6b64\u6b21\u5fae\u4fe1\u8fd8\u63d0\u4f9b\u4e86<\/span> WebSocket<span style=\"font-family: \u5b8b\u4f53;\">\uff0c\u5c31\u53ef\u4ee5\u76f4\u63a5\u5229\u7528\u5b83\u505a\u804a\u5929\uff0c\u53ef\u4ee5\u5f00\u53d1\u7684\u7a7a\u95f4\u975e\u5e38\u5927\u3002<\/span><\/div>\n<div align=\"left\"><span style=\"font-family: \u5b8b\u4f53;\">\u8ddf\u516c\u4f17\u53f7\u5bf9\u6bd4\u6211\u4eec\u53d1\u73b0\uff0c\u5f00\u53d1\u5e94\u7528\u53f7\u7ec4\u4ef6\u5316\uff0c\u7ed3\u6784\u5316\uff0c\u591a\u6837\u5316\u3002\u65b0\u5927\u9646\u603b\u662f\u5145\u6ee1\u7740\u60ca\u559c\uff0c\u66f4\u591a\u7684\u5f69\u86cb\u7b49\u7740\u5927\u5bb6\u6765\u53d1\u73b0\u3002<\/span><\/div>\n<div align=\"left\"><span style=\"font-family: \u5b8b\u4f53;\">\u63a5\u4e0b\u6765\u5f00\u59cb\u641e\u4e00\u4e9b\u7b80\u5355\u7684\u4ee3\u7801\u4e86\uff01<\/span><\/div>\n<div align=\"left\">1. <span style=\"font-family: \u5b8b\u4f53;\">\u627e\u5230\u9879\u76ee\u6587\u4ef6\u5939\uff0c\u5bfc\u5165\u4f60\u7684\u7f16\u8f91\u5668\u91cc\u9762\u3002\u5728\u8fd9\u91cc\uff0c\u6211\u4f7f\u7528\u4e86<\/span> Sublime Text <span style=\"font-family: \u5b8b\u4f53;\">\u7f16\u8f91\u5668\u3002\u4f60\u53ef\u4ee5\u6839\u636e\u81ea\u5df1\u7684\u5f00\u53d1\u4e60\u60ef\u9009\u62e9\u81ea\u5df1\u559c\u6b22\u7684\u7f16\u8f91\u5668\u3002<\/span><\/div>\n<div align=\"left\"><span style=\"font-family: \u5b8b\u4f53;\">\u00a0<\/span><\/div>\n<p><img decoding=\"async\" id=\"aimg_122405\" class=\"zoom\" src=\"http:\/\/download.9miao.com\/3e41c31e739574a9c31ce4a96daeb7d8.jpg\" width=\"730\" \/><\/p>\n<div align=\"left\">\n<div align=\"left\">2. <span style=\"font-family: \u5b8b\u4f53;\">\u63a5\u4e0b\u6765\uff0c\u4f60\u9700\u8981\u6839\u636e\u81ea\u5df1\u7684\u9879\u76ee\u5185\u5bb9\u8c03\u6574\u9879\u76ee\u7ed3\u6784\u3002\u5728\u8303\u4f8b\u9879\u76ee\u4e2d\uff0c\u300c<\/span>card_course\u300d\u76ee\u5f55\u4e0b\u9762<span style=\"font-family: \u5b8b\u4f53;\">\u4e3b\u8981\u5305\u542b\u4e86\u300c<\/span>tabBar<span style=\"font-family: \u5b8b\u4f53;\">\u300d\u9875\u9762\u4ee5\u53ca\u8be5\u5e94\u7528\u7684\u4e00\u4e9b\u914d\u7f6e\u6587\u4ef6\u3002<\/span><\/div>\n<div align=\"left\">3. <span style=\"font-family: \u5b8b\u4f53;\">\u793a\u4f8b\u9879\u76ee\u7684\u300c<\/span>tabBar<span style=\"font-family: \u5b8b\u4f53;\">\u300d\u662f\u4e94\u4e2a\u83dc\u5355\u6309\u94ae\uff1a<\/span><\/div>\n<div align=\"left\"><span style=\"font-family: \u5b8b\u4f53;\">\u00a0<\/span><\/div>\n<p><img decoding=\"async\" id=\"aimg_122461\" class=\"zoom\" src=\"http:\/\/download.9miao.com\/70244328c022c590ffe6b9916842bc67.jpg\" width=\"595\" \/><\/p>\n<div align=\"left\">4. <span style=\"font-family: \u5b8b\u4f53;\">\u627e\u5230\u300c<\/span>app.json<span style=\"font-family: \u5b8b\u4f53;\">\u300d\u6587\u4ef6\uff0c\u7528\u6765\u914d\u7f6e\u8fd9\u4e2a\u4e94\u4e2a\u83dc\u5355\u3002\u5728\u4ee3\u7801\u884c\u4e2d\u627e\u5230\u300c<\/span>\u201dtabBar\u201d<span style=\"font-family: \u5b8b\u4f53;\">\u300d\uff1a<\/span><\/div>\n<div align=\"left\"><span style=\"font-family: \u5b8b\u4f53;\">\u00a0<\/span><\/div>\n<p><img decoding=\"async\" id=\"aimg_122407\" class=\"zoom\" src=\"http:\/\/download.9miao.com\/e084b697649507879aa1dea4b1597ec0.jpg\" width=\"730\" \/><\/p>\n<div align=\"left\">\n<div align=\"left\"><span style=\"font-family: \u5b8b\u4f53;\">\u4f60\u53ef\u4ee5\u6839\u636e\u5b9e\u9645\u9879\u76ee\u9700\u6c42\u66f4\u6539\uff0c\u5176\u4e2d\uff1a<\/span><\/div>\n<div align=\"left\">\u00a0 \u00a0\u00a0 \u00a0\u300cColor\u300d\u662f\u5e95\u90e8\u5b57\u4f53\u989c\u8272\uff0c\u300cselectedColor\u300d\u662f\u5207\u6362\u5230\u8be5\u9875\u9762\u9ad8\u4eae\u989c\u8272\uff0c\u300cborderStyle\u300d\u662f\u5207\u6362\u83dc\u5355\u4e0a\u9762\u7684\u4e00\u6761\u7ebf\u7684\u989c\u8272\uff0c\u300cbackgroundColor\u300d\u662f\u5e95\u90e8\u83dc\u5355\u680f\u80cc\u666f\u989c\u8272\u3002\u6587\u5b57\u63cf\u8ff0\u8f83\u4e3a\u62bd\u8c61\uff0c\u5efa\u8bae\u4f60\u4e00\u4e00\u8c03\u8bd5\u5e76\u67e5\u770b\u5176\u6548\u679c\uff0c\u52a0\u6df1\u5370\u8c61\u3002<\/div>\n<div align=\"left\">\u00a0 \u00a0\u00a0 \u00a0\u300c\u201clist\u201d\u300d\u4e0b\u7684\u4ee3\u7801\u987a\u5e8f\u5fc5\u987b\u4f9d\u6b21\u653e\u7f6e\uff0c\u4e0d\u80fd\u968f\u4fbf\u66f4\u6539\u3002<\/div>\n<div align=\"left\">\u00a0 \u00a0\u00a0 \u00a0\u300c\u201dpagePath\u201d\u300d\u4e4b\u540e\u7684\u6587\u4ef6\u540d\u5185\uff0c\u300c.wxml\u300d\u540e\u7f00\u88ab\u9690\u85cf\u8d77\u6765\u4e86\uff0c\u8fd9\u662f\u5fae\u4fe1\u5f00\u53d1\u4ee3\u7801\u4e2d\u4eba\u6027\u5316\u7684\u4e00\u70b9\u2014\u2014\u5e2e\u4f60\u8282\u7ea6\u5199\u4ee3\u7801\u7684\u65f6\u95f4\uff0c\u65e0\u987b\u9891\u7e41\u58f0\u660e\u6587\u4ef6\u540e\u7f00\u3002<\/div>\n<div align=\"left\">\u00a0 \u00a0\u00a0 \u00a0\u300c\u201diconPath\u201d\u300d\u4e3a\u672a\u83b7\u5f97\u663e\u793a\u9875\u9762\u7684\u56fe\u6807\u8def\u5f84\uff0c\u8fd9\u4e24\u4e2a\u8def\u5f84\u53ef\u4ee5\u76f4\u63a5\u662f\u7f51\u7edc\u56fe\u6807\u3002<\/div>\n<div align=\"left\">\u00a0 \u00a0\u00a0 \u00a0\u300c\u201dselectedIconPath\u201d\u300d\u4e3a\u5f53\u524d\u663e\u793a\u9875\u9762\u9ad8\u4eae\u56fe\u6807\u8def\u5f84\uff0c\u53ef\u4ee5\u53bb\u6389\uff0c\u53bb\u6389\u4e4b\u540e\u4f1a\u9ed8\u8ba4\u663e\u793a\u4e3a\u300c\u201diconPath\u201d\u300d\u7684\u56fe\u6807\u3002<\/div>\n<div align=\"left\">\u00a0 \u00a0\u00a0 \u00a0\u300c\u201dText\u201d\u300d\u4e3a\u9875\u9762\u6807\u9898\uff0c\u4e5f\u53ef\u4ee5\u53bb\u6389\uff0c\u53bb\u6389\u4e4b\u540e\u7eaf\u663e\u793a\u56fe\u6807\uff0c\u5982\u53ea\u53bb\u6389\u5176\u4e2d\u4e00\u4e2a\uff0c\u8be5\u4f4d\u7f6e\u4f1a\u88ab\u5360\u7528\u3002<\/div>\n<div align=\"left\"><span style=\"font-family: \u5b8b\u4f53;\">\u6ce8\u610f\uff1a\u5fae\u4fe1\u7684\u5e95\u90e8\u83dc\u5355\u6700\u591a\u652f\u6301\u4e94\u680f\uff08\u4e94\u4e2a<\/span> icons<span style=\"font-family: \u5b8b\u4f53;\">\uff09\uff0c\u6240\u4ee5\u5728\u4f60\u8bbe\u8ba1\u5fae\u4fe1\u5e94\u7528\u7684<\/span> UI <span style=\"font-family: \u5b8b\u4f53;\">\u548c\u57fa\u672c\u67b6\u6784\u65f6\u5c31\u8981\u9884\u5148\u8003\u8651\u597d\u83dc\u5355\u680f\u7684\u6392\u5e03\u3002<\/span><\/div>\n<div align=\"left\"><span style=\"color: black;\"><span style=\"font-family: SimSun;\">\u8fd9\u91cc\u987a\u4fbf\u8bf4\u4e00\u53e5\uff1a\u6211\u4eec\u56e2\u961f\u76ee\u524d\u662f\u8bbe\u8ba1\u4e24\u62e8\u4eba\uff0c\u4ee3\u7801\u4e09\u62e8\u4eba\u5728\u540c\u65f6\u641e\uff0c\u6839\u636e\u5fae\u4fe1\u7ed9\u7684\u8bbe\u8ba1\u6307\u5bfc\uff0c\u8bbe\u8ba1\u90a3\u8fb9\u753b\u51fa\u6837\u56fe\uff0c\u6211\u4eec\u5c31\u6839\u636e\u6837\u56fe\u505a<\/span><\/span><span style=\"color: black;\"> UI <\/span><span style=\"color: black;\">\u90e8\u5206\u7684\u4ee3<\/span><span style=\"color: black;\"><span style=\"font-family: SimSun;\">\u7801<\/span><\/span><span style=\"color: black;\">\uff0c<\/span><span style=\"color: black;\"><span style=\"font-family: SimSun;\">\u8fd9\u6837<\/span><\/span><span style=\"color: black;\">\u6548\u7387\u6bd4<\/span><span style=\"color: black;\"><span style=\"font-family: SimSun;\">\u8f83<\/span><\/span><span style=\"color: black;\">\u9ad8\uff0c\u4e0d\u9700\u8981\u7b49<\/span><span style=\"color: black;\"> UI <\/span><span style=\"color: black;\">\u5b8c\u5168\u753b\u597d\u3002\u4e24<\/span><span style=\"color: black;\"><span style=\"font-family: SimSun;\">\u8fb9<\/span><\/span><span style=\"color: black;\">\u53ef\u4ee5\u540c\u6b65\uff01<\/span><\/div>\n<div align=\"left\">5. <span style=\"font-family: \u5b8b\u4f53;\">\u6839\u636e\u4ee5\u4e0a\u4ee3\u7801\u89c4\u5219\uff0c\u6211\u505a\u597d\u4e86\u793a\u4f8b\u9879\u76ee\u7684\u57fa\u672c\u67b6\u6784\uff0c\u4f9b\u4f60\u53c2\u8003\uff1a<\/span><\/div>\n<div align=\"left\"><span style=\"font-family: \u5b8b\u4f53;\">\u00a0<\/span><\/div>\n<p><img decoding=\"async\" id=\"aimg_122409\" class=\"zoom\" src=\"http:\/\/download.9miao.com\/cd1dcb11a6e92415d4eb971bb4cb2d9a.jpg\" width=\"730\" \/><\/p>\n<\/div>\n<div align=\"left\">\n<p><img decoding=\"async\" id=\"aimg_122411\" class=\"zoom\" src=\"http:\/\/download.9miao.com\/8de31860c7f1f7ff9e8bdb5ab8aafb0c.jpg\" width=\"306\" \/><\/p>\n<div align=\"left\">\n<div align=\"left\">6. <span style=\"font-family: \u5b8b\u4f53;\">\u300c<\/span>Json<span style=\"font-family: \u5b8b\u4f53;\">\u300d\u6587\u4ef6\u914d\u7f6e\u597d\u540e\uff0c\u300c<\/span>card_course<span style=\"font-family: \u5b8b\u4f53;\">\u300d\u7684\u57fa\u672c\u7ed3\u6784\u5165\u4e0a\u56fe\u6240\u793a\uff0c\u4e0d\u9700\u8981\u7684\u5b50\u96c6\u90fd\u53ef\u4ee5\u6682\u65f6\u5220\u9664\uff0c\u7f3a\u5c11\u7684\u5b50\u96c6\u5219\u9700\u8981\u4f60\u4e3b\u52a8\u65b0\u5efa\u3002\u5220\u9664\u5b50\u96c6\u65f6\u8bb0\u5f97\u987a\u5e26\u68c0\u67e5\u4e00\u4e0b\u300c<\/span>app.json<span style=\"font-family: \u5b8b\u4f53;\">\u300d\u91cc\u7684\u76f8\u5173\u5185\u5bb9\u662f\u5426\u5df2\u7ecf\u4e00\u5e76\u5220\u9664\u3002<\/span><\/div>\n<div align=\"left\"><span style=\"font-family: \u5b8b\u4f53;\">\u6ce8\u610f\uff1a\u6211\u4e2a\u4eba\u5efa\u8bae\u4f60\u65b0\u5efa\u4e00\u4e2a\u300c<\/span>wxml<span style=\"font-family: \u5b8b\u4f53;\">\u300d\u6587\u4ef6\u7684\u540c\u65f6\uff0c\u628a\u5bf9\u5e94\u7684\u300c<\/span>js<span style=\"font-family: \u5b8b\u4f53;\">\u300d\u548c\u300c<\/span>wxss<span style=\"font-family: \u5b8b\u4f53;\">\u300d\u6587\u4ef6\u4e00\u8d77\u65b0\u5efa\u597d\uff0c\u56e0\u4e3a\u5fae\u4fe1\u5e94\u7528\u53f7\u7684\u914d\u7f6e\u7279\u70b9\u5c31\u662f\u89e3\u6790\u5230\u4e00\u4e2a\u300c<\/span>wxml<span style=\"font-family: \u5b8b\u4f53;\">\u300d\u6587\u4ef6\u65f6\uff0c\u4f1a\u540c\u65f6\u5728\u540c\u7ea7\u76ee\u5f55\u4e0b\u627e\u5230\u540c\u6587\u4ef6\u540d\u7684\u300c<\/span>js<span style=\"font-family: \u5b8b\u4f53;\">\u300d\u548c\u300c<\/span>wxss<span style=\"font-family: \u5b8b\u4f53;\">\u300d\u6587\u4ef6\uff0c\u6240\u4ee5\u300c<\/span>js<span style=\"font-family: \u5b8b\u4f53;\">\u300d\u6587\u4ef6\u9700\u53ca\u65f6\u5728\u300c<\/span>app.json<span style=\"font-family: \u5b8b\u4f53;\">\u300d\u91cc\u9884\u5148\u914d\u7f6e\u597d\u3002<\/span><\/div>\n<div align=\"left\"><span style=\"font-family: \u5b8b\u4f53;\">\u7f16\u5199\u300c<\/span>wxml<span style=\"font-family: \u5b8b\u4f53;\">\u300d\u65f6\uff0c\u6839\u636e\u5fae\u4fe1\u5e94\u7528\u53f7\u63d0\u4f9b\u7684\u63a5\u53e3\u7f16\u7801\u5373\u53ef\uff0c\u5927\u90e8\u5206\u5c31\u662f\u4ee5\u524d\u7684\u300c<\/span>div<span style=\"font-family: \u5b8b\u4f53;\">\u300d\uff0c\u800c\u6211\u4eec\u73b0\u5728\u5c31\u7528\u300c<\/span>view<span style=\"font-family: \u5b8b\u4f53;\">\u300d\u5373\u53ef\u3002\u9700\u8981\u7528\u5176\u5b83\u5b50\u96c6\u65f6\uff0c\u53ef\u4ee5\u6839\u636e\u5fae\u4fe1\u63d0\u4f9b\u7684\u63a5\u53e3\u914c\u60c5\u9009\u62e9\u3002<\/span><\/div>\n<div align=\"left\"><span style=\"font-family: \u5b8b\u4f53;\">\u4f7f\u7528\u300c<\/span>class<span style=\"font-family: \u5b8b\u4f53;\">\u300d\u540d\u6765\u8bbe\u7f6e\u6837\u5f0f\uff0c\u300c<\/span>id<span style=\"font-family: \u5b8b\u4f53;\">\u300d\u540d\u5728\u8fd9\u91cc\u57fa\u672c\u6ca1\u6709\u4ec0\u4e48\u7528\u5904\u3002\u4e3b\u8981\u64cd\u4f5c\u6570\u636e\uff0c\u4e0d\u64cd\u4f5c\u300c<\/span>dom<span style=\"font-family: \u5b8b\u4f53;\">\u300d\u3002<\/span><\/div>\n<div align=\"left\"><span style=\"font-family: \u5b8b\u4f53;\">\u00a0<\/span><\/div>\n<p><img decoding=\"async\" id=\"aimg_122413\" class=\"zoom\" src=\"http:\/\/download.9miao.com\/ec623006861f6eb73d3585f529391295.jpg\" width=\"730\" \/><\/p>\n<div align=\"left\">\n<div align=\"left\">7. <span style=\"font-family: \u5b8b\u4f53;\">\u4ee5\u4e0a\u662f\u793a\u4f8b\u9879\u76ee\u9996\u9875\u7684\u300c<\/span>wxml<span style=\"font-family: \u5b8b\u4f53;\">\u300d\u7f16\u7801\u3002\u4ece\u56fe\u4e2d\u5c31\u53ef\u4ee5\u770b\u51fa\uff0c\u5b9e\u73b0\u4e00\u4e2a\u9875\u9762\u4ee3\u7801\u91cf\u975e\u5e38\u5c11\u3002<\/span><\/div>\n<div align=\"left\">8. <span style=\"font-family: \u5b8b\u4f53;\">\u300c<\/span>Wxss<span style=\"font-family: \u5b8b\u4f53;\">\u300d\u6587\u4ef6\u662f\u5f15\u5165\u7684\u6837\u5f0f\u6587\u4ef6\uff0c\u4f60\u4e5f\u53ef\u4ee5\u76f4\u63a5\u5728\u91cc\u9762\u5199\u6837\u5f0f\uff0c\u793a\u4f8b\u4e2d\u91c7\u7528\u7684\u662f\u5f15\u5165\u65b9\u5f0f\uff1a<\/span><\/div>\n<div align=\"left\"><span style=\"font-family: \u5b8b\u4f53;\">\u00a0<\/span><\/div>\n<p><img decoding=\"async\" id=\"aimg_122415\" class=\"zoom\" src=\"http:\/\/download.9miao.com\/ce6c29aa261bf281125bd62afda07ed2.jpg\" width=\"601\" \/><\/p>\n<\/div>\n<div align=\"left\"><img decoding=\"async\" id=\"aimg_122417\" class=\"zoom\" src=\"http:\/\/download.9miao.com\/4a7b2c9bd3025686bf32f2943b73cb45.jpg\" width=\"613\" \/><\/div>\n<div align=\"left\">\n<div align=\"left\">\n<div align=\"left\">9. <span style=\"font-family: \u5b8b\u4f53;\">\u4fee\u6539\u4ee3\u7801<\/span><span style=\"font-family: \u5b8b\u4f53;\">\u540e\u5237\u65b0\u4e00\u6b21\uff0c\u53ef\u4ee5\u770b\u5230\u672a\u8bbe\u80cc\u666f\u7684\u300c<\/span>view<span style=\"font-family: \u5b8b\u4f53;\">\u300d\u6807\u7b7e\u76f4\u63a5\u53d8\u6210\u4e86\u7c89\u8272\u3002<\/span><\/div>\n<div align=\"left\"><span style=\"font-family: \u5b8b\u4f53;\">\u6ce8\u610f\uff1a\u4fee\u6539\u300c<\/span>wxml<span style=\"font-family: \u5b8b\u4f53;\">\u300d\u548c\u300c<\/span>wxss<span style=\"font-family: \u5b8b\u4f53;\">\u300d\u4e0b\u7684\u5185\u5bb9\u540e\uff0c\u76f4\u63a5<\/span> F5 <span style=\"font-family: \u5b8b\u4f53;\">\u5237\u65b0\u5c31\u80fd\u76f4\u63a5\u770b\u5230\u6548\u679c\uff0c\u4fee\u6539\u300c<\/span>js<span style=\"font-family: \u5b8b\u4f53;\">\u300d\u5219\u9700\u70b9\u51fb\u91cd\u542f\u6309\u94ae\u624d\u80fd\u770b\u5230\u6548\u679c\u3002<\/span><\/div>\n<div align=\"left\">10. <span style=\"font-family: \u5b8b\u4f53;\">\u53e6\u5916\uff0c\u516c\u5171\u6837\u5f0f\u53ef\u4ee5\u5728\u300c<\/span>app.wxss<span style=\"font-family: \u5b8b\u4f53;\">\u300d\u91cc\u76f4\u63a5\u5f15\u7528\u3002<\/span><\/div>\n<div align=\"left\"><span style=\"font-family: \u5b8b\u4f53;\">\u00a0<\/span><\/div>\n<p><img decoding=\"async\" id=\"aimg_122463\" class=\"zoom\" src=\"http:\/\/download.9miao.com\/04e8954c6c6ba33426aa42e721f357df.jpg\" width=\"558\" \/><br \/>\n<img decoding=\"async\" id=\"aimg_122419\" class=\"zoom\" src=\"http:\/\/download.9miao.com\/4ec22ef4b0e7dd71831bde09a7de9b97.jpg\" width=\"550\" \/><\/p>\n<div align=\"left\">11. <span style=\"font-family: \u5b8b\u4f53;\">\u300c<\/span>Js<span style=\"font-family: \u5b8b\u4f53;\">\u300d\u6587\u4ef6\u9700\u8981\u5728\u300c<\/span>app.json<span style=\"font-family: \u5b8b\u4f53;\">\u300d\u6587\u4ef6\u7684\u300c<\/span>\u201dpage\u201d<span style=\"font-family: \u5b8b\u4f53;\">\u300d\u91cc\u9884\u5148\u914d\u7f6e\u597d\u3002\u4e3a\u4e86\u9879\u76ee\u7ed3\u6784\u6e05\u6670\u5316\uff0c\u6211\u5728\u793a\u4f8b\u9879\u76ee\u4e2d\u7684\u300c<\/span>index<span style=\"font-family: \u5b8b\u4f53;\">\u300d\u9996\u9875\u540c\u7ea7\u76ee\u5f55\u65b0\u5efa\u5176\u5b83\u56db\u4e2a\u9875\u9762\u6587\u4ef6\uff0c\u5177\u4f53\u5982\u4e0b\uff1a<\/span><\/div>\n<div align=\"left\"><img decoding=\"async\" id=\"aimg_122421\" class=\"zoom\" src=\"http:\/\/download.9miao.com\/00f48c774a5fd9601b642e3500e8f027.jpg\" width=\"353\" \/><\/div>\n<div align=\"left\">\n<div align=\"left\"><span style=\"font-family: \u5b8b\u4f53;\">\u7ecf\u8fc7\u4ee5\u4e0a\u6b65\u9aa4\uff0c\u6848\u4f8b\u4e2d\u7684\u4e94\u4e2a\u5e95\u90e8\u83dc\u5355\u5c31\u5168\u90e8\u914d\u7f6e\u5b8c\u6bd5\u4e86\u3002<\/span><\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n","raw":"","protected":false},"excerpt":{"rendered":"<p>[\u6587\u6863\u6559\u7a0b] \u5168\u7403\u9996\u4e2a\u5fae\u4fe1\u5e94\u7528\u53f7\u5f00\u53d1\u6559\u7a0b\uff01 <\/p>\n","protected":false},"author":1,"featured_media":754,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[7],"tags":[195,47],"class_list":["post-670","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-share-development-books","tag-195","tag-47"],"post_thumbnail_image":"http:\/\/images.jiandaima.com\/blog\/wp-content\/uploads\/2016\/09\/20161106215220.png?imageView2\/1\/w\/300\/h\/300#","content_first_image":"http:\/\/download.9miao.com\/b83ecc7afebf91d5a87d228cd96552d6.jpg","post_medium_image_300":"http:\/\/images.jiandaima.com\/blog\/wp-content\/uploads\/2016\/09\/20161106215220.png","post_thumbnail_image_624":"http:\/\/images.jiandaima.com\/blog\/wp-content\/uploads\/2016\/09\/20161106215220.png","post_frist_image":"http:\/\/download.9miao.com\/b83ecc7afebf91d5a87d228cd96552d6.jpg","post_medium_image":"http:\/\/images.jiandaima.com\/blog\/wp-content\/uploads\/2016\/09\/20161106215220.png","post_large_image":"http:\/\/images.jiandaima.com\/blog\/wp-content\/uploads\/2016\/09\/20161106215220.png","post_full_image":"http:\/\/images.jiandaima.com\/blog\/wp-content\/uploads\/2016\/09\/20161106215220.png","post_all_images":[{"imagesurl":"http:\/\/download.9miao.com\/b83ecc7afebf91d5a87d228cd96552d6.jpg","id":"image0"},{"imagesurl":"http:\/\/download.9miao.com\/e5cd47645ff5b91020c211ae3442e546.jpg","id":"image1"},{"imagesurl":"http:\/\/download.9miao.com\/b77c7304137cbc6064265346648951d8.jpg","id":"image2"},{"imagesurl":"http:\/\/download.9miao.com\/781b8da20fdaad2a6e995f097cd0a12e.jpg","id":"image3"},{"imagesurl":"http:\/\/download.9miao.com\/87660af15d61a462d58c62ffd46a1362.jpg","id":"image4"},{"imagesurl":"http:\/\/download.9miao.com\/453fe7794c806266bdee3381c9834d49.jpg","id":"image5"},{"imagesurl":"http:\/\/download.9miao.com\/2ddeb6412d804aaeb75b6b532165b19d.jpg","id":"image6"},{"imagesurl":"http:\/\/download.9miao.com\/af5709e5c46261e25740fcaee797e461.jpg","id":"image7"},{"imagesurl":"http:\/\/download.9miao.com\/257434fe317046707a83d28e1ff998ec.jpg","id":"image8"},{"imagesurl":"http:\/\/download.9miao.com\/4be7b15fd8bf2d4187d8a208dca2d95c.jpg","id":"image9"},{"imagesurl":"http:\/\/download.9miao.com\/3e41c31e739574a9c31ce4a96daeb7d8.jpg","id":"image10"},{"imagesurl":"http:\/\/download.9miao.com\/70244328c022c590ffe6b9916842bc67.jpg","id":"image11"},{"imagesurl":"http:\/\/download.9miao.com\/e084b697649507879aa1dea4b1597ec0.jpg","id":"image12"},{"imagesurl":"http:\/\/download.9miao.com\/cd1dcb11a6e92415d4eb971bb4cb2d9a.jpg","id":"image13"},{"imagesurl":"http:\/\/download.9miao.com\/8de31860c7f1f7ff9e8bdb5ab8aafb0c.jpg","id":"image14"},{"imagesurl":"http:\/\/download.9miao.com\/ec623006861f6eb73d3585f529391295.jpg","id":"image15"},{"imagesurl":"http:\/\/download.9miao.com\/ce6c29aa261bf281125bd62afda07ed2.jpg","id":"image16"},{"imagesurl":"http:\/\/download.9miao.com\/4a7b2c9bd3025686bf32f2943b73cb45.jpg","id":"image17"},{"imagesurl":"http:\/\/download.9miao.com\/04e8954c6c6ba33426aa42e721f357df.jpg","id":"image18"},{"imagesurl":"http:\/\/download.9miao.com\/4ec22ef4b0e7dd71831bde09a7de9b97.jpg","id":"image19"},{"imagesurl":"http:\/\/download.9miao.com\/00f48c774a5fd9601b642e3500e8f027.jpg","id":"image20"}],"videoAdId":"","listAd":"0","listAdId":"","listAdEvery":5,"total_comments":0,"category_name":"\u5f00\u53d1\u4e66\u7c4d\u5206\u4eab","post_date":"2016-09-23","like_count":"0","praiseWord":"\u9f13\u52b1","copyright_state":"","excitationAd":"0","rewardedVideoAdId":"","detailAdId":"","detailAd":"0","enterpriseMinapp":"0","audios":[],"postImageUrl":"http:\/\/images.jiandaima.com\/blog\/wp-content\/uploads\/2020\/02\/img_5e44112722964.png","avatarurls":[],"related_posts":[],"pageviews":609,"next_post_id":937,"next_post_title":"\u5982\u679c\u6709\u4eba\u8ba9\u4f60\u63a8\u8350\u7f16\u7a0b\u6280\u672f\u4e66\uff0c\u8bf7\u53eb\u4ed6\u770b\u8fd9\u4e2a\u5217\u8868","previous_post_id":599,"previous_post_title":"[\u5fae\u4fe1] 2016\u6700\u65b0\u5fae\u4fe1\u516c\u4f17\u5e73\u53f0\u5f00\u53d1\u8005\u6587\u6863\u624b\u518c.CHM\u4e0b\u8f7d","_links":{"self":[{"href":"http:\/\/www.jiandaima.com\/blog\/wp-json\/wp\/v2\/posts\/670","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.jiandaima.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.jiandaima.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.jiandaima.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.jiandaima.com\/blog\/wp-json\/wp\/v2\/comments?post=670"}],"version-history":[{"count":0,"href":"http:\/\/www.jiandaima.com\/blog\/wp-json\/wp\/v2\/posts\/670\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/www.jiandaima.com\/blog\/wp-json\/wp\/v2\/media\/754"}],"wp:attachment":[{"href":"http:\/\/www.jiandaima.com\/blog\/wp-json\/wp\/v2\/media?parent=670"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.jiandaima.com\/blog\/wp-json\/wp\/v2\/categories?post=670"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.jiandaima.com\/blog\/wp-json\/wp\/v2\/tags?post=670"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}