12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455 |
- <script setup>
- import { onLaunch, onShow, onError,onHide } from '@dcloudio/uni-app';
- import { ShoproInit } from './sheep';
- import { autoSign,cancelAutoSign,resetSignStatusIfNeeded } from './sheep/hooks/useModal';
- onShow((options) => {
- uni.setStorageSync("linkId",options.linkId)
-
- autoSign()
-
-
- const args = plus.runtime.arguments;
- if (args) {
- }
-
- uni.getClipboardData({
- success: (res) => { },
- });
-
-
-
-
-
- });
- onHide(()=>{
-
- cancelAutoSign()
- });
- onLaunch(() => {
-
- uni.removeStorageSync('linkId');
-
- uni.hideTabBar();
-
-
- ShoproInit();
-
- resetSignStatusIfNeeded();
- });
- onError((err) => {
- console.log('AppOnError:', err);
- });
- </script>
- <style lang="scss">
- @import '@/sheep/scss/index.scss';
- </style>
|