| | |
| | | <template> |
| | | <view class="eventTickets"> |
| | | <WebViewPlus ref="sWebViewRef" :src="`${viewUrl}`" @webMessage="onPostMessage" /> |
| | | |
| | | </view> |
| | | |
| | | </template> |
| | |
| | | import { |
| | | useTabAddButton |
| | | } from "@/hooks/index.js"; |
| | | import { onShow, onHide } from "@dcloudio/uni-app"; |
| | | |
| | | const sWebViewRef = ref(null); |
| | | // const viewUrl = getWebViewUrl('/work', {}) |
| | | const updateKey = ref(0) |
| | |
| | | updateKey.value = updateKey.value + 1 |
| | | uni.removeStorageSync('joinParams'); |
| | | } |
| | | |
| | | uni.setStorageSync('lastTab', 'work'); |
| | | uni.setTabBarItem({ |
| | | index: 2, // Tab 的索引(从0开始) |
| | | // text: '新建工单', |
| | | visible: true, |
| | | "pagePath": "subPackages/workDetail/addWork/index" |
| | | }); |
| | | uni.setTabBarItem({ |
| | | index: 3, // Tab |
| | | visible: false, |
| | | index: 2, |
| | | text: '', |
| | | iconPath: 'static/images/tabbar/add.png', |
| | | selectedIconPath: 'static/images/tabbar/add.png' |
| | | }); |
| | | // isApp.value = true |
| | | }); |