Explorar el Código

Auto merge base into main

GitHub Actions hace 11 meses
padre
commit
1dae055875
Se han modificado 2 ficheros con 10 adiciones y 1 borrados
  1. 4 1
      src/pages-sub/demo/index.vue
  2. 6 0
      src/pages/about/about.vue

+ 4 - 1
src/pages-sub/demo/index.vue

@@ -1,6 +1,9 @@
 <route lang="json5" type="page">
 {
-  style: { navigationBarTitleText: '分包页面 标题' },
+  style: {
+    navigationStyle: 'default',
+    navigationBarTitleText: '分包页面 标题',
+  },
 }
 </route>
 

+ 6 - 0
src/pages/about/about.vue

@@ -18,6 +18,7 @@
         鸽友们好,我是
         <text class="text-red-500">菲鸽</text>
       </view>
+      <!-- <button @click="toSubPage()">去分包</button> -->
       <view class="test-css">测试 scss 样式</view>
       <RequestComp />
       <UploadComp />
@@ -31,6 +32,11 @@ import UploadComp from './components/upload.vue'
 
 // 获取屏幕边界到安全区域距离
 const { safeAreaInsets } = uni.getSystemInfoSync()
+const toSubPage = () => {
+  uni.navigateTo({
+    url: '/pages-sub/demo/index',
+  })
+}
 </script>
 
 <style lang="scss" scoped>