谢杰标 2 anni fa
parent
commit
7ba7eac015

+ 2 - 6
src/pages/course-detail/index.vue

@@ -3217,7 +3217,6 @@ export default {
 
     await this.getGoodsDetail(); //商品详情
     this.dictList();
-
     // this.userConfirmInfoDetail().then((res) => {
     this.getbaseprofiletplists().then(async (res) => {
       // let allMenuList = await this.studyRecordMenuAllList();
@@ -5317,7 +5316,7 @@ export default {
      * 点击节
      */
     async getResource(section, type, flag) {
-      //type:1章卷,2节卷,3模考卷
+      
       if (flag) {
         //节卷
         let data = this.sectionExamList.filter(
@@ -6102,7 +6101,6 @@ export default {
       var polyvPlayerContext = this.player;
       if (polyvPlayerContext) {
         this.playTime = polyvPlayerContext.j2s_getCurrentTime(); //播放时刻
-        //	console.log(this.playTime,789,this.photoHistoryList)
         //判断是否需要拍照
         if (this.photoNum > 0) {
           this.configPhoto();
@@ -6142,6 +6140,7 @@ export default {
           moduleId: parseInt(self.moduleId),
         };
         this.$request.getPhotoLastRecord(data).then((res) => {
+          console.log(res,666)
           //清空历史数据
           self.photoHistoryList = [];
           this.photoIndex = 0;
@@ -7229,7 +7228,6 @@ export default {
             }
           });
           self.answerList = data1.reverse();
-          console.log(self.answerList, "answerList");
         });
     },
     courseCourseList() {
@@ -7237,14 +7235,12 @@ export default {
         this.param.goodsId = this.goodsId;
         this.param.gradeId = this.gradeId;
         this.$request.courseCourseList(this.param).then(async (res) => {
-          console.log(res, "resresresres");
           //获取商品双师资模板
           this.$request
             .courseTeacherList({
               goodsId: this.goodsId,
             })
             .then((res1) => {
-              console.log(res1, "res1");
               if (res1.data && res1.data.length > 0) {
                 //课程老师模板
                 let teacherTel = res1.data;

+ 37 - 709
src/pages/person-center/my-bank/bank-detailCopy/index.vue

@@ -3,8 +3,13 @@
     <section class="section">
       <div class="section__body">
         <div class="left-box">
-          <el-tabs v-model="activeName" @tab-click="tabChange">
-            <el-tab-pane label="全部" name="0">
+          <el-tabs v-model="activeName" @tab-click="goodsBank">
+            <el-tab-pane
+              v-for="tab in newList"
+              :key="tab.paperId"
+              :label="tab.paperName"
+              :name="tab.paperId + ''"
+            >
               <div class="goods-menu">
                 <div class="goods-menu__body">
                   <div
@@ -330,433 +335,8 @@
                 </div>
               </div>
             </el-tab-pane>
-            <el-tab-pane
-              v-for="(items, indexs) in newList"
-              :key="indexs"
-              :label="items.paperName"
-              :name="items.paperId + ''"
-            >
-              <div
-                v-for="(item, index) in examListNew"
-                :key="index"
-                class="_content"
-              >
-                <div class="bank-section">
-                  <div class="bank-section__item">
-                    <div class="bank-section__item__text">
-                      <span style="margin-right: 8px; color: #a7b0b8">●</span>
-                      {{ item.examName }}
-                      <span v-if="item.newRecordStatus" class="upStudyStyle"
-                        >上次做到</span
-                      >
-                    </div>
-                    <div style="width: auto; padding: 0px 14px" class="btn_div">
-                      <!-- 正确率
-                              <span style="color: rgb(52, 216, 71)"
-                                >{{
-                                  computedNums(
-                                    item.doQuestionNum,
-                                    item.questionNum
-                                  )
-                                }}%</span
-                              > -->
-                      <span style="margin-left: 6px">题目数: </span
-                      ><span style="color: blue">{{
-                        item.doQuestionNum || 0
-                      }}</span>
-                      / {{ item.questionNum || 0 }}
-                    </div>
-                    <el-button
-                      v-if="item.recordStatus == -1"
-                      type="primary"
-                      @click="toDo(item, 0, 0)"
-                      class="btn"
-                      >开始做题</el-button
-                    >
-                    <el-button
-                      v-if="item.recordStatus == 0 && item.doType == 1"
-                      type="primary"
-                      @click="continueDo(item, 0, 0)"
-                      class="btn"
-                      >继续做题</el-button
-                    >
-
-                    <el-button
-                      v-if="
-                        item.recordStatus == 1 ||
-                        (item.recordStatus == 0 && item.doType == 2)
-                      "
-                      :disabled="
-                        item.answerNum > 0 && item.doNum >= item.answerNum
-                      "
-                      type="primary"
-                      @click="doRepeat(item, 0, 0)"
-                      class="btn"
-                      >重新做题</el-button
-                    >
-                  </div>
-                </div>
-              </div>
-            </el-tab-pane>
-            <!-- <el-tab-pane label="收藏题集" name="-1">
-              <div class="goods-collect">
-                <div class="goods-collect__header">
-                  <div class="selects">
-                    <div class="selects__item">
-                      <el-select
-                        placeholder="请选择"
-                        v-model="collectSelect"
-                        @change="getCollectData"
-                        clearable
-                        @clear="getWrongData"
-                      >
-                        <el-option
-                          v-for="(item, index) in selectList"
-                          :key="index"
-                          :label="item.paperName"
-                          :value="item.paperId"
-                        ></el-option>
-                      </el-select>
-                    </div>
-                  </div>
-
-                  <div class="tabs">
-                    <el-tabs v-model="collectName" @tab-click="getCollectData">
-                      <el-tab-pane label="试卷归类" name="1"></el-tab-pane>
-                      <el-tab-pane label="题型归类" name="2"></el-tab-pane>
-                    </el-tabs>
-                  </div>
-                </div>
-
-                <div class="goods-collect__body">
-                  <div class="box">
-                    <div class="title">收藏统计</div>
-                    <div class="circle">
-                      <el-progress
-                        type="circle"
-                        :width="160"
-                        :stroke-width="12"
-                        color="#FFC53D"
-                        :format="() => collectTotal || '0'"
-                        :percentage="25"
-                      ></el-progress>
-                    </div>
-                  </div>
-                  <div class="list" v-if="collectName == '1'">
-                    <div
-                      class="list__item"
-                      v-for="(item, index) in collectExamList"
-                      :key="index"
-                    >
-                      <div class="title">
-                        {{ item.examName }}
-                      </div>
-                      <div class="content clearfix">
-                        <div class="left">
-                          收藏题<span class="red">{{ item.questionNum }}</span>
-                        </div>
-                        <div class="right">
-                          <el-button
-                            type="primary"
-                            @click="
-                              go('/subject/collect-bank/' + item.examId, {
-                                orderGoodsId: orderGoodsId,
-                              })
-                            "
-                            round
-                            plain
-                            class="btn"
-                            >重做</el-button
-                          >
-                          <el-button
-                            type="primary"
-                            @click="
-                              go('/subject/collect-bank/' + item.examId, {
-                                explain: 1,
-                                orderGoodsId: orderGoodsId,
-                              })
-                            "
-                            round
-                            plain
-                            class="btn"
-                            >解析</el-button
-                          >
-                        </div>
-                      </div>
-                    </div>
-                  </div>
-
-                  <div class="list" v-if="collectName == '2'">
-                    <div
-                      class="list__item"
-                      v-for="(item, index) in collectTypeList"
-                      :key="index"
-                    >
-                      <div class="title">
-                        <template v-if="item.type == 1">单选题</template>
-                        <template v-if="item.type == 2">多选题</template>
-                        <template v-if="item.type == 3">判断题</template>
-                        <template v-if="item.type == 4">案例题</template>
-                        <template v-if="item.type == 5">简答题</template>
-                      </div>
-                      <div class="content clearfix">
-                        <div class="left">
-                          收藏题<span class="red">{{ item.num }}</span>
-                        </div>
-                        <div class="right">
-                          <el-button
-                            type="primary"
-                            @click="
-                              go('/subject/collect-type-bank/' + item.type, {
-                                orderGoodsId: orderGoodsId,
-                              })
-                            "
-                            round
-                            plain
-                            class="btn"
-                            >重做</el-button
-                          >
-                          <el-button
-                            type="primary"
-                            @click="
-                              go('/subject/collect-type-bank/' + item.type, {
-                                explain: 1,
-                                orderGoodsId: orderGoodsId,
-                              })
-                            "
-                            round
-                            plain
-                            class="btn"
-                            >解析</el-button
-                          >
-                        </div>
-                      </div>
-                    </div>
-                  </div>
-                </div>
-              </div>
-            </el-tab-pane>
-            <el-tab-pane label="错题集" name="-2">
-              <div class="goods-collect">
-                <div class="goods-collect__header">
-                  <div class="selects">
-                    <div class="selects__item">
-                      <el-select
-                        placeholder="请选择试卷类型"
-                        v-model="wrongSelect"
-                        clearable
-                        @clear="getWrongData"
-                        @change="getWrongData"
-                      >
-                        <el-option
-                          v-for="(item, index) in selectList"
-                          :key="index"
-                          :label="item.paperName"
-                          :value="item.paperId"
-                        ></el-option>
-                      </el-select>
-                    </div>
-                  </div>
-
-                  <div class="tabs">
-                    <el-tabs v-model="wrongName" @tab-click="getWrongData">
-                      <el-tab-pane label="试卷归类" name="1"></el-tab-pane>
-                      <el-tab-pane label="题型归类" name="2"></el-tab-pane>
-                    </el-tabs>
-                  </div>
-                </div>
-
-                <div class="goods-collect__body">
-                  <div class="box">
-                    <div class="title">错题统计</div>
-                    <div class="circle">
-                      <el-progress
-                        type="circle"
-                        :width="160"
-                        :stroke-width="12"
-                        color="#F5222D"
-                        :format="() => wrongTotal || '0'"
-                        :percentage="25"
-                      ></el-progress>
-                    </div>
-                  </div>
-                  <div class="list" v-if="wrongName == '1'">
-                    <div
-                      class="list__item"
-                      v-for="(item, index) in wrongExamList"
-                      :key="index"
-                    >
-                      <div class="title">
-                        {{ item.examName }}
-                      </div>
-                      <div class="content clearfix">
-                        <div class="left">
-                          错题数<span class="red">{{
-                            item.wrongQuestionNum
-                          }}</span>
-                        </div>
-                        <div class="right">
-                          <el-button
-                            type="primary"
-                            round
-                            plain
-                            class="btn"
-                            @click="
-                              go('/subject/wrong-bank/' + item.examId, {
-                                orderGoodsId: orderGoodsId,
-                              })
-                            "
-                            >重做</el-button
-                          >
-                          <el-button
-                            type="primary"
-                            round
-                            plain
-                            class="btn"
-                            @click="
-                              go('/subject/wrong-bank/' + item.examId, {
-                                explain: 1,
-                                orderGoodsId: orderGoodsId,
-                              })
-                            "
-                            >解析</el-button
-                          >
-                        </div>
-                      </div>
-                    </div>
-                  </div>
-
-                  <div class="list" v-if="wrongName == '2'">
-                    <div
-                      class="list__item"
-                      v-for="(item, index) in wrongTypeList"
-                      :key="index"
-                    >
-                      <div class="title">
-                        <template v-if="item.type == 1">单选题</template>
-                        <template v-if="item.type == 2">多选题</template>
-                        <template v-if="item.type == 3">判断题</template>
-                        <template v-if="item.type == 4">案例题</template>
-                        <template v-if="item.type == 5">简答题</template>
-                      </div>
-                      <div class="content clearfix">
-                        <div class="left">
-                          错题数<span class="red">{{ item.num }}</span>
-                        </div>
-                        <div class="right">
-                          <el-button
-                            type="primary"
-                            round
-                            plain
-                            class="btn"
-                            @click="
-                              go('/subject/wrong-type-bank/' + item.type, {
-                                orderGoodsId: orderGoodsId,
-                              })
-                            "
-                            >重做</el-button
-                          >
-                          <el-button
-                            type="primary"
-                            round
-                            plain
-                            class="btn"
-                            @click="
-                              go('/subject/wrong-type-bank/' + item.type, {
-                                explain: 1,
-                                orderGoodsId: orderGoodsId,
-                              })
-                            "
-                            >解析</el-button
-                          >
-                        </div>
-                      </div>
-                    </div>
-                  </div>
-                </div>
-              </div>
-            </el-tab-pane> -->
           </el-tabs>
         </div>
-        <div v-if="false" class="right-box">
-          <div class="right-box__header">
-            <div class="title">
-              <div
-                @click="
-                  go('/person-center/my-bank/bank-statistics/' + goodsId, {
-                    orderGoodsId: orderGoodsId,
-                  })
-                "
-              >
-                做题统计>
-              </div>
-            </div>
-            <div class="content">
-              <div class="left">
-                <div class="title">总进度</div>
-                <div class="note">
-                  {{
-                    goodsCount.totalNum > 0
-                      ? (
-                          (goodsCount.doNum / goodsCount.totalNum) *
-                          100
-                        ).toFixed(
-                          (goodsCount.doNum / goodsCount.totalNum) * 100 == 100
-                            ? 0
-                            : 1
-                        )
-                      : 0
-                  }}%
-                </div>
-              </div>
-              <div class="right">
-                <div class="title"><span class="blue">已答题</span>/未答题</div>
-                <div class="note">
-                  <span class="blue">{{ goodsCount.doNum }}</span
-                  >/{{ goodsCount.totalNum - goodsCount.doNum }}
-                </div>
-              </div>
-            </div>
-          </div>
-          <div
-            class="right-box__body"
-            v-if="recommendList.goodsList && recommendList.goodsList.length"
-          >
-            <div class="title">
-              推荐题库
-              <span class="more" @click="go('/bank-list')">更多></span>
-            </div>
-            <ul class="list">
-              <li
-                class="course-item"
-                v-for="(itemy, index) in compyRecommend(
-                  recommendList.goodsList
-                )"
-                :key="index"
-              >
-                <GoodsItem :item="itemy"></GoodsItem>
-                <!-- <div
-                  class="course-item__img"
-                  :style="`background-image:url(${$tools.splitImgHost(
-                    itemy.coverUrl,
-                    true
-                  )})`"
-                >
-                  <div class="note" v-if="itemy.year">{{ itemy.year }}</div>
-                </div>
-                <div class="course-item__title">
-                  {{ itemy.goodsName }}
-                </div>
-                <div class="course-item__desc">
-                  <div class="price">¥{{ itemy.standPrice }}</div>
-                  <a class="add" @click.stop="addCart(true, itemy.goodsId)"
-                    >加购物车</a
-                  >
-                </div> -->
-              </li>
-            </ul>
-          </div>
-        </div>
       </div>
     </section>
   </div>
@@ -779,9 +359,7 @@ export default {
       wrongName: "1",
       goodsId: "",
       goodsDetail: {},
-      goodsCount: {},
       bankList: [],
-      selectList: [],
       collectSelect: "",
       wrongSelect: "",
       hasClickList: [],
@@ -791,7 +369,6 @@ export default {
       wrongExamList: [],
       collectTotal: 0,
       wrongTotal: 0,
-      recommendList: [],
       needOpen: true, //是否需要打开第一章节
       recordItem: null,
     };
@@ -826,22 +403,20 @@ export default {
       this.recordItem = recordItem;
       this.orderGoodsId = data.orderGoodsId;
       this.goodsId = data.goodsId;
+      this.activeName = "0";
       await this.getExamType(data.goodsId);
-      this.goodsBankQuestionNum();
       if (this.recordItem) {
         this.getRecordItem();
       } else {
         await this.goodsBank();
       }
-      this.getDetail();
-      this.examaperList();
-      this.activeName = "0";
     },
     getRecordItem() {
       this.$request
         .goodsBank({
           orderGoodsId: this.recordItem.orderGoodsId,
           goodsId: this.recordItem.goodsId,
+          paperId: this.activeName * 1 || undefined,
         })
         .then(async (res) => {
           res.data.forEach((item) => {
@@ -990,59 +565,14 @@ export default {
     getExamType(id) {
       return new Promise((resolve, reject) => {
         this.$request.exampapergoodsExamPaper(id).then((res) => {
-          this.newList = res.data;
-          if (parseInt(this.activeName) > 0) {
-            this.tabChange({ name: this.activeName });
-          }
+          this.newList = [{ paperId: 0, paperName: "全部" }, ...res.data];
+          // if (parseInt(this.activeName) > 0) {
+          //   this.tabChange({ name: this.activeName });
+          // }
           resolve();
         });
       });
     },
-    /**
-     * 跳转
-     */
-    toGoodsDetail(item) {
-      this.$router.push({
-        path: "/bank-detail/" + item.goodsId,
-        query: {
-          orderGoodsId: item.orderGoodsId,
-        },
-      });
-    },
-    addCart(status, goodsId) {
-      this.$request
-        .addCart({ goodsId: status ? goodsId : this.goodsId })
-        .then((res) => {
-          this.$message({
-            message: "加入购物车成功",
-            type: "success",
-          });
-        })
-        .catch((err) => {
-          if (err.code == 500) {
-            this.$message({
-              message: err.msg,
-              type: "warning",
-            });
-          }
-        });
-    },
-    /**
-     * 
-     获取推荐列表
-     */
-    getRecommend() {
-      this.$request
-        .appCommonActivityRecommendList({
-          businessId: this.goodsDetail.businessId,
-          type: 2,
-        })
-        .then((res) => {
-          if (res.rows.length) {
-            this.recommendList = res.rows[0];
-          }
-        });
-    },
     go(path, query = {}) {
       console.log(path, query);
       this.$router.push({
@@ -1050,27 +580,6 @@ export default {
         query,
       });
     },
-    examaperList() {
-      this.$request.examaperList().then((res) => {
-        this.selectList = res.rows;
-      });
-    },
-
-    /**
-     * 获取用户商品统计数据
-     */
-    goodsBankQuestionNum() {
-      this.$request.goodsBankQuestionNum(this.orderGoodsId).then((res) => {
-        this.goodsCount = res.data;
-      });
-    },
-
-    getDetail() {
-      this.$request.commonGoodsDetail(this.goodsId).then((res) => {
-        this.goodsDetail = res.data;
-        this.getRecommend();
-      });
-    },
 
     /**
      * 获取课程目录
@@ -1081,6 +590,7 @@ export default {
           .goodsBank({
             orderGoodsId: this.orderGoodsId,
             goodsId: this.goodsId,
+            paperId: this.activeName * 1 || undefined,
           })
           .then(async (res) => {
             res.data.forEach((item) => {
@@ -1119,6 +629,7 @@ export default {
             orderGoodsId: this.orderGoodsId,
             moduleExamId: Module.majorId,
             goodsId: this.goodsId,
+            paperId: this.activeName * 1 || undefined,
           })
           .then(async (res) => {
             console.log(res, "resresres");
@@ -1152,6 +663,7 @@ export default {
             moduleExamId: moduleId,
             chapterExamId: chapter.chapterExamId || chapter.majorId,
             goodsId: this.goodsId,
+            paperId: this.activeName * 1 || undefined,
           })
           .then((res) => {
             res.data.sort((a, b) => {
@@ -1164,24 +676,24 @@ export default {
       });
     },
     // 新增用户视频学习日志
-		studyLog(courseId, moduleId, chapterId, examId) {
-			this.$axios({
-				url: '/user/study/log',
-				method: 'post',
-				data: {
-					goodsId: this.goodsId,
-					courseId: courseId,
-					moduleId: moduleId || 0,
-					chapterId: chapterId || 0,
-					sectionId: examId || 0,
-					fromPlat: 2, //来源平台 1小程序 2PC网站
-					goodsType: 2, // 商品类型 1视频2题库 3补考 4前培 5虚拟赠送题库 6直播
-					orderGoodsId: this.orderGoodsId,
-				}
-			}).then((res) => {
-				console.log('题库的用户学习日志:', res)
-			})
-		},
+    studyLog(courseId, moduleId, chapterId, examId) {
+      this.$axios({
+        url: "/user/study/log",
+        method: "post",
+        data: {
+          goodsId: this.goodsId,
+          courseId: courseId,
+          moduleId: moduleId || 0,
+          chapterId: chapterId || 0,
+          sectionId: examId || 0,
+          fromPlat: 2, //来源平台 1小程序 2PC网站
+          goodsType: 2, // 商品类型 1视频2题库 3补考 4前培 5虚拟赠送题库 6直播
+          orderGoodsId: this.orderGoodsId,
+        },
+      }).then((res) => {
+        console.log("题库的用户学习日志:", res);
+      });
+    },
     /**
      * 去做题
      */
@@ -1209,7 +721,7 @@ export default {
           orderGoodsId: this.orderGoodsId,
         },
       });
-      this.studyLog(0, moduleId, chapterId, section.examId)
+      this.studyLog(0, moduleId, chapterId, section.examId);
     },
 
     /**
@@ -1227,7 +739,7 @@ export default {
           orderGoodsId: this.orderGoodsId,
         },
       });
-      this.studyLog(0, moduleId, chapterId, section.examId)
+      this.studyLog(0, moduleId, chapterId, section.examId);
     },
 
     /**
@@ -1282,7 +794,7 @@ export default {
             },
           });
         });
-        this.studyLog(0, moduleId, chapterId, section.examId)
+      this.studyLog(0, moduleId, chapterId, section.examId);
     },
 
     /**
@@ -1422,15 +934,6 @@ export default {
       }
 
       this.hasClickList.push(e.name);
-
-      if (e.name == "-1") {
-        //收藏集
-        this.getCollectData();
-      } else if (e.name == "-2") {
-        console.log(123123123);
-        //错题集
-        this.getWrongData();
-      }
     },
   },
 };
@@ -1682,181 +1185,6 @@ export default {
           }
         }
       }
-
-      .right-box {
-        width: 300px;
-        float: right;
-
-        &__header {
-          height: 98px;
-          border-bottom: 2px solid #e4e7ed;
-
-          .title {
-            cursor: pointer;
-            height: 32px;
-            font-size: 14px;
-            font-family: Microsoft YaHei;
-            font-weight: 400;
-            color: #333333;
-            line-height: 32px;
-          }
-
-          .content {
-            height: 64px;
-            font-size: 0;
-            .left {
-              width: 50%;
-              display: inline-block;
-              border-right: 1px solid #e4e7ed;
-              .title {
-                font-size: 14px;
-                font-family: Microsoft YaHei;
-                font-weight: 400;
-                color: #999999;
-              }
-
-              .note {
-                font-size: 24px;
-                font-family: Microsoft YaHei;
-                font-weight: bold;
-                color: #3f8dfd;
-              }
-            }
-
-            .right {
-              text-align: center;
-              display: inline-block;
-              width: 50%;
-              .title {
-                font-size: 14px;
-                font-family: Microsoft YaHei;
-                font-weight: 400;
-                color: #999999;
-                .blue {
-                  color: #3f8dfd;
-                }
-              }
-
-              .note {
-                font-size: 24px;
-                font-family: Microsoft YaHei;
-                color: #999999;
-                .blue {
-                  font-size: 24px;
-                  color: #3f8dfd;
-                }
-              }
-            }
-          }
-        }
-
-        &__body {
-          .title {
-            margin-top: 15px;
-            font-size: 16px;
-            font-family: Microsoft YaHei;
-            font-weight: 400;
-            color: #333333;
-            text-shadow: 0px 6px 6px rgba(85, 158, 255, 0.08);
-            position: relative;
-
-            .more {
-              cursor: pointer;
-              font-size: 16px;
-              font-family: Microsoft YaHei;
-              font-weight: 400;
-              color: #999999;
-              position: absolute;
-              right: 0;
-            }
-          }
-
-          .list {
-            .course-item {
-              // margin: 110px 0 0;
-              // width: 300px;
-              // height: 178px;
-              // background: #ffffff;
-              // box-shadow: 0px 10px 13px 3px rgba(63, 141, 253, 0.1);
-              // border-radius: 10px;
-              // position: relative;
-              // background: #fff;
-              // padding-top: 100px;
-
-              // &__img {
-              //   width: 280px;
-              //   height: 178px;
-              //   background: #ffffff;
-              //   box-shadow: 0px 0px 9px 1px rgba(0, 0, 0, 0.08);
-              //   border-radius: 10px;
-              //   position: absolute;
-              //   left: 10px;
-              //   top: -78px;
-              //   background: rgba(122, 136, 246, 1);
-              //   overflow: hidden;
-              //   background: no-repeat center center;
-              //   background-size: 280px 178px;
-
-              //   .note {
-              //     width: 80px;
-              //     height: 24px;
-              //     background: #d94404;
-              //     box-shadow: 0px 1px 1px 0px rgba(248, 78, 5, 0.4);
-              //     border-radius: 10px 0px 20px 0px;
-              //     text-align: center;
-              //     line-height: 24px;
-              //     color: #fff;
-              //   }
-              // }
-
-              // &__title {
-              //   margin: 0 8px;
-              //   font-size: 14px;
-              //   font-family: Microsoft YaHei;
-              //   font-weight: 400;
-              //   color: #333333;
-              //   line-height: 24px;
-              // }
-
-              // &__desc {
-              //   height: 32px;
-              //   position: absolute;
-              //   left: 0;
-              //   right: 0;
-              //   bottom: 0;
-              //   margin-left: 8px;
-              //   display: flex;
-              //   justify-content: space-between;
-
-              //   .price {
-              //     font-size: 18px;
-              //     font-family: Microsoft YaHei;
-              //     font-weight: bold;
-              //     color: #ff2d55;
-              //     line-height: 32px;
-              //   }
-
-              //   .add {
-              //     display: block;
-              //     width: 118px;
-              //     height: 32px;
-              //     line-height: 30px;
-              //     background: #f2f4f7;
-              //     border-radius: 10px 0px 10px 0px;
-              //     font-size: 16px;
-              //     color: #3f8dfd;
-              //     text-align: center;
-
-              //     &:hover {
-              //       background: #3f8dfd;
-              //       color: #f2f4f7;
-              //     }
-              //   }
-              // }
-            }
-          }
-        }
-      }
     }
   }
 }