Browse Source
Merge branch 'devlop' of http://git.qniao.cn/dengxiongfei/paper-shopkeeper-app into devlop
devlop
Merge branch 'devlop' of http://git.qniao.cn/dengxiongfei/paper-shopkeeper-app into devlop
devlop
9 changed files with 77 additions and 102 deletions
Split View
Diff Options
-
19App.vue
-
12apis/commonApi.js
-
4env/index.js
-
39hybrid/html/share.html
-
19manifest.json
-
BINnativeplugins/DC-PushSound/ios/pushsound.caf
-
1pages/credit-company-order/index.vue
-
48pages/mall/index.vue
-
37utils/hook.js
@ -1,8 +1,8 @@ |
|||
/** |
|||
* @description 唯一环境变量 |
|||
*/ |
|||
const env = 'test' |
|||
// const env = 'test'
|
|||
// const env = 'dev'
|
|||
// const env = 'production'
|
|||
const env = 'production' |
|||
|
|||
export default env |
|||
@ -1,39 +0,0 @@ |
|||
<!DOCTYPE html> |
|||
<html lang="en"> |
|||
|
|||
<head> |
|||
<meta charset="UTF-8"> |
|||
<meta http-equiv="X-UA-Compatible" content="IE=edge"> |
|||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> |
|||
<title>Document</title> |
|||
<style> |
|||
.qrcode { |
|||
width: 100%; |
|||
height: 100%; |
|||
} |
|||
</style> |
|||
</head> |
|||
|
|||
<body> |
|||
<image class="qrcode"> |
|||
|
|||
</image> |
|||
</body> |
|||
<script> |
|||
document.addEventListener('plusready', function () { |
|||
console.log('window', window.location.search) |
|||
let params = {} |
|||
window.location.search.substr(1).split('&').forEach(item => { |
|||
const [key, value] = item.split('=') |
|||
params[key] = decodeURI(value) |
|||
}) |
|||
console.log(JSON.stringify(params)) |
|||
if (params.img) { |
|||
const img = document.querySelector('.qrcode') |
|||
img.src = params.img |
|||
} |
|||
}); |
|||
|
|||
</script> |
|||
|
|||
</html> |
|||
Write
Preview
Loading…
Cancel
Save