JXDS18FUJT 2 жил өмнө
parent
commit
1fe0dcc8d4

+ 1 - 1
src/api/modules/exam.js

@@ -54,7 +54,7 @@ const exam = {
 	//查询模拟考试题库
 	studentQuestionInfoSelectTestQuestionInfo(params) {
 		return request({
-			url: "https://jpcj-admin.zzxcx.net/jpcj-admin/open-api/question/info/selectTestK14QuestionInfoList",
+			url: "open-api/question/info/selectTestK14QuestionInfoList",
 			method: 'get',
 			params
 		})

+ 13 - 2
src/components/m-do-topic/m-do-topic.vue

@@ -77,6 +77,9 @@
         }}</text
       >
       <view v-if="problemList[problemListIndex].image" class="problem-img">
+        <canvas>
+          
+        </canvas>
         <image
           mode="widthFix"
           :src="problemList[problemListIndex].image"
@@ -1455,7 +1458,7 @@ export default {
         api.exam
           .studentQuestionInfoSelectTestQuestionInfo({
             gs: "xc",
-            subject: 1,
+            subject:this.query.subject,
           })
           .then((res) => {
             res.rows.forEach((element) => {
@@ -1699,9 +1702,16 @@ export default {
 .mb15 {
   margin-bottom: 15rpx;
 }
-
+#watermark{
+  width: 100%;
+  height: 100%;
+  position: absolute;
+  left: 0;
+  top: 0;
+}
 </style>
 <style lang="scss" scoped>
+
 .problem-fontsize {
   font-size:$uni-app-fontsize-topic;
 }
@@ -1994,6 +2004,7 @@ export default {
     margin-top: 20rpx;
     display: flex;
     justify-content: center;
+    position: relative;
 
     image {
       margin: 0 auto;

+ 6 - 1
src/manifest.json

@@ -10,7 +10,12 @@
     "setting": {
       "urlCheck": false,
       "es6": true,
-      "minified": true
+      "minified": true,
+      "bigPackageSizeSupport": true
+    },
+    "editorSetting": {
+      "tabIndent": "insertSpaces",
+      "tabSize": 4
     },
     "usingComponents": true,
     "permission": {

+ 2 - 7
src/otherPages/beforeMockExam/index.vue

@@ -26,7 +26,7 @@
         <span>90分及格</span>
       </div>
       <!-- #ifdef MP-WEIXIN-->
-      <div class="class">
+      <!-- <div class="class">
         <span>学员姓名</span>
         <span>
           <input
@@ -37,7 +37,7 @@
             type="text"
           />
         </span>
-      </div>
+      </div> -->
       <!-- #endif -->
       <div class="remind">
         答题后不可修改,累计错题扣分导致分数不及格时,系统自动交卷,考试不通过。
@@ -75,11 +75,6 @@ export default {
         url: "/otherPages/mockExam/index?" + utils.mapToUrlQuery(query),
       });
       //  #ifdef MP-WEIXIN
-      api.user
-        .studentUserRealname({
-          realName: this.realName,
-        })
-        .then((res) => {});
       //  #endif
     },
   },

+ 1 - 0
src/otherPages/classifyChoose/index.vue

@@ -25,6 +25,7 @@
             goExercise({
               excellIssueName: item.excellIssueName,
               sort: 2,
+              
             });
           }
         "

+ 2 - 0
src/otherPages/classifyOrder/index.vue

@@ -22,6 +22,7 @@
                 () => {
                   goExercise({
                     sequeIssueName: item.sequeIssueName,
+                    sequeIssue:item.sequeIssue
                   });
                 }
               "
@@ -33,6 +34,7 @@
                 () => {
                   goExerciseExam({
                     sequeIssueName: item.sequeIssueName,
+                    sequeIssue:item.sequeIssue
                   });
                 }
               "

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

@@ -14,7 +14,7 @@
       :problemListTotal.sync="problemListTotal"
     ></m-do-topic>
     <!-- #ifdef MP-WEIXIN -->
-    <van-tabbar>
+    <!-- <van-tabbar>
       <van-tabbar-item @click="goBeforeTopics"
         ><van-icon
           slot="icon"
@@ -41,7 +41,7 @@
           size="18px"
         />下一题
       </van-tabbar-item>
-    </van-tabbar>
+    </van-tabbar> -->
     <!-- #endif -->
     <!-- #ifdef MP-TOUTIAO -->
     <!-- <tabbar height="35px">

+ 127 - 0
src/otherPages/userInfoAuth/index.vue

@@ -0,0 +1,127 @@
+<template>
+    <view class="auth">
+        <view>
+
+            <button class="avatar-wrapper" open-type="chooseAvatar" @chooseavatar="chooseAvatar">
+
+                <image class="avatar-image" style="" mode="widthFx" :src="headImage">
+
+                </image>
+            </button>
+            <view style="width:100%;text-align: center;color: #a8a8a8;margin-bottom: 40rpx;">点击授权使用微信头像</view>
+            <van-field @blur="changeNickName" :value="nickName" label="用户昵称" type="nickname" placeholder="请输入用户名"
+                :border="true" />
+            <view class="buttons">
+                <van-button @click="sendUserInfo" round custom-style="width:100%" class="confirm"
+                    type="primary">更新个人信息</van-button>
+                <van-button @click="cancel" custom-style="width:100%" class="cancel" round type="danger">返回</van-button>
+
+            </view>
+        </view>
+
+
+
+    </view>
+</template>
+
+<script>
+import api from '@/api'
+export default {
+    data() {
+        return {
+            headImage: "https://mmbiz.qpic.cn/mmbiz/icTdbqWNOwNRna42FI242Lcia07jQodd2FJGIYQfG0LAJGFxM4FbnQP6yfMxBgJ0F3YRqJCJ1aPAK2dQagdusBZg/0",
+            nickName: ""
+        }
+    },
+
+    methods: {
+        cancel() {
+            uni.switchTab({
+                url: "/pages/carVideo/index"
+            })
+
+        },
+        chooseAvatar(e) {
+
+            const { avatarUrl } = e.detail
+            this.headImage = avatarUrl
+        },
+        changeNickName(e) {
+            console.log(e)
+            this.nickName = e.detail.value
+        },
+        sendUserInfo() {
+
+            api.user.userInfoUserInfo({
+                nickName: this.nickName,
+                headImage: this.headImage
+            }).then(res => {
+                uni.showToast({
+                    title: "更新成功"
+                })
+                setInterval(() => {
+                    uni.switchTab({
+                        url: "/pages/carVideo/index"
+                    })
+                }, 1500)
+
+            })
+
+        },
+
+
+    },
+
+}
+</script>
+
+<style lang="scss" scoped>
+.auth {
+    position: absolute;
+    width: 100vw;
+    height: 100vh;
+    background: #fff;
+    z-index: 10;
+    display: flex;
+    justify-content: center;
+    padding-top: 250rpx;
+    flex-wrap: wrap;
+
+    .buttons {
+        width: 100%;
+        display: flex;
+        flex-direction: column;
+        margin-top: 40rpx;
+        align-content: center;
+        align-items: center;
+
+        .confirm {
+            width: 100%;
+        }
+
+        .cancel {
+            width: 100%;
+            margin-top: 40rpx;
+        }
+
+    }
+}
+
+.avatar-image {
+    width: 150rpx;
+    height: 150rpx;
+}
+
+.avatar-wrapper {
+    width: 150rpx;
+    height: 150rpx;
+    background: #fff;
+    padding: 0 !important;
+    overflow: hidden;
+
+}
+
+button ::after {
+    padding: 0;
+}
+</style>

+ 42 - 31
src/pages.json

@@ -12,7 +12,7 @@
         "navigationStyle": "default"
         // #endif
       }
-    }, 
+    },
     {
       "path": "pages/carVideo/videoList",
       "style": {
@@ -32,8 +32,9 @@
     },
     {
       "path": "pages/extraHorWeb/index",
-      
-      "style": {"pageOrientation": "landscape"}
+      "style": {
+        "pageOrientation": "landscape"
+      }
     },
     {
       "path": "pages/download/index",
@@ -53,12 +54,12 @@
       "path": "pages/index/index",
       "style": {
         "navigationBarTitleText": "极速生活圈",
-           // #ifdef MP-WEIXIN
-           "navigationStyle": "custom"
-           // #endif
-           // #ifdef MP-TOUTIAO
-           "navigationStyle": "default"
-           // #endif
+        // #ifdef MP-WEIXIN
+        "navigationStyle": "custom"
+        // #endif
+        // #ifdef MP-TOUTIAO
+        "navigationStyle": "default"
+        // #endif
       }
     },
     {
@@ -187,7 +188,6 @@
         // #ifdef MP-TOUTIAO
         "navigationStyle": "default"
         // #endif
-      
       }
     },
     {
@@ -200,7 +200,6 @@
         // #ifdef MP-TOUTIAO
         "navigationStyle": "default"
         // #endif
-      
       }
     }
   ],
