You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.
< script setup >
/**
* name:
* user: sa0ChunLuyu
* date: 2023年8月13日 18:33:58
*/
import {
ref
} from 'vue'
import {
$response
} from '@/api'
import {
onShow
} from '@dcloudio/uni-app'
const title = uni . $lu . config . title
const toExample = ( ) => {
uni . navigateTo ( {
url : '/pages/package/example/example?name=yo'
} )
}
< / script >
< template >
< view class = "page_wrapper" >
< view >
< view > Yo { { title } } < / view >
< view class = "button_wrapper" >
< button size = "mini" @click ="toExample()" > 示 例 < / button >
< / view >
< / view >
< / view >
< / template >
< style scoped >
. button _wrapper {
text - align : center ;
margin - top : 30 rpx ;
}
. page _wrapper {
height : 100 vh ;
display : flex ;
align - items : center ;
justify - content : center ;
}
< / style >