{"id":3051,"date":"2024-12-29T15:22:23","date_gmt":"2024-12-29T07:22:23","guid":{"rendered":"https:\/\/js.vmccc.com\/?p=3051"},"modified":"2024-12-29T22:09:58","modified_gmt":"2024-12-29T14:09:58","slug":"%e7%bb%99%e7%bd%91%e7%ab%99%e6%b7%bb%e5%8a%a0%e8%be%93%e5%85%a5%e6%a1%86%e7%a4%bc%e8%8a%b1%e6%95%88%e6%9e%9c","status":"publish","type":"post","link":"https:\/\/js.vmccc.com\/3051.html","title":{"rendered":"\u7ed9\u7f51\u7ad9\u6dfb\u52a0\u8f93\u5165\u6846\u793c\u82b1\u6548\u679c"},"content":{"rendered":"<h2>\u6548\u679c\u5c55\u793a<\/h2>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-medium aligncenter\" src=\"https:\/\/img.alicdn.com\/imgextra\/i4\/2076639522\/O1CN01B6cMmV2KD8MXqPI7M_!!2076639522.gif\" width=\"384\" height=\"290\" \/><\/p>\n<p style=\"text-align: center;\">\u8fd9\u5f20\u52a8\u6001\u56fe\u7247\u662f\u901a\u8fc7<a href=\"https:\/\/js.vmccc.com\/207.html\" target=\"_blank\" rel=\"noopener\">GIF\u5de5\u5177\u5f55\u5236<\/a>\u7684\uff0c\u53ef\u80fd\u4f1a\u6709\u4e9b\u6389\u5e27\uff0c\u5177\u4f53\u6548\u679c\u53ef\u4ee5\u5230\u6211\u7684\u7f51\u7ad9\u67e5\u770b\u8f93\u5165\u6846\u7684\u5b9e\u9645\u8868\u73b0\u3002<\/p>\n<h2>\u7f8e\u5316\u6559\u7a0b<\/h2>\n<p>\u5c06\u4e0b\u9762\u7684\u4ee3\u7801\u653e\u5165\u4f60\u7f51\u7ad9\u7684\u5e95\u90e8\uff0c\u6bd4\u6211\u7684\u73b0\u5728\u7528\u7684Wordpress\u7a0b\u5e8f\uff0c\u5c31\u653e\u5728\u4e3b\u9898\u7684 <span style=\"color: #ff0000;\">footer.php <\/span>\u6587\u4ef6\u91cc\u9762<\/p>\n<pre class=\"language-markup\"><code>&lt;script src=\"\/wp-content\/themes\/b2\/Assets\/fontend\/activate-power-mode.js\"&gt;&lt;\/script&gt;\r\n&lt;script&gt;\r\n  document.addEventListener('DOMContentLoaded', function() {\r\n    POWERMODE.colorful = true;  \/* \u542f\u7528\u5f69\u8272\u6548\u679c *\/\r\n    POWERMODE.shake = false;    \/* \u7981\u7528\u9707\u52a8\u6548\u679c *\/\r\n\r\n    document.body.addEventListener('input', POWERMODE);  \/\/ \u542f\u52a8\u6253\u5b57\u7279\u6548\r\n  });\r\n&lt;\/script&gt;<\/code><\/pre>\n<p>\u6ce8\u610f\uff01\u8bf7\u5c06 <code>\/wp-content\/themes\/b2\/Assets\/fontend\/activate-power-mode.js<\/code> \u66ff\u6362\u4e3a\u4f60\u5b9e\u9645\u5b58\u653e <code>activate-power-mode.js<\/code> \u6587\u4ef6\u7684\u8def\u5f84\u3002<\/p>\n<h2>activate-power-mode.js\u6587\u4ef6\u4e0b\u8f7d<\/h2>\n\n            <div class=\"download-box mg-b\" id=\"download-box\" ref=\"downloadBox\">\n            <div>\n                \n                <div class=\"down-ready\">\n                    <div class=\"download-list gujia\" ref=\"gujia\">\n                        <div class=\"download-item\">\n                            <div class=\"download-thumb\" style=\"'background-image: url();'\">\n                            <\/div>\n                            <div class=\"download-rights\">\n                                <div class=\"download-rights-title\"><span class=\"gujia-bg\"><\/span><\/div>\n                                <ul>\n                                    <li><span class=\"gujia-bg\"><\/span><\/li>\n                                    <li><span class=\"gujia-bg\"><\/span><\/li>\n                                    <li><span class=\"gujia-bg\"><\/span><\/li>\n                                    <li><span class=\"gujia-bg\"><\/span><\/li>\n                                    <li><span class=\"gujia-bg\"><\/span><\/li>\n                                    <li><span class=\"gujia-bg\"><\/span><\/li>\n                                <\/ul>\n                            <\/div>\n                            <div class=\"download-info\">\n                            <div class=\"download-rights-title\"><span class=\"gujia-bg\"><\/span><\/div>\n                                <ul>\n                                <\/ul>\n                                <div class=\"download-current\">\n                                    <div class=\"\"><\/div>\n                                <\/div>\n                                <div class=\"download-button-box\">\n                                    <div class=\"\"><\/div>\n                                    <div class=\"\"><\/div>\n                                    <div class=\"\"><\/div>\n                                <\/div>\n                            <\/div>\n                        <\/div> \n                    <\/div>\n                <\/div>\n                <div class=\"download-list\" v-cloak>\n                    <div v-for=\"(item,index) in list\" :class=\"'download-item b2-radius '+(item.current_user.can.allow ? 'allow-down' : 'not-allow-down')\" v-show=\"picked == index\" v-cloak>\n                        <div class=\"download-rights\" v-cloak>\n                        <div class=\"download-rights-title\"><i class=\"b2font b2-download-cloud-line1 \"><\/i>\u4e0b\u8f7d\u6743\u9650<\/div><span class=\"mobile-show\" @click=\"item.show_role = !item.show_role\">\u67e5\u770b<\/span>\n                            <ul v-if=\"item.show_role\">\n                                <li v-for=\"right in item.rights\" :class=\"right.lv == item.current_user.lv.lv.lv || right.lv == item.current_user.lv.vip.lv ? 'red' : ''\">\n                                    <div><span v-text=\"right.lv_name+'\uff1a'\"><\/span><\/div>\n                                    <div v-if=\"right.type == 'money'\">\uffe5<span v-text=\"right.value\"><\/span><\/div>\n                                    <div v-if=\"right.type == 'credit'\"><i class=\"b2font b2-coin-line \"><\/i><span v-text=\"right.value\"><\/span><\/div>\n                                    <div v-if=\"right.type == 'free'\">\u514d\u8d39\u4e0b\u8f7d<\/div>\n                                    <div v-if=\"right.type == 'comment'\">\u8bc4\u8bba\u5e76\u5237\u65b0\u540e\u4e0b\u8f7d<\/div>\n                                    <div v-if=\"right.type == 'login'\">\u767b\u5f55\u540e\u4e0b\u8f7d<\/div>\n                                    \n                                <\/li>\n                            <\/ul>\n                        <\/div>\n                        \n                        <div class=\"download-info\">\n                        <div class=\"download-rights-title\"><h2><span v-text=\"item.name\"><\/span><\/h2><a :href=\"item.view\" target=\"_blank\" class=\"download-view button empty text\" v-if=\"item.view\">\u67e5\u770b\u6f14\u793a<i class=\"b2font b2-arrow-right-s-line \"><\/i><\/a><\/div>\n                            <ul v-show=\"item.attrs.length >0\">\n                                <li v-for=\"attr in item.attrs\">\n                                    <span class=\"download-attr-name\">{{attr.name}}\uff1a<\/span>\n                                    <span v-html=\"attr.value\"><\/span>\n                                <\/li>\n                            <\/ul>\n                            <div class=\"download-current\">\n                                <span>\u60a8\u5f53\u524d\u7684\u7b49\u7ea7\u4e3a<\/span>\n                                <span v-if=\"item.current_user.lv.lv\" v-html=\"item.current_user.lv.lv.icon\"><\/span>\n                                <span v-if=\"item.current_user.lv.vip\" v-html=\"item.current_user.lv.vip.icon\"><\/span>\n                                <div class=\"\" v-if=\"!item.current_user.can.allow\">\n                                    <span v-if=\"item.current_user.can.type == 'login'\">\n                                    \u767b\u5f55\u540e\u514d\u8d39\u4e0b\u8f7d<a href=\"javascript:void(0)\" onclick=\"login.show = true;login.loginType = 1\">\u767b\u5f55<\/a>\n                                    <\/span>\n                                    <span v-else-if=\"item.current_user.lv.lv.lv == 'dark_room'\">\n                                    \u5c0f\u9ed1\u5c4b\u53cd\u601d\u4e2d\uff0c\u4e0d\u51c6\u4e0b\u8f7d\uff01\n                                    <\/span>\n                                    <span v-else-if=\"item.current_user.can.type == 'comment'\">\n                                    \u8bc4\u8bba\u540e\u5237\u65b0\u9875\u9762\u4e0b\u8f7d<a href=\"#respond\">\u8bc4\u8bba<\/a>\n                                    <\/span>\n                                    <span v-else-if=\"item.current_user.lv.lv.lv == 'guest' && !item.current_user.guest\">\n                                        <span v-show=\"list[index].rights[0].lv == 'all'\" v-cloak>\u652f\u4ed8<b><template v-if=\"item.current_user.can.type == 'credit'\"><i class=\"b2font b2-coin-line \"><\/i><\/template><template v-else>\uffe5<\/template><i v-html=\"list[index].current_user.can.value\"><\/i><\/b>\u4ee5\u540e\u4e0b\u8f7d<\/span>\n                                        \u8bf7\u5148<a href=\"javascript:void(0)\" onclick=\"login.show = true;login.loginType = 1\">\u767b\u5f55<\/a>\n                                    <\/span>\n                                    <span v-else-if=\"item.current_user.can.type == 'full'\" class=\"green\">\n                                        \u60a8\u4eca\u5929\u7684\u4e0b\u8f7d\u6b21\u6570\uff08<b v-text=\"item.current_user.can.total_count\"><\/b>\u6b21\uff09\u7528\u5b8c\u4e86\uff0c\u8bf7\u660e\u5929\u518d\u6765\n                                    <\/span>\n                                    <span v-else-if=\"item.current_user.can.type == 'credit'\">\n                                        \u652f\u4ed8\u79ef\u5206<b><i class=\"b2font b2-coin-line \"><\/i><i v-html=\"list[index].current_user.can.value\"><\/i><\/b>\u4ee5\u540e\u4e0b\u8f7d<a href=\"javascript:void(0)\" @click=\"credit(index)\">\u7acb\u5373\u652f\u4ed8<\/a>\n                                    <\/span>\n                                    <span v-else-if=\"item.current_user.can.type == 'money'\">\n                                        \u652f\u4ed8<b v-text=\"'\uffe5'+list[index].current_user.can.value\"><\/b>\u4ee5\u540e\u4e0b\u8f7d<a href=\"javascript:void(0)\" @click=\"pay(index)\">\u7acb\u5373\u652f\u4ed8<\/a>\n                                    <\/span>\n                                    \n                                    <span v-else>\n                                        \u60a8\u5f53\u524d\u7684\u7528\u6237\u7ec4\u4e0d\u5141\u8bb8\u4e0b\u8f7d<a href=\"https:\/\/js.vmccc.com\/vips\" target=\"_blank\">\u5347\u7ea7\u4f1a\u5458<\/a>\n                                    <\/span>\n                                <\/div>\n                                <div class=\"\" v-else>\n                                    <span v-if=\"item.current_user.current_guest == 0 || item.current_user.can.free_down\" class=\"green\">\n                                        \u60a8\u5df2\u83b7\u5f97\u4e0b\u8f7d\u6743\u9650\n                                    <\/span>\n                                    <span class=\"green\" v-else>\n                                        \u60a8\u53ef\u4ee5\u6bcf\u5929\u4e0b\u8f7d\u8d44\u6e90<b v-text=\"item.current_user.can.total_count\"><\/b>\u6b21\uff0c\u4eca\u65e5\u5269\u4f59<b v-text=\"item.current_user.can.count\"><\/b>\u6b21\n                                    <\/span>\n                                <\/div>\n                            <\/div>\n                            <div class=\"download-button-box\">\n                                <button @click=\"go(b.link,item.current_user.can.allow,item,index)\" class=\"button\" v-text=\"b.name\" v-for=\"b in item.button\"><\/button>\n                            <\/div>\n                        <\/div>\n                    <\/div>\n                <\/div>\n                <\/div>\n            <\/div>\n        ","protected":false},"excerpt":{"rendered":"<p>\u6548\u679c\u5c55\u793a \u8fd9\u5f20\u52a8\u6001\u56fe\u7247\u662f\u901a\u8fc7GIF\u5de5\u5177\u5f55\u5236\u7684\uff0c\u53ef\u80fd\u4f1a\u6709\u4e9b\u6389\u5e27\uff0c\u5177\u4f53\u6548\u679c\u53ef\u4ee5\u5230\u6211\u7684\u7f51\u7ad9\u67e5\u770b\u8f93\u5165\u6846\u7684\u5b9e\u9645\u8868\u73b0\u3002 \u7f8e\u5316\u6559\u7a0b \u5c06\u4e0b\u9762\u7684\u4ee3\u7801\u653e\u5165\u4f60\u7f51\u7ad9\u7684\u5e95\u90e8\uff0c\u6bd4\u6211\u7684\u73b0\u5728\u7528\u7684Wordpress\u7a0b\u5e8f\uff0c\u5c31\u653e\u5728\u4e3b\u9898\u7684 footer.php \u6587\u4ef6\u91cc\u9762 &lt;script src=&#8221;\/wp-content\/themes\/b2\/Assets\/fontend\/activate-power-mode.js&#8221;&gt;&lt;\/script&gt; &lt;script&gt; document.addEventListener(&#8216;DOMCon<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12,19],"tags":[3,8,5,4],"collection":[6,87],"class_list":["post-3051","post","type-post","status-publish","format-standard","hentry","category-wp","category-wyjz","tag-7b2","tag-html","tag-wordpress","tag-meihua","collection-7b2ztyhmh","collection-wordpress"],"_links":{"self":[{"href":"https:\/\/js.vmccc.com\/wp-json\/wp\/v2\/posts\/3051"}],"collection":[{"href":"https:\/\/js.vmccc.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/js.vmccc.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/js.vmccc.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/js.vmccc.com\/wp-json\/wp\/v2\/comments?post=3051"}],"version-history":[{"count":0,"href":"https:\/\/js.vmccc.com\/wp-json\/wp\/v2\/posts\/3051\/revisions"}],"wp:attachment":[{"href":"https:\/\/js.vmccc.com\/wp-json\/wp\/v2\/media?parent=3051"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/js.vmccc.com\/wp-json\/wp\/v2\/categories?post=3051"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/js.vmccc.com\/wp-json\/wp\/v2\/tags?post=3051"},{"taxonomy":"collection","embeddable":true,"href":"https:\/\/js.vmccc.com\/wp-json\/wp\/v2\/collection?post=3051"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}