{"id":55230,"date":"2025-08-13T19:35:15","date_gmt":"2025-08-13T11:35:15","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/55230.html"},"modified":"2025-08-13T19:35:15","modified_gmt":"2025-08-13T11:35:15","slug":"uniapp%e5%bc%80%e5%8f%91%e5%b8%b8%e8%a7%81%e9%97%ae%e9%a2%98%e5%8f%8a%e8%a7%a3%e5%86%b3%e5%8a%9e%e6%b3%95","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/55230.html","title":{"rendered":"UniApp\u5f00\u53d1\u5e38\u89c1\u95ee\u9898\u53ca\u89e3\u51b3\u529e\u6cd5"},"content":{"rendered":"<h5 style=\"background-color:transparent\">\u4e00\u3001\u6837\u5f0f\u517c\u5bb9\u6027\u95ee\u9898<\/h5>\n<p>\u95ee\u9898\u63cf\u8ff0&#xff1a;<br \/>\n\u4e0d\u540c\u5e73\u53f0&#xff08;H5\/\u5c0f\u7a0b\u5e8f\/App&#xff09;\u5bf9CSS\u7684\u652f\u6301\u5dee\u5f02\u5bfc\u81f4\u6837\u5f0f\u9519\u4e71&#xff0c;\u5982flex\u5e03\u5c40\u5f02\u5e38\u3001\u5355\u4f4d\u8f6c\u6362\u9519\u8bef\u7b49\u3002<\/p>\n<p>\u89e3\u51b3\u529e\u6cd5&#xff1a;<\/p>\n<li>\u4f7f\u7528\u6761\u4ef6\u7f16\u8bd1<br \/>\n\u5728\u6837\u5f0f\u6587\u4ef6\u4e2d\u9488\u5bf9\u4e0d\u540c\u5e73\u53f0\u9002\u914d&#xff1a;<\/p>\n<p>\/* #ifdef H5 *\/<br \/>\n.box { padding: 20upx; }<br \/>\n\/* #endif *\/<br \/>\n\/* #ifdef MP-WEIXIN *\/<br \/>\n.box { padding: 10upx; }<br \/>\n\/* #endif *\/<\/p>\n<\/li>\n<li>\u7edf\u4e00\u5355\u4f4d<br \/>\n\u4f18\u5148\u4f7f\u7528upx&#xff08;\u54cd\u5e94\u5f0fu\u50cf\u7d20&#xff09;&#xff0c;\u907f\u514dpx&#xff1a;<\/p>\n<p>.title { font-size: 32upx; } \/* \u81ea\u52a8\u9002\u914d\u5404\u5e73\u53f0 *\/<\/p>\n<\/li>\n<li>\u5168\u5c40\u91cd\u7f6e\u6837\u5f0f<br \/>\n\u5728App.vue\u4e2d\u5f15\u5165\u57fa\u7840\u6837\u5f0f\u5e93&#xff1a;<\/p>\n<p>&#064;import &#034;&#064;\/common\/uni.css&#034;; \/* \u5305\u542b\u5404\u5e73\u53f0\u6837\u5f0f\u91cd\u7f6e *\/<\/p>\n<\/li>\n<hr \/>\n<h5 style=\"background-color:transparent\">\u4e8c\u3001\u8de8\u5e73\u53f0API\u8c03\u7528\u5931\u8d25<\/h5>\n<p>\u95ee\u9898\u63cf\u8ff0&#xff1a;<br \/>\n\u90e8\u5206API\u5728\u67d0\u4e9b\u5e73\u53f0\u4e0d\u53ef\u7528&#xff08;\u5982H5\u4e0d\u652f\u6301uni.getSystemInfoSync()&#xff09;\u3002<\/p>\n<p>\u89e3\u51b3\u529e\u6cd5&#xff1a;<\/p>\n<li>API\u517c\u5bb9\u6027\u5224\u65ad<br \/>\n\u8c03\u7528\u524d\u68c0\u67e5\u5e73\u53f0\u652f\u6301\u6027&#xff1a;<\/p>\n<p>if (uni.getSystemInfo) {<br \/>\n  const systemInfo &#061; uni.getSystemInfoSync();<br \/>\n} else {<br \/>\n  console.log(&#034;\u5f53\u524d\u5e73\u53f0\u4e0d\u652f\u6301\u6b64API&#034;);<br \/>\n}<\/p>\n<\/li>\n<li>\u5c01\u88c5\u7edf\u4e00\u63a5\u53e3<br \/>\n\u521b\u5efautils\/api.js\u5c01\u88c5\u5e73\u53f0\u5dee\u5f02&#xff1a;<\/p>\n<p>export function safeGetLocation() {<br \/>\n  \/\/ #ifdef H5<br \/>\n  return h5Geolocation(); \/\/ \u81ea\u5b9a\u4e49H5\u5b9a\u4f4d\u65b9\u6cd5<br \/>\n  \/\/ #endif<br \/>\n  \/\/ #ifdef APP-PLUS<br \/>\n  return uni.getLocation();<br \/>\n  \/\/ #endif<br \/>\n}<\/p>\n<\/li>\n<hr \/>\n<h5>\u4e09\u3001\u9875\u9762\u8def\u7531\u5806\u6808\u6ea2\u51fa<\/h5>\n<p>\u95ee\u9898\u63cf\u8ff0&#xff1a;<br \/>\n\u5c0f\u7a0b\u5e8f\u5e73\u53f0\u9875\u9762\u6808\u6df1\u5ea6\u9650\u5236&#xff08;10\u5c42&#xff09;&#xff0c;\u5bfc\u81f4navigateTo\u5931\u8d25\u3002<\/p>\n<p>\u89e3\u51b3\u529e\u6cd5&#xff1a;<\/p>\n<li>\u8def\u7531\u8df3\u8f6c\u524d\u68c0\u67e5<br \/>\n\u4f7f\u7528getCurrentPages()\u83b7\u53d6\u5f53\u524d\u9875\u9762\u6808&#xff1a;<\/p>\n<p>const pages &#061; getCurrentPages();<br \/>\nif (pages.length &lt; 9) {<br \/>\n  uni.navigateTo({ url: &#034;\/pages\/next&#034; });<br \/>\n} else {<br \/>\n  uni.redirectTo({ url: &#034;\/pages\/next&#034; }); \/\/ \u66ff\u6362\u5f53\u524d\u9875<br \/>\n}<\/p>\n<\/li>\n<li>\u4f7f\u7528TabBar\u8df3\u8f6c<br \/>\n\u5bf9\u9ad8\u9891\u9875\u9762\u914d\u7f6e\u4e3aTab\u9875&#xff1a;<\/p>\n<p>\/\/ pages.json<br \/>\n&#034;tabBar&#034;: {<br \/>\n  &#034;list&#034;: [{<br \/>\n    &#034;pagePath&#034;: &#034;pages\/home&#034;,<br \/>\n    &#034;text&#034;: &#034;\u9996\u9875&#034;<br \/>\n  }]<br \/>\n}<\/p>\n<\/li>\n<hr \/>\n<h5>\u56db\u3001\u539f\u751f\u7ec4\u4ef6\u5c42\u7ea7\u95ee\u9898<\/h5>\n<p>\u95ee\u9898\u63cf\u8ff0&#xff1a;<br \/>\n\u5730\u56fe\/\u89c6\u9891\u7b49\u539f\u751f\u7ec4\u4ef6\u5728iOS\u7aef\u5c42\u7ea7\u6700\u9ad8&#xff0c;\u8986\u76d6\u5f39\u51fa\u5c42\u3002<\/p>\n<p>\u89e3\u51b3\u529e\u6cd5&#xff1a;<\/p>\n<li>\u4f7f\u7528cover-view\u7ec4\u4ef6<br \/>\n\u4ec5\u652f\u6301\u5d4c\u5957\u5728\u539f\u751f\u7ec4\u4ef6\u5185\u90e8\u7684\u5143\u7d20&#xff1a;<\/p>\n<p>&lt;map&gt;<br \/>\n  &lt;cover-view class&#061;&#034;tooltip&#034;&gt;\u63d0\u793a\u4fe1\u606f&lt;\/cover-view&gt;<br \/>\n&lt;\/map&gt;<\/p>\n<\/li>\n<li>\u52a8\u6001\u9690\u85cf\u7ec4\u4ef6<br \/>\n\u5f39\u51fa\u5c42\u663e\u793a\u65f6\u9690\u85cf\u539f\u751f\u7ec4\u4ef6&#xff1a;<\/p>\n<p>data() { return { showMap: true } },<br \/>\nmethods: {<br \/>\n  openPopup() {<br \/>\n    this.showMap &#061; false;<br \/>\n    this.showPopup &#061; true;<br \/>\n  }<br \/>\n}<\/p>\n<\/li>\n<hr \/>\n<h5>\u4e94\u3001\u6027\u80fd\u4f18\u5316\u95ee\u9898<\/h5>\n<p>\u95ee\u9898\u63cf\u8ff0&#xff1a;<br \/>\n\u957f\u5217\u8868\u6eda\u52a8\u5361\u987f&#xff0c;\u56fe\u7247\u52a0\u8f7d\u767d\u5c4f\u3002<\/p>\n<p>\u89e3\u51b3\u529e\u6cd5&#xff1a;<\/p>\n<li>\u5217\u8868\u6027\u80fd\u4f18\u5316\n<ul>\n<li>\u4f7f\u7528&lt;scroll-view&gt;\u66ff\u4ee3\u9ed8\u8ba4\u6eda\u52a8<\/li>\n<li>\u6dfb\u52a0key\u5c5e\u6027&#xff1a;&lt;view v-for&#061;&#034;(item,index) in list&#034; :key&#061;&#034;item.id&#034;&gt;<\/li>\n<\/ul>\n<p>&lt;scroll-view scroll-y style&#061;&#034;height: 100vh&#034;&gt;<br \/>\n  &lt;view v-for&#061;&#034;item in bigData&#034; :key&#061;&#034;item.id&#034;&gt;{{item.name}}&lt;\/view&gt;<br \/>\n&lt;\/scroll-view&gt;<\/p>\n<\/li>\n<li>\u56fe\u7247\u61d2\u52a0\u8f7d<br \/>\n\u542f\u7528lazy-load\u5e76\u6307\u5b9a\u5c3a\u5bf8&#xff1a;<\/p>\n<p>&lt;image<br \/>\n  src&#061;&#034;image.jpg&#034;<br \/>\n  lazy-load<br \/>\n  mode&#061;&#034;widthFix&#034;<br \/>\n  style&#061;&#034;width: 100%&#034;<br \/>\n&gt;&lt;\/image&gt;<\/p>\n<\/li>\n<hr \/>\n<h5>\u516d\u3001\u6253\u5305\u4f53\u79ef\u8fc7\u5927<\/h5>\n<p>\u95ee\u9898\u63cf\u8ff0&#xff1a;<br \/>\n\u4e3b\u5305\u8d85\u8fc7\u5c0f\u7a0b\u5e8f\u5e73\u53f0\u9650\u5236&#xff08;\u5fae\u4fe1\u5c0f\u7a0b\u5e8f2MB&#xff09;\u3002<\/p>\n<p>\u89e3\u51b3\u529e\u6cd5&#xff1a;<\/p>\n<li>\u5206\u5305\u52a0\u8f7d<br \/>\n\u914d\u7f6epages.json&#xff1a;<\/p>\n<p>{<br \/>\n  &#034;subPackages&#034;: [{<br \/>\n    &#034;root&#034;: &#034;subpackage&#034;,<br \/>\n    &#034;pages&#034;: [{ &#034;path&#034;: &#034;moduleA&#034; }]<br \/>\n  }]<br \/>\n}<\/p>\n<\/li>\n<li>\u8d44\u6e90\u538b\u7f29\n<ul>\n<li>\u4f7f\u7528image-tools\u538b\u7f29\u56fe\u7247<\/li>\n<li>\u5f00\u542fHBuilderX\u7684&#034;\u8fd0\u884c\u65f6\u538b\u7f29\u4ee3\u7801&#034;\u9009\u9879<\/li>\n<li>\u79fb\u9664\u672a\u4f7f\u7528\u7684\u7ec4\u4ef6\u5e93<\/li>\n<\/ul>\n<\/li>\n<hr \/>\n<h5>\u4e03\u3001\u8c03\u8bd5\u6280\u5de7<\/h5>\n<p>\u95ee\u9898\u63cf\u8ff0&#xff1a;<br \/>\n\u771f\u673a\u8c03\u8bd5\u65f6\u65e0\u6cd5\u67e5\u770b\u65e5\u5fd7\u3002<\/p>\n<p>\u89e3\u51b3\u529e\u6cd5&#xff1a;<\/p>\n<li>VConsole\u96c6\u6210<br \/>\n\u5f00\u53d1\u73af\u5883\u6ce8\u5165\u8c03\u8bd5\u9762\u677f&#xff1a;<\/p>\n<p>\/\/ main.js<br \/>\nif (process.env.NODE_ENV &#061;&#061;&#061; &#039;development&#039;) {<br \/>\n  const VConsole &#061; require(&#039;vconsole&#039;);<br \/>\n  new VConsole();<br \/>\n}<\/p>\n<\/li>\n<li>\u771f\u673a\u65e5\u5fd7\u6355\u83b7<br \/>\nApp\u7aef\u4f7f\u7528plus.logger&#xff1a;<\/p>\n<p>const log &#061; plus.logger.getLogger(&#034;app&#034;);<br \/>\nlog.info(&#034;\u8c03\u8bd5\u4fe1\u606f&#034;);<\/p>\n<\/li>\n<p>\u6700\u4f73\u5b9e\u8df5\u5efa\u8bae&#xff1a;<\/p>\n<li>\u4f7f\u7528uni-app\u5b98\u65b9CLI&#xff08;\u800c\u975eHBuilderX&#xff09;\u83b7\u5f97\u66f4\u7075\u6d3b\u7684\u6784\u5efa\u914d\u7f6e<\/li>\n<li>\u590d\u6742\u9879\u76ee\u91c7\u7528pinia\u66ff\u4ee3vuex\u7ba1\u7406\u72b6\u6001<\/li>\n<li>\u5b9a\u671f\u6267\u884cuni-app\u5347\u7ea7\u547d\u4ee4&#xff1a;npm update &#064;dcloudio\/uni-app<\/li>\n","protected":false},"excerpt":{"rendered":"<p>\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb108\u6b21\u3002\u4e0d\u540c\u5e73\u53f0\uff08H5\/\u5c0f\u7a0b\u5e8f\/App\uff09\u5bf9CSS\u7684\u652f\u6301\u5dee\u5f02\u5bfc\u81f4\u6837\u5f0f\u9519\u4e71\uff0c\u5982\u3002\u5730\u56fe\/\u89c6\u9891\u7b49\u539f\u751f\u7ec4\u4ef6\u5728iOS\u7aef\u5c42\u7ea7\u6700\u9ad8\uff0c\u8986\u76d6\u5f39\u51fa\u5c42\u3002\u4e3b\u5305\u8d85\u8fc7\u5c0f\u7a0b\u5e8f\u5e73\u53f0\u9650\u5236\uff08\u5fae\u4fe1\u5c0f\u7a0b\u5e8f2MB\uff09\u3002\u90e8\u5206API\u5728\u67d0\u4e9b\u5e73\u53f0\u4e0d\u53ef\u7528\uff08\u5982H5\u4e0d\u652f\u6301\u3002\u5c0f\u7a0b\u5e8f\u5e73\u53f0\u9875\u9762\u6808\u6df1\u5ea6\u9650\u5236\uff0810\u5c42\uff09\uff0c\u5bfc\u81f4\u3002\u957f\u5217\u8868\u6eda\u52a8\u5361\u987f\uff0c\u56fe\u7247\u52a0\u8f7d\u767d\u5c4f\u3002\u5e03\u5c40\u5f02\u5e38\u3001\u5355\u4f4d\u8f6c\u6362\u9519\u8bef\u7b49\u3002\u771f\u673a\u8c03\u8bd5\u65f6\u65e0\u6cd5\u67e5\u770b\u65e5\u5fd7\u3002<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[387,588],"topic":[],"class_list":["post-55230","post","type-post","status-publish","format-standard","hentry","category-server","tag-uni-app","tag-uniapp"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>UniApp\u5f00\u53d1\u5e38\u89c1\u95ee\u9898\u53ca\u89e3\u51b3\u529e\u6cd5 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/55230.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"UniApp\u5f00\u53d1\u5e38\u89c1\u95ee\u9898\u53ca\u89e3\u51b3\u529e\u6cd5 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb108\u6b21\u3002\u4e0d\u540c\u5e73\u53f0\uff08H5\/\u5c0f\u7a0b\u5e8f\/App\uff09\u5bf9CSS\u7684\u652f\u6301\u5dee\u5f02\u5bfc\u81f4\u6837\u5f0f\u9519\u4e71\uff0c\u5982\u3002\u5730\u56fe\/\u89c6\u9891\u7b49\u539f\u751f\u7ec4\u4ef6\u5728iOS\u7aef\u5c42\u7ea7\u6700\u9ad8\uff0c\u8986\u76d6\u5f39\u51fa\u5c42\u3002\u4e3b\u5305\u8d85\u8fc7\u5c0f\u7a0b\u5e8f\u5e73\u53f0\u9650\u5236\uff08\u5fae\u4fe1\u5c0f\u7a0b\u5e8f2MB\uff09\u3002\u90e8\u5206API\u5728\u67d0\u4e9b\u5e73\u53f0\u4e0d\u53ef\u7528\uff08\u5982H5\u4e0d\u652f\u6301\u3002\u5c0f\u7a0b\u5e8f\u5e73\u53f0\u9875\u9762\u6808\u6df1\u5ea6\u9650\u5236\uff0810\u5c42\uff09\uff0c\u5bfc\u81f4\u3002\u957f\u5217\u8868\u6eda\u52a8\u5361\u987f\uff0c\u56fe\u7247\u52a0\u8f7d\u767d\u5c4f\u3002\u5e03\u5c40\u5f02\u5e38\u3001\u5355\u4f4d\u8f6c\u6362\u9519\u8bef\u7b49\u3002\u771f\u673a\u8c03\u8bd5\u65f6\u65e0\u6cd5\u67e5\u770b\u65e5\u5fd7\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/55230.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2025-08-13T11:35:15+00:00\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/55230.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/55230.html\",\"name\":\"UniApp\u5f00\u53d1\u5e38\u89c1\u95ee\u9898\u53ca\u89e3\u51b3\u529e\u6cd5 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2025-08-13T11:35:15+00:00\",\"dateModified\":\"2025-08-13T11:35:15+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/55230.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/55230.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/55230.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"UniApp\u5f00\u53d1\u5e38\u89c1\u95ee\u9898\u53ca\u89e3\u51b3\u529e\u6cd5\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"UniApp\u5f00\u53d1\u5e38\u89c1\u95ee\u9898\u53ca\u89e3\u51b3\u529e\u6cd5 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/55230.html","og_locale":"zh_CN","og_type":"article","og_title":"UniApp\u5f00\u53d1\u5e38\u89c1\u95ee\u9898\u53ca\u89e3\u51b3\u529e\u6cd5 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb108\u6b21\u3002\u4e0d\u540c\u5e73\u53f0\uff08H5\/\u5c0f\u7a0b\u5e8f\/App\uff09\u5bf9CSS\u7684\u652f\u6301\u5dee\u5f02\u5bfc\u81f4\u6837\u5f0f\u9519\u4e71\uff0c\u5982\u3002\u5730\u56fe\/\u89c6\u9891\u7b49\u539f\u751f\u7ec4\u4ef6\u5728iOS\u7aef\u5c42\u7ea7\u6700\u9ad8\uff0c\u8986\u76d6\u5f39\u51fa\u5c42\u3002\u4e3b\u5305\u8d85\u8fc7\u5c0f\u7a0b\u5e8f\u5e73\u53f0\u9650\u5236\uff08\u5fae\u4fe1\u5c0f\u7a0b\u5e8f2MB\uff09\u3002\u90e8\u5206API\u5728\u67d0\u4e9b\u5e73\u53f0\u4e0d\u53ef\u7528\uff08\u5982H5\u4e0d\u652f\u6301\u3002\u5c0f\u7a0b\u5e8f\u5e73\u53f0\u9875\u9762\u6808\u6df1\u5ea6\u9650\u5236\uff0810\u5c42\uff09\uff0c\u5bfc\u81f4\u3002\u957f\u5217\u8868\u6eda\u52a8\u5361\u987f\uff0c\u56fe\u7247\u52a0\u8f7d\u767d\u5c4f\u3002\u5e03\u5c40\u5f02\u5e38\u3001\u5355\u4f4d\u8f6c\u6362\u9519\u8bef\u7b49\u3002\u771f\u673a\u8c03\u8bd5\u65f6\u65e0\u6cd5\u67e5\u770b\u65e5\u5fd7\u3002","og_url":"https:\/\/www.wsisp.com\/helps\/55230.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2025-08-13T11:35:15+00:00","author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"2 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/55230.html","url":"https:\/\/www.wsisp.com\/helps\/55230.html","name":"UniApp\u5f00\u53d1\u5e38\u89c1\u95ee\u9898\u53ca\u89e3\u51b3\u529e\u6cd5 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2025-08-13T11:35:15+00:00","dateModified":"2025-08-13T11:35:15+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/55230.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/55230.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/55230.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"UniApp\u5f00\u53d1\u5e38\u89c1\u95ee\u9898\u53ca\u89e3\u51b3\u529e\u6cd5"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/55230","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=55230"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/55230\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=55230"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=55230"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=55230"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=55230"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}