Преглед изворни кода

新规秘卷上移,引导到公众号的图片修改

JXDS18FUJT пре 2 година
родитељ
комит
68b77fba38

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

@@ -2,7 +2,7 @@ import request from '../request'
 const json = {
     markdown(name) {
         return request({
-            url: `/markdown/${name}.json`,
+            url: `https://nbjk-h5.zzxcx.net/markdown/${name}.json`,
             method: 'get'
         })
 

BIN
src/assets/img/newRulesPaperBg.png


+ 10 - 3
src/otherPages/beforeMockExam/index.vue

@@ -1,6 +1,6 @@
 <template>
   <view class="bg">
-    <m-nav-bar title="模拟考试" :transparent="true" />
+    <!-- <m-nav-bar title="模拟考试" :transparent="true" /> -->
     <view class="user">
       <image class="userImage" :src="headImage"></image>
       <view class="name">
@@ -53,6 +53,13 @@
         <m-button class="start" width="532rpx" height="80rpx" text="开始考试" />
       </view>
     </div>
+    <view class="wxad" style="padding:20rpx 30rpx">
+      <ad
+        :ad-intervals="100"
+        ad-type="video"
+        unit-id="adunit-8eb44bbd7e3147d4"
+      ></ad>
+    </view>
   </view>
 </template>
 
@@ -139,6 +146,7 @@ export default {
   padding-left: 60rpx;
   height: 152rpx;
   display: flex;
+  margin-bottom: 40rpx;
   .userImage {
     width: 112rpx;
     height: 112rpx;
@@ -153,19 +161,18 @@ export default {
 }
 .content {
   width: 690rpx;
+  height: 820rpx;
   background: #ffffff;
   box-shadow: 0px 0px 8rpx rgba(124, 129, 136, 0.2);
   border-radius: 20rpx;
   position: relative;
   left: 50%;
-  top: 80rpx;
   transform: translateX(-50%);
   padding: 0rpx 0rpx;
   box-sizing: border-box;
   display: flex;
   flex-direction: column;
   align-items: center;
-  padding-bottom: 80rpx;
   .title {
     background-image: url("https://ct.zzxcx.net/ctjk/mp-wx/beforeMockExam/header.png");
     background-size: 100%;

+ 5 - 4
src/pages.json

@@ -305,9 +305,10 @@
         },
         {
           "path": "beforeMockExam/index",
-          "styles": {
+          "style": {
             "navigationBarTitleText": "模拟考试",
-            "enablePullDownRefresh": false
+            "enablePullDownRefresh": false,
+            "navigationStyle": "default"
           }
         },
         {
@@ -368,7 +369,7 @@
         {
           "path": "selectRulePaper/index",
           "style": {
-            "navigationBarTitleText": "科一考前秘卷",
+            "navigationBarTitleText": "考前秘卷",
             "enablePullDownRefresh": false
           }
         },
@@ -384,7 +385,7 @@
   ],
   "tabBar": {
     "color": "#7A7E83",
-    "selectedColor": "#E31818",
+    "selectedColor": "#498EF5",
     "borderStyle": "white",
     "backgroundColor": "#ffffff",
     "list": [

+ 12 - 17
src/pages/carVideo/index.vue

@@ -123,7 +123,7 @@
           @click="
             () => {
               active = 0;
-              tabQuery.subject =1
+              tabQuery.subject = 1;
             }
           "
           class="subject-tabs"
@@ -135,7 +135,7 @@
           @click="
             () => {
               active = 1;
-              tabQuery.subject =4
+              tabQuery.subject = 4;
             }
           "
           class="subject-tabs"
@@ -150,14 +150,13 @@
         @scrolltoupper="
           () => {
             active = 0;
-            tabQuery.subject =1
-            
+            tabQuery.subject = 1;
           }
         "
         @scrolltolower="
           () => {
             active = 1;
-            tabQuery.subject =4
+            tabQuery.subject = 4;
           }
         "
         scroll-with-animation
@@ -217,7 +216,7 @@
 
     <!-- #endif -->
 
-    <view class="splitLine"> </view>
+    <!-- <view class="splitLine"> </view>
     <view v-if="tabQuery.name !== '教学视频'" class="two">
       <view
         @click="
@@ -244,7 +243,7 @@
           >考前秘籍 直击考点</text
         >
       </view>
-    </view>
+    </view> -->
     <!-- <view v-if="active == 0 || active == 3">
       <van-cell
         v-if="active == 0"
@@ -291,8 +290,6 @@ import tabRight from "./components/tabRight.vue";
 import TabCenter from "./components/tabCenter.vue";
 import VideoListBox from "./components/videoListBox.vue";
 import userInfoHead from "./components/userInfoHead.vue";
-import freeUseBg from "@/assets/img/freeUseBg.png";
-import newRulesBg from "@/assets/img/newRulesPaperBg.png";
 import utils from "@/utils/index";
 import api from "@/api";
 import subjectVideoSelect from "./components/subjectVideoSelect.vue";
@@ -313,8 +310,6 @@ export default {
   data: () => ({
     userInfoAuthVisible: false,
     xcx_video_open: 0,
-    freeUseBg,
-    newRulesBg,
     subjectMap: ["科目一", "科目二", "科目三", "科目四"],
     recomVideos0: [],
     recomVideos3: [],
@@ -378,9 +373,9 @@ export default {
         path: "/otherPages/classifyKind/index",
       },
       {
-        img: "https://ct.zzxcx.net/ctjk/mp-wx/carVideo/realExaminationRoomSimulation@2x.png",
-        text: "真实考场模拟",
-        path: "/pages/extraHorWeb/index",
+        img: "https://ct.zzxcx.net/ctjk/mp-wx/carVideo/newRulesPaper@2x.png",
+        text: "新规秘卷",
+        path: "/otherPages/selectRulePaper/index",
       },
 
       {
@@ -436,9 +431,9 @@ export default {
         path: "/otherPages/classifyKind/index",
       },
       {
-        img: "https://ct.zzxcx.net/ctjk/mp-wx/carVideo/realExaminationRoomSimulation@2x.png",
-        text: "真实考场模拟",
-        path: "/pages/extraHorWeb/index",
+        img: "https://ct.zzxcx.net/ctjk/mp-wx/carVideo/newRulesPaper@2x.png",
+        text: "新规秘卷",
+        path: "/otherPages/selectRulePaper/index",
       },
 
       {

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

@@ -1,7 +1,7 @@
 <template>
     <div  style="display: flex;position: relative;">
         <!-- <van-icon @click="back" class="leftback" name="arrow-left" /> -->
-        <image mode="widthFix" class="bg" :show-menu-by-longpress="true" src="https://ct.zzxcx.net/ctjk/mp-wx/careGzh/care.png"></image>
+        <image mode="widthFix" class="bg" :show-menu-by-longpress="true" src="https://ct.zzxcx.net/ctjk/mp-wx/careGzh/care1.png"></image>
         <image mode="widthFix" :show-menu-by-longpress="true" class="hand" src="https://ct.zzxcx.net/ctjk/mp-wx/careGzh/hand.gif"></image>
     </div>
 </template>