43 lines
720 B
Plaintext
43 lines
720 B
Plaintext
<template>
|
|
<view class="pl-20 pr-20 pt-20" style="line-height: 1.6;">
|
|
<rich-text :nodes="text"></rich-text>
|
|
</view>
|
|
</template>
|
|
|
|
<script>
|
|
export default {
|
|
data() {
|
|
return {
|
|
type: 0,
|
|
text: ''
|
|
}
|
|
},
|
|
onLoad(e) {
|
|
this.type = e.type
|
|
let system = uni.getStorageSync('system')
|
|
if (this.type == 0) {
|
|
uni.setNavigationBarTitle({
|
|
title: '用户协议'
|
|
})
|
|
this.text = system[11]
|
|
} else if (this.type == 1) {
|
|
uni.setNavigationBarTitle({
|
|
title: '隐私政策'
|
|
})
|
|
this.text = system[9]
|
|
} else {
|
|
uni.setNavigationBarTitle({
|
|
title: '关于我们'
|
|
})
|
|
this.text = system[10]
|
|
}
|
|
},
|
|
methods: {
|
|
|
|
}
|
|
}
|
|
</script>
|
|
|
|
<style scoped lang="scss">
|
|
|
|
</style> |