123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- <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) => {
-
- autoSign()
-
-
- const args = plus.runtime.arguments;
- if (args) {
- }
-
- uni.getClipboardData({
- success: (res) => { },
- });
-
-
-
-
-
- });
- onHide(()=>{
-
- cancelAutoSign()
- });
- onLaunch(() => {
-
- uni.hideTabBar();
-
-
- ShoproInit();
-
- resetSignStatusIfNeeded();
- });
- onError((err) => {
- console.log('AppOnError:', err);
- });
- </script>
- <style lang="scss">
- @import '@/sheep/scss/index.scss';
- </style>
|