parent
c13c9c495b
commit
3f1288715b
@ -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:37:53
|
||||||
|
* @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(() => {
|
||||||
|
//
|
||||||
|
})
|
||||||
|
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>
|
Before Width: | Height: | Size: 508 KiB After Width: | Height: | Size: 508 KiB |
Before Width: | Height: | Size: 749 KiB |
Loading…
Reference in new issue