| | |
| | | } |
| | | |
| | | }, |
| | | onClickWms() |
| | | { |
| | | onClickWms() { |
| | | let otherAppSchemeURL = "testapp://pages/index/index"; // 替换为目标app的scheme URL |
| | | plus.runtime.openURL(otherAppSchemeURL, function(error) { |
| | | console.error('打开应用失败: ', error); |
| | |
| | | }, |
| | | onLoad(options) { |
| | | //获取mac地址 |
| | | let tip=`login:account:${options.account || ""},password:${options.password || ""}` |
| | | // console.log(options); |
| | | uni.showModal({ |
| | | title: "参数", |
| | | content: tip, |
| | | showCancel: false, |
| | | confirmText:'close' |
| | | }); |
| | | |
| | | var url = utils.session.getValue('server'); |
| | | var username = utils.session.getValue('account'); |
| | | var userpwd = utils.session.getValue('password'); |