盐都小程序
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.
 
 
 
 
 

47 lines
725 B

<template>
<view class="bg">
<view class="content" v-html="formateRichText(detail.rule_content)"></view>
</view>
</template>
<script>
export default {
data() {
return {
detail: {}
}
},
onLoad(option) {
if(option.title) {
uni.setNavigationBarTitle({
title: option.title
});
}
this.Post({
id: option.id
},'/api/lottery_activity/getActivityById').then(res => {
this.detail = res.data
})
}
}
</script>
<style lang="scss" scoped>
.bg {
width: 750rpx;
min-height: 100vh;
}
.content {
width: 697rpx;
height: auto;
background: #FFFFFF;
border-radius: 13rpx;
margin: -28rpx auto 0;
padding: 48rpx 21rpx 98rpx;
position: relative;
}
</style>