2022-06-08 11:57:35 +08:00
|
|
|
<script>
|
|
|
|
const MopSdk = uni.requireNativePlugin('MopSdk');
|
|
|
|
|
|
|
|
export default {
|
|
|
|
onLaunch: function() {
|
|
|
|
console.log('App Launch')
|
|
|
|
MopSdk.initialize({
|
|
|
|
'sdkKey': '22LyZEib0gLTQdU3MUauAa2CctUv+NxTLFWyPxC28y2gA4x+JWh7hhNS5aO52BFs',
|
|
|
|
'sdkSecret': '65146ffa924ecfdc',
|
|
|
|
'apmServer': 'https://api.finclip.com',
|
2022-10-19 12:51:03 +08:00
|
|
|
'apiServer': 'https://api.finclip.com'
|
2022-06-08 11:57:35 +08:00
|
|
|
},
|
|
|
|
(ret) => {
|
|
|
|
console.log('App Launch Success', ret)
|
|
|
|
},
|
|
|
|
(ret) =>{
|
|
|
|
console.log('App Launch Fail', ret)
|
|
|
|
});
|
|
|
|
},
|
|
|
|
onShow: function() {
|
|
|
|
//console.log('App Show')
|
|
|
|
},
|
|
|
|
onHide: function() {
|
|
|
|
//console.log('App Hide')
|
|
|
|
}
|
|
|
|
}
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<style>
|
|
|
|
/*每个页面公共css */
|
|
|
|
</style>
|