|
@@ -27,6 +27,11 @@ function gotoVueQuery() {
|
|
|
url: '/pages/about/vue-query',
|
|
url: '/pages/about/vue-query',
|
|
|
})
|
|
})
|
|
|
}
|
|
}
|
|
|
|
|
+function gotoSubPage() {
|
|
|
|
|
+ uni.navigateTo({
|
|
|
|
|
+ url: '/pages-sub/demo/index',
|
|
|
|
|
+ })
|
|
|
|
|
+}
|
|
|
</script>
|
|
</script>
|
|
|
|
|
|
|
|
<template>
|
|
<template>
|
|
@@ -46,6 +51,11 @@ function gotoVueQuery() {
|
|
|
vue-query 示例页面
|
|
vue-query 示例页面
|
|
|
</button>
|
|
</button>
|
|
|
</view>
|
|
</view>
|
|
|
|
|
+ <view class="text-center">
|
|
|
|
|
+ <button type="primary" size="mini" class="w-160px" @click="gotoSubPage">
|
|
|
|
|
+ 前往分包页面
|
|
|
|
|
+ </button>
|
|
|
|
|
+ </view>
|
|
|
<view class="mt-6 text-center text-sm">
|
|
<view class="mt-6 text-center text-sm">
|
|
|
<view class="inline-block w-80% text-gray-400">
|
|
<view class="inline-block w-80% text-gray-400">
|
|
|
为了方便脚手架动态生成不同UI模板,本页的按钮统一使用UI库无关的原生button
|
|
为了方便脚手架动态生成不同UI模板,本页的按钮统一使用UI库无关的原生button
|