.
This commit is contained in:
parent
1417615fcd
commit
84ee6fbbc9
@ -1,43 +1,44 @@
|
|||||||
<template>
|
<template>
|
||||||
<view>
|
<custom-nav-bar :left="true" :title="title" />
|
||||||
<uni-card class="view-title" :title="title">
|
<view>
|
||||||
<text class="uni-body view-content">{{ content }}</text>
|
<uni-card class="view-title" :title="title">
|
||||||
</uni-card>
|
<text class="uni-body view-content">{{ content }}</text>
|
||||||
</view>
|
</uni-card>
|
||||||
|
</view>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
title: '',
|
title: '',
|
||||||
content: ''
|
content: ''
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
onLoad(options) {
|
onLoad(options) {
|
||||||
this.title = options.title
|
this.title = options.title
|
||||||
this.content = options.content
|
this.content = options.content
|
||||||
uni.setNavigationBarTitle({
|
// uni.setNavigationBarTitle({
|
||||||
title: options.title
|
// title: options.title
|
||||||
})
|
// })
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped>
|
<style scoped>
|
||||||
page {
|
page {
|
||||||
background-color: #ffffff;
|
background-color: #ffffff;
|
||||||
}
|
}
|
||||||
|
|
||||||
.view-title {
|
.view-title {
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
.view-content {
|
.view-content {
|
||||||
font-size: 26rpx;
|
font-size: 26rpx;
|
||||||
padding: 12px 5px 0;
|
padding: 12px 5px 0;
|
||||||
color: #333;
|
color: #333;
|
||||||
line-height: 24px;
|
line-height: 24px;
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
Loading…
Reference in New Issue
Block a user