@@ -216,6 +215,13 @@
           "path": "careGzh/index",
           "styles": {}
         },
+        {
+          "path": "userInfoAuth/index",
+          "style": {
+            "navigationBarTitleText": "更新个人信息",
+            "enablePullDownRefresh": false
+          }
+        },
         {
           "path": "exerciseSpecify/index",
           "style": {}
@@ -227,19 +233,19 @@
         {
           "path": "exerciseFree/index",
           "style": {
-            "navigationBarTitleText":"免费练习"
+            "navigationBarTitleText": "免费练习"
           }
         },
         {
           "path": "exerciseWrong/index",
           "style": {
-            "navigationBarTitleText":"错题练习"
+            "navigationBarTitleText": "错题练习"
           }
         },
         {
           "path": "exerciseCollect/index",
           "style": {
-            "navigationBarTitleText":"收藏题练习"
+            "navigationBarTitleText": "收藏题练习"
           }
         },
         {
@@ -342,16 +348,16 @@
           }
         },
         {
-          "path":"selectRulePaper/index",
-          "style":{
-            "navigationBarTitleText":"科一考前秘卷",
+          "path": "selectRulePaper/index",
+          "style": {
+            "navigationBarTitleText": "科一考前秘卷",
             "enablePullDownRefresh": false
           }
         },
         {
-          "path":"pdfList/index",
-          "style":{
-            "navigationBarTitleText":"电子版答案",
+          "path": "pdfList/index",
+          "style": {
+            "navigationBarTitleText": "电子版答案",
             "enablePullDownRefresh": false
           }
         }
@@ -446,6 +452,11 @@
     //模式配置,仅开发期间生效
     "current": 0, //当前激活的模式(list 的索引项)
     "list": [
+      {
+        "path": "otherPages/userInfoAuth/index",
+        "name": "用户信息授权填写" 
+
+      },
       {
         "name": "模拟考试开始", //模式名称
         "path": "pages/mockExam/begin", //启动页面,必选
@@ -467,7 +478,7 @@
       {
         "name": "查看网页",
         "path": "pages/extraWeb/index",
-        "query":"src=https://nbjk-h5.zzxcx.net"
+        "query": "src=https://nbjk-h5.zzxcx.net"
       },
       {
         "name": "购买vip",
@@ -499,28 +510,28 @@
         "query": "liceCar=1&liceTruck=&liceBus=&liceMoto=&name=%E7%A7%91%E7%9B%AE%E4%B8%80&gs=xc&cert=C1%2FC2%2FC3&vehicle=%E8%BD%BF%E8%BD%A6&subject=1&title=%E7%B2%BE%E9%80%89%E8%80%83%E9%A2%98&sort=3&__id__=1"
       },
       {
-        "name":"科一秘卷",
-        "path":"otherPages/selectRulePaper/index",
+        "name": "科一秘卷",
+        "path": "otherPages/selectRulePaper/index",
         "query": "liceCar=1&liceTruck=&liceBus=&liceMoto=&name=%E7%A7%91%E7%9B%AE%E4%B8%80&gs=xc&cert=C1%2FC2%2FC3&vehicle=%E8%BD%BF%E8%BD%A6&subject=1&title=%E7%B2%BE%E9%80%89%E8%80%83%E9%A2%98&sort=3&__id__=1"
       },
       {
-        "name":"公众号看视频",
-        "path":"pages/carVideo/videoList",
+        "name": "公众号看视频",
+        "path": "pages/carVideo/videoList",
         "query": "liceCar=1&liceTruck=&liceBus=&liceMoto=&name=%E7%A7%91%E7%9B%AE%E4%B8%80&gs=xc&cert=C1%2FC2%2FC3&vehicle=%E8%BD%BF%E8%BD%A6&subject=1&title=%E7%B2%BE%E9%80%89%E8%80%83%E9%A2%98&sort=3&__id__=1"
       },
       {
-        "name":"查看更多视频",
-        "path":"pages/carVideo/moreVideo",
+        "name": "查看更多视频",
+        "path": "pages/carVideo/moreVideo",
         "query": "liceCar=1&liceTruck=&liceBus=&liceMoto=&name=%E7%A7%91%E7%9B%AE%E4%B8%80&gs=xc&cert=C1%2FC2%2FC3&vehicle=%E8%BD%BF%E8%BD%A6&subject=1&title=%E7%B2%BE%E9%80%89%E8%80%83%E9%A2%98&sort=3&__id__=1"
       },
       {
-        "name":"pdf列表",
-        "path":"otherPages/pdfList/index",
+        "name": "pdf列表",
+        "path": "otherPages/pdfList/index",
         "query": "liceCar=1&liceTruck=&liceBus=&liceMoto=&name=%E7%A7%91%E7%9B%AE%E4%B8%80&gs=xc&cert=C1%2FC2%2FC3&vehicle=%E8%BD%BF%E8%BD%A6&subject=1&title=%E7%B2%BE%E9%80%89%E8%80%83%E9%A2%98&sort=3&__id__=1"
       },
       {
-        "name":"关注公众号",
-        "path":"otherPages/careGzh/index",
+        "name": "关注公众号",
+        "path": "otherPages/careGzh/index",
         "query": ""
       }
     ]

+ 2 - 2
src/pages/carVideo/components/tabCenter.vue

@@ -86,11 +86,11 @@ export default {
   display: flex;
   flex-direction: column;
   width: 300rpx;
-  margin-top: 50rpx;
+  margin-top: 100rpx;
 
   .center-item {
     position: relative;
-    margin-bottom: 98rpx;
+    margin-bottom: 180rpx;
     color: #fff;
     text-align: center;
   }

+ 21 - 7
src/pages/carVideo/components/tabLeft.vue

@@ -19,10 +19,16 @@ export default {
     },
   },
   methods: {
-  goPath(item, index) {
+    goPath(item, index) {
       let query = Object.assign({}, this.query);
       query.title = item.text;
-   
+      if(item.text==='真实考场模拟'){
+        uni.showToast({
+          title:"请到App体验",
+          icon:"none"
+        })
+        return
+      }
       if (this.needVipList.includes(index) && !this.isVip) {
         uni.showModal({
           title: "提示",
@@ -80,20 +86,28 @@ export default {
 <style lang="scss" scoped>
 .left {
   width: 160rpx;
-  margin-top: 50rpx;
   font-size: $uni-app-fontsize-paragraph;
+  padding-top: 50rpx;
   .left-item {
     width: 100%;
     display: flex;
-    justify-content: center;
+    justify-content: flex-start;
     flex-direction: column;
     align-content: center;
     align-items: center;
-    margin-bottom: 36rpx;
+
+    text-align: center;
+    height: 220rpx;
+
     image {
       width: 100rpx;
       height: 100rpx;
     }
   }
-}
-</style>
+
+  .separate {
+    width: 100%;
+    height: 40rpx;
+    background: gray;
+  }
+}</style>

+ 3 - 3
src/pages/carVideo/components/tabRight.vue

@@ -80,17 +80,17 @@ export default {
 <style lang="scss" scoped>
 .right {
   width: 160rpx;
-  margin-top: 50rpx;
+  padding-top: 50rpx;
   font-size: $uni-app-fontsize-paragraph;
   .right-item {
     white-space: nowrap;
     width: 100%;
     display: flex;
-    justify-content: center;
+    justify-content: flex-start;
     flex-direction: column;
     align-content: center;
     align-items: center;
-    margin-bottom: 36rpx;
+    height: 220rpx;
     image {
       width: 100rpx;
       height: 100rpx;

+ 91 - 0
src/pages/carVideo/components/userInfoAuth.vue

@@ -0,0 +1,91 @@
+<template>
+    <view class="auth">
+        <view>
+        
+            <button class="avatar-wrapper" open-type="chooseAvatar" @chooseavatar="chooseAvatar">
+
+                <image class="avatar-image" style="" mode="widthFx" :src="headImage">
+
+                </image>
+            </button>
+            <view style="width:100%;text-align: center;color: #a8a8a8;margin-bottom: 40rpx;">点击授权使用微信头像</view>
+            <van-field label="用户昵称" type="nickname" v-model="nickName" placeholder="请输入用户名" :border="true" />
+            <view class="buttons">
+                <van-button  round custom-style="width:100%"  class="confirm" type="primary">更新个人信息</van-button>
+                <van-button custom-style="width:100%"  class="cancel" round  type="danger">取消更新</van-button>
+
+            </view>
+        </view>
+
+
+
+    </view>
+</template>
+
+<script>
+export default {
+    data() {
+        return {
+            headImage: "https://mmbiz.qpic.cn/mmbiz/icTdbqWNOwNRna42FI242Lcia07jQodd2FJGIYQfG0LAJGFxM4FbnQP6yfMxBgJ0F3YRqJCJ1aPAK2dQagdusBZg/0",
+            nickName:""
+        }
+    },
+    methods: {
+        chooseAvatar(e) {
+            const { avatarUrl } = e.detail
+            this.headImage = avatarUrl
+
+
+        },
+    },
+
+}
+</script>
+
+<style lang="scss" scoped>
+.auth {
+    position: absolute;
+    width: 100vw;
+    height: 100vh;
+    background: #fff;
+    z-index: 10;
+    display: flex;
+    justify-content: center;
+    padding-top: 250rpx;
+    flex-wrap: wrap;
+    .buttons{
+        width: 100%;
+        display: flex;
+        flex-direction: column;
+        margin-top: 40rpx;
+        align-content: center;
+        align-items: center;
+        .confirm{
+            width: 100%;
+        }
+        .cancel{
+            width: 100%;
+            margin-top: 40rpx;
+        }
+        
+    }
+}
+
+.avatar-image {
+    width: 150rpx;
+    height: 150rpx;
+}
+
+.avatar-wrapper {
+    width: 150rpx;
+    height: 150rpx;
+    background: #fff;
+    padding: 0 !important;
+    overflow: hidden;
+
+}
+
+button ::after {
+    padding: 0;
+}
+</style>

+ 51 - 24
src/pages/carVideo/index.vue

@@ -2,6 +2,7 @@
   <loading v-if="loading"></loading>
 
   <view v-else class="carVideo">
+
     <!-- <topbar>
       <van-search shape="round" placeholder="搜索学车视频" @search="search" />
     </topbar>
@@ -73,8 +74,7 @@
     </view>
     <!-- #ifdef MP-WEIXIN -->
     <view class="tab">
-      <van-tabs   animated class="custom-tabs " :active="active" id="tabs"
-        @change="changeSubject" :sticky="true">
+      <van-tabs animated class="custom-tabs " :active="active" id="tabs" @change="changeSubject" :sticky="true">
         <van-tab class="uni-app-fontsize-paragraph" v-if="xcx_video_open" title="教学视频">
           <subjectVideoSelect></subjectVideoSelect>
         </van-tab>
@@ -179,8 +179,13 @@
         </swiper-item>
       </swiper>
     </view>
+
     <!-- #endif -->
+    <view class="splitLine">
+
+    </view>
     <view v-if="tabQuery.name !== '教学视频'" class="two">
+
       <view @click="
         goPath(
           '/otherPages/selectRulePaper/index',
@@ -247,8 +252,10 @@ import newRulesBg from "@/assets/img/newRulesPaperBg.png";
 import utils from "@/utils/index";
 import api from '@/api'
 import subjectVideoSelect from './components/subjectVideoSelect.vue'
+import userInfoAuth from './components/userInfoAuth.vue';
 export default {
   components: {
+    userInfoAuth,
     shortVideo,
     branchOne,
     branchTwo,
@@ -260,6 +267,7 @@ export default {
     subjectVideoSelect
   },
   data: () => ({
+    userInfoAuthVisible: false,
     xcx_video_open: 0,
     freeUseBg,
     newRulesBg,
@@ -271,7 +279,7 @@ export default {
       liceTruck: "",
       liceBus: "",
       liceMoto: "",
-      name: "教学视频",
+      name: "",
       gs: "xc",
       cert: "C1/C2/C3",
       vehicle: "轿车",
@@ -283,22 +291,22 @@ export default {
     rightList1: [
       {
         img: "https://ct.zzxcx.net/ctjk/mp-wx/carVideo/LocalTopics%402x.png",
-        text: "地方专题",
+        text: "地方专题\n ",
         path: "/otherPages/classifyArea/index",
       },
       {
         img: "https://ct.zzxcx.net/ctjk/mp-wx/carVideo/WrongTopicCollection%402x.png",
-        text: "错题·收藏",
+        text: "错题·收藏\n ",
         path: "/otherPages/collection/index",
       },
       {
         img: "https://ct.zzxcx.net/ctjk/mp-wx/carVideo/NotesBeforeExamination%402x.png",
-        text: "考前须知",
+        text: "考前须知\n ",
         path: "/otherPages/marked/index?markdown=考前须知",
       },
       {
         img: "https://ct.zzxcx.net/ctjk/mp-wx/carVideo/LearnToSee@2x.png",
-        text: "学车必看",
+        text: "学车必看\n ",
         path: "/otherPages/marked/index?markdown=学车必看",
       },
     ],
@@ -406,7 +414,7 @@ export default {
       {
         img: "https://ct.zzxcx.net/ctjk/mp-wx/carVideo/kc.png",
         typeName: "客车",
-        title: "A1/A2/B1",
+        title: "A1/A3/B1",
       },
       {
         img: "https://ct.zzxcx.net/ctjk/mp-wx/carVideo/hc.png",
@@ -480,26 +488,36 @@ export default {
   },
 
   async mounted() {
-    // let { data } = await this.$api.carVideo.getTreeList();
-    // console.log(data);
-    // this.typeList = data;
-    // this.recomVideos0 = data[0].children[0];
-    // this.recomVideos3 = data[3].children[0];
+
     this.loading = false;
-    this.$store.dispatch("GetInfo");
     api.system.systemConfigConfigKey('xcx_video_open').then(res => {
-
       this.xcx_video_open = Number(res.data)
       this.$nextTick(() => {
         this.selectComponent("#tabs").resize() // 需要延迟
       })
-
-
-
-
       console.log(this.xcx_video_open)
     })
-
+    api.user.getInfo().then(res => {
+      uni.setStorageSync("userInfo", res.data);
+      this.$store.commit('SET_USERINFO', res.data)
+      // if (!res.data.nickName) {
+      //   uni.showModal({
+      //     title: "新用户更新信息",
+      //     confirmText: "去更新",
+      //     success: function (res) {
+      //       if (res.confirm) {
+      //        uni.navigateTo({
+      //         url:"/otherPages/userInfoAuth/index"
+      //        })
+      //       } else if (res.cancel) {
+             
+      //       }
+      //     }
+      //   })
+
+
+      // }
+    })
     // this.$nextTick(() => {
     //   this.selectComponent("#tabs").resize();
     // });
@@ -534,8 +552,8 @@ export default {
           break;
         case "货车":
           this.tabQuery.liceCar = "";
-          this.tabQuery.liceTruck = "";
-          this.tabQuery.liceBus = 1;
+          this.tabQuery.liceTruck = 1;
+          this.tabQuery.liceBus = "";
           this.tabQuery.liceMoto = "";
           this.tabQuery.gs = "hc";
           break;
@@ -583,12 +601,21 @@ export default {
 </script>
 
 <style lang="scss" scoped>
+.splitLine {
+  width: 750rpx;
+  height: 20rpx;
+  background: #F2F3F5;
+}
+
 .two {
   width: 100%;
-  height: 140rpx;
-  padding: 0 30rpx;
+  padding: 40rpx 30rpx;
   display: flex;
   justify-content: space-between;
+  flex-wrap: wrap;
+  background: #fff;
+
+
 
   .two-item {
     position: relative;

+ 1 - 1
src/pages/extraHorWeb/index.vue

@@ -10,7 +10,7 @@ export default {
   data() {
     return {
       query: {},
-      src: "https://mn.zzxcx.net/#/exam/begin",
+      src: "https://nbjk-mock.zzxcx.net/#/exam/begin",
       params:""
     };
   },

+ 20 - 46
src/pages/user/index.vue

@@ -1,31 +1,18 @@
 <template>
   <scroll-view scroll-y class="content">
     <div class="user">
-      <van-cell
-    
-        center
-        :value="userInfo.nickName ? userInfo.nickName : '新用户'"
-      
-      >
+      <van-cell @click="getUserProfile" center :value="userInfo.nickName ? userInfo.nickName : '新用户'">
         <view slot="title">
-          <image
-            class="user-headImg"
-            v-if="userInfo.headImage"
-            :src="userInfo.headImage"
-          ></image>
+          <image class="user-headImg" v-if="userInfo.headImage" :src="userInfo.headImage"></image>
           <image class="user-headImg" v-else :src="unLoginHead"></image>
         </view>
       </van-cell>
-      <!-- <van-cell
-        title="资料下载"
-        is-link
-        @click="goVipPath('/otherPages/pdfList/index')"
-        center
-      >
+      <van-cell title-class="uni-app-fontsize-paragraph" title="电子资料" is-link @click="goPath('/pages/extraWeb/index?src=https://nbjk-h5.zzxcx.net/pdfImages')"
+        center>
         <template #icon>
           <m-icon type="fkbz" class="cell-icon" />
         </template>
-      </van-cell> -->
+      </van-cell>
       <!-- <van-cell title="我要提现" value="" is-link center @click="goCashOut">
         </van-cell> -->
       <!-- <van-cell title="我的下级" value="" is-link center @click="goMyBranch">
@@ -53,29 +40,11 @@
 
       <!-- #endif -->
       <!-- #ifdef MP-TOUTIAO -->
-      <van-cell
-        v-if="!isVip"
-        title="会员有效期"
-        :value="'开通会员'"
-        is-link
-        center
-        url="/otherPages/buyVip/index"
-      >
+      <van-cell v-if="!isVip" title="会员有效期" :value="'开通会员'" is-link center url="/otherPages/buyVip/index">
       </van-cell>
-      <van-cell
-        v-if="isVip"
-        title="会员有效期"
-        :value="'已开通'"
-        is-link
-        center
-      >
+      <van-cell v-if="isVip" title="会员有效期" :value="'已开通'" is-link center>
       </van-cell>
-      <van-cell
-        title="资料下载"
-        is-link
-        @click="goVipPath('/otherPages/pdfList/index')"
-        center
-      >
+      <van-cell title="资料下载" is-link @click="goVipPath('/otherPages/pdfList/index')" center>
         <template #icon>
           <m-icon type="fkbz" class="cell-icon" />
         </template>
@@ -84,12 +53,7 @@
       <!-- #endif -->
       <!-- #ifdef MP-WEIXIN -->
 
-      <van-cell
-        title="反馈帮助"
-        is-link
-        center
-        url="/pages/extraWeb/index?src=https://support.qq.com/product/359609"
-      >
+      <van-cell title-class="uni-app-fontsize-paragraph" title="反馈帮助" is-link center url="/pages/extraWeb/index?src=https://support.qq.com/product/359609">
         <template #icon>
           <m-icon type="fkbz" class="cell-icon" />
         </template>
@@ -130,6 +94,12 @@ export default {
 
   },
   methods: {
+    goPath(url) {
+
+      uni.navigateTo({
+          url,
+        });
+    },
     goVipPath(url) {
       if (this.isVip) {
         uni.navigateTo({
@@ -138,7 +108,7 @@ export default {
       } else {
         uni.showToast({
           title: "vip才能使用",
-          icon:'none'
+          icon: 'none'
         });
       }
     },
@@ -176,21 +146,25 @@ export default {
 <style lang="scss" scoped>
 .user {
   background-color: #f2f3f5;
+
   /* height: 100vh; */
   .group {
     margin: 10px 0;
   }
+
   .user-avatar {
     width: 46px;
     height: 46px;
     margin-right: 10px;
   }
 }
+
 .user-headImg {
   width: 90rpx;
   height: 90rpx;
   border-radius: 50%;
 }
+
 .cell-icon {
   margin-right: 5px;
 }