| | |
| | | const sWebViewRef = ref(null); |
| | | const viewUrl = ref('') |
| | | onLoad( (options) => { |
| | | const eventNum= options.eventNum; |
| | | viewUrl.value = getWebViewUrl('/workDetail', {eventNum:eventNum}) |
| | | const eventNum= options.eventNum; |
| | | viewUrl.value = getWebViewUrl('/workDetail', {eventNum:eventNum}) |
| | | }); |
| | | |
| | | |
| | | function onPostMessage(data) { |
| | | |
| | | |
| | | if (data.type === 'workback'){ |
| | | |
| | | |
| | | uni.switchTab({ |
| | | url: '/pages/work/index' |
| | | }); |
| | |
| | | |
| | | <style lang="scss" scoped> |
| | | .workDetailContainer { |
| | | padding: 0 10px; |
| | | width: 100%; |
| | | width: 100%; |
| | | height: 100%; |
| | | background: url('/src/static/images/user/allBg.svg') no-repeat center center; |
| | | background-size: cover; |
| | | |
| | | |
| | | |
| | | } |
| | | </style> |
| | | </style> |