{"id":29899,"date":"2024-11-25T12:29:50","date_gmt":"2024-11-25T04:29:50","guid":{"rendered":"https:\/\/fwq.ai\/blog\/29899\/"},"modified":"2024-11-25T12:29:50","modified_gmt":"2024-11-25T04:29:50","slug":"%e7%ae%80%e6%98%93%e8%ae%a1%e7%ae%97%e5%99%a8%e5%b0%8f%e7%a8%8b%e5%ba%8f%e6%ba%90%e7%a0%81%e4%b8%8b%e8%bd%bd","status":"publish","type":"post","link":"https:\/\/fwq.ai\/blog\/29899\/","title":{"rendered":"\u7b80\u6613\u8ba1\u7b97\u5668\u5c0f\u7a0b\u5e8f\u6e90\u7801\u4e0b\u8f7d"},"content":{"rendered":"<p><strong>\u6458\u8981<\/strong>: scalc \u5fae\u4fe1\u5c0f\u7a0b\u5e8f\u7248\uff0c\u9002\u5408\u5165\u95e8\uff0c\u7531\u4e8e\u91cd\u70b9\u4e0d\u662f\u5b9e\u73b0\u8ba1\u7b97\u5668\u5177\u4f53\u529f\u80fd\uff0c\u4e3b\u8981\u662f\u4e3a\u4e86\u5b66\u4e60\u5fae\u4fe1\u5c0f\u7a0b\u5e8f\u5f00\u53d1\uff0c \u6240\u4ee5\u4e00\u4e9b\u975e\u5173\u6ce8\u70b9\u95ee\u9898\u5c31\u4e0d\u8981\u592a\u5728\u610f\u4e3a\u4e86\u5b9e\u73b0\u8ba1\u7b97\u529f\u80fd\uff0c\u88ab\u5fae\u4fe1\u5c0f\u7a0b\u5e8f\u5751\u6b7b\u4e86\uff0c\u5e94\u4e3ajs\u6587\u4ef6\u4e2d\u4e0d\u652f\u6301window\u5bf9\u8c61\uff0c\u6ca1\u6cd5\u4f7f &nbsp;&#8230;<\/p>\n<table>\n<tbody>\n<tr>\n<td>\n<p><span style=\"font-family: -apple-system, BlinkMacSystemFont;line-height: 24px\">sCalc<\/span><span style=\"font-family: -apple-system, BlinkMacSystemFont;line-height: 24px\"> \u5fae\u4fe1\u5c0f\u7a0b\u5e8f\u7248\uff0c\u9002\u5408\u5165\u95e8\uff0c\u7531\u4e8e\u91cd\u70b9\u4e0d\u662f\u5b9e\u73b0\u8ba1\u7b97\u5668\u5177\u4f53\u529f\u80fd\uff0c\u4e3b\u8981\u662f\u4e3a\u4e86\u5b66\u4e60\u5fae\u4fe1\u5c0f\u7a0b\u5e8f\u5f00\u53d1\uff0c \u6240\u4ee5\u4e00\u4e9b\u975e\u5173\u6ce8\u70b9\u95ee\u9898\u5c31\u4e0d\u8981\u592a\u5728\u610f<\/span><\/p>\n<p style=\"line-height:24px;text-indent:nullem;text-align:left\"><span><span style=\"font-family:-apple-system, BlinkMacSystemFont,\">\u4e3a\u4e86\u5b9e\u73b0\u8ba1\u7b97\u529f\u80fd\uff0c\u88ab\u5fae\u4fe1\u5c0f\u7a0b\u5e8f\u5751\u6b7b\u4e86\uff0c\u5e94\u4e3ajs\u6587\u4ef6\u4e2d\u4e0d\u652f\u6301window\u5bf9\u8c61\uff0c\u6ca1\u6cd5\u4f7f\u7528eval\u51fd\u6570<\/span><\/span><\/p>\n<p><strong><span style=\"float:left;margin-right:5px\"><span><span style=\"background-color:transparent\"><\/span><\/span><\/span>Previews<\/strong><\/p>\n<p style=\"line-height:24px;text-indent:nullem;text-align:left\"><span><span style=\"font-family:-apple-system, BlinkMacSystemFont,\"><img decoding=\"async\" src=\"https:\/\/img.php.cn\/upload\/article\/000\/000\/164\/536fb74c9188345a9626300a90c5492e-0.gif\" class=\"aligncenter\" style=\"max-width:90%\" title=\"\u7b80\u6613\u8ba1\u7b97\u5668\u5c0f\u7a0b\u5e8f\u6e90\u7801\u4e0b\u8f7d\u63d2\u56fe\" alt=\"\u7b80\u6613\u8ba1\u7b97\u5668\u5c0f\u7a0b\u5e8f\u6e90\u7801\u4e0b\u8f7d\u63d2\u56fe\" \/><\/span><\/span><\/p>\n<p> <strong>Description<\/strong><\/p>\n<p style=\"line-height:24px;text-indent:nullem;text-align:left\"><span><span style=\"font-family:-apple-system, BlinkMacSystemFont,\">\u6d89\u53ca\u5fae\u4fe1\u5c0f\u7a0b\u5e8f\u5f00\u53d1\u76f8\u5173\u77e5\u8bc6\uff1a<\/span><\/span><\/p>\n<ul>\n<li>\n<p>CSS Flexbox\u5e03\u5c40<\/p>\n<\/li>\n<li>\n<p>\u4e8b\u4ef6\u7ed1\u5b9a\u3001\u9875\u9762\u8df3\u8f6c<\/p>\n<\/li>\n<li>\n<p>Page\u3001window\u3001App\u5168\u5c40\u8bbe\u7f6e<\/p>\n<\/li>\n<li>\n<p>wxml\u3001wxsss\u3001js\u3001json\u6587\u4ef6\u4f7f\u7528\u65b9\u6cd5<\/p>\n<\/li>\n<li>\n<p>view\u3001text\u3001icon\u3001button\u7ec4\u4ef6\u4f7f\u7528\u65b9\u6cd5<\/p>\n<\/li>\n<li>\n<p>navigate\u3001wx.setStorageSync\u3001\u6570\u636e\u7ed1\u5b9a\u7b49API<\/p>\n<\/li>\n<\/ul>\n<p> <strong><span style=\"float:left;margin-right:5px\"><span><span style=\"background-color:transparent\"><\/span><\/span><\/span>Setup<\/strong> <\/p>\n<ul>\n<li>\n<p>Clone the repo<\/p>\n<\/li>\n<\/ul>\n<p>$ git clone github.com\/dunizb\/wxapp-sCalc.git <\/p>\n<ul>\n<li>\n<p>Import to Wechat DEV Tools<\/p>\n<\/li>\n<\/ul>\n<p style=\"line-height:24px;text-indent:nullem;text-align:left\"><span><span style=\"font-family:-apple-system, BlinkMacSystemFont,\">\u628a\u9879\u76ee\u5bfc\u5165\u5230\u5fae\u4fe1\u5f00\u53d1\u8005\u5de5\u5177\u4e2d\u5373\u53ef<\/span><\/span><\/p>\n<p style=\"line-height:24px;text-indent:nullem;text-align:left\"><span><span style=\"font-family:-apple-system, BlinkMacSystemFont,\">\u4e0b\u8f7d\u5730\u5740\uff1a<\/span><\/span><\/p>\n<p> <img decoding=\"async\" src=\"https:\/\/img.php.cn\/upload\/article\/000\/000\/164\/fbc4c517dbe1e14fa167ad5b17f1a08c-1.gif\" class=\"aligncenter\" title=\"\u7b80\u6613\u8ba1\u7b97\u5668\u5c0f\u7a0b\u5e8f\u6e90\u7801\u4e0b\u8f7d\u63d2\u56fe1\" alt=\"\u7b80\u6613\u8ba1\u7b97\u5668\u5c0f\u7a0b\u5e8f\u6e90\u7801\u4e0b\u8f7d\u63d2\u56fe1\" \/>wxapp-sCalc-master.zip<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u4ee5\u4e0a\u5c31\u662f\u7b80\u6613\u8ba1\u7b97\u5668\u5c0f\u7a0b\u5e8f\u6e90\u7801\u4e0b\u8f7d\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>\u6458\u8981: scalc \u5fae\u4fe1\u5c0f\u7a0b\u5e8f\u7248\uff0c\u9002\u5408\u5165\u95e8\uff0c\u7531\u4e8e\u91cd\u70b9\u4e0d\u662f\u5b9e\u73b0\u8ba1\u7b97\u5668\u5177\u4f53\u529f\u80fd\uff0c\u4e3b\u8981\u662f\u4e3a\u4e86\u5b66\u4e60\u5fae\u4fe1\u5c0f\u7a0b\u5e8f\u5f00\u53d1\uff0c \u6240\u4ee5\u4e00\u4e9b\u975e\u5173\u6ce8\u70b9\u95ee\u9898\u5c31\u4e0d\u8981\u592a\u5728\u610f\u4e3a\u4e86\u5b9e\u73b0\u8ba1\u7b97\u529f\u80fd\uff0c\u88ab\u5fae\u4fe1\u5c0f\u7a0b\u5e8f\u5751\u6b7b\u4e86\uff0c\u5e94\u4e3ajs\u6587\u4ef6\u4e2d\u4e0d\u652f\u6301window\u5bf9\u8c61\uff0c\u6ca1\u6cd5\u4f7f &nbsp;&#8230; sCalc \u5fae\u4fe1\u5c0f\u7a0b\u5e8f\u7248\uff0c\u9002\u5408\u5165\u95e8\uff0c\u7531\u4e8e\u91cd\u70b9\u4e0d\u662f\u5b9e\u73b0\u8ba1\u7b97\u5668\u5177\u4f53\u529f\u80fd\uff0c\u4e3b\u8981\u662f\u4e3a\u4e86\u5b66\u4e60\u5fae\u4fe1\u5c0f\u7a0b\u5e8f\u5f00\u53d1\uff0c \u6240\u4ee5\u4e00\u4e9b\u975e\u5173\u6ce8\u70b9\u95ee\u9898\u5c31\u4e0d\u8981\u592a\u5728\u610f \u4e3a\u4e86\u5b9e\u73b0\u8ba1\u7b97\u529f\u80fd\uff0c\u88ab\u5fae\u4fe1\u5c0f\u7a0b\u5e8f\u5751\u6b7b\u4e86\uff0c\u5e94\u4e3ajs\u6587\u4ef6\u4e2d\u4e0d\u652f\u6301window\u5bf9\u8c61\uff0c\u6ca1\u6cd5\u4f7f\u7528eval\u51fd\u6570 Previews Description \u6d89\u53ca\u5fae\u4fe1\u5c0f\u7a0b\u5e8f\u5f00\u53d1\u76f8\u5173\u77e5\u8bc6\uff1a CSS Flexbox\u5e03\u5c40 \u4e8b\u4ef6\u7ed1\u5b9a\u3001\u9875\u9762\u8df3\u8f6c Page\u3001window\u3001App\u5168\u5c40\u8bbe\u7f6e wxml\u3001wxsss\u3001js\u3001json\u6587\u4ef6\u4f7f\u7528\u65b9\u6cd5 view\u3001text\u3001icon\u3001button\u7ec4\u4ef6\u4f7f\u7528\u65b9\u6cd5 navigate\u3001wx.setStorageSync\u3001\u6570\u636e\u7ed1\u5b9a\u7b49API Setup Clone the repo $ git clone github.com\/dunizb\/wxapp-sCalc.git Import to Wechat DEV Tools \u628a\u9879\u76ee\u5bfc\u5165\u5230\u5fae\u4fe1\u5f00\u53d1\u8005\u5de5\u5177\u4e2d\u5373\u53ef \u4e0b\u8f7d\u5730\u5740\uff1a wxapp-sCalc-master.zip \u4ee5\u4e0a\u5c31\u662f\u7b80\u6613\u8ba1\u7b97\u5668\u5c0f\u7a0b\u5e8f\u6e90\u7801\u4e0b\u8f7d\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-29899","post","type-post","status-publish","format-standard","hentry","category-19"],"_links":{"self":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/29899","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=29899"}],"version-history":[{"count":0,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/29899\/revisions"}],"wp:attachment":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/media?parent=29899"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/categories?post=29899"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/tags?post=29899"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}