Files

69 lines
1.2 KiB
Vue
Raw Permalink Normal View History

2026-01-04 11:09:06 +08:00
<template>
<view class="personalData-v">
<view class="content">
<personalData ref="personalData" :personalData="baseInfo"></personalData>
</view>
</view>
</template>
<script>
import personalData from './components/personalData.vue';
export default {
components: {
personalData,
},
data() {
return {
baseInfo: {}
};
},
onLoad(e) {
2026-01-22 11:01:19 +08:00
this.baseInfo = JSON.parse(e.baseInfo)
2026-01-04 11:09:06 +08:00
// #ifdef MP-WEIXIN || APP-HARMONY
2026-01-22 11:01:19 +08:00
// this.baseInfo = JSON.parse(decodeURIComponent(e.baseInfo))
2026-01-04 11:09:06 +08:00
// #endif
// #ifndef MP-WEIXIN || APP-HARMONY
2026-01-22 11:01:19 +08:00
// this.baseInfo = JSON.parse(decodeURIComponent(this.jnpf.encodeContent(e.baseInfo)))
2026-01-04 11:09:06 +08:00
// #endif
2026-01-22 11:01:19 +08:00
},
onShow() {
console.log(this.baseInfo,'baseInfo------')
uni.setNavigationBarTitle({
title: this.baseInfo.title
})
2026-01-04 11:09:06 +08:00
},
methods: {}
}
</script>
<style lang="scss">
page {
background-color: #f0f2f6;
height: 100%;
}
.notice-warp {
height: 100rpx;
.search-box {
padding: 20rpx;
}
}
.content {
margin-top: 20rpx;
}
.personalData-v {
display: flex;
flex-direction: column;
padding-bottom: 100rpx;
::v-deep .buttom-btn {
width: 100% !important;
}
}
</style>