初始化(包含登录模块)
This commit is contained in:
22
pages/template/tabbar/detail/detail.vue
Normal file
22
pages/template/tabbar/detail/detail.vue
Normal file
@@ -0,0 +1,22 @@
|
||||
<template>
|
||||
<view class="root">
|
||||
<view class="uni-padding-wrap">
|
||||
<view class="uni-title">这是选项卡页面跳转详情页面的演示,下面是页面跳转时传递过来的标题:</view>
|
||||
<view class="uni-title">{{title}}</view>
|
||||
</view>
|
||||
</view>
|
||||
</template>
|
||||
<script>
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
title: ''
|
||||
}
|
||||
},
|
||||
onLoad(e) {
|
||||
this.title = e.title || '';
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<style>
|
||||
</style>
|
||||
Reference in New Issue
Block a user