连云港陪玩陪聊
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.
chunwan/pages/xiaoxi/detail.vue

37 lines
703 B

2 months ago
<template>
1 month ago
<view class="content" v-html="content">
2 months ago
</view>
</template>
<script>
export default {
data() {
return {
1 month ago
content: ""
2 months ago
};
1 month ago
},
onLoad() {
this.content=uni.getStorageSync("pcontent").noticeContent.replace(/style=""/g, '')
.replace(/<img " src=/g, '<img src=')
.replace(/<img src=/g, '<img style="width: 100%; height:100%; display:block" src=');
uni.setNavigationBarTitle({
title: uni.getStorageSync("pcontent").noticeTitle
})
},
destroyed() {
uni.removeStorageSync("pcontent")
2 months ago
}
}
</script>
1 month ago
<style scoped lang="scss">
.content{
padding: 25rpx;
overflow: hidden;
font-size: 28rpx;
color: #333;
}
2 months ago
</style>
1 month ago