闫增涛
2024-05-15 2e664020f32a0eda87139bc1363fa34b7b5697ba
src/App.vue
@@ -1,28 +1,62 @@
<template>
  <div id="app">
    <childHealth v-if="config.activeBook.name == 'childHealth'"></childHealth>
    <book v-if="config.activeBook.name == 'content'"></book>
    <!-- <English v-if="activeBook == 'English'"></English> -->
  </div>
</template>
<script>
import childHealth from './books/childHealth/view/index.vue'
import childHealth from "./books/childHealth/view/index.vue";
import book from './books/content/index.vue'
// import English from './books/English/view/index.vue'
export default {
  name: 'App',
  name: "App",
  components: {
    childHealth,
    book
    // English
  }
}
};
</script>
<style lang="less">
  #app {
    max-width: 816px;
    min-width: 375px;
    margin: 0 auto;
    padding-bottom: 100px;
  }
html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
}
#app {
  width: 100%;
  height: 100%;
}
.highLight {
  border: 1px dashed rgba(255, 255, 255, 0);
  border-radius: 5px;
  padding: 3px;
  cursor: pointer;
}
.highLight:hover {
  border: 1px dashed #949494 !important;
}
.underline {
  border: 1px dashed rgba(255, 255, 255, 0);
  padding: 5px;
  border-radius: 5px;
  text-decoration: underline;
  text-decoration-style: wavy;
  text-underline-thickness: 2px;
  cursor: pointer;
}
.underline:hover {
  border: 1px dashed #949494 !important;
}
.notesline {
  padding-bottom: 2px;
  border-bottom: 2px solid;
}
</style>