闫增涛
2024-10-25 d6cc07d3e9c19a4f97f770581bc85ee3550a22ba
src/books/mathBook/view/components/chapter001.vue
@@ -139,9 +139,9 @@
          <li>上册</li>
        </ul>
        <div class="padding-116">
          <p class="fl" >
          <p class="fl">
            <span class="zt-ls2">例</span>
            <span class="t-" >下列对象能否组成集合?</span>
            <span class="t-">下列对象能否组成集合?</span>
            <span class="btn-box" @click="openDialog(thinkTwo)">
              <svg xmlns="http://www.w3.org/2000/svg" width="16.545" height="18.112" viewBox="0 0 20.545 22.112">
                <path class="a"
@@ -226,15 +226,15 @@
                <img class="img-gn2" alt="" src="../../assets/images/hzjl.jpg" />
              </p>
            </div>
            <examinations :cardList="questionData[11] ? questionData[11][1] : []" :hideCollect="true" sourceType="json" inputBc="#d3edfa"
            v-if="questionData"></examinations>
            <examinations :cardList="questionData[11] ? questionData[11][1] : []" :hideCollect="true" sourceType="json"
              inputBc="#d3edfa" v-if="questionData"></examinations>
          </div>
          <p class="left">
            <img class="img-gn" alt="" src="../../assets/images/stlx.jpg" />
          </p>
          <div class="bj">
            <examinations :cardList="questionData[11] ? questionData[11][2] : []" :hideCollect="true" sourceType="json" inputBc="#d3edfa"
              v-if="questionData"></examinations>
            <examinations :cardList="questionData[11] ? questionData[11][2] : []" :hideCollect="true" sourceType="json"
              inputBc="#d3edfa" v-if="questionData"></examinations>
          </div>
        </div>
      </div>
@@ -440,7 +440,8 @@
            <img class="img-gn" alt="" src="../../assets/images/stlx.jpg" />
          </p>
          <div class="bj">
            <examinations :cardList="questionData[13]" :hideCollect="true" sourceType="json" inputBc="#d3edfa" v-if="questionData">
            <examinations :cardList="questionData[13]" :hideCollect="true" sourceType="json" inputBc="#d3edfa"
              v-if="questionData">
            </examinations>
          </div>
          <h3>1.1.3 集合的表示<span class="fontsz2">>>></span></h3>
@@ -698,20 +699,20 @@
                <img class="img-gn2" alt="" src="../../assets/images/hzjl.jpg" />
              </p>
            </div>
            <examinations :cardList="questionData[16] ? questionData[16][1] : []" :hideCollect="true" sourceType="json" inputBc="#d3edfa"
            v-if="questionData"></examinations>
            <examinations :cardList="questionData[16] ? questionData[16][1] : []" :hideCollect="true" sourceType="json"
              inputBc="#d3edfa" v-if="questionData"></examinations>
          </div>
          <p class="left">
            <img class="img-gn" alt="" src="../../assets/images/stlx.jpg" />
          </p>
          <div class="bj">
            <examinations :cardList="questionData[16] ? questionData[16][2] : []" :hideCollect="true" sourceType="json" inputBc="#d3edfa"
              v-if="questionData"></examinations>
            <examinations :cardList="questionData[16] ? questionData[16][2] : []" :hideCollect="true" sourceType="json"
              inputBc="#d3edfa" v-if="questionData"></examinations>
          </div>
          <h2 id="c031">习题1.1<span class="fontsz2"> >>></span></h2>
          <div class="bj">
            <examinations :cardList="questionData[16] ? questionData[16][3] : []" :hideCollect="true" sourceType="json" inputBc="#d3edfa"
              v-if="questionData"></examinations>
            <examinations :cardList="questionData[16] ? questionData[16][3] : []" :hideCollect="true" sourceType="json"
              inputBc="#d3edfa" v-if="questionData"></examinations>
          </div>
          <h2 id="c031">
            1.2 集合之间的关系<span class="fontsz2">>>></span>
