From 304689614daa96595aeeeed8e46e5dfa992ef2df Mon Sep 17 00:00:00 2001
From: unknown <qq1940665526@163.com>
Date: 星期一, 17 六月 2024 17:33:33 +0800
Subject: [PATCH] 优化

---
 src/books/mathBook/view/components/chapter001.vue |  149 ++++++++++++++++++++++++++++++++++++++++++++-----
 1 files changed, 133 insertions(+), 16 deletions(-)

diff --git a/src/books/mathBook/view/components/chapter001.vue b/src/books/mathBook/view/components/chapter001.vue
index 0c0e400..6715dee 100644
--- a/src/books/mathBook/view/components/chapter001.vue
+++ b/src/books/mathBook/view/components/chapter001.vue
@@ -536,7 +536,7 @@
                 />
               </p>
             </div>
-            <p class="block">
+            <p class="block tl">
               濡傛灉<i>f</i>锛�<i>x</i>锛夛紝<i>g</i>锛�<i>x</i>锛夐兘鏄畾涔夊煙涓�<i>D</i>鐨勫伓鍑芥暟锛岄偅涔�<i>f</i>锛�<i>x</i>锛�+<i>g</i>锛�<i>x</i>锛夊拰<i>f</i>锛�<i>x</i>锛�<i>g</i>锛�<i>x</i>锛変粛鏄伓鍑芥暟鍚楋紵
               <textarea
                 cols="30"
@@ -565,6 +565,7 @@
           <div class="bj">
             <examinations
               :cardList="questionData"
+              inputBc="#d3edfa"
               v-if="questionData"
               :isReal="false"
             ></examinations>
@@ -575,11 +576,37 @@
 
     <!-- 鍑芥暟鎺т欢寮圭獥 -->
     <el-dialog
-      title=""
       :visible.sync="dialogVisible"
       width="60%"
       :append-to-body="true"
+      :show-close="false"
     >
+    <div slot="title" style="padding: 0 0 15px 0;position: relative;">
+        <svg
+          style="position: absolute; right:10px;cursor: pointer;"
+          @click="dialogVisible = 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
+            d="M176.661601 817.172881C168.472798 825.644055 168.701706 839.149636 177.172881 847.338438 185.644056 855.527241 199.149636 855.298332 207.338438 846.827157L826.005105 206.827157C834.193907 198.355983 833.964998 184.850403 825.493824 176.661601 817.02265 168.472798 803.517069 168.701706 795.328267 177.172881L176.661601 817.172881Z"
+            fill="#979797"
+            p-id="4253"
+          ></path>
+          <path
+            d="M795.328267 846.827157C803.517069 855.298332 817.02265 855.527241 825.493824 847.338438 833.964998 839.149636 834.193907 825.644055 826.005105 817.172881L207.338438 177.172881C199.149636 168.701706 185.644056 168.472798 177.172881 176.661601 168.701706 184.850403 168.472798 198.355983 176.661601 206.827157L795.328267 846.827157Z"
+            fill="#979797"
+            p-id="4254"
+          ></path>
+        </svg>
+      </div>
       <iframe
         src="https://www.geogebra.org/calculator"
         frameborder="0"
@@ -588,16 +615,46 @@
     </el-dialog>
     <!-- 瑙i鎬濊矾寮圭獥 -->
     <el-dialog
-      title="瑙i鎬濊矾"
       :visible.sync="thinkingDialog"
       width="40%"
       :append-to-body="true"
+      :show-close="false"
     >
+      <div slot="title" style="padding: 0; text-align: center; color: #333;display:flex;justify-content: center;">
+        <span style=""> 瑙i鎬濊矾 </span>
+        <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
+            d="M176.661601 817.172881C168.472798 825.644055 168.701706 839.149636 177.172881 847.338438 185.644056 855.527241 199.149636 855.298332 207.338438 846.827157L826.005105 206.827157C834.193907 198.355983 833.964998 184.850403 825.493824 176.661601 817.02265 168.472798 803.517069 168.701706 795.328267 177.172881L176.661601 817.172881Z"
+            fill="#979797"
+            p-id="4253"
+          ></path>
+          <path
+            d="M795.328267 846.827157C803.517069 855.298332 817.02265 855.527241 825.493824 847.338438 833.964998 839.149636 834.193907 825.644055 826.005105 817.172881L207.338438 177.172881C199.149636 168.701706 185.644056 168.472798 177.172881 176.661601 168.701706 184.850403 168.472798 198.355983 176.661601 206.827157L795.328267 846.827157Z"
+            fill="#979797"
+            p-id="4254"
+          ></path>
+        </svg>
+      </div>
       <ul>
         <li v-for="(item, index) in thinkOne" :key="index">
           <div v-if="item.isShow" style="display: flex">
