parent
eb791f6d27
commit
57139a18fa
@ -0,0 +1,58 @@
|
||||
<!--
|
||||
* @Author: jevononlie 728254585@qq.com
|
||||
* @Date: 2024-05-16 16:30:17
|
||||
* @LastEditors: jevononlie 728254585@qq.com
|
||||
* @LastEditTime: 2024-05-27 13:43:55
|
||||
* @FilePath: /app-nx-personal/src/pages/recyclingCabinet/recyclingCabinet.vue
|
||||
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
||||
-->
|
||||
<script setup lang="ts">
|
||||
import { ref, reactive, computed } from 'vue'
|
||||
import { onShow, onLoad } from '@dcloudio/uni-app'
|
||||
// 获取屏幕边界到安全区域距离
|
||||
const { safeAreaInsets } = uni.getSystemInfoSync()
|
||||
onShow(() => {
|
||||
//
|
||||
})
|
||||
|
||||
onLoad((options) => {
|
||||
console.log('options垃圾箱扫描过来参数', JSON.stringify(options, null, 4))
|
||||
})
|
||||
const handleIndex = () => {
|
||||
wx.navigator({
|
||||
url: 'pages/index/index',
|
||||
})
|
||||
}
|
||||
const handleStaff = () => {
|
||||
uni.navigateToMiniProgram({
|
||||
appId: 'wxf82bcc798891a29d',
|
||||
path: 'pages/index/index?id=123',
|
||||
extraData: {
|
||||
'data1': 'test'
|
||||
},
|
||||
success(res) {
|
||||
// 打开成功
|
||||
}
|
||||
})
|
||||
}
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<view class="viewport">
|
||||
<view class="todo">todo</view>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<style lang="scss">
|
||||
page {
|
||||
height: 100%;
|
||||
overflow: hidden;
|
||||
background-color: #f7f7f8;
|
||||
}
|
||||
|
||||
.viewport {
|
||||
position: relative;
|
||||
height: 100%;
|
||||
padding: 32rpx;
|
||||
}
|
||||
</style>
|
Loading…
Reference in new issue