From 13d502a211ac1fe818285f54d51e31d87dba80e5 Mon Sep 17 00:00:00 2001
From: unknown <qq1940665526@163.com>
Date: 星期四, 30 五月 2024 19:06:07 +0800
Subject: [PATCH] swdt

---
 /dev/null                              |   50 ----------------
 src/books/lifeCare/index.vue           |   58 +++++++++++--------
 src/books/lifeCare/view/chapter007.vue |   17 -----
 3 files changed, 35 insertions(+), 90 deletions(-)

diff --git a/src/books/lifeCare/components/carousel.vue b/src/books/lifeCare/components/carousel.vue
deleted file mode 100644
index fa838f4..0000000
--- a/src/books/lifeCare/components/carousel.vue
+++ /dev/null
@@ -1,28 +0,0 @@
-<template>
-  <div>
-    
-  </div>
-</template>
-<script>
-export default {
-  name: "carousel",
-  props: {
-    imgList: {
-      type: Array,
-      default: [],
-    },
-    settingHeight: {
-      type: String,
-      default: "",
-    },
-  },
-  data() {
-    return {
-      srcList: [],
-    };
-  },
-  created() {
-    this.srcList = this.imgList?.map((item) => item.url);
-  },
-};
-</script>
diff --git a/src/books/lifeCare/components/chapter01/table-1-1-1.vue b/src/books/lifeCare/components/chapter01/table-1-1-1.vue
deleted file mode 100644
index 18c3e73..0000000
--- a/src/books/lifeCare/components/chapter01/table-1-1-1.vue
+++ /dev/null
@@ -1,85 +0,0 @@
-<template>
-  <table class="table112">
-    <thead>
-      <tr>
-        <th>鏃堕棿</th>
-        <th>淇濊偛鏈烘瀯鐨勫悕绉�</th>
-        <th>鐗圭偣</th>
-      </tr>
-    </thead>
-    <tbody>
-      <tr>
-        <td>1949骞�</td>
-        <td>
-          <input v-model="table112.tbText1" @blur="onBlurChangeTable('tbText1')" />
-        </td>
-        <td>
-          <input v-model="table112.tbText2" @blur="onBlurChangeTable('tbText2')" />
-        </td>
-      </tr>
-      <tr>
-        <td>1949-1980骞�</td>
-        <td>
-          <input v-model="table112.tbText3" @blur="onBlurChangeTable('tbText3')" />
-        </td>
-        <td>
-          <input v-model="table112.tbText4" @blur="onBlurChangeTable('tbText4')" />
-        </td>
-      </tr>
-      <tr>
-        <td>1980-1990骞�</td>
-        <td>
-          <input v-model="table112.tbText5" @blur="onBlurChangeTable('tbText5')" />
-        </td>
-        <td>
-          <input v-model="table112.tbText6" @blur="onBlurChangeTable('tbText6')" />
-        </td>
-      </tr>
-      <tr>
-        <td>1990-2000骞�</td>
-        <td>
-          <input v-model="table112.tbText7" @blur="onBlurChangeTable('tbText7')" />
-        </td>
-        <td>
-          <input v-model="table112.tbText8" @blur="onBlurChangeTable('tbText8')" />
-        </td>
-      </tr>
-      <tr>
-        <td>2000骞磋嚦浠�</td>
-        <td>
-          <input v-model="table112.tbText9" @blur="onBlurChangeTable('tbText9')" />
-        </td>
-        <td>
-          <input v-model="table112.tbText10" @blur="onBlurChangeTable('tbText10')" />
-        </td>
-      </tr>
-    </tbody>
-  </table>
-</template>
-
-<script>
-export default {
-  data() {
-    return {
-      table112: {
-        tbText1: localStorage['tbText1'],
-        tbText2: localStorage['tbText2'],
-        tbText3: localStorage['tbText3'],
-        tbText4: localStorage['tbText4'],
-        tbText5: localStorage['tbText5'],
-        tbText6: localStorage['tbText6'],
-        tbText7: localStorage['tbText7'],
-        tbText8: localStorage['tbText8'],
-        tbText9: localStorage['tbText9'],
-        tbText10: localStorage['tbText10'],
-      },
-    };
-  },
-  methods: {
-    onBlurChangeTable(val) {
-      console.log(val)
-      localStorage.setItem(val, this.table112[val]);
-    },
-  },
-};
-</script>
diff --git a/src/books/lifeCare/components/chapter01/table-1-1-2.vue b/src/books/lifeCare/components/chapter01/table-1-1-2.vue
deleted file mode 100644
index d29a608..0000000
--- a/src/books/lifeCare/components/chapter01/table-1-1-2.vue
+++ /dev/null
@@ -1,245 +0,0 @@
-<template>
-  <div class="chapter01Table">
-    <table class="table112">
-      <thead>
-        <tr>
-          <th colspan="2">0-1宀佹棩鎵樼彮</th>
-          <th colspan="2">1-2宀佹棩鎵樼彮</th>
-          <th colspan="2">2-3宀佹棩鎵樼彮</th>
-        </tr>
-        <tr>
-          <th>鏃堕棿</th>
-          <th>鍐呭</th>
-          <th>鏃堕棿</th>
-          <th>鍐呭</th>
-          <th>鏃堕棿</th>
-          <th>鍐呭</th>
-        </tr>
-      </thead>
-      <tbody>
-        <tr>
-          <td><input v-model="chapter001.table112.cell1" @blur="onBlurChangeTable112('cell1')" /></td>
-          <td><input v-model="chapter001.table112.cell2" @blur="onBlurChangeTable112('cell2')" /></td>
-          <td><input v-model="chapter001.table112.cell3" @blur="onBlurChangeTable112('cell3')" /></td>
-          <td><input v-model="chapter001.table112.cell4" @blur="onBlurChangeTable112('cell4')" /></td>
-          <td><input v-model="chapter001.table112.cell5" @blur="onBlurChangeTable112('cell5')" /></td>
-          <td><input v-model="chapter001.table112.cell6" @blur="onBlurChangeTable112('cell6')" /></td>
-        </tr>
-        <tr>
-          <td><input v-model="chapter001.table112.cell7"  @blur="onBlurChangeTable112('cell7')" /></td>
-          <td><input v-model="chapter001.table112.cell8"  @blur="onBlurChangeTable112('cell8')" /></td>
-          <td><input v-model="chapter001.table112.cell9"  @blur="onBlurChangeTable112('cell9')" /></td>
-          <td><input v-model="chapter001.table112.cell10" @blur="onBlurChangeTable112('cell10')"  /></td>
-          <td><input v-model="chapter001.table112.cell11" @blur="onBlurChangeTable112('cell11')"  /></td>
-          <td><input v-model="chapter001.table112.cell12" @blur="onBlurChangeTable112('cell12')"  /></td>
-        </tr>
-        <tr>
-          <td><input v-model="chapter001.table112.cell13" @blur="onBlurChangeTable112('cell13')" /></td>
-          <td><input v-model="chapter001.table112.cell14" @blur="onBlurChangeTable112('cell14')" /></td>
-          <td><input v-model="chapter001.table112.cell15" @blur="onBlurChangeTable112('cell15')" /></td>
-          <td><input v-model="chapter001.table112.cell16" @blur="onBlurChangeTable112('cell16')" /></td>
-          <td><input v-model="chapter001.table112.cell17" @blur="onBlurChangeTable112('cell17')" /></td>
-          <td><input v-model="chapter001.table112.cell18" @blur="onBlurChangeTable112('cell18')" /></td>
-        </tr>
-        <tr>
-          <td><input v-model="chapter001.table112.cell19" @blur="onBlurChangeTable112('cell19')" /></td>
-          <td><input v-model="chapter001.table112.cell20" @blur="onBlurChangeTable112('cell20')" /></td>
-          <td><input v-model="chapter001.table112.cell21" @blur="onBlurChangeTable112('cell21')" /></td>
-          <td><input v-model="chapter001.table112.cell22" @blur="onBlurChangeTable112('cell22')" /></td>
-          <td><input v-model="chapter001.table112.cell23" @blur="onBlurChangeTable112('cell23')" /></td>
-          <td><input v-model="chapter001.table112.cell24" @blur="onBlurChangeTable112('cell24')" /></td>
-        </tr>
-        <tr>
-          <td><input v-model="chapter001.table112.cell25" @blur="onBlurChangeTable112('cell25')" /></td>
-          <td><input v-model="chapter001.table112.cell26" @blur="onBlurChangeTable112('cell26')" /></td>
-          <td><input v-model="chapter001.table112.cell27" @blur="onBlurChangeTable112('cell27')" /></td>
-          <td><input v-model="chapter001.table112.cell28" @blur="onBlurChangeTable112('cell28')" /></td>
-          <td><input v-model="chapter001.table112.cell29" @blur="onBlurChangeTable112('cell29')" /></td>
-          <td><input v-model="chapter001.table112.cell30" @blur="onBlurChangeTable112('cell30')" /></td>
-        </tr>
-        <tr>
-          <td><input v-model="chapter001.table112.cell31" @blur="onBlurChangeTable112('cell31')" /></td>
-          <td><input v-model="chapter001.table112.cell32" @blur="onBlurChangeTable112('cell32')" /></td>
-          <td><input v-model="chapter001.table112.cell33" @blur="onBlurChangeTable112('cell33')" /></td>
-          <td><input v-model="chapter001.table112.cell34" @blur="onBlurChangeTable112('cell34')" /></td>
-          <td><input v-model="chapter001.table112.cell35" @blur="onBlurChangeTable112('cell35')" /></td>
-          <td><input v-model="chapter001.table112.cell36" @blur="onBlurChangeTable112('cell36')" /></td>
-        </tr>
-        <tr>
-          <td><input v-model="chapter001.table112.cell37" @blur="onBlurChangeTable112('cell37')" /></td>
-          <td><input v-model="chapter001.table112.cell38" @blur="onBlurChangeTable112('cell38')" /></td>
-          <td><input v-model="chapter001.table112.cell39" @blur="onBlurChangeTable112('cell39')" /></td>
-          <td><input v-model="chapter001.table112.cell40" @blur="onBlurChangeTable112('cell40')" /></td>
-          <td><input v-model="chapter001.table112.cell41" @blur="onBlurChangeTable112('cell41')" /></td>
-          <td><input v-model="chapter001.table112.cell42" @blur="onBlurChangeTable112('cell42')" /></td>
-        </tr>
-        <tr>
-          <td><input v-model="chapter001.table112.cell43" @blur="onBlurChangeTable112('cell43')" /></td>
-          <td><input v-model="chapter001.table112.cell44" @blur="onBlurChangeTable112('cell44')" /></td>
-          <td><input v-model="chapter001.table112.cell45" @blur="onBlurChangeTable112('cell45')" /></td>
-          <td><input v-model="chapter001.table112.cell46" @blur="onBlurChangeTable112('cell46')" /></td>
-          <td><input v-model="chapter001.table112.cell47" @blur="onBlurChangeTable112('cell47')" /></td>
-          <td><input v-model="chapter001.table112.cell48" @blur="onBlurChangeTable112('cell48')" /></td>
-        </tr>
-        <tr>
-          <td><input v-model="chapter001.table112.cell49" @blur="onBlurChangeTable112('cell49')" /></td>
-          <td><input v-model="chapter001.table112.cell50" @blur="onBlurChangeTable112('cell50')" /></td>
-          <td><input v-model="chapter001.table112.cell51" @blur="onBlurChangeTable112('cell51')" /></td>
-          <td><input v-model="chapter001.table112.cell52" @blur="onBlurChangeTable112('cell52')" /></td>
-          <td><input v-model="chapter001.table112.cell53" @blur="onBlurChangeTable112('cell53')" /></td>
-          <td><input v-model="chapter001.table112.cell54" @blur="onBlurChangeTable112('cell54')" /></td>
-        </tr>
-        <tr>
-          <td><input v-model="chapter001.table112.cell55" @blur="onBlurChangeTable112('cell55')" /></td>
-          <td><input v-model="chapter001.table112.cell56" @blur="onBlurChangeTable112('cell56')" /></td>
-          <td><input v-model="chapter001.table112.cell57" @blur="onBlurChangeTable112('cell57')" /></td>
-          <td><input v-model="chapter001.table112.cell58" @blur="onBlurChangeTable112('cell58')" /></td>
-          <td><input v-model="chapter001.table112.cell58" @blur="onBlurChangeTable112('cell58')" /></td>
-          <td><input v-model="chapter001.table112.cell60" @blur="onBlurChangeTable112('cell60')" /></td>
-        </tr>
-        <tr>
-          <td><input v-model="chapter001.table112.cell61" @blur="onBlurChangeTable112('cell61')" /></td>
-          <td><input v-model="chapter001.table112.cell62" @blur="onBlurChangeTable112('cell62')" /></td>
-          <td><input v-model="chapter001.table112.cell63" @blur="onBlurChangeTable112('cell63')" /></td>
-          <td><input v-model="chapter001.table112.cell64" @blur="onBlurChangeTable112('cell64')" /></td>
-          <td><input v-model="chapter001.table112.cell65" @blur="onBlurChangeTable112('cell65')" /></td>
-          <td><input v-model="chapter001.table112.cell66" @blur="onBlurChangeTable112('cell66')" /></td>
-        </tr>
-        <tr>
-          <td><input v-model="chapter001.table112.cell67" @blur="onBlurChangeTable112('cell67')" /></td>
-          <td><input v-model="chapter001.table112.cell68" @blur="onBlurChangeTable112('cell68')" /></td>
-          <td><input v-model="chapter001.table112.cell69" @blur="onBlurChangeTable112('cell69')" /></td>
-          <td><input v-model="chapter001.table112.cell70" @blur="onBlurChangeTable112('cell70')" /></td>
-          <td><input v-model="chapter001.table112.cell72" @blur="onBlurChangeTable112('cell72')" /></td>
-          <td><input v-model="chapter001.table112.cell73" @blur="onBlurChangeTable112('cell73')" /></td>
-        </tr>
-        <tr>
-          <td><input v-model="chapter001.table112.cell74" @blur="onBlurChangeTable112('cell74')" /></td>
-          <td><input v-model="chapter001.table112.cell75" @blur="onBlurChangeTable112('cell75')" /></td>
-          <td><input v-model="chapter001.table112.cell76" @blur="onBlurChangeTable112('cell76')" /></td>
-          <td><input v-model="chapter001.table112.cell77" @blur="onBlurChangeTable112('cell77')" /></td>
-          <td><input v-model="chapter001.table112.cell78" @blur="onBlurChangeTable112('cell78')" /></td>
-          <td><input v-model="chapter001.table112.cell79" @blur="onBlurChangeTable112('cell79')" /></td>
-        </tr>
-        <tr>
-          <td><input v-model="chapter001.table112.cell80" @blur="onBlurChangeTable112('cell80')" /></td>
-          <td><input v-model="chapter001.table112.cell81" @blur="onBlurChangeTable112('cell81')" /></td>
-          <td><input v-model="chapter001.table112.cell82" @blur="onBlurChangeTable112('cell82')" /></td>
-          <td><input v-model="chapter001.table112.cell83" @blur="onBlurChangeTable112('cell83')" /></td>
-          <td><input v-model="chapter001.table112.cell84" @blur="onBlurChangeTable112('cell84')" /></td>
-          <td><input v-model="chapter001.table112.cell85" @blur="onBlurChangeTable112('cell85')" /></td>
-        </tr>
-      </tbody>
-    </table>
-    <textarea
-      class="textareaInput"
-      placeholder="鎮ㄧ殑璇勪环:"
-      :rows="8"
-      v-model="textareaVal"
-      :maxlength="300"
-    ></textarea>
-  </div>
-</template>
-
-<script>
-export default {
-  data() {
-    return {
-      chapter001: {
-        table112: {
-          cell1: "",
-          cell2: "",
-          cell3: "",
-          cell4: "",
-          cell5: "",
-          cell6: "",
-          cell7: "",
-          cell8: "",
-          cell9: "",
-          cell10: "",
-          cell11: "",
-          cell12: "",
-          cell13: "",
-          cell14: "",
-          cell15: "",
-          cell16: "",
-          cell17: "",
-          cell18: "",
-          cell19: "",
-          cell20: "",
-          cell21: "",
-          cell22: "",
-          cell23: "",
-          cell24: "",
-          cell25: "",
-          cell26: "",
-          cell27: "",
-          cell28: "",
-          cell29: "",
-          cell30: "",
-          cell31: "",
-          cell32: "",
-          cell33: "",
-          cell34: "",
-          cell35: "",
-          cell36: "",
-          cell37: "",
-          cell38: "",
-          cell39: "",
-          cell40: "",
-          cell41: "",
-          cell42: "",
-          cell43: "",
-          cell44: "",
-          cell45: "",
-          cell46: "",
-          cell47: "",
-          cell48: "",
-          cell49: "",
-          cell50: "",
-          cell51: "",
-          cell52: "",
-          cell53: "",
-          cell54: "",
-          cell55: "",
-          cell56: "",
-          cell57: "",
-          cell58: "",
-          cell58: "",
-          cell60: "",
-          cell61: "",
-          cell62: "",
-          cell63: "",
-          cell64: "",
-          cell65: "",
-          cell66: "",
-          cell67: "",
-          cell68: "",
-          cell69: "",
-          cell70: "",
-          cell72: "",
-          cell73: "",
-          cell74: "",
-          cell75: "",
-          cell76: "",
-          cell77: "",
-          cell78: "",
-          cell79: "",
-          cell80: "",
-          cell81: "",
-          cell82: "",
-          cell83: "",
-          cell84: "",
-          cell85: "",
-        },
-        textareaVal: "",
-      },
-    };
-  },
-  methods: {
-    onBlurChange(row) {
-      console.log("Edited row:", row);
-    },
-  },
-};
-</script>
diff --git a/src/books/lifeCare/components/chapter01/table-1-1-3.vue b/src/books/lifeCare/components/chapter01/table-1-1-3.vue
deleted file mode 100644
index 3640475..0000000
--- a/src/books/lifeCare/components/chapter01/table-1-1-3.vue
+++ /dev/null
@@ -1,148 +0,0 @@
-<template>
-  <div style="margin-bottom: 40px">
-    <table class="table112 table113">
-      <thead>
-        <tr>
-          <th>鐜妭鍚嶇О</th>
-          <th>淇濊偛瑕佹眰</th>
-          <th>鍏蜂綋鍐呭</th>
-        </tr>
-      </thead>
-      <tbody>
-        <tr>
-          <td>
-            <input
-              v-model="chapter001.table113.name1"
-              @blur="onBlurChangeTable113('name1')"
-            />
-          </td>
-          <td>
-            <input
-              v-model="chapter001.table113.demand1"
-              @blur="onBlurChangeTable113('demand1')"
-            />
-          </td>
-          <td>
-            <input
-              v-model="chapter001.table113.content1"
-              @blur="onBlurChangeTable113('content1')"
-            />
-          </td>
-        </tr>
-        <tr>
-          <td>
-            <input
-              v-model="chapter001.table113.name2"
-              @blur="onBlurChangeTable113('name2')"
-            />
-          </td>
-          <td>
-            <input
-              v-model="chapter001.table113.demand2"
-              @blur="onBlurChangeTable113('demand2')"
-            />
-          </td>
-          <td>
-            <input
-              v-model="chapter001.table113.content2"
-              @blur="onBlurChangeTable113('content2')"
-            />
-          </td>
-        </tr>
-        <tr>
-          <td>
-            <input
-              v-model="chapter001.table113.name3"
-              @blur="onBlurChangeTable113('name3')"
-            />
-          </td>
-          <td>
-            <input
-              v-model="chapter001.table113.demand3"
-              @blur="onBlurChangeTable113('demand3')"
-            />
-          </td>
-          <td>
-            <input
-              v-model="chapter001.table113.content3"
-              @blur="onBlurChangeTable113('content3')"
-            />
-          </td>
-        </tr>
-        <tr>
-          <td>
-            <input
-              v-model="chapter001.table113.name4"
-              @blur="onBlurChangeTable113('name4')"
-            />
-          </td>
-          <td>
-            <input
-              v-model="chapter001.table113.demand4"
-              @blur="onBlurChangeTable113('demand4')"
-            />
-          </td>
-          <td>
-            <input
-              v-model="chapter001.table113.content4"
-              @blur="onBlurChangeTable113('content4')"
-            />
-          </td>
-        </tr>
-        <tr>
-          <td>
-            <input
-              v-model="chapter001.table113.name5"
-              @blur="onBlurChangeTable113('name5')"
-            />
-          </td>
-          <td>
-            <input
-              v-model="chapter001.table113.demand5"
-              @blur="onBlurChangeTable113('demand5')"
-            />
-          </td>
-          <td>
-            <input
-              v-model="chapter001.table113.content5"
-              @blur="onBlurChangeTable113('content5')"
-            />
-          </td>
-        </tr>
-      </tbody>
-    </table>
-  </div>
-</template>
-
-<script>
-export default {
-  data() {
-    return {
-      chapter001: {
-        table113: {
-          name1: "",
-          name2: "",
-          name3: "",
-          name4: "",
-          name5: "",
-          demand1: "",
-          demand2: "",
-          demand3: "",
-          demand4: "",
-          demand5: "",
-          content1: "",
-          content2: "",
-          content3: "",
-          content4: "",
-          content5: "",
-        },
-      },
-    };
-  },
-  methods: {
-    onBlurChange(row) {
-      console.log("Edited row:", row);
-    },
-  },
-};
-</script>
diff --git a/src/books/lifeCare/components/customTable.vue b/src/books/lifeCare/components/customTable.vue
deleted file mode 100644
index 067d416..0000000
--- a/src/books/lifeCare/components/customTable.vue
+++ /dev/null
@@ -1,108 +0,0 @@
-<template>
-  <table>
-    <thead>
-      <tr>
-        <th class="time">鏃堕棿</th>
-        <th class="name">淇濊偛鏈烘瀯鍚嶇О</th>
-        <th class="special">鐗圭偣</th>
-      </tr>
-    </thead>
-    <tbody>
-      <tr>
-        <td>1949骞翠互鍓�</td>
-        <td><input class="inputItem" type="text" /></td>
-        <td><input class="inputItem" type="text" /></td>
-      </tr>
-      <tr>
-        <td>1949-1980骞�</td>
-        <td><input class="inputItem" type="text" /></td>
-        <td><input class="inputItem" type="text" /></td>
-      </tr>
-      <tr>
-        <td>1980-1990骞�</td>
-        <td><input class="inputItem" type="text" /></td>
-        <td><input class="inputItem" type="text" /></td>
-      </tr>
-      <tr>
-        <td>1990-2000骞�</td>
-        <td><input class="inputItem" type="text" /></td>
-        <td><input class="inputItem" type="text" /></td>
-      </tr>
-      <tr>
-        <td>2000骞�</td>
-        <td><input class="inputItem" type="text" /></td>
-        <td><input class="inputItem" type="text" /></td>
-      </tr>
-    </tbody>
-  </table>
-</template>
-
-<script>
-export default {
-  data() {
-    return {
-      tableData: [
-        { name: "John", age: 30, address: "New York" },
-        { name: "Jane", age: 25, address: "Los Angeles" },
-        { name: "Doe", age: 40, address: "Chicago" },
-      ],
-      editIndex: -1,
-      editedRow: {},
-    };
-  },
-  methods: {
-    handleRowClick(row, event, column) {
-      if (this.editIndex === column) {
-        // 濡傛灉鐐瑰嚮鐨勬槸宸茬粡缂栬緫鐨勮锛屽垯涓嶅仛浠讳綍鎿嶄綔
-        return;
-      }
-      this.editIndex = column;
-      // 鍏嬮殕褰撳墠琛岀殑鏁版嵁锛屼互渚跨紪杈戞椂鍙互鍙栨秷淇敼
-      this.editedRow = { ...row };
-    },
-    handleEdit(index, row) {
-      // 缂栬緫鎸夐挳鐐瑰嚮浜嬩欢
-      this.editIndex = index;
-      this.editedRow = { ...row };
-    },
-    handleSave(index) {
-      // 淇濆瓨缂栬緫鍐呭
-      this.tableData[index] = { ...this.editedRow };
-      this.editIndex = -1;
-    },
-    handleCancel() {
-      // 鍙栨秷缂栬緫
-      this.editIndex = -1;
-    },
-  },
-};
-</script>
-<style scoped>
-table {
-  border-collapse: collapse;
-  width: 100%;
-}
-
-.time {
-  width: 150px;
-}
-
-th,
-td {
-  border: 1px solid #ddd;
-  padding: 5px;
-  text-align: center;
-  box-sizing: border-box;
-}
-
-.inputItem {
-  width: 90%;
-  height: 32px;
-  border: 0;
-  font-size: 18px;
-}
-
-th {
-  background-color: #f49a4c;
-}
-</style>
diff --git a/src/books/lifeCare/components/header.vue b/src/books/lifeCare/components/header.vue
deleted file mode 100644
index 5195891..0000000
--- a/src/books/lifeCare/components/header.vue
+++ /dev/null
@@ -1,50 +0,0 @@
-<template>
-  <div class="header">
-    <div v-if="num == 1" class="pageHeader-first">
-      <div class="header-bj"></div>
-      <div class="content">
-        <div class="pageStr">{{ pageStr }}</div>
-        <div class="title">
-          <img src="../image/chapter.png" alt="" />
-          <span class="cahpter">{{ chapter }}</span>
-        </div>
-      </div>
-    </div>
-    <div v-if="num == 2" class="pageHeader-second">
-      <div class="second-con">
-        <div class="second-left"></div>
-        <div class="second-right">
-          <img src="../image/pageImg.png" alt="" />
-          <span class="pageStr">{{ chapter }}</span>
-          <span class="pageNum">{{ pageStr }}</span>
-        </div>
-      </div>
-      <div class="borderLine"></div>
-    </div>
-  </div>
-</template>
-<script>
-export default {
-  name: "pageheader",
-  props: {
-    num: {
-      type: Number,
-      default: 1,
-    },
-    chapter: {
-      type: String,
-      default: "",
-    },
-    pageStr: {
-      type: String,
-      default: "",
-    },
-  },
-  data() {
-    return {};
-  },
-};
-</script>
-<style scoped lang="less">
-
-</style>
diff --git a/src/books/lifeCare/index.vue b/src/books/lifeCare/index.vue
index 1981346..5571fec 100644
--- a/src/books/lifeCare/index.vue
+++ b/src/books/lifeCare/index.vue
@@ -47,6 +47,7 @@
         v-if="showCatalogList.indexOf(8) > -1"
         :showPageList="loadPageList"
         :questionData="questionData"
