hejianhao
2025-04-16 dab2d210ca06c1faa514c6388fbd5de1ab355360
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<template>
  <div class="introduce-container" v-html="content"></div>
</template>
 
<script>
export default {
  data() {
    return {
      content: "",
    };
  },
  watch: {
    $route() {
      this.getProjectDetails();
    },
  },
  mounted(){
    this.getProjectDetails();
  },
  methods: {
    getProjectDetails() {
      this.$api.get("comActSocialProject/" + this.$route.query.id, {}, (e) => {
        this.content = e.content;
      });
    },
  },
};
</script>
<style scoped>
.introduce-container {
  margin: 0 0 20px 0;
}
</style>