
{
“description”: “项目配置文件”,
“packOptions”: {
“ignore”: []
},
“setting”: {
“bundle”: false,
“userConfirmedBundleSwitch”: false,
“urlCheck”: true,
“scopeDataCheck”: false,
“coverView”: true,
“es6”: true,
“postcss”: true,
“compileHotReLoad”: false,
“preloadBackgroundData”: false,
“minified”: true,
“autoAudits”: false,
“newFeature”: false,
“uglifyFileName”: false,
“uploadWithSourceMap”: true,
“useIsolateContext”: true,
“nodeModules”: false,
“enhance”: false,
“useCompilerModule”: true,
“userConfirmedUseCompilerModuleSwitch”: false,
“useMultiFrameRuntime”: true,
“useApiHook”: true,
“useApiHostProcess”: true,
“showShadowRootInWxmlPanel”: true,
“packNpmManually”: false,
“enableEngineNative”: false,
“packNpmRelationList”: [],
“minifyWXSS”: true
},
“compileType”: “miniprogram”,
“libVersion”: “2.15.0”,
“appid”: “wxbd5104f84c90a9f6”,
“projectname”: “sys-teaching”,
“debugOptions”: {
“hidedInDevtools”: []
},
“scripts”: {},
“isGameTourist”: false,
“condition”: {
“search”: {
“list”: []
},
“conversation”: {
“list”: []
},
“game”: {
“list”: []
},
“plugin”: {
“list”: []
},
“gamePlugin”: {
“list”: []
},
“miniprogram”: {
“list”: []
}
}
}
1】自己登陆小程序后台,在页面访问那里看数据。2】自己登陆开发者工具,查看源码3】不是开发者,完全是别人的小程序就直接反编译过来,进行第二步的 *** 作4】企业小程序现在开放了h5外链,直接访问链接就能打开小程序。
不论你是在app还是短信界面,都可以调起小程序链接。我感觉应该是问的这个问题,就是想着把小程序链接提取出来,通过外链方式打开。可以参考我这个链接,直接就可以打开到微信小程序
在做微信小程序开发时,涉及到路径,可以对url进行编码。那么具体是怎么实现,这里分享下 *** 作方法。
1、首先打开微信小程序开发工具,扫码登录;然后创建一个项目或选择已建的项目。
2、在已新建的wxml文件中,插入view标签并添加class属性。
3、接着在input标签上,添加value并绑定url。
4、在对应界面的JavaScript文件中,Page下的data对象初始化变量url。
5、接着在onLoad函数中,对url进行编码,然后解码,分别打印。
6、保存代码并查看左侧模拟器,可以查看到编码之后的url,如下图所示就完成了。
欢迎分享,转载请注明来源:内存溢出
微信扫一扫
支付宝扫一扫
评论列表(0条)