瀏覽代碼

资料观看1

JXDS18FUJT 2 年之前
父節點
當前提交
373a2a8491

+ 1 - 1
src/otherPages/exercise/index.vue

@@ -255,7 +255,7 @@ export default {
       } else if (x - that.touchx < -50 && Math.abs(y - that.touchy) < 50) {
         //左滑
         turn = "left";
-        this.problemListIndex >= this.problemList.length - 1
+        this.problemListIndex >= this.problemListTotal - 1
           ? uni.showToast({
               title: "到底了",
               icon: "none",

+ 1 - 1
src/otherPages/exerciseCollect/index.vue

@@ -268,7 +268,7 @@ export default {
       } else if (x - that.touchx < -50 && Math.abs(y - that.touchy) < 50) {
         //左滑
         turn = "left";
-        this.problemListIndex >= this.problemList.length - 1
+        this.problemListIndex >= this.problemListTotal - 1
           ? uni.showToast({
               title: "到底了",
               icon: "none",

+ 1 - 1
src/otherPages/exerciseExam/index.vue

@@ -259,7 +259,7 @@ export default {
       } else if (x - that.touchx < -50 && Math.abs(y - that.touchy) < 50) {
         //左滑
         turn = "left";
-        this.problemListIndex >= this.problemList.length - 1
+        this.problemListIndex >= this.problemListTotal - 1
           ? uni.showToast({
               title: "到底了",
               icon: "none",

+ 1 - 1
src/otherPages/exerciseFree/index.vue

@@ -257,7 +257,7 @@ export default {
       } else if (x - that.touchx < -50 && Math.abs(y - that.touchy) < 50) {
         //左滑
         turn = "left";
-        this.problemListIndex >= this.problemList.length - 1
+        this.problemListIndex >= this.problemListTotal - 1
           ? uni.showToast({
               title: "到底了",
               icon: "none",

+ 1 - 1
src/otherPages/exerciseMi/index.vue

@@ -257,7 +257,7 @@ export default {
       } else if (x - that.touchx < -50 && Math.abs(y - that.touchy) < 50) {
         //左滑
         turn = "left";
-        this.problemListIndex >= this.problemList.length - 1
+        this.problemListIndex >= this.problemListTotal - 1
           ? uni.showToast({
               title: "到底了",
               icon: "none",

+ 1 - 1
src/otherPages/exerciseSpecify/index.vue

@@ -268,7 +268,7 @@ export default {
       } else if (x - that.touchx < -50 && Math.abs(y - that.touchy) < 50) {
         //左滑
         turn = "left";
-        this.problemListIndex >= this.problemList.length - 1
+        this.problemListIndex >= this.problemListTotal - 1
           ? uni.showToast({
               title: "到底了",
               icon: "none",

+ 1 - 1
src/otherPages/exerciseWrong/index.vue

@@ -268,7 +268,7 @@ export default {
       } else if (x - that.touchx < -50 && Math.abs(y - that.touchy) < 50) {
         //左滑
         turn = "left";
-        this.problemListIndex >= this.problemList.length - 1
+        this.problemListIndex >= this.problemListTotal - 1
           ? uni.showToast({
               title: "到底了",
               icon: "none",

+ 1 - 1
src/otherPages/mockExam/index.vue

@@ -231,7 +231,7 @@ export default {
       } else if (x - that.touchx < -50 && Math.abs(y - that.touchy) < 50) {
         //左滑
         turn = "left";
-        this.problemListIndex >= this.problemList.length - 1
+        this.problemListIndex >= this.problemListTotal - 1
           ? uni.showToast({
               title: "到底了",
               icon: "none",

+ 11 - 1
src/pages/user/index.vue

@@ -15,7 +15,16 @@
           <image class="user-headImg" v-else :src="unLoginHead"></image>
         </view>
       </van-cell>
-
+      <van-cell
+        title="资料下载"
+        is-link
+        @click="goVipPath('/otherPages/pdfList/index')"
+        center
+      >
+        <template #icon>
+          <m-icon type="fkbz" class="cell-icon" />
+        </template>
+      </van-cell>
       <!-- <van-cell title="我要提现" value="" is-link center @click="goCashOut">
         </van-cell> -->
       <!-- <van-cell title="我的下级" value="" is-link center @click="goMyBranch">
@@ -127,6 +136,7 @@ export default {
       } else {
         uni.showToast({
           title: "vip才能使用",
+          icon:'none'
         });
       }
     },