普兆健康管家前端代码仓库
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

55 lines
852 B

<template>
<view class="page__view">
<navbar :title="title" leftClick @leftClick="$utils.navigateBack" color="#191919" bgColor="#FFFFFF" />
<view class="main">
<uv-parse :content="content"></uv-parse>
</view>
</view>
</template>
<script>
import { mapState } from 'vuex'
export default {
computed: {
...mapState(['configList']),
},
data() {
return {
title : '',
content : '',
}
},
onLoad(arg) {
const { key, title } = arg
this.title = title
this.content = this.configList[key]
},
}
</script>
<style lang="scss" scoped>
.page__view {
width: 100vw;
min-height: 100vh;
background-color: $uni-bg-color;
position: relative;
/deep/ .nav-bar__view {
position: fixed;
top: 0;
left: 0;
}
}
.main {
padding-top: calc(var(--status-bar-height) + 120rpx);
}
</style>