+        @eventSwdt="swdtChange"
       />
       <chapterEight
         v-if="showCatalogList.indexOf(9) > -1"
@@ -139,7 +140,7 @@
       loadPageObserver: null,
       loadPageList: [],
       questionData: {},
-      renderSignMap: {}
+      renderSignMap: {},
     };
   },
   computed: {
@@ -172,7 +173,7 @@
           this.initObservation();
           this.initThemeColor();
         }, 500);
-      }
+      },
     },
     loadPageList: {
       handler(newVal, oldVal) {
@@ -181,12 +182,12 @@
           this.initSwiper();
           this.initViewer();
         }, 200);
-      }
-    }
+      },
+    },
   },
   mounted() {
     // 榛樿鍔犺浇绔犺妭
-    this.showCatalogList = [4];
+    this.showCatalogList = [8];
     // 婊氬姩鐩戝惉鑺傛祦
     this.throttledScrollHandler = _.throttle(
       this.scrollFun,
@@ -233,21 +234,21 @@
 
     // 娴嬭瘯椤甸潰璺宠浆
     // setTimeout(() => {
-      // this.gotoPage(1, 15);
-      //   setTimeout(() => {
-      //     this.renderSign("Note", {
-      //       id: "2ACA9359",
-      //       txt: "钀ュ吇绱犲拰鐑噺锛屾墠鑳�",
-      //       page: "100",
-      //       type: "Highlight",
-      //       color: "#F5E12A"
-      //     });
-      //     setTimeout(() => {
-      //       this.delSign({
-      //         ids: ["2ACA9359"]
-      //       });
-      //     }, 2000);
-      //   }, 1000);
+    // this.gotoPage(1, 15);
+    //   setTimeout(() => {
+    //     this.renderSign("Note", {
+    //       id: "2ACA9359",
+    //       txt: "钀ュ吇绱犲拰鐑噺锛屾墠鑳�",
+    //       page: "100",
+    //       type: "Highlight",
+    //       color: "#F5E12A"
+    //     });
+    //     setTimeout(() => {
+    //       this.delSign({
+    //         ids: ["2ACA9359"]
+    //       });
+    //     }, 2000);
+    //   }, 1000);
     // }, 1000);
   },
   methods: {
@@ -306,7 +307,7 @@
           this.showCatalogList = [
             this.catalogLength - 2,
             this.catalogLength - 1,
-            this.catalogLength
+            this.catalogLength,
           ];
         } else {
           this.showCatalogList = [catalog - 1, catalog, catalog + 1];
@@ -554,7 +555,7 @@
             this.$store.state.qiankun.pageChange({
               page: page,
               catalog: catalog,
-              text
+              text,
             });
           // const sections = Array.from(document.querySelectorAll(".section"));
           //sections锛氳幏鍙栨墍鏈夊叿鏈� .section 绫诲悕鐨勫厓绱狅紝骞惰浆鎹负鏁扮粍銆�
@@ -626,7 +627,7 @@
           autoplay: {
             //鑷姩寮�濮�
             delay: 3000, //鏃堕棿闂撮殧
-            disableOnInteraction: false //*鎵嬪姩鎿嶄綔杞挱鍥惧悗涓嶄細鏆傚仠*
+            disableOnInteraction: false, //*鎵嬪姩鎿嶄綔杞挱鍥惧悗涓嶄細鏆傚仠*
           },
           paginationClickable: true,
           slidesPerView: 1, // 涓�缁勪笁涓�
@@ -634,7 +635,7 @@
           // 濡傛灉闇�瑕佸墠杩涘悗閫�鎸夐挳
           navigation: {
             nextEl: ".swiper-button-next",
-            prevEl: ".swiper-button-prev"
+            prevEl: ".swiper-button-prev",
           },
           // 绐楀彛鍙樺寲,閲嶆柊init,閽堝F11鍏ㄥ睆鍜屾斁澶х缉灏�,蹇呴』鍔�
           observer: true,
@@ -656,7 +657,7 @@
         new Viewer(dom, {
           navbar: true, // 鏄剧ず瀵艰埅鏍�
           toolbar: true, // 鏄剧ず宸ュ叿鏍�
-          title: true // 鏄剧ず鏍囬
+          title: true, // 鏄剧ず鏍囬
         });
       }
     },