@@ -727,8 +728,7 @@
      </div>
    </div>
    <!-- 010 -->
    <div class="page-box hidePage" page="17">
    </div>
    <div class="page-box hidePage" page="17"></div>
    <!-- 011 -->
    <div class="page-box" page="18">
      <div v-if="showPageList.indexOf(18) > -1">
@@ -862,14 +862,14 @@
                <img class="img-gn2" alt="" src="../../assets/images/hzjl.jpg" />
              </p>
            </div>
            <examinations :cardList="questionData[19][1]" :hideCollect="true" sourceType="json" inputBc="#d3edfa"
            v-if="questionData"></examinations>
            <examinations :cardList="questionData[19] ? questionData[19][1] : []" :hideCollect="true" sourceType="json" inputBc="#d3edfa"
              v-if="questionData"></examinations>
          </div>
          <p class="left">
            <img class="img-gn" alt="" src="../../assets/images/stlx.jpg" />
          </p>
          <div class="bj">
            <examinations :cardList="questionData[19][2]" :hideCollect="true" sourceType="json" inputBc="#d3edfa"
            <examinations :cardList="questionData[19] ? questionData[19][2] : []" :hideCollect="true" sourceType="json" inputBc="#d3edfa"
              v-if="questionData"></examinations>
          </div>
        </div>
@@ -1081,20 +1081,20 @@
                <img class="img-gn2" alt="" src="../../assets/images/hzjl.jpg" />
              </p>
            </div>
            <examinations :cardList="questionData[22] ? questionData[22][1] : []" :hideCollect="true" sourceType="json" inputBc="#d3edfa"
            v-if="questionData"></examinations>
            <examinations :cardList="questionData[22] ? questionData[22][1] : []" :hideCollect="true" sourceType="json"
              inputBc="#d3edfa" v-if="questionData"></examinations>
          </div>
          <p class="left">
            <img class="img-gn" alt="" src="../../assets/images/stlx.jpg" />
          </p>
          <div class="bj">
            <examinations :cardList="questionData[22] ? questionData[22][2] : []" :hideCollect="true" sourceType="json" inputBc="#d3edfa"
            v-if="questionData"></examinations>
            <examinations :cardList="questionData[22] ? questionData[22][2] : []" :hideCollect="true" sourceType="json"
              inputBc="#d3edfa" v-if="questionData"></examinations>
          </div>
          <h2 id="c031">习题1.2<span class="fontsz2"> >>></span></h2>
          <div class="bj">
            <examinations :cardList="questionData[22] ? questionData[22][3] : []" :hideCollect="true" sourceType="json" inputBc="#d3edfa"
              v-if="questionData"></examinations>
            <examinations :cardList="questionData[22] ? questionData[22][3] : []" :hideCollect="true" sourceType="json"
              inputBc="#d3edfa" v-if="questionData"></examinations>
          </div>
          <h2 id="c031">
            1.3 集合的运算<span class="fontsz2">>>>>>></span>
@@ -1126,8 +1126,7 @@
      </div>
    </div>
    <!-- 016 -->
    <div class="page-box hidePage" page="23">
    </div>
    <div class="page-box hidePage" page="23"></div>
    <!-- 017 -->
    <div class="page-box" page="24">
      <div v-if="showPageList.indexOf(24) > -1">
@@ -1160,11 +1159,9 @@
          <p>
            再如,集合M={1,2},集合P={1,2,3},集合Q={1,2,5,6},则集合M中的元素既是集合P中的元素,又是集合Q中的元素.集合M是集合P和集合Q中的所有公共元素组成的集合,如图1-10所示.
          </p>
          <p class="left">
            <img class="img-gn" alt="" src="../../assets/images/cxgk.jpg" />
          </p>
          <div class="img-rights openImgBox">
            <img class="img-c" alt="" src="../../assets/images/0028-3.jpg" />
            <p class="img" style="font-size: 14px">图1-11</p>
