{"id":208732,"date":"2020-11-21T22:52:59","date_gmt":"2020-11-21T14:52:59","guid":{"rendered":"http:\/\/4563.org\/?p=208732"},"modified":"2020-11-21T22:52:59","modified_gmt":"2020-11-21T14:52:59","slug":"%e9%9d%9e%e6%8e%a8%e5%b9%bf-%e6%88%91%e5%8f%88%e6%9d%a5%e9%97%ae%e6%8e%92%e5%ba%a7%e7%9a%84%e9%97%ae%e9%a2%98%e4%ba%86%ef%bc%8c%e5%9b%b0%e6%89%b0%e6%88%91%e5%a5%bd%e4%b9%85%e4%ba%86%ef%bc%8c","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=208732","title":{"rendered":"[\u975e\u63a8\u5e7f] \u6211\u53c8\u6765\u95ee\u6392\u5ea7\u7684\u95ee\u9898\u4e86\uff0c\u56f0\u6270\u6211\u597d\u4e45\u4e86\uff0c\u6c42\u5927\u795e\u89e3\u7b54\uff01"},"content":{"rendered":"<div>\n<div>\n<div>\n<h1>                  [\u975e\u63a8\u5e7f] \u6211\u53c8\u6765\u95ee\u6392\u5ea7\u7684\u95ee\u9898\u4e86\uff0c\u56f0\u6270\u6211\u597d\u4e45\u4e86\uff0c\u6c42\u5927\u795e\u89e3\u7b54\uff01               <\/h1>\n<p> <\/p>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : madpecker009 <\/span>  <span><i><\/i> 4<\/span> <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<div isfirst=\"1\"> <\/p>\n<p>\u8fd9\u6b21\u6211\u627e\u4e86\u4e2a demo\uff0c\u5f88\u597d\u5947\u8fd9\u79cd\u6548\u679c\u662f\u600e\u4e48\u5b9e\u73b0\u7684\uff0c\u5728\u9009\u5ea7\u533a\u57df\u53ef\u4ee5\u653e\u5927\u548c\u7f29\u5c0f\uff0c\u70b9\u51fb\u56fe\u7247\u4e0a\u7684\u5ea7\u4f4d\u8fd8\u53ef\u4ee5\u8fdb\u884c\u9009\u5ea7\uff0c\u70b9\u51fb\u4f1a\u8bae\u5ba4\u5c31\u5f39\u51fa\u9884\u7ea6\u4f1a\u8bae\u5ba4\u7684\u7535\u8bdd\u3002\u4ed6\u7684\u8fd9\u4e2a\u5e73\u9762\u56fe\u53ea\u6709\u8fd9\u4e00\u79cd\uff0c\u6211\u7684\u5e73\u9762\u56fe\u6709\u5f88\u591a\u79cd\u3002\u73b0\u5728\u6211\u73b0\u5728\u4e5f\u60f3\u5b9e\u73b0\u8fd9\u6837\u7684\u6548\u679c\uff0c\u8bf7\u95ee\u540e\u53f0\uff08 html+css+js \uff09\u5e94\u8be5\u600e\u4e48\u505a\u5462\uff1f\u6211\u77e5\u9053\u5c0f\u7a0b\u5e8f\u53ef\u4ee5\u7528<code>movable-area<\/code>\u548c<code>movable-view<\/code>\u6765\u5b9e\u73b0\u3002<br \/> \u5982\u679c\u4e0d\u660e\u767d\u53d9\u8ff0\u7684 \u53ef\u4ee5\u53bb\u641c\u4e0b\u8fd9\u4e2a\u5c0f\u7a0b\u5e8f\uff0c\u8c22\u8c22\u5927\u5bb6\u4e86\u3002\u3002\u3002<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" referrerpolicy=\"no-referrer\" rel=\"noreferrer\" src=\"http:\/\/4563.org\/wp-content\/uploads\/2020\/11\/20201129_5fc3f6d90d2b7.jpg\" alt=\"[\u975e\u63a8\u5e7f] \u6211\u53c8\u6765\u95ee\u6392\u5ea7\u7684\u95ee\u9898\u4e86\uff0c\u56f0\u6270\u6211\u597d\u4e45\u4e86\uff0c\u6c42\u5927\u795e\u89e3\u7b54\uff01\" \/><br \/> <img decoding=\"async\" loading=\"lazy\" referrerpolicy=\"no-referrer\" rel=\"noreferrer\" src=\"http:\/\/4563.org\/wp-content\/uploads\/2020\/11\/20201129_5fc3f6dc9b231.jpg\" alt=\"[\u975e\u63a8\u5e7f] \u6211\u53c8\u6765\u95ee\u6392\u5ea7\u7684\u95ee\u9898\u4e86\uff0c\u56f0\u6270\u6211\u597d\u4e45\u4e86\uff0c\u6c42\u5927\u795e\u89e3\u7b54\uff01\" \/><br \/> <img decoding=\"async\" loading=\"lazy\" referrerpolicy=\"no-referrer\" rel=\"noreferrer\" src=\"http:\/\/4563.org\/wp-content\/uploads\/2020\/11\/20201129_5fc3f6e19ed0e.jpg\" alt=\"[\u975e\u63a8\u5e7f] \u6211\u53c8\u6765\u95ee\u6392\u5ea7\u7684\u95ee\u9898\u4e86\uff0c\u56f0\u6270\u6211\u597d\u4e45\u4e86\uff0c\u6c42\u5927\u795e\u89e3\u7b54\uff01\" \/><br \/> <img decoding=\"async\" loading=\"lazy\" referrerpolicy=\"no-referrer\" rel=\"noreferrer\" src=\"http:\/\/4563.org\/wp-content\/uploads\/2020\/11\/20201129_5fc3f6e76bb56.jpg\" alt=\"[\u975e\u63a8\u5e7f] \u6211\u53c8\u6765\u95ee\u6392\u5ea7\u7684\u95ee\u9898\u4e86\uff0c\u56f0\u6270\u6211\u597d\u4e45\u4e86\uff0c\u6c42\u5927\u795e\u89e3\u7b54\uff01\" \/><\/p>\n<\/p><\/div>\n<div> <b>\u5927\u4f6c\u6709\u8a71\u8aaa<\/b> (<span>5<\/span>)        <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<ul>\n<li data-pid=\"4340888\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : vone <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u521a\u770b\u4e86\u4e00\u4e0b\u8fd9\u4e2a\u4e4c\u9c81\u6728\u9f50\u8f7b\u7fbd\u81ea\u4e60\u5ba4\u7684\u6e90\u7801\uff0c\u91cc\u9762\u7684\u653e\u5927\u3001\u7f29\u5c0f\u3001\u6eda\u52a8\u662f\u4f7f\u7528 movable-view \u7ec4\u4ef6\u914d\u5408 css \u7684 transform \u5c5e\u6027\u5b9e\u73b0\u7684\u3002\u8ba9\u4eba\u5931\u671b\u7684\u662f\u4ed6\u7684\u5ba4\u5185\u5e73\u9762\u56fe\u662f\u5728 wxml \u6587\u4ef6\u4e2d\u786c\u7f16\u7801\u7684\uff0c\u6ca1\u6709\u52a8\u6001\u83b7\u53d6\u65b9\u9762\u7684\u8bbe\u8ba1\u3002<\/p>\n<p>\u5982\u679c\u4f60\u60f3\u8ba9\u5c0f\u7a0b\u5e8f\u53ef\u4ee5\u52a8\u6001\u83b7\u53d6\u540e\u53f0\u914d\u7f6e\u7684\u5e73\u9762\u56fe\u7684\u8bdd\uff0c\u5e94\u8be5\u5148\u7ea6\u5b9a\u4e00\u4e2a\u5e73\u9762\u56fe\u7684\u6570\u636e\u683c\u5f0f\uff0c\u7136\u540e web \u540e\u7aef\u751f\u6210\u6570\u636e\uff0c\u5c0f\u7a0b\u5e8f\u7aef\u52a8\u6001\u89e3\u6790\u3002<\/p>\n<p>\u6bd4\u5982\u7ea6\u5b9a\u6570\u636e\u53ef\u4ee5\u6309\u7167\u4ee5\u4e0b\u683c\u5f0f\uff1a<\/p>\n<p>&#8220;`<br \/>{<br \/> &#8220;style&#8221;:&#8221;background:#f00&#8243;,<br \/> &#8220;width&#8221;:&#8221;200px&#8221;,<br \/> &#8220;height&#8221;:&#8221;200px&#8221;,<br \/> &#8220;childrens&#8221;:[<br \/> {<br \/> &#8220;tag&#8221;:&#8221;img&#8221;,<br \/> &#8220;width&#8221;:&#8221;10px&#8221;,<br \/> &#8220;height&#8221;:&#8221;10px&#8221;,<br \/> &#8220;top&#8221;:&#8221;20px&#8221;,<br \/> &#8220;left&#8221;:&#8221;20px&#8221;,<br \/> &#8220;style&#8221;:&#8221;background:#f00&#8243;,<br \/> &#8220;src&#8221;:&#8221;xxx.png&#8221;,<br \/> &#8220;childrens&#8221;:[]<br \/> },{<br \/> &#8220;tag&#8221;:&#8221;btn&#8221;,<br \/> &#8220;width&#8221;:&#8221;10px&#8221;,<br \/> &#8220;height&#8221;:&#8221;10px&#8221;,<br \/> &#8220;top&#8221;:&#8221;30px&#8221;,<br \/> &#8220;left&#8221;:&#8221;40px&#8221;,<br \/> &#8220;text&#8221;:&#8221;\u623f\u95f4 1&#8243;,<br \/> &#8220;event&#8221;:{<br \/> &#8220;type&#8221;:&#8221;click&#8221;,<br \/> &#8220;name&#8221;:&#8221;btnClickEvent&#8221;,<br \/> &#8220;data&#8221;:{<br \/> &#8220;id&#8221;:1,<br \/> &#8220;name&#8221;:&#8221;\u623f\u95f4 1&#8243;<br \/>  }<br \/> },<br \/> &#8220;style&#8221;:&#8221;color:#f00&#8243;,<br \/> &#8220;childrens&#8221;:[]<br \/> }<br \/> ]<br \/>}<\/p>\n<p>&#8220;`<br \/>\u5c0f\u7a0b\u5e8f\u7aef\u83b7\u53d6\u5230\u683c\u5f0f\u540e\uff0c\u5faa\u73af\u6e32\u67d3\u6bcf\u4e2a\u8282\u70b9\u3002<br \/>\u5047\u8bbe\u7b2c\u4e00\u4e2a\u8282\u70b9\u914d\u7f6e\u7684\u662f tag=img\uff0csrc=xxx.png \uff0c\u5750\u6807=\uff08 20px,20px) \uff0c\u90a3\u5c31\u6309\u7167\u8fd9\u4e2a\u914d\u7f6e\u5728\u5bf9\u5e94\u4f4d\u7f6e\u653e\u4e00\u4e2a xxx.png \u7684\u56fe\u7247\u3002<br \/>\u5047\u8bbe\u7b2c\u4e8c\u4e2a\u8282\u70b9\u914d\u7f6e\u7684\u662f tag=btn\uff0cevent.name=btnClickEvent \u3002\u90a3\u5c31\u8c03\u7528 btnClickEvent \u4e8b\u4ef6\u628a\u5bf9\u5e94\u7684 data \u4f20\u5165\u3002<\/p>\n<p>![Snipaste_2020-11-25_23-54-53.png]( https:\/\/i.loli.net\/2020\/11\/25\/PEaCpeOAjIs7KzY.png)<br \/>![Snipaste_2020-11-25_23-57-19.png]( https:\/\/i.loli.net\/2020\/11\/25\/d6ZkGmbMwOfKgJE.png)<br \/>![Snipaste_2020-11-25_23-55-22.png]( https:\/\/i.loli.net\/2020\/11\/25\/8QE4JjildZhrXek.png)                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4340889\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : madpecker009 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @vone \u6211\u53bb\uff1f\uff1f\u5927\u4f6c\u54ea\u91cc\u7684\u6e90\u7801\u554a\uff0c\u8be5\u4e0d\u4f1a\u662f\u4f60\u5f00\u53d1\u7684\u5427\u3002\u3002\u8fd8\u662f\u8bf4\u4f60\u662f\u53cd\u7f16\u8bd1\u51fa\u6765\u7684                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4340890\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : madpecker009 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @vone \u53ef\u4e0d\u53ef\u4ee5\u6c42\u4e00\u4efd\u6e90\u4ee3\u7801\u554a\u3002\u3002\u3002\u5927\u4f6c                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4340891\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : vone <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u6e90\u7801\u53cd\u7f16\u8bd1\u7684\uff0c\u6e90\u7801\u6211\u5df2\u7ecf\u5220\u4e86\uff0c\u4f60\u53ef\u4ee5\u81ea\u5df1\u767e\u5ea6\u4e0b\u600e\u4e48\u53cd\u7f16\u8bd1\u3002<\/p>\n<p>\u4f46\u662f\u6211\u5efa\u8bae\u4f60\u5c0a\u91cd\u4ed6\u4eec\u7684\u52b3\u52a8\u6210\u679c\uff0c \u53c2\u8003\u4e00\u4e0b\u5b9e\u73b0\u5c31\u53ef\u4ee5\u4e86\uff0c\u4e0d\u8981\u7528\u522b\u4eba\u7684\u6e90\u7801\u6362\u4e2a\u76ae\u5c31\u4e0a\u7ebf\u3002<\/p>\n<p>\u8fd8\u6709\u5c31\u662f\u4f60\u8fd9\u4e2a\u53f7\u597d\u50cf\u662f\u88ab\u9650\u6d41\u4e86\uff0c\u6362\u4e00\u4e2a\u5427\u3002\u6211\u8fde @\u901a\u77e5\u90fd\u6536\u4e0d\u5230\u3002                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4340892\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : madpecker009 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @vone \u6211\u4e5f\u627e\u8fc7\u53cd\u7f16\u8bd1 \u90fd\u4e0d\u53ef\u4ee5\u7528\u3002\u53ef\u5426\u7ed9\u4e00\u4efd\u53cd\u7f16\u8bd1\u7684\u5de5\u5177\u5462\u3002\u3002\u3002\u6211\u4e0d\u4f1a\u76f4\u63a5\u7528\u4ed6\u4eec\u7684\u4ee3\u7801\u7684\uff0c\u53ea\u662f\u53c2\u8003\u4e0b\u4ed6\u4eec\u5b9e\u73b0\u7684\u65b9\u5f0f                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li>\n","protected":false},"excerpt":{"rendered":"<p>[\u975e\u63a8\u5e7f] \u6211\u53c8\u6765\u95ee\u6392\u5ea7\u7684\u95ee\u9898\u4e86\uff0c&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/208732"}],"collection":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=208732"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/208732\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=208732"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=208732"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=208732"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}