12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
- <!-- -->
- <template>
- <div class="Big-Book-prev-Textdes" v-if="curQue">
- <div v-for="(item, index) in curQue.con" :key="item.con + index">
- <p v-if="item.annotation">{{ item.annotation }}</p>
- <el-input style="width: 600px" v-model="item.con"></el-input>
- </div>
- </div>
- </template>
- <script>
- export default {
- components: {},
- props: ["curQue"],
- data() {
- return {};
- },
- computed: {},
- watch: {},
- //方法集合
- methods: {},
- //生命周期 - 创建完成(可以访问当前this实例)
- created() {
- console.log(this.curQue);
- },
- //生命周期 - 挂载完成(可以访问DOM元素)
- mounted() {},
- beforeCreate() {}, //生命周期 - 创建之前
- beforeMount() {}, //生命周期 - 挂载之前
- beforeUpdate() {}, //生命周期 - 更新之前
- updated() {}, //生命周期 - 更新之后
- beforeDestroy() {}, //生命周期 - 销毁之前
- destroyed() {}, //生命周期 - 销毁完成
- activated() {}, //如果页面有keep-alive缓存功能,这个函数会触发
- };
- </script>
- <style lang='scss' scoped>
- //@import url(); 引入公共css类
- .Big-Book-prev-Textdes {
- > div {
- p {
- color: #000000;
- opacity: 0.4;
- }
- }
- }
- </style>
|