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.

49 lines
874 B

3 years ago
<template>
3 years ago
<view class="wrap">
<view class="stabar"></view>
<view class="secbar"><label class="back" @click="back()"></label></view>
3 years ago
<view class="mainwrap2">
<view class="subwrap">
3 years ago
<view v-html="content"></view>
3 years ago
</view>
3 years ago
</view>
3 years ago
</view>
3 years ago
</template>
<script>
export default {
data() {
return {
content:"",
guid:""
3 years ago
};
},
onLoad(options) {
this.guid = options.guid;
this.getContent();
3 years ago
},
methods:{
async getContent() {
const {
data: res
} = await uni.$http.post('/small/project/message/getById',{guid:this.guid})
if (!res.success) return uni.$showMsg()
this.content = res.data.content
// uni.$showMsg('数据请求成功!')
},
3 years ago
back(){
uni.navigateBack({
delta:1,//返回层数,2则上上页
})
}
3 years ago
}
}
</script>
<style lang="scss">
3 years ago
@import url("@/static/base_css.css");
3 years ago
</style>