@@ -711,6 +712,13 @@
         }
       }
     },
+    swdtChange(data) {
+      if (this.$store.state.qiankun && this.$store.state.qiankun.chooseWords) {
+        this.$store.state.qiankun.chooseWords({
+          type: data,
+        });
+      }
+    },
   },
   components: {
     front001,
diff --git a/src/books/lifeCare/view/chapter007.vue b/src/books/lifeCare/view/chapter007.vue
index 335d64d..d3d6ecb 100644
--- a/src/books/lifeCare/view/chapter007.vue
+++ b/src/books/lifeCare/view/chapter007.vue
@@ -1367,19 +1367,6 @@
             />
           </p>
           <div class="bk-tx" style="min-height: 200px">
-            <div class="bk-iframe" v-if="chapter007.isShowSwdt">
-              <div class="header-swdt">
-                <p>鎬濈淮瀵煎浘</p>
-                <i class="el-icon-close" @click="showSwdt"></i>
-              </div>
-              <iframe
-                width="100%"
-                height="600px"
-                frameborder="0"
-                scrolling="no"
-                src="https://www.iodraw.com/mind"
-              ></iframe>
-            </div>
             <div
               class="bk-inputUpload"
               v-if="chapter007.pictrueList.length == 0"
@@ -2854,7 +2841,7 @@
       localStorage.setItem("chapter007", JSON.stringify(this.chapter007));
     },
     showSwdt() {
-      this.chapter007.isShowSwdt = !this.chapter007.isShowSwdt;
+      this.$emit('eventSwdt','swdt')
     },
     handUploadFile(e, type) {
       var that = this;
@@ -2893,7 +2880,7 @@
         });
     },
     handFile(str) {
-      let dom = document.getElementById(str);
+      let dom = (document).getElementById(str);
       dom.click();
     },
   },

--
Gitblit v1.9.1