征信小程序
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.

69 lines
1.3 KiB

3 months ago
<template>
<view class="article">
2 months ago
<!-- <view class="title" v-if="info.title">{{info.title}}</view>
<view class="time" v-if="info.title">{{info.created_at}}</view> -->
<view class="content" v-html="info"></view>
2 months ago
3 months ago
</view>
</template>
<script>
export default {
data() {
return {
type: "",
id: "",
info: {}
}
},
onLoad(options){
2 months ago
// 隐私协议 YSXY 用户协议 YHXY 关于我们 GYWM 协议规则 XYGZ 资质证明 ZZZM
this.type = options.type;
this.queryArticleList();
3 months ago
uni.setNavigationBarTitle({
2 months ago
title: options.type =='YSXY'?'隐私协议':
options.type =='YHXY'?'用户协议':
options.type =='GYWM'?'关于我们':
options.type =='XYGZ'?'协议规则':
options.type =='ZZZM'?'资质证明': ''
3 months ago
})
},
methods: {
//系统公告
2 months ago
async queryArticleList() {
2 months ago
const { code, data } = await this.$api.systembasicGetInfo({code: this.type})
if(code == 1){
this.info = data.content
3 months ago
}
},
}
}
</script>
<style lang="scss" scoped>
.article{
padding: 20rpx;
overflow: hidden;
.title{
font-size: 36rpx;
text-align: center;
padding: 30rpx 0;
color: #212121;
}
.time{
font-size: 24rpx;
color: #999999;
}
.content{
padding: 30rpx 0;
font-size: 26rpx;
color: #212121;
line-height: 48rpx;
text-align: left;
}
.p{
padding: 200rpx 0 50rpx;
}
}
</style>