{"id":1513,"date":"2023-03-25T14:06:57","date_gmt":"2023-03-25T06:06:57","guid":{"rendered":"https:\/\/www.appblog.cn\/?p=1513"},"modified":"2023-04-28T20:20:47","modified_gmt":"2023-04-28T12:20:47","slug":"wechat-mini-program-integrate-weui","status":"publish","type":"post","link":"https:\/\/www.appblog.cn\/index.php\/2023\/03\/25\/wechat-mini-program-integrate-weui\/","title":{"rendered":"\u5fae\u4fe1\u5c0f\u7a0b\u5e8f\u96c6\u6210WeUI"},"content":{"rendered":"<p>WeUI\u662f\u4e00\u5957\u540c\u5fae\u4fe1\u539f\u751f\u89c6\u89c9\u4f53\u9a8c\u4e00\u81f4\u7684\u57fa\u7840\u6837\u5f0f\u5e93\uff0c\u7531\u5fae\u4fe1\u5b98\u65b9\u8bbe\u8ba1\u56e2\u961f\u4e3a\u5fae\u4fe1Web\u5f00\u53d1\u91cf\u8eab\u8bbe\u8ba1\uff0c\u53ef\u4ee5\u4ee4\u7528\u6237\u7684\u4f7f\u7528\u611f\u77e5\u66f4\u52a0\u7edf\u4e00\u3002\u5305\u542bbutton\u3001cell\u3001dialog\u3001 progress\u3001 toast\u3001article\u3001actionsheet\u3001icon\u7b49\u5404\u5f0f\u5143\u7d20\u3002<\/p>\n<p><!-- more --><\/p>\n<p>\u9879\u76ee\u5730\u5740\uff1a<a target=\"_blank\" rel=\"noopener\" href=\"https:\/\/github.com\/weui\/weui-wxss\/\">https:\/\/github.com\/weui\/weui-wxss\/<\/a><\/p>\n<h2>\u9884\u89c8<\/h2>\n<p>\u7528\u5fae\u4fe1web\u5f00\u53d1\u8005\u5de5\u5177\u6253\u5f00dist\u76ee\u5f55\uff08\u8bf7\u6ce8\u610f\uff0c\u662fdist\u76ee\u5f55\uff0c\u4e0d\u662f\u6574\u4e2a\u9879\u76ee\uff09<\/p>\n<h2>\u5f15\u7528<\/h2>\n<p>\u53ea\u9700\u8981\u5c06weui-wxss-master\\dist\\style\\weui.wxss\u6587\u4ef6\u5bfc\u5165\u5230\u5c0f\u7a0b\u5e8f\u9879\u76ee\u7684\u6839\u76ee\u5f55\u4e0b<\/p>\n<p>\u5728app.wxss\u4e2d\u52a0\u5165weui.wxss\u7684\u5f15\u7528<\/p>\n<pre><code>@import \u2018weui.wxss\u2019;<\/code><\/pre>\n<h2>\u4f7f\u7528<\/h2>\n<pre><code>&lt;button class=&quot;weui-btn&quot; type=&quot;primary&quot;&gt;\u6309\u94ae&lt;\/button&gt;\n&lt;button class=&quot;weui-btn&quot; type=&quot;primary&quot; disabled=&quot;true&quot;&gt;\u6309\u94ae(\u7981\u7528)&lt;\/button&gt;<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>WeUI\u662f\u4e00\u5957\u540c\u5fae\u4fe1\u539f\u751f\u89c6\u89c9\u4f53\u9a8c\u4e00\u81f4\u7684\u57fa\u7840\u6837\u5f0f\u5e93\uff0c\u7531\u5fae\u4fe1\u5b98\u65b9\u8bbe\u8ba1\u56e2\u961f\u4e3a\u5fae\u4fe1Web\u5f00\u53d1\u91cf\u8eab\u8bbe\u8ba1\uff0c\u53ef\u4ee5\u4ee4\u7528\u6237\u7684\u4f7f\u7528 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[46],"tags":[370],"class_list":["post-1513","post","type-post","status-publish","format-standard","hentry","category-wechat-mini-program","tag-weui"],"_links":{"self":[{"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/posts\/1513","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/comments?post=1513"}],"version-history":[{"count":0,"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/posts\/1513\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/media?parent=1513"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/categories?post=1513"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/tags?post=1513"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}