NewWordShow.vue 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. <!-- -->
  2. <template>
  3. <div class="Big-Book-prev-Textdes NewWordShow" v-if="curQue">
  4. </div>
  5. </template>
  6. <script>
  7. export default {
  8. components: {},
  9. props: ["curQue"],
  10. data() {
  11. return {
  12. };
  13. },
  14. computed: {},
  15. watch: {},
  16. //方法集合
  17. methods: {
  18. // 处理数据
  19. handleData(){
  20. let _this = this
  21. },
  22. },
  23. //生命周期 - 创建完成(可以访问当前this实例)
  24. created() {
  25. },
  26. //生命周期 - 挂载完成(可以访问DOM元素)
  27. mounted() {},
  28. beforeCreate() {}, //生命周期 - 创建之前
  29. beforeMount() {}, //生命周期 - 挂载之前
  30. beforeUpdate() {}, //生命周期 - 更新之前
  31. updated() {}, //生命周期 - 更新之后
  32. beforeDestroy() {}, //生命周期 - 销毁之前
  33. destroyed() {}, //生命周期 - 销毁完成
  34. activated() {}, //如果页面有keep-alive缓存功能,这个函数会触发
  35. };
  36. </script>
  37. <style lang='scss' scoped>
  38. //@import url(); 引入公共css类
  39. .NewWordShow{
  40. width: 100%;
  41. padding: 8px 24px;
  42. background: #F7F7F7;
  43. border: 1px solid rgba(0, 0, 0, 0.1);
  44. border-radius: 8px;
  45. }
  46. </style>