-            <span class="step-num">
-              <span class="step-num-box">{{ index + 1 }}</span>
+            <span style="position: relative">
+              <span
+                style="position: absolute; top: 16px; left: 13px; color: #fff"
+                >{{ index + 1 }}</span
+              >
               <img
                 src="../../assets/images/icon/blue-group.png"
                 alt=""
@@ -615,8 +672,20 @@
           </div>
         </li>
       </ul>
-      <div class="bottom-btn" @click="showNext(thinkIndex)">
-        <img src="../../assets/images/icon/mouse.png" alt="" v-if="thinkIndex != 3" />
+      <div
+        @click="showNext(thinkIndex)"
+        style="
+          display: flex;
+          flex-direction: column;
+          align-items: center;
+          justify-content: center;
+        "
+      >
+        <img
+          src="../../assets/images/icon/mouse.png"
+          alt=""
+          v-if="thinkIndex != 3"
+        />
         <svg
           xmlns="http://www.w3.org/2000/svg"
           xmlns:xlink="http://www.w3.org/1999/xlink"
@@ -643,16 +712,50 @@
     </el-dialog>
     <!-- 瑙i姝ラ寮圭獥 -->
     <el-dialog
+      class="stepDialog"
       title="瑙i姝ラ"
       :visible.sync="stepDialog"
       width="40%"
       :append-to-body="true"
+      :show-close="false"
     >
+      <div slot="title" style="padding: 0; text-align: center; color: #333;display:flex;justify-content: center;">
+        <span>
+          瑙i姝ラ
+        </span>
+        <svg
+          style="position: absolute; right:10px;cursor: pointer;"
+          @click="stepDialog = 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
+            d="M176.661601 817.172881C168.472798 825.644055 168.701706 839.149636 177.172881 847.338438 185.644056 855.527241 199.149636 855.298332 207.338438 846.827157L826.005105 206.827157C834.193907 198.355983 833.964998 184.850403 825.493824 176.661601 817.02265 168.472798 803.517069 168.701706 795.328267 177.172881L176.661601 817.172881Z"
+            fill="#979797"
+            p-id="4253"
+          ></path>
+          <path
+            d="M795.328267 846.827157C803.517069 855.298332 817.02265 855.527241 825.493824 847.338438 833.964998 839.149636 834.193907 825.644055 826.005105 817.172881L207.338438 177.172881C199.149636 168.701706 185.644056 168.472798 177.172881 176.661601 168.701706 184.850403 168.472798 198.355983 176.661601 206.827157L795.328267 846.827157Z"
+            fill="#979797"
+            p-id="4254"
+          ></path>
+        </svg>
+      </div>
       <ul>
         <li v-for="(item, index) in stepOne" :key="index">
           <div v-if="item.isShow" style="display: flex">
-            <span class="step-num">
-              <span class="step-num-box">{{ index + 1 }}</span>
+            <span style="position: relative">
+              <span
+                style="position: absolute; top: 16px; left: 13px; color: #fff"
+                >{{ index + 1 }}</span
+              >
               <img
                 src="../../assets/images/icon/blue-group.png"
                 alt=""
@@ -670,8 +773,20 @@
           </div>
         </li>
       </ul>
-      <div class="bottom-btn" @click="showNextChange(stepIndex)">
-        <img src="../../assets/images/icon/mouse.png" alt="" v-if="stepIndex != 2" />
+      <div
+        @click="showNextChange(stepIndex)"
+        style="
+          display: flex;
+          flex-direction: column;
+          align-items: center;
+          justify-content: center;
+        "
+      >
+        <img
+          src="../../assets/images/icon/mouse.png"
+          alt=""
+          v-if="stepIndex != 2"
+        />
         <svg
           xmlns="http://www.w3.org/2000/svg"
           xmlns:xlink="http://www.w3.org/1999/xlink"
@@ -735,7 +850,7 @@
       videoPath: "",
       questionData: [],
       stepIndex: 1,
-      thinkIndex:1,
+      thinkIndex: 1,
       chapterData: {
         isCollectImg: false,
         isCollectVideo: false,
@@ -832,15 +947,15 @@
       const number = this.thinkOne.findIndex((item, index) => index == num);
       console.log(number);
       this.thinkOne[number].isShow = true;
-      if(this.thinkIndex <= 2) {
-        this.thinkIndex ++
+      if (this.thinkIndex <= 2) {
+        this.thinkIndex++;
       }
     },
     showNextChange(num) {
       const number = this.stepOne.findIndex((item, index) => index == num);
       this.stepOne[number].isShow = true;
-      if(this.stepIndex < 2) {
-        this.stepIndex ++ 
+      if (this.stepIndex < 2) {
+        this.stepIndex++;
       }
     },
   },
@@ -880,4 +995,6 @@
     color: #fff;
   }
 }
+.stepDialog {
+}
 </style>

--
Gitblit v1.9.1