{"id":1793,"date":"2021-04-26T14:50:06","date_gmt":"2021-04-26T06:50:06","guid":{"rendered":"http:\/\/www.yunzhan365.com\/support\/?p=1793"},"modified":"2024-08-06T09:40:51","modified_gmt":"2024-08-06T01:40:51","slug":"%e5%a6%82%e4%bd%95%e5%9c%a8%e8%87%aa%e5%b7%b1%e7%9a%84%e5%b0%8f%e7%a8%8b%e5%ba%8f%e6%98%be%e7%a4%ba%e4%ba%91%e5%b1%95%e7%bd%91%e7%94%b5%e5%ad%90%e4%b9%a6%ef%bc%9f","status":"publish","type":"post","link":"https:\/\/www.yunzhan365.com\/support\/?p=1793","title":{"rendered":"\u5982\u4f55\u5728\u81ea\u5df1\u7684\u5c0f\u7a0b\u5e8f\u663e\u793a\u4e91\u5c55\u7f51\u7535\u5b50\u4e66\uff1f"},"content":{"rendered":"\n
<\/p>\n\n\n\n
\u9664\u4e86\u5728\u516c\u4f17\u53f7\u4e0a\u5c55\u793a\u4e91\u5c55\u7f51\u7535\u5b50\u4e66\uff0c\u60a8\u4e5f\u53ef\u4ee5\u5728\u60a8\u7684\u5c0f\u7a0b\u5e8f\u4e0a\u663e\u793a\u7535\u5b50\u4e66\uff0c\u6bd4\u5982\u5728\u60a8\u7684\u5c0f\u7a0b\u5e8f\u4e0a\u8bbe\u7f6e\u4e2a\u6a21\u5757\uff0c\u70b9\u51fb\u6253\u5f00\u4e91\u5c55\u7f51\u751f\u6210\u7684\u62db\u751f\u7b80\u7ae0\uff0c\u4ea7\u54c1\u624b\u518c\u7b49\u7b49\u3002<\/p>\n\n\n\n
\u5728\u60a8\u7684\u5c0f\u7a0b\u5e8f\u4e0a\u6253\u5f00\u4e91\u5c55\u7f51\u7535\u5b50\u4e66\u5c0f\u7a0b\u5e8f\u3002\u5982\u4e0b\u56fe\u3002<\/p>\n\n\n\n
1\u3001 \u83b7\u53d6appId<\/p>\n\n\n\n
appId\uff1awx9c2d982dec74abe7<\/p>\n\n\n\n
2\u3001 \u83b7\u53d6path\u8def\u5f84<\/p>\n\n\n\n
\uff081\uff09\u4e66\u672cpath\u8def\u5f84<\/p>\n\n\n\n
\u70b9\u51fb\u3010\u6211\u7684\u6587\u6863\u3011\uff0c\u3010\u5206\u4eab\u3011\u590d\u5236\u4e66\u672c\u94fe\u63a5\uff0c\u5982\u8fd9\u672c\u4e66\u7684\u94fe\u63a5\u4e3ahttps:\/\/book.yunzhan365.com\/kykh\/tppo\/<\/strong>mobile\/index.html<\/p>\n\n\n\n \u8fd9\u672c\u4e66\u7684path\u8def\u5f84\u5c31\u662f\uff1a<\/p>\n\n\n\n pages\/eachbook\/eachbook?url=https:\/\/book.yunzhan365.com\/kykh\/tppo\/<\/strong><\/p>\n\n\n\n \u5907\u6ce8\uff1a\u8981\u53bb\u9664\u4e66\u672c\u94fe\u63a5mobile\/index.html\u3002<\/p>\n\n\n\n \uff082\uff09\u4e66\u6a71path\u8def\u5f84<\/p>\n\n\n\n \u70b9\u51fb\u3010\u6211\u7684\u4e66\u6a71\u3011\uff0c\u590d\u5236\u4e66\u6a71\u94fe\u63a5\u3002\u5982\u8fd9\u4e2a\u4e66\u6a71\u94fe\u63a5\u4e3a\uff1ahttps:\/\/baijingtest.sharedbook.cn\/bookcase\/qbba<\/strong>\/index.html<\/p>\n\n\n\n \u8fd9\u4e2a\u4e66\u6a71\u7684path\u8def\u5f84\u4e3a\uff1apages\/bookcase\/bookcase?scene=qbba<\/strong><\/p>\n\n\n\n \u5907\u6ce8\uff1a\u8981\u586b\u5199bookcase\u4e4b\u540e\u7684\u6587\u4ef6\u540d<\/p>\n\n\n\n 3\u3001 \u5c06\u76f8\u5e94\u4ee3\u7801\u5199\u5230\u76f8\u5e94\u4f4d\u7f6e\u4e0a\u5373\u53ef<\/p>\n\n\n\n <\/p>\n\n\n\n \u5c0f\u7a0b\u5e8f\u5185\u5d4c\u7535\u5b50\u4e66\u7684\u597d\u5904\u662f\u4e0d\u663e\u793a\u8be5\u7535\u5b50\u4e66\u6765\u6e90\u4e8e\u4e91\u5c55\u7f51\uff0c\u901a\u8fc7\u8c03\u7528web-view\u5185\u5d4c\u7535\u5b50\u4e66\u6765\u5b9e\u73b0\uff0c\u65b9\u6cd5\u4e8c\u4ec5\u534f\u4f5c\u7248\u4f1a\u5458\u652f\u6301\u6388\u6743\u3002\u5982\u679c\u60a8\u5df2\u7ecf\u662f\u534f\u4f5c\u7248\u4f1a\u5458\uff0c\u9700\u5148\u7ed1\u5b9a\u72ec\u7acb\u57df\u540d\uff0c\u4e4b\u540e\u518d\u8fdb\u884c\u5c0f\u7a0b\u5e8f\u6388\u6743\u3002<\/p>\n\n\n\n\uff081\uff09wxml\u6587\u4ef6\u52a0\u4ee3\u7801\uff1a <view bindtap=\"viewTap\"> click me <\/view>\n\n\uff082\uff09js \u6587\u4ef6\u52a0\u4ee3\u7801\uff1a\u5982\u4e0b\u56fe\u6240\u793a\uff0cpath\u8def\u5f84\u8981\u6539\u6210\u4f60\u9700\u8981\u5c55\u793a\u7684\u7535\u5b50\u4e66\u6216\u8005\u4e66\u6a71\n<\/code><\/pre>\n\n\n\n
Page({
xxxxxx
viewTap: function() {
wx.navigateToMiniProgram({
appId: \u2018wx9c2d982dec74abe7\u2019,
path: \u2018pages\/eachbook\/eachbook?url=https:\/\/book.yunzhan365.com\/kykh\/tppo\/\u2019,
extraData: {
foo: \u2018bar\u2019
},
envVersion: \u2018release\u2019,
success(res) {
\/\/ \u6253\u5f00\u6210\u529f
}
})
}
})<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n\u65b9\u6cd5\u4e8c\uff1a\u5728\u4f60\u7684\u5c0f\u7a0b\u5e8f<\/strong>\u5185\u5d4c\u7535\u5b50\u4e66<\/h3>\n\n\n\n