@@ -1174,7 +1171,6 @@
          </p>
          <p>C=A∩B={x|x∈A且x∈B}.</p>
          <p>图1-11中的涂色部分表示集合A与集合B的交集.</p>
          <ul>
            <li>
              <div>
@@ -1198,7 +1194,6 @@
              <div>
                <span class="zt-ls2">例2</span>设集合A={x|-1<x<7},B={x|-3<x≤3},求A∩B.
              </div>
              <span class="btn-box" @click="
                chapter001.isShowExample24 = !chapter001.isShowExample24
                ">
@@ -1208,7 +1203,6 @@
                    transform="translate(-3327.144 15329)" />
                </svg>
              </span>
              <span class="btn-box" @click="openDialog(thinkFour)">
                <svg xmlns="http://www.w3.org/2000/svg" width="16.545" height="18.112" viewBox="0 0 20.545 22.112">
                  <path class="a"
@@ -1217,13 +1211,7 @@
                </svg>
              </span>
            </li>
            <li v-if="chapter001.isShowExample24">
              <p>
                <span class="zt-ls2">解</span>在数轴上将集合A与B表示出来(如图1-12所示).
              </p>
            </li>
          </ul>
          <div class="bk">
            <div class="bj1">
              <p class="left">
@@ -1232,11 +1220,15 @@
            </div>
            <p class="block">交集</p>
          </div>
          <p>观察可知 A∩B={x|-1<x≤3}.</p>
          <div class="center openImgBox">
            <img class="img-f" alt="" src="../../assets/images/0028-4.jpg" />
            <p class="img" style="font-size: 14px">图1-12</p>
          <div v-if="chapter001.isShowExample24">
            <p>
              <span class="zt-ls2">解</span>在数轴上将集合A与B表示出来(如图1-12所示).
            </p>
            <p>观察可知 A∩B={x|-1<x≤3}.</p>
            <div class="center openImgBox">
              <img class="img-f" alt="" src="../../assets/images/0028-4.jpg" />
              <p class="img" style="font-size: 14px">图1-12</p>
            </div>
          </div>
        </div>
      </div>
@@ -1253,7 +1245,6 @@
          <ul>
            <li>
              <span class="zt-ls2">例3</span>设集合A={x|x≤2},B={x|x<-1},求A∩B.
              <span class="btn-box" @click="
                chapter001.isShowExample25 = !chapter001.isShowExample25
                ">
@@ -1264,17 +1255,17 @@
                </svg>
              </span>
            </li>
            <li v-if="chapter001.isShowExample25">
              <p>
                <span class="zt-ls2">解</span>在数轴上将集合A,B表示出来(如图1-13所示).
              </p>
            </li>
          </ul>
          <div class="center openImgBox">
            <img class="img-f" alt="" src="../../assets/images/0029-1.jpg" />
            <p class="img" style="font-size: 14px">图1-13</p>
          <div v-if="chapter001.isShowExample25">
            <p>
              <span class="zt-ls2">解</span>在数轴上将集合A,B表示出来(如图1-13所示).
            </p>
            <div class="center openImgBox">
              <img class="img-f" alt="" src="../../assets/images/0029-1.jpg" />
              <p class="img" style="font-size: 14px">图1-13</p>
            </div>
            <p>观察可知A∩B={x|x<-1}.</p>
          </div>
          <p>观察可知A∩B={x|x<-1}.</p>
          <ul>
            <li>
              <span class="zt-ls2">例4</span>设集合A={(x,y)|x+2y-6=0},B={(x,y)|x-4y=0},求A∩B.
@@ -1297,90 +1288,93 @@
              </span>
            </li>
            <li v-if="chapter001.isShowExample26">
              <div>
                <p>
                  <span class="zt-ls"><b>解</b></span> 解方程组<math display="0">
                    <mrow data-mjx-texclass="INNER">
                      <mo data-mjx-texclass="OPEN">{</mo>
                      <mtable columnspacing="1em" rowspacing="4pt">
                        <mtr>
                          <mtd>
                            <mi>x</mi>
                            <mo>+</mo>
                            <mn>2</mn>
                            <mi>y</mi>
                            <mo>−</mo>
                            <mn>6</mn>
                            <mo>=</mo>
                            <mn>0</mn>
                          </mtd>
                          <mtd></mtd>
                        </mtr>
                        <mtr>
                          <mtd>
                            <mi>x</mi>
                            <mo>−</mo>
                            <mn>4</mn>
                            <mi>y</mi>
                            <mo>=</mo>
                            <mn>0</mn>
                            <mo>,</mo>
                          </mtd>
                          <mtd></mtd>
                        </mtr>
                      </mtable>
                      <mo data-mjx-texclass="CLOSE" fence="true" stretchy="true" symmetric="true"></mo>
                    </mrow>
                  </math>, 得<math display="0">
                    <mrow data-mjx-texclass="INNER">
                      <mo data-mjx-texclass="OPEN">{</mo>
                      <mtable columnspacing="1em" rowspacing="4pt">
                        <mtr>
                          <mtd>
                            <mi>x</mi>
                            <mo>=</mo>
                            <mn>4</mn>
                            <mo>,</mo>
                          </mtd>
                          <mtd></mtd>
                        </mtr>
                        <mtr>
                          <mtd>
                            <mi>y</mi>
                            <mo>=</mo>
                            <mn>1.</mn>
                          </mtd>
                          <mtd></mtd>
                        </mtr>
                      </mtable>
                      <mo data-mjx-texclass="CLOSE" fence="true" stretchy="true" symmetric="true"></mo>
                    </mrow>
                  </math>.
                </p>
                <p>所以A∩B={(4,1)}.</p>
              </div>
              <div></div>
            </li>
          </ul>
          <div class="textIndentation">
            根据交集的含义可以知道,对于任意两个集合A,B,有下述性质.
            <p>(1) A∩B=B∩A;(2) A∩A=A,A∩∅=∅;</p>
            <p>(3) A∩B⊆A,A∩B⊆B;(4) 若A⊆B,则A∩B=A.</p>
          <div v-if="chapter001.isShowExample26">
            <p>
              <span class="zt-ls"><b>解</b></span> 解方程组<math display="0">
                <mrow data-mjx-texclass="INNER">
                  <mo data-mjx-texclass="OPEN">{</mo>
                  <mtable columnspacing="1em" rowspacing="4pt">
                    <mtr>
                      <mtd>
                        <mi>x</mi>
                        <mo>+</mo>
                        <mn>2</mn>
                        <mi>y</mi>
                        <mo>−</mo>
                        <mn>6</mn>
                        <mo>=</mo>
                        <mn>0</mn>
                      </mtd>
                      <mtd></mtd>
                    </mtr>
                    <mtr>
                      <mtd>
                        <mi>x</mi>
                        <mo>−</mo>
                        <mn>4</mn>
                        <mi>y</mi>
                        <mo>=</mo>
                        <mn>0</mn>
                        <mo>,</mo>
                      </mtd>
                      <mtd></mtd>
                    </mtr>
                  </mtable>
                  <mo data-mjx-texclass="CLOSE" fence="true" stretchy="true" symmetric="true"></mo>
                </mrow>
              </math>, 得<math display="0">
                <mrow data-mjx-texclass="INNER">
                  <mo data-mjx-texclass="OPEN">{</mo>
                  <mtable columnspacing="1em" rowspacing="4pt">
                    <mtr>
                      <mtd>
                        <mi>x</mi>
                        <mo>=</mo>
                        <mn>4</mn>
                        <mo>,</mo>
                      </mtd>
                      <mtd></mtd>
                    </mtr>
                    <mtr>
                      <mtd>
                        <mi>y</mi>
                        <mo>=</mo>
                        <mn>1.</mn>
                      </mtd>
                      <mtd></mtd>
                    </mtr>
                  </mtable>
                  <mo data-mjx-texclass="CLOSE" fence="true" stretchy="true" symmetric="true"></mo>
                </mrow>
              </math>.
            </p>
            <p>所以A∩B={(4,1)}.</p>
            <div class="textIndentation">
              根据交集的含义可以知道,对于任意两个集合A,B,有下述性质.
              <p>(1) A∩B=B∩A;(2) A∩A=A,A∩∅=∅;</p>
              <p>(3) A∩B⊆A,A∩B⊆B;(4) 若A⊆B,则A∩B=A.</p>
            </div>
          </div>
          <div class="bk-hzjl">
            <div class="bj1-hzjl">
              <p class="left">
                <img class="img-gn2" alt="" src="../../assets/images/hzjl.jpg" />
              </p>
            </div>
            <examinations :cardList="questionData[25] ? questionData[25][1] : []" :hideCollect="true" sourceType="json" v-if="questionData">
            <examinations :cardList="questionData[25] ? questionData[25][1] : []" :hideCollect="true" sourceType="json"
              v-if="questionData">
            </examinations>
          </div>
          <p class="left">
            <img class="img-gn" alt="" src="../../assets/images/stlx.jpg" />
          </p>
          <div class="bj">
            <examinations :cardList="questionData[25] ? questionData[25][2] : []" :hideCollect="true" sourceType="json" inputBc="#d3edfa"
              v-if="questionData"></examinations>
            <examinations :cardList="questionData[25] ? questionData[25][2] : []" :hideCollect="true" sourceType="json"
              inputBc="#d3edfa" v-if="questionData"></examinations>
          </div>
        </div>
      </div>
@@ -1478,23 +1472,24 @@
                </svg>
              </span>
            </li>
            <li v-if="chapter001.isShowExample28">
              <p>
                <span class="zt-ls2">解 </span>在数轴上将集合A,B表示出来(如图1-17所示).
              </p>
            </li>
          </ul>
          <div class="center openImgBox">
            <img class="img-f" alt="" src="../../assets/images/0031-1.jpg" />
            <p class="img" style="font-size: 14px">图1-17</p>
          <div v-if="chapter001.isShowExample28">
            <p>
              <span class="zt-ls2">解 </span>在数轴上将集合A,B表示出来(如图1-17所示).
            </p>
            <div class="center openImgBox">
              <img class="img-f" alt="" src="../../assets/images/0031-1.jpg" />
              <p class="img" style="font-size: 14px">图1-17</p>
            </div>
            <p>观察可知A∪B={x|-3<x<7}.</p>
          </div>
          <p>观察可知A∪B={x|-3<x<7}.</p>
          <div class="bk-hzjl">
            <div class="bj1-hzjl">
              <p class="left">
                <img class="img-gn2" alt="" src="../../assets/images/hzjl.jpg" />
              </p>
              <examinations :cardList="questionData[27] ? questionData[27][1]:[] " :hideCollect="true" sourceType="json" v-if="questionData">
              <examinations :cardList="questionData[27] ? questionData[27][1] : []" :hideCollect="true"
                sourceType="json" v-if="questionData">
              </examinations>
            </div>
          </div>
@@ -1511,27 +1506,28 @@
                </svg>
              </span>
            </li>
            <li v-if="chapter001.isShowExample29">
              <p>
                <span class="zt-ls2">解</span>在数轴上将集合A, B 表示出来,
                如图1-18所示.
              </p>
            </li>
          </ul>
          <div class="center openImgBox">
            <img class="img-f" alt="" src="../../assets/images/0031-2.jpg" />
            <p class="img" style="font-size: 14px">图1-18</p>
          <div v-if="chapter001.isShowExample29" >
            <p>
              <span class="zt-ls2">解</span>在数轴上将集合A, B 表示出来,
              如图1-18所示.
            </p>
            <div class="center openImgBox">
              <img class="img-f" alt="" src="../../assets/images/0031-2.jpg" />
              <p class="img" style="font-size: 14px">图1-18</p>
            </div>
            <p>观察可知A∪B={x|x>4或x≤-2}.</p>
            <p>根据并集的含义可以知道,对于任意两个集合A,B,有下述性质.</p>
            <p>(1) A∪B=B∪A;(2) A∪A=A,A∪∅=A;</p>
            <p>(3) A⊆A∪B,B⊆A∪B;(4) 若B⊆A,则A∪B=A.</p>
          </div>
          <p>观察可知A∪B={x|x>4或x≤-2}.</p>
          <p>根据并集的含义可以知道,对于任意两个集合A,B,有下述性质.</p>
          <p>(1) A∪B=B∪A;(2) A∪A=A,A∪∅=A;</p>
          <p>(3) A⊆A∪B,B⊆A∪B;(4) 若B⊆A,则A∪B=A.</p>
          <div class="bk-hzjl">
            <div class="bj1-hzjl">
              <p class="left">
                <img class="img-gn2" alt="" src="../../assets/images/hzjl.jpg" />
              </p>
              <examinations :cardList="questionData[27] ? questionData[27][2]:[] " :hideCollect="true" sourceType="json" v-if="questionData">
              <examinations :cardList="questionData[27] ? questionData[27][2] : []" :hideCollect="true"
                sourceType="json" v-if="questionData">
              </examinations>
            </div>
          </div>
@@ -1624,7 +1620,8 @@
              </p>
            </div>
            <p class="block tl">
              <examinations :cardList="questionData[29] ? questionData[29][1] :[]" :hideCollect="true" sourceType="json" v-if="questionData">
              <examinations :cardList="questionData[29] ? questionData[29][1] : []" :hideCollect="true"
                sourceType="json" v-if="questionData">
              </examinations>
            </p>
          </div>
@@ -1761,7 +1758,8 @@
              </p>
            </div>
            <p class="block tl">
              <examinations :cardList="questionData[29] ? questionData[29][2] :[]" :hideCollect="true" sourceType="json" v-if="questionData">
              <examinations :cardList="questionData[29] ? questionData[29][2] : []" :hideCollect="true"
                sourceType="json" v-if="questionData">
              </examinations>
            </p>
          </div>
@@ -1959,8 +1957,7 @@
      </div>
    </div>
    <!-- 025 -->
    <div class="page-box hidePage" page="32">
    </div>
    <div class="page-box hidePage" page="32"></div>
    <!-- 026 -->
    <div class="page-box" page="33">
      <div v-if="showPageList.indexOf(33) > -1">
@@ -2096,13 +2093,19 @@
      </div>
    </div>
    <!-- 030 -->
    <div class="page-box hidePage" page="37">
    </div>
    <div class="page-box hidePage" page="37"></div>
    <!-- 解题思路弹窗 -->
    <el-dialog :visible.sync="thinkingDialog" width="40%" :append-to-body="true" :show-close="false" @close="closeDialog" class="thinkDialog" >
      <div slot="title" class="think-header" style="padding: 0; text-align: center; color: #333;display:flex;justify-content: center;">
    <el-dialog :visible.sync="thinkingDialog" width="40%" :append-to-body="true" :show-close="false"
      @close="closeDialog" class="thinkDialog">
      <div slot="title" class="think-header" style="
          padding: 0;
          text-align: center;
          color: #333;
          display: flex;
          justify-content: center;
        ">
        <span style=""> 分析 </span>
        <svg style="position: absolute; right:10px;cursor: pointer;" @click="thinkingDialog = false" t="1718596022986"
        <svg style="position: absolute; right: 10px; cursor: pointer" @click="thinkingDialog = false" t="1718596022986"
          class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="4252" width="20"
          height="20" xmlns:xlink="http://www.w3.org/1999/xlink">
          <path
@@ -2117,7 +2120,7 @@
        <li v-for="(item, index) in thinkData" :key="index">
          <div v-if="index <= showIndex" style="display: flex">
            <span style="position: relative">
              <span style="position: absolute; top: 4px; left: 13px; color: #fff">{{ index + 1 }}</span>
              <span style="position: absolute; top: 16px; left: 13px; color: #fff">{{ index + 1 }}</span>
              <img src="../../assets/images/icon/blue-group.png" alt="" style="margin-right: 10px"
                v-if="index < thinkOne.length - 1" />
              <img src="../../assets/images/icon/blue.png" alt="" v-if="index == thinkOne.length - 1"
@@ -2149,14 +2152,14 @@
</template>
<script>
import examinations from '@/components/examinations/index.vue'
import { getResourcePath } from '@/assets/methods/resources'
import examinations from "@/components/examinations/index.vue";
import { getResourcePath } from "@/assets/methods/resources";
import {
  getCollectResource,
  setCollectResource,
} from '@/assets/methods/resources'
} from "@/assets/methods/resources";
export default {
  name: 'chapter-one',
  name: "chapter-one",
  components: { examinations },
  props: {
    showPageList: {
@@ -2168,20 +2171,20 @@
    },
  },
  async mounted() {
    const data = localStorage.getItem('math-chapterData')
    const data = localStorage.getItem("math-chapterData");
    if (data) {
      this.chapterData = JSON.parse(data)
      this.chapterData = JSON.parse(data);
    }
    this.getPath()
    this.getPath();
    this.collectResourceList = await getCollectResource(
      this.config.activeBook.bookId
    )
    );
  },
  data() {
    return {
      chapter001: {
        tkItem01: {
          text1: '',
          text1: "",
        },
        isShowExample1: false,
        isShowExample2: false,
@@ -2225,46 +2228,51 @@
        isShowExample40: false,
        isShowExample41: false,
      },
      collectImg: require('../../assets/images/icon/heart.png'),
      collectCheck: require('../../assets/images/icon/heart-check.png'),
      collectImg: require("../../assets/images/icon/heart.png"),
      collectCheck: require("../../assets/images/icon/heart-check.png"),
      thinkingDialog: false,
      videoPath: '',
      videoPath: "",
      stepIndex: 1,
      collectResourceList: [],
      chapterData: {
        isCollectImg: false,
        isCollectVideo: false,
        txtOne: '',
        txtTwo: '',
        txtOne: "",
        txtTwo: "",
      },
      stepOne: [
        {
          txt: '1:(1)函数f(x)=3x2+1的定义域是R,对任意XER,都有-XER',
          txt: "1:(1)函数f(x)=3x2+1的定义域是R,对任意XER,都有-XER",
          isShow: true,
        },
        {
          txt: '2:f(-x)=3(-x)2+1=3x2+1=f(x)',
          txt: "2:f(-x)=3(-x)2+1=3x2+1=f(x)",
          isShow: false,
        },
      ],
      // 新增
      thinkData:[],
      thinkData: [],
      thinkOne: [
        '分析为了不重不漏地写出集合A 的所有子集,我们应分为以下几个 步骤来写.',
        '(1) ∅是所有集合的子集,所以先写出 ∅;',
        '(2) 写出含有一个元素的子集:{a},{b},{c};',
        '(3) 写出含有两个元素的子集:{a,b},{a,c},{b,c};',
        '(4) 写出含有三个元素的子集:{a,b,c}'
        "分析为了不重不漏地写出集合A 的所有子集,我们应分为以下几个 步骤来写.",
        "(1) ∅是所有集合的子集,所以先写出 ∅;",
        "(2) 写出含有一个元素的子集:{a},{b},{c};",
        "(3) 写出含有两个元素的子集:{a,b},{a,c},{b,c};",
        "(4) 写出含有三个元素的子集:{a,b,c}",
      ],
      thinkTwo:[
      thinkTwo: [
        "(1) 因为“英文大写”这一条件是明确的,所以“英文大写字母”是确定的对象.",
        "(2) 因为“高个子”这一条件不明确,所以它所指的对象不确定.",
        "(3) 解不等式2x-7<0得 x < 7 2 .任意一个实数,都可以和 7 2比较大小,所以不等式2x-7<0的所有实数解都是确定的对象.",
        "(4) 任意一个正整数,能否被5整除是确定的,所以能被5整除的正整数能组成集合."
        "(4) 任意一个正整数,能否被5整除是确定的,所以能被5整除的正整数能组成集合.",
      ],
      thinkThree:['用描述法表示集合,关键是找出集合中元素所具有的共同特征.根据对共同特征的描述必须能判定任一对象是否属于这个集合.'],
      thinkFour:['可先将已知集合在数轴上表示出来,然后观察得出交集,但是一定要注意分析端点的情况.'],
      thinkFive:[`集合A表示方程x+2y-6=0的解集,集合B表示方程x-4y=0
      thinkThree: [
        "用描述法表示集合,关键是找出集合中元素所具有的共同特征.根据对共同特征的描述必须能判定任一对象是否属于这个集合.",
      ],
      thinkFour: [
        "可先将已知集合在数轴上表示出来,然后观察得出交集,但是一定要注意分析端点的情况.",
      ],
      thinkFive: [
        `集合A表示方程x+2y-6=0的解集,集合B表示方程x-4y=0
            的解集,两个解集的交集就是二元一次方程组 
          <math display="block">
@@ -2299,20 +2307,23 @@
            </mrow>
          </math>
          <p>的解集.</p> `],
      showIndex:0,
    }
          <p>的解集.</p> `,
      ],
      showIndex: 0,
    };
  },
  created() {
    const localData = JSON.parse(localStorage.getItem('chapter001'))
    const localData = JSON.parse(localStorage.getItem("chapter001"));
    if (localData) {
      this.chapter001 = { ...Object.assign(this.chapter001, localData) }
      this.chapter001 = { ...Object.assign(this.chapter001, localData) };
    }
  },
  methods: {
    async getPath() {
      this.videoPath = await getResourcePath('a28cd862d61b5df2201406b76e9f01b0')
      console.log(this.videoPath, '0988')
      this.videoPath = await getResourcePath(
        "a28cd862d61b5df2201406b76e9f01b0"
      );
      console.log(this.videoPath, "0988");
    },
    //资源收藏事件
    handleCollectResource(
@@ -2323,10 +2334,10 @@
      source,
      resourceName
    ) {
      console.log(this.collectResourceList)
      let list = this.collectResourceList
      console.log(this.collectResourceList);
      let list = this.collectResourceList;
      if (list.findIndex((item) => item.id == id) > -1) {
        list = list.filter((item) => item.id != id)
        list = list.filter((item) => item.id != id);
      } else {
        list.push({
          id,
@@ -2335,27 +2346,28 @@
          resourceType,
          source,
          resourceName,
        })
        });
      }
      this.collectResourceList = list
      this.collectResourceList = list;
      setCollectResource(
        this.config.activeBook.bookId,
        this.collectResourceList
      )
      );
    },
    // 新增
    openDialog(queryData) {
      this.thinkData = queryData
      this.thinkingDialog = !this.thinkingDialog
      this.thinkData = queryData;
      this.thinkingDialog = !this.thinkingDialog;
    },
    closeDialog() {
      this.showIndex = 0
      this.showIndex = 0;
    },
    changeNext()  {
      if(this.showIndex < this.thinkData.length - 1) this.showIndex = this.showIndex + 1
    }
    changeNext() {
      if (this.showIndex < this.thinkData.length - 1)
        this.showIndex = this.showIndex + 1;
    },
  },
}
};
</script>
<style lang="less" scoped>
@@ -2400,5 +2412,4 @@
    color: #fff;
  }
}
</style>