Browse Source

新增电子秘籍

JXDS18FUJT 9 months ago
parent
commit
df0daa4f59

+ 86 - 98
package-lock.json

@@ -3028,6 +3028,44 @@
           "integrity": "sha1-/q7SVZc9LndVW4PbwIhRpsY1IPo=",
           "dev": true
         },
+        "ansi-styles": {
+          "version": "4.3.0",
+          "resolved": "https://registry.npmmirror.com/ansi-styles/-/ansi-styles-4.3.0.tgz",
+          "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",
+          "dev": true,
+          "optional": true,
+          "requires": {
+            "color-convert": "^2.0.1"
+          }
+        },
+        "chalk": {
+          "version": "4.1.2",
+          "resolved": "https://registry.npmmirror.com/chalk/-/chalk-4.1.2.tgz",
+          "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==",
+          "dev": true,
+          "optional": true,
+          "requires": {
+            "ansi-styles": "^4.1.0",
+            "supports-color": "^7.1.0"
+          }
+        },
+        "color-convert": {
+          "version": "2.0.1",
+          "resolved": "https://registry.npmmirror.com/color-convert/-/color-convert-2.0.1.tgz",
+          "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==",
+          "dev": true,
+          "optional": true,
+          "requires": {
+            "color-name": "~1.1.4"
+          }
+        },
+        "color-name": {
+          "version": "1.1.4",
+          "resolved": "https://registry.npmmirror.com/color-name/-/color-name-1.1.4.tgz",
+          "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==",
+          "dev": true,
+          "optional": true
+        },
         "globby": {
           "version": "9.2.0",
           "resolved": "https://registry.npm.taobao.org/globby/download/globby-9.2.0.tgz?cache=0&sync_timestamp=1616407139482&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fglobby%2Fdownload%2Fglobby-9.2.0.tgz",
@@ -3044,6 +3082,13 @@
             "slash": "^2.0.0"
           }
         },
+        "has-flag": {
+          "version": "4.0.0",
+          "resolved": "https://registry.npmmirror.com/has-flag/-/has-flag-4.0.0.tgz",
+          "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==",
+          "dev": true,
+          "optional": true
+        },
         "hash-sum": {
           "version": "2.0.0",
           "resolved": "https://registry.npm.taobao.org/hash-sum/download/hash-sum-2.0.0.tgz",
@@ -3056,6 +3101,25 @@
           "integrity": "sha1-dQ49tYYgh7RzfrrIIH/9HvJ7Jfw=",
           "dev": true
         },
+        "json5": {
+          "version": "2.2.3",
+          "resolved": "https://registry.npmmirror.com/json5/-/json5-2.2.3.tgz",
+          "integrity": "sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==",
+          "dev": true,
+          "optional": true
+        },
+        "loader-utils": {
+          "version": "2.0.4",
+          "resolved": "https://registry.npmmirror.com/loader-utils/-/loader-utils-2.0.4.tgz",
+          "integrity": "sha512-xXqpXoINfFhgua9xiqD8fPFHgkoq1mmmpE92WlDbm9rNRd/EbRb+Gqf908T2DMfuHjjJlksiK2RbHVOdD/MqSw==",
+          "dev": true,
+          "optional": true,
+          "requires": {
+            "big.js": "^5.2.2",
+            "emojis-list": "^3.0.0",
+            "json5": "^2.1.2"
+          }
+        },
         "slash": {
           "version": "2.0.0",
           "resolved": "https://registry.npm.taobao.org/slash/download/slash-2.0.0.tgz?cache=0&sync_timestamp=1618384508676&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fslash%2Fdownload%2Fslash-2.0.0.tgz",
@@ -3070,6 +3134,28 @@
           "requires": {
             "minipass": "^3.1.1"
           }
+        },
+        "supports-color": {
+          "version": "7.2.0",
+          "resolved": "https://registry.npmmirror.com/supports-color/-/supports-color-7.2.0.tgz",
+          "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==",
+          "dev": true,
+          "optional": true,
+          "requires": {
+            "has-flag": "^4.0.0"
+          }
+        },
+        "vue-loader-v16": {
+          "version": "npm:vue-loader@16.8.3",
+          "resolved": "https://registry.npmmirror.com/vue-loader/-/vue-loader-16.8.3.tgz",
+          "integrity": "sha512-7vKN45IxsKxe5GcVCbc2qFU5aWzyiLrYJyUuMz4BQLKctCj/fmCa0w6fGiiQ2cLFetNcek1ppGJQDCup0c1hpA==",
+          "dev": true,
+          "optional": true,
+          "requires": {
+            "chalk": "^4.1.0",
+            "hash-sum": "^2.0.0",
+            "loader-utils": "^2.0.0"
+          }
         }
       }
     },
@@ -15563,104 +15649,6 @@
         "vue-style-loader": "^4.1.0"
       }
     },
-    "vue-loader-v16": {
-      "version": "npm:vue-loader@16.2.0",
-      "resolved": "https://registry.nlark.com/vue-loader/download/vue-loader-16.2.0.tgz",
-      "integrity": "sha1-BGpTMI3Ufljv4g3ewe3sAnzjtG4=",
-      "dev": true,
-      "optional": true,
-      "requires": {
-        "chalk": "^4.1.0",
-        "hash-sum": "^2.0.0",
-        "loader-utils": "^2.0.0"
-      },
-      "dependencies": {
-        "ansi-styles": {
-          "version": "4.3.0",
-          "resolved": "https://registry.nlark.com/ansi-styles/download/ansi-styles-4.3.0.tgz",
-          "integrity": "sha1-7dgDYornHATIWuegkG7a00tkiTc=",
-          "dev": true,
-          "optional": true,
-          "requires": {
-            "color-convert": "^2.0.1"
-          }
-        },
-        "chalk": {
-          "version": "4.1.1",
-          "resolved": "https://registry.nlark.com/chalk/download/chalk-4.1.1.tgz?cache=0&sync_timestamp=1618995367379&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fchalk%2Fdownload%2Fchalk-4.1.1.tgz",
-          "integrity": "sha1-yAs/qyi/Y3HmhjMl7uZ+YYt35q0=",
-          "dev": true,
-          "optional": true,
-          "requires": {
-            "ansi-styles": "^4.1.0",
-            "supports-color": "^7.1.0"
-          }
-        },
-        "color-convert": {
-          "version": "2.0.1",
-          "resolved": "https://registry.npm.taobao.org/color-convert/download/color-convert-2.0.1.tgz",
-          "integrity": "sha1-ctOmjVmMm9s68q0ehPIdiWq9TeM=",
-          "dev": true,
-          "optional": true,
-          "requires": {
-            "color-name": "~1.1.4"
-          }
-        },
-        "color-name": {
-          "version": "1.1.4",
-          "resolved": "https://registry.npm.taobao.org/color-name/download/color-name-1.1.4.tgz",
-          "integrity": "sha1-wqCah6y95pVD3m9j+jmVyCbFNqI=",
-          "dev": true,
-          "optional": true
-        },
-        "has-flag": {
-          "version": "4.0.0",
-          "resolved": "https://registry.npm.taobao.org/has-flag/download/has-flag-4.0.0.tgz",
-          "integrity": "sha1-lEdx/ZyByBJlxNaUGGDaBrtZR5s=",
-          "dev": true,
-          "optional": true
-        },
-        "hash-sum": {
-          "version": "2.0.0",
-          "resolved": "https://registry.npm.taobao.org/hash-sum/download/hash-sum-2.0.0.tgz",
-          "integrity": "sha1-gdAbtd6OpKIUrV1urRtSNGCwtFo=",
-          "dev": true,
-          "optional": true
-        },
-        "json5": {
-          "version": "2.2.0",
-          "resolved": "https://registry.npm.taobao.org/json5/download/json5-2.2.0.tgz?cache=0&sync_timestamp=1612146215945&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fjson5%2Fdownload%2Fjson5-2.2.0.tgz",
-          "integrity": "sha1-Lf7+cgxrpSXZ69kJlQ8FFTFsiaM=",
-          "dev": true,
-          "optional": true,
-          "requires": {
-            "minimist": "^1.2.5"
-          }
-        },
-        "loader-utils": {
-          "version": "2.0.0",
-          "resolved": "https://registry.npm.taobao.org/loader-utils/download/loader-utils-2.0.0.tgz",
-          "integrity": "sha1-5MrOW4FtQloWa18JfhDNErNgZLA=",
-          "dev": true,
-          "optional": true,
-          "requires": {
-            "big.js": "^5.2.2",
-            "emojis-list": "^3.0.0",
-            "json5": "^2.1.2"
-          }
-        },
-        "supports-color": {
-          "version": "7.2.0",
-          "resolved": "https://registry.nlark.com/supports-color/download/supports-color-7.2.0.tgz?cache=0&sync_timestamp=1622293579301&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fsupports-color%2Fdownload%2Fsupports-color-7.2.0.tgz",
-          "integrity": "sha1-G33NyzK4E4gBs+R4umpRyqiWSNo=",
-          "dev": true,
-          "optional": true,
-          "requires": {
-            "has-flag": "^4.0.0"
-          }
-        }
-      }
-    },
     "vue-style-loader": {
       "version": "4.1.3",
       "resolved": "https://registry.npm.taobao.org/vue-style-loader/download/vue-style-loader-4.1.3.tgz",

+ 23 - 0
src/api/modules/wx.js

@@ -0,0 +1,23 @@
+import request from '../request'
+const wx = {
+    wxMaterialList(params){
+        return request({
+            headers:{
+                'isLogin':"1"
+            },
+            url:`wx/material/list`,
+            params
+        })
+    },
+    studentWxExtractMyExtractList(params){
+        return request({
+            url:`student/wx/extract/myExtractList/${params.status}`
+        })
+        
+
+    }
+
+}
+
+
+export default wx

+ 2 - 2
src/api/request.js

@@ -8,8 +8,8 @@ import mock from './mock'
 
 
 // const baseUrl = 'http://192.168.8.219:8080';
-const baseUrl = 'http://192.168.8.213:8080/zzjs-admin';
-// const baseUrl = 'https://zzjs.zzxcx.net/prod-api';
+//const baseUrl = 'http://192.168.8.213:8080/zzjs-admin';
+const baseUrl = 'https://zzjs.zzxcx.net/prod-api';
 
 // 创建axios实例
 const service = axios.create({

+ 61 - 54
src/components/m-home-bottomad/m-home-bottomad.vue

@@ -1,65 +1,72 @@
 <template>
-	<view class="bottom-ad" v-for="(item,index) in bottomAD" :key='item.id' @click="$utils.route.clickJumpType(item.$orig)">
-		<image style="width: 100%;" :src="item.fileUrl" mode="widthFix"></image>
-		<text>今日仅剩{{index|dynamicQuantity}}个</text>
-		<button>免费领取</button>
-	</view>
+  <view>
+    <view
+      class="bottom-ad"
+      :key="item.id"
+      @click="$utils.route.clickJumpType(item.$orig)"
+      v-for="(item, index) in bottomAD"
+    >
+      <image style="width: 100%" :src="item.fileUrl" mode="widthFix"></image>
+      <text>今日仅剩{{ index | dynamicQuantity }}个</text>
+      <button>免费领取</button>
+    </view>
+  </view>
 </template>
 
 <script>
-	export default {
-		name: "m-home-bottomad",
-		props:{
-			bottomAD:{
-				type: Array,
-				default:[]
-			}
-		},
-		filters: {
-			dynamicQuantity(index) {
-				index++
-				let x = new Date().getHours() / 3
-				let num = ((x - 8) ** 2) + index * (8 - x) * 1 + index * 3 + 1
-				return parseInt(num)
-			}
-		},
-	}
+export default {
+  name: "m-home-bottomad",
+  props: {
+    bottomAD: {
+      type: Array,
+      default: [],
+    },
+  },
+  filters: {
+    dynamicQuantity(index) {
+      index++;
+      let x = new Date().getHours() / 3;
+      let num = (x - 8) ** 2 + index * (8 - x) * 1 + index * 3 + 1;
+      return parseInt(num);
+    },
+  },
+};
 </script>
 
 <style lang="scss">
-	.bottom-ad {
-		margin-top: 15rpx;
-		position: relative;
+.bottom-ad {
+  margin-top: 15rpx;
+  position: relative;
 
-		&:nth-child(2) {
-			margin-top: 20rpx;
-		}
+  &:nth-child(2) {
+    margin-top: 20rpx;
+  }
 
-		text {
-			position: absolute;
-			top: 104rpx;
-			left: 220rpx;
-			padding: 10rpx 15rpx;
-			background: #FFE1D9;
-			font-size: 22rpx;
-			font-family: PingFang SC;
-			font-weight: 400;
-			color: #A40303;
-		}
+  text {
+    position: absolute;
+    top: 104rpx;
+    left: 220rpx;
+    padding: 10rpx 15rpx;
+    background: #ffe1d9;
+    font-size: 22rpx;
+    font-family: PingFang SC;
+    font-weight: 400;
+    color: #a40303;
+  }
 
-		button {
-			position: absolute;
-			top: 67rpx;
-			right: 40rpx;
-			display: inline-block;
-			margin: 0;
-			padding: 0rpx 26rpx;
-			background: linear-gradient(90deg, #E31818, #ED3E24, #ED4F24);
-			border-radius: 30rpx;
-			font-size: 26rpx;
-			font-family: PingFang SC;
-			font-weight: 400;
-			color: #FFFFFF;
-		}
-	}
+  button {
+    position: absolute;
+    top: 67rpx;
+    right: 40rpx;
+    display: inline-block;
+    margin: 0;
+    padding: 0rpx 26rpx;
+    background: linear-gradient(90deg, #e31818, #ed3e24, #ed4f24);
+    border-radius: 30rpx;
+    font-size: 26rpx;
+    font-family: PingFang SC;
+    font-weight: 400;
+    color: #ffffff;
+  }
+}
 </style>

+ 56 - 28
src/pages.json

@@ -38,7 +38,6 @@
 				"navigationBarTitleText": "",
 				"enablePullDownRefresh": false
 			}
-
 		},
 		{
 			"path": "pages/cinema/cinemalist",
@@ -46,7 +45,6 @@
 				"navigationBarTitleText": "影院列表",
 				"enablePullDownRefresh": false
 			}
-
 		},
 		{
 			"path": "pages/cinema/schedulelist",
@@ -55,85 +53,93 @@
 				"enablePullDownRefresh": false,
 				"backgroundColor": "#ffffff"
 			}
-
-		}, {
+		},
+		{
 			"path": "pages/cinema/selectseat",
 			"style": {
 				"navigationBarTitleText": "",
 				"enablePullDownRefresh": false
 			}
-
-		}, {
+		},
+		{
 			"path": "pages/cinema/placeorder",
 			"style": {
 				"navigationBarTitleText": "付款",
 				"enablePullDownRefresh": false
 			}
-
-		}, {
+		},
+		{
 			"path": "pages/user/order",
 			"style": {
 				"navigationBarTitleText": "我的订单",
 				"enablePullDownRefresh": false
 			}
-
-		}, {
+		},
+		{
 			"path": "pages/cinema/orderdes",
 			"style": {
 				"navigationBarTitleText": "订单详情",
 				"enablePullDownRefresh": false
 			}
-		}, {
+		},
+		{
 			"path": "pages/cinema/citylist",
 			"style": {
 				"navigationBarTitleText": "选择城市",
 				"enablePullDownRefresh": false
 			}
-		}, {
+		},
+		{
 			"path": "pages/fulu/index",
 			"style": {
 				"navigationBarTitleText": "",
 				"enablePullDownRefresh": false
 			}
-		}, {
+		},
+		{
 			"path": "pages/fulu/placeorder",
 			"style": {
 				"navigationBarTitleText": "",
 				"enablePullDownRefresh": false
 			}
-		}, {
+		},
+		{
 			"path": "pages/fulu/orderdes",
 			"style": {
 				"navigationBarTitleText": "",
 				"enablePullDownRefresh": false
 			}
-		}, {
+		},
+		{
 			"path": "pages/carVideo/index",
 			"style": {
 				"navigationBarTitleText": "",
 				"enablePullDownRefresh": false,
 				"navigationStyle": "custom"
 			}
-		}, {
+		},
+		{
 			"path": "pages/phoneBill/index",
 			"style": {
 				"navigationBarTitleText": "",
 				"enablePullDownRefresh": false
 			}
-		}, {
+		},
+		{
 			"path": "pages/phoneBill/orderdes",
 			"style": {
 				"navigationBarTitleText": "",
 				"enablePullDownRefresh": false
 			}
-		}, {
+		},
+		{
 			"path": "pages/carVideo/play",
 			"style": {
 				"navigationBarTitleText": "",
 				"enablePullDownRefresh": false
 			}
-
-		}, {
+		},
+		{
 			"path": "pages/carVideo/more",
 			"style": {
 				"navigationBarTitleText": ""
@@ -152,6 +158,25 @@
 				"navigationBarTitleText": "",
 				"navigationStyle": "custom"
 			}
+		},
+		{
+			"path": "pages/lookBeforeExam/index",
+			"style": {
+				"navigationBarTitleText": "考前必看"
+				
+			}
+		},
+		{
+			"path": "pages/subjectTextCheats/index",
+			"style": {
+				"navigationBarTitleText": "文字技巧"
+				
+			}
+		},{
+			"path":"pages/textCheatsList/index",
+			"style":{
+				"navigationBarTitleText": "文字技巧列表"
+			}
 		}
 	],
 	"tabBar": {
@@ -159,7 +184,8 @@
 		"selectedColor": "#E31818",
 		"borderStyle": "white",
 		"backgroundColor": "#ffffff",
-		"list": [{
+		"list": [
+			{
 				"pagePath": "pages/home/index",
 				"iconPath": "static/imgs/home.png",
 				"selectedIconPath": "static/imgs/home-avtive.png",
@@ -175,7 +201,7 @@
 				"pagePath": "pages/cinema/index",
 				"iconPath": "static/imgs/theFilm.png",
 				"selectedIconPath": "static/imgs/theFilm-avtive.png",
-				"text": "电影" 
+				"text": "电影"
 			},
 			{
 				"pagePath": "pages/user/index",
@@ -226,10 +252,12 @@
 	},
 	"condition": { //模式配置,仅开发期间生效
 		"current": 0, //当前激活的模式(list 的索引项)
-		"list": [{
-			"name": "", //模式名称
-			"path": "", //启动页面,必选
-			"query": "" //启动参数,在页面的onLoad函数里面得到
-		}]
+		"list": [
+			{
+				"name": "", //模式名称
+				"path": "", //启动页面,必选
+				"query": "" //启动参数,在页面的onLoad函数里面得到
+			}
+		]
 	}
-}
+}

+ 260 - 0
src/pages/lookBeforeExam/index.vue

@@ -0,0 +1,260 @@
+<template>
+  <div class="bg">
+    <button open-type="share" class="share1">
+      <div style="position: relative; width: 100%">
+        <image
+          v-for="(item, index) in 9"
+          :style="{
+            left: item * 34 + 'rpx',
+          }"
+          :key="index"
+          class="headImg"
+          :src="
+            'https://ndata.zzxcx.net/ctjk/mp-wx/textCheatsList/headImg' +
+            (item + 1) +
+            '@2x.png'
+          "
+        ></image>
+        <view
+          style="
+            color: #8a9099;
+            font-size: 28rpx;
+            left: 340rpx;
+            position: absolute;
+            width: 90rpx;
+            top: 6rpx;
+          "
+          class=""
+          >已参与</view
+        >
+        <view
+          style="
+            color: #fff;
+            position: absolute;
+            top: 6rpx;
+            width: 182rpx;
+            line-height: 52rpx;
+            background: #498ef5;
+            border-radius: 30rpx;
+            background: #498ef5;
+            right: 0;
+            text-align: center;
+            font-size: 28rpx;
+          "
+        >
+          分享给好友
+        </view>
+      </div>
+    </button>
+    <div class="article">
+      <div class="paragraph">
+        <div class="title">
+          <img
+            style="width: 8rpx; height: 40rpx; display: inline-block; margin-right: 8rpx"
+            src="https://ndata.zzxcx.net/ctjk/mp-wx/textCheatsList/blue_pillar@2x.png"
+          />考试焦虑造成的危害有三个方面:
+        </div>
+        <div class="content">
+          <view>
+            <view class="text"> 1.会影响学员的自我评价,降低自信心,认为自己考不过</view>
+            <view class="text"> 2.会诱发大脑的超限抑制,降低大脑的活动效率</view>
+            <view class="text">
+              3.造成许多生理反应,降低机体的机能。三个方面相互影响,相互作用,导致了考生考试效率的降低。
+            </view>
+          </view>
+        </div>
+      </div>
+      <div class="paragraph">
+        <div class="title">
+          <img
+            style="width: 8rpx; height: 40rpx; display: inline-block; margin-right: 8rpx"
+            src="https://ndata.zzxcx.net/ctjk/mp-wx/textCheatsList/blue_pillar@2x.png"
+          />缓解考前紧张方法:
+        </div>
+        <div class="content">
+          <view>
+            <view class="text">
+              1.深呼吸法:考前找一个比较安静的地方,缓慢的吸气缓慢的呼气,同时在呼气的过程中将身体从头到脚的肌肉,慢慢地放松下来。躯体上的放松会影响到情绪上的放松。这样可以使血液循环减慢、心神安定下来,全身有一种轻松感,能够快速的缓解紧张的情绪</view
+            >
+            <view class="text">
+              2.精神胜利法:心里想,我一定能成功,一定能发挥超常,考出好成绩。
+              我考不好,别人也不怎么样反而会降低压力,保持平常心</view
+            >
+            <view class="text">
+              3.场活动法:把心理的紧张转移到身体的移动,进而舒解情绪。身体的松动有助于心理的放松,更能扩大自信心。由于正常的紧张情绪也会使体内产生大量的热能,所以可以在考试前稍稍活动活动,使热量散发。可走动、小跑、摇摆、踢腿;可以双手握紧再放开,让全身肌肉缩紧再放松;
+              可在考试过程中用力拧一下身体的某一部位。这样紧张情绪会渐渐消失
+            </view>
+            <view class="text">
+              4.闭目养神法:闭上眼睛,着意去想象一些恬静美好的景物,如蓝色的海水、金黄色的沙滩、朵朵白云高山流水等</view
+            >
+            <view class="text">
+              5.确定一个距离较远的明朗的物体,凝神并细心地去分析、琢磨其颜色与远近</view
+            >
+            <view class="text">
+              6.自我暗示法:可用简短、有力、肯走的语句反复默“我的能力很强”,”我一定会考好”,“我一定会胜念:利”,“我会考出令我满意的成绩”。只要选择以上任何一句反复默念几遍,以自我暗示的方法来稳定情绪,也可排除紧张。在心中默念镇定情绪,每天默念增强自信心的话
+              3 至5 遍</view
+            >
+            <view class="text"
+              >7.类比法:“我考试紧张,任何人考试都紧张。”对此自己不妨泰然处之</view
+            >
+            <view class="text"
+              >8.联想法:紧张时,想自己曾经做过成功的事,回想成功时的心理体验,这样会感到非常满足,从而消除紧张</view
+            >
+            <view class="text"
+              >9.可以消除紧张地食物有牛奶:钙是天然的神经系统稳定剂。研究证明,人在受到某种压力时通过小便排出体外的钙会增加。因此,考生要注意选择含钙高的牛奶、酸奶等食物,可稳定情绪。
+              <view style="margin-bottom: 30rpx" class=""
+                >香蕉:含有一种特殊物质,能帮助人脑产生 5-羟色胺促使人的心情变得安定、舒畅。
+                香蕉:香蕉中富含的钾能使神经肌肉兴奋性维持常态,使血压处于正常状态。香蕉中含有的镁具有消除疲劳、缓解紧张的功效</view
+              >
+              <view style="margin-bottom: 30rpx" class=""
+                >柑橘:多吃富含维生素℃的食物也具有平衡心理压力的效果。其中柑橘类水果及番茄富含维生素C</view
+              >
+              <view style="margin-bottom: 30rpx" class=""
+                >小米粥:富含人体所需的氨基酸及其他优质蛋白质各种矿物质、胡萝卜素等。常喝小米粥可调节人体内分泌,松弛神经。</view
+              >
+              <view style="margin-bottom: 30rpx" class=""
+                >红茶:有降低机体应激激素分泌水平的功效,</view
+              >
+              <view style="margin-bottom: 30rpx" class=""
+                >特别提醒:考试每个项目结束后都可以停车休息的可以调整一下心态,再进行到下一个项目当中</view
+              >
+            </view>
+          </view>
+        </div>
+      </div>
+      <div class="paragraph">
+        <div class="title">
+          <img
+            style="width: 8rpx; height: 40rpx; display: inline-block; margin-right: 8rpx"
+            src="https://ndata.zzxcx.net/ctjk/mp-wx/textCheatsList/blue_pillar@2x.png"
+          />科目三考试当天准备动作:
+        </div>
+        <div class="content">
+          <view>
+            <view class="text"> 一调、二系、三查、四踩</view>
+            <view class="text"> 一调:调整座椅、倒车镜一般不用调整!</view>
+            <view class="text"> 二系:系上安全带 </view>
+            <view class="text">
+              三查:检查一下车辆是否打火了、档杆是否在空挡上、手刹是否拉上了、本检查一下灯光
+            </view>
+            <view class="text">
+              特别提醒:科目三考试的道路,遇到任何突发情况都可以停车的,除了 在路口。
+            </view>
+          </view>
+        </div>
+      </div>
+      <div class="paragraph">
+        <div class="title">
+          <img
+            style="width: 8rpx; height: 40rpx; display: inline-block; margin-right: 8rpx"
+            src="https://ndata.zzxcx.net/ctjk/mp-wx/textCheatsList/blue_pillar@2x.png"
+          />科目四考试当天准备动作:
+        </div>
+        <div class="content">
+          <view>
+            <view class="text"> 朗读科目四考试答案十遍。</view>
+            <view class="text"> 特别提醒::考前模拟考试连续五次 96 分以上。</view>
+          </view>
+        </div>
+      </div>
+
+      <ad
+        
+          ad-type="video"
+          :ad-intervals="100"
+          unit-id="adunit-173f2958099a2b25"
+        ></ad>
+      <div style="height: 30rpx"></div>
+    </div>
+  </div>
+</template>
+
+<script>
+export default {
+  data() {
+    return {};
+  },
+  onLoad() {
+    // 在页面中定义插屏广告
+    let interstitialAd = null;
+    // 在页面onLoad回调事件中创建插屏广告实例
+    if (uni.createInterstitialAd) {
+      interstitialAd = uni.createInterstitialAd({
+        adUnitId: "adunit-cb696895e6fdcfb7",
+      });
+      interstitialAd.onLoad(() => {
+        console.log("ad load")
+      });
+      interstitialAd.onError((err) => {
+        console.error(err);
+      });
+      interstitialAd.onClose(() => {});
+    }
+    // 在适合的场景显示插屏广告
+    if (interstitialAd) {
+      interstitialAd.show().catch((err) => {
+        console.log(err)
+      });
+    }
+  },
+  onShareAppMessage(res) {
+    if (res.from === "button") {
+      // 来自页面内分享按钮
+      console.log(res.target);
+    }
+    return {
+      title: "科目一四宝典",
+      imageUrl:"https://ndata.zzxcx.net/ctjk/mp-wx/textCheatsList/share_cover@2x.jpg",
+      path: `/pages/textCheatsList/index`,
+    };
+  },
+};
+</script>
+
+<style lang="scss" scoped>
+.bg {
+  background-color: #fff;
+  width: 100vw;
+  min-height: 100vh;
+  .share1::after {
+    border: none;
+  }
+  .share1 {
+    display: flex;
+    flex-wrap: wrap;
+    width: 100%;
+    height: 108rpx;
+    padding-left: 30rpx;
+    padding-right: 30rpx;
+    padding-top: 20rpx;
+    padding-bottom: 20rpx;
+    border: 2rpx solid #e8e8e8;
+    background-color: #fff;
+    position: sticky;
+    .headImg {
+      width: 68rpx;
+      height: 68rpx;
+      position: absolute;
+      left: 0;
+    }
+  }
+  .article {
+    padding: 0 15rpx;
+    .paragraph {
+      .title {
+        font-size: 40rpx;
+        font-weight: bold;
+        display: inline-flex;
+        align-items: center;
+        margin-bottom: 30rpx;
+      }
+      .content {
+        padding: 0 15rpx;
+        .text {
+          margin-bottom: 30rpx;
+        }
+      }
+    }
+  }
+}
+</style>

+ 175 - 0
src/pages/subjectTextCheats/index.vue

@@ -0,0 +1,175 @@
+<template>
+  <div @touchend="touchCountWxAd" class="bg">
+    <button open-type="share" class="share1">
+      <div style="position: relative; width: 100%">
+        <image
+          v-for="(item, index) in 9"
+          :style="{
+            left: item * 34 + 'rpx',
+          }"
+          :key="index"
+          class="headImg"
+          :src="
+            'https://ndata.zzxcx.net/ctjk/mp-wx/textCheatsList/headImg' +
+            (item + 1) +
+            '@2x.png'
+          "
+        ></image>
+        <view
+          style="
+            color: #8a9099;
+            font-size: 28rpx;
+            left: 340rpx;
+            position: absolute;
+            width: 90rpx;
+            top: 6rpx;
+          "
+          class=""
+          >已参与</view
+        >
+        <view
+          style="
+            color: #fff;
+            position: absolute;
+            top: 6rpx;
+            width: 182rpx;
+            line-height: 52rpx;
+            background: #498ef5;
+            border-radius: 30rpx;
+            background: #498ef5;
+            right: 0;
+            text-align: center;
+            font-size: 28rpx;
+          "
+        >
+          分享给好友
+        </view>
+      </div>
+    </button>
+    <view style="padding: 0 15rpx">
+      以下是科目{{ subjectMap[query.subject] }}的“<text style="color: red"
+        >考试知识点</text
+      >”和“<text style="color: red">答题技巧</text
+      >”,考试知识点可以直接学习,答题技巧需配合《财仝驾助》软件中的语音技巧同步学习,建议先使用软件学完所有技巧考试前1-2天再将以下知识点和文字技巧快速过一遍加以巩固!
+    </view>
+    <view style="font-weight: bold; padding: 0 15rpx"
+      >祝所有学员逢考必过 早日取得驾照</view
+    >
+    <div style="text-align: center">
+      <div :key="index" v-for="(item, index) in imgList">
+        <img style="width: 750rpx" mode="widthFix" :src="item.url" />
+        <ad
+          v-if="index > 1 && index % 5 == 0"
+          ad-type="video"
+          :ad-intervals="100"
+          unit-id="adunit-9b5e62e2a8260b23"
+        ></ad>
+      </div>
+    </div>
+  </div>
+</template>
+
+<script>
+import api from "@/api";
+export default {
+  data() {
+    return {
+      imgList: [],
+      touchCount: 0,
+      query: {
+        subject: "1",
+      },
+      subjectMap: ["科目零", "科目一", "科目二", "科目三", "科目四"],
+    };
+  },
+  onLoad(query) {
+    this.query = query;
+  },
+  methods: {
+    touchCountWxAd(e) {
+      let that =this
+      this.touchCount = this.touchCount + 1;
+      if (this.touchCount % 5 == 0&&this.touchCount!==0) {
+        // 在页面中定义插屏广告
+        let interstitialAd = null;
+        // 在页面onLoad回调事件中创建插屏广告实例
+        if (uni.createInterstitialAd) {
+          interstitialAd = uni.createInterstitialAd({
+            adUnitId: "adunit-cb696895e6fdcfb7",
+          });
+          interstitialAd.onLoad(() => {
+            console.log("ad load");
+          });
+          interstitialAd.onError((err) => {
+            console.error(err);
+            that.touchCount=0
+          });
+          interstitialAd.onClose(() => {
+            that.touchCount=0
+          });
+        }
+        // 在适合的场景显示插屏广告
+        if (interstitialAd) {
+          interstitialAd.show().then(()=>{
+            that.touchCount=0
+          }).catch((err) => {
+            that.touchCount=0
+            console.log(err);
+          });
+        }
+      }
+    },
+  },
+  onShareAppMessage(res) {
+    if (res.from === "button") {
+      // 来自页面内分享按钮
+      console.log(res.target);
+    }
+    return {
+      title: "科目一四宝典",
+      imageUrl: "https://ndata.zzxcx.net/ctjk/mp-wx/textCheatsList/share_cover@2x.jpg",
+      path: `/pages/textCheatsList/index`,
+    };
+  },
+  mounted() {
+    api.wx
+      .wxMaterialList({
+        subject: this.query.subject,
+        status: 1,
+      })
+      .then((res) => {
+        this.imgList = res.rows;
+        // console.log(res)
+      });
+  },
+};
+</script>
+
+<style lang="scss" scoped>
+.bg {
+  background-color: #fff;
+  width: 100vw;
+  min-height: 100vh;
+  .share1 {
+    display: flex;
+    flex-wrap: wrap;
+    width: 720rpx;
+    margin: 0 auto;
+    height: 108rpx;
+    padding-left: 30rpx;
+    padding-right: 30rpx;
+    padding-top: 20rpx;
+    padding-bottom: 20rpx;
+    border: 2rpx solid #e8e8e8;
+    background-color: #fff;
+    position: relative;
+
+    .headImg {
+      width: 68rpx;
+      height: 68rpx;
+      position: absolute;
+      left: 0;
+    }
+  }
+}
+</style>

+ 388 - 0
src/pages/textCheatsList/index.vue

@@ -0,0 +1,388 @@
+<template>
+  <div class="bg">
+    <button open-type="share" class="share1">
+      <div style="position: relative; width: 100%">
+        <image
+          v-for="(item, index) in 9"
+          :style="{
+            left: item * 34 + 'rpx',
+          }"
+          :key="index"
+          class="headImg"
+          :src="
+            'https://ndata.zzxcx.net/ctjk/mp-wx/textCheatsList/headImg' +
+            (item + 1) +
+            '@2x.png'
+          "
+        ></image>
+        <view
+          style="
+            color: #8a9099;
+            font-size: 28rpx;
+            left: 340rpx;
+            position: absolute;
+            width: 90rpx;
+            top: 6rpx;
+          "
+          class=""
+          >已参与</view
+        >
+        <view
+          style="
+            color: #fff;
+            position: absolute;
+            top: 6rpx;
+            width: 182rpx;
+            line-height: 52rpx;
+            background: #498ef5;
+            border-radius: 30rpx;
+            background: #498ef5;
+            right: 0;
+            text-align: center;
+            font-size: 28rpx;
+          "
+        >
+          分享给好友
+        </view>
+      </div>
+    </button>
+    <div class="list">
+      <van-cell-group>
+        <!-- <van-cell is-link url="/pages/careGzh/index">
+          <view
+            style="
+              display: flex;
+              align-items: center;
+              font-size: 34rpx;
+              font-weight: bold;
+            "
+            slot="title"
+          >
+            <image
+              style="width: 8rpx"
+              mode="widthFix"
+              src="https://ndata.zzxcx.net/ctjk/mp-wx/textCheatsList/blue_pillar@2x.png"
+            ></image>
+            <image
+              style="width: 40rpx; margin-left: 30rpx; margin-right: 6rpx"
+              mode="widthFix"
+              src="https://ndata.zzxcx.net/ctjk/mp-wx/textCheatsList/look_icon@2x.png"
+            ></image>
+            <text style="color: #fe3b2b">点击关注公众号·</text>
+            <text>学习不迷路</text>
+          </view>
+        </van-cell> -->
+
+        <van-cell url="/pages/lookBeforeExam/index" is-link>
+          <view
+            style="
+              display: flex;
+              align-items: center;
+              font-size: 34rpx;
+              font-weight: bold;
+            "
+            slot="title"
+          >
+            <image
+              style="width: 8rpx"
+              mode="widthFix"
+              src="https://ndata.zzxcx.net/ctjk/mp-wx/textCheatsList/blue_pillar@2x.png"
+            ></image>
+            <image
+              style="width: 40rpx; margin-left: 30rpx; margin-right: 6rpx"
+              mode="widthFix"
+              src="https://ndata.zzxcx.net/ctjk/mp-wx/textCheatsList/look_icon@2x.png"
+            ></image>
+            <text style="color: #fe3b2b">缓解紧张·</text>
+            <text>考前必看</text>
+          </view>
+        </van-cell>
+
+        <van-cell url="/pages/subjectTextCheats/index?subject=1" is-link>
+          <view
+            style="
+              display: flex;
+              align-items: center;
+              font-size: 34rpx;
+              font-weight: bold;
+            "
+            slot="title"
+          >
+            <image
+              style="width: 8rpx"
+              mode="widthFix"
+              src="https://ndata.zzxcx.net/ctjk/mp-wx/textCheatsList/blue_pillar@2x.png"
+            ></image>
+            <image
+              style="width: 40rpx; margin-left: 30rpx; margin-right: 6rpx"
+              mode="widthFix"
+              src="https://ndata.zzxcx.net/ctjk/mp-wx/textCheatsList/look_icon@2x.png"
+            ></image>
+            <text style="color: #fe3b2b">新规秘籍·</text>
+            <text>科目一(秘籍)</text>
+          </view>
+        </van-cell>
+        <van-cell url="/pages/subjectTextCheats/index?subject=2" is-link>
+          <view
+            style="
+              display: flex;
+              align-items: center;
+              font-size: 34rpx;
+              font-weight: bold;
+            "
+            slot="title"
+          >
+            <image
+              style="width: 8rpx"
+              mode="widthFix"
+              src="https://ndata.zzxcx.net/ctjk/mp-wx/textCheatsList/blue_pillar@2x.png"
+            ></image>
+            <image
+              style="width: 40rpx; margin-left: 30rpx; margin-right: 6rpx"
+              mode="widthFix"
+              src="https://ndata.zzxcx.net/ctjk/mp-wx/textCheatsList/look_icon@2x.png"
+            ></image>
+            <text style="color: #fe3b2b">新规秘籍·</text>
+            <text>科目二(秘籍)</text>
+          </view>
+        </van-cell>
+        <van-cell url="/pages/subjectTextCheats/index?subject=3" is-link>
+          <view
+            style="
+              display: flex;
+              align-items: center;
+              font-size: 34rpx;
+              font-weight: bold;
+            "
+            slot="title"
+          >
+            <image
+              style="width: 8rpx"
+              mode="widthFix"
+              src="https://ndata.zzxcx.net/ctjk/mp-wx/textCheatsList/blue_pillar@2x.png"
+            ></image>
+            <image
+              style="width: 40rpx; margin-left: 30rpx; margin-right: 6rpx"
+              mode="widthFix"
+              src="https://ndata.zzxcx.net/ctjk/mp-wx/textCheatsList/look_icon@2x.png"
+            ></image>
+            <text style="color: #fe3b2b">新规秘籍·</text>
+            <text>科目三(秘籍)</text>
+          </view>
+        </van-cell>
+        <van-cell url="/pages/subjectTextCheats/index?subject=4" is-link>
+          <view
+            style="
+              display: flex;
+              align-items: center;
+              font-size: 34rpx;
+              font-weight: bold;
+            "
+            slot="title"
+          >
+            <image
+              style="width: 8rpx"
+              mode="widthFix"
+              src="https://ndata.zzxcx.net/ctjk/mp-wx/textCheatsList/blue_pillar@2x.png"
+            ></image>
+            <image
+              style="width: 40rpx; margin-left: 30rpx; margin-right: 6rpx"
+              mode="widthFix"
+              src="https://ndata.zzxcx.net/ctjk/mp-wx/textCheatsList/look_icon@2x.png"
+            ></image>
+            <text style="color: #fe3b2b">新规秘籍·</text>
+            <text>科目四(秘籍)</text>
+          </view>
+        </van-cell>
+      </van-cell-group>
+    </div>
+    <div class="buy">
+      <div @click="goGoodsVideo(nbjk_sph.tip_book_feedId)" class="buy-button">购买纸质详尽版秘籍</div>
+    </div>
+    <div class="share2">
+      <div class="title">分享给好友</div>
+      <div class="icon">
+        <button open-type="share" class="left">
+          <img
+            style="width: 88rpx"
+            mode="widthFix"
+            src="https://ndata.zzxcx.net/ctjk/mp-wx/textCheatsList/weixin_icon@2x.png"
+          />
+          <view style="width: 100%; text-align: center; margin-top: 8rpx">微信好友</view>
+        </button>
+        <button open-type="share" class="right">
+          <img
+            style="width: 88rpx"
+            mode="widthFix"
+            src="https://ndata.zzxcx.net/ctjk/mp-wx/textCheatsList/weixin_moment_icon@2x.png"
+          />
+          <view style="width: 100%; text-align: center; margin-top: 8rpx">朋友圈</view>
+        </button>
+      </div>
+    </div>
+    <div>
+      <ad ad-type="video" :ad-intervals="100" unit-id="adunit-173f2958099a2b25"></ad>
+    </div>
+  </div>
+</template>
+
+<script>
+import {mapGetters} from 'vuex'
+export default {
+  data() {
+    return {};
+  },
+  onLoad() {
+    // 在页面中定义插屏广告
+    let interstitialAd = null;
+    // 在页面onLoad回调事件中创建插屏广告实例
+    if (uni.createInterstitialAd) {
+      interstitialAd = uni.createInterstitialAd({
+        adUnitId: "adunit-cb696895e6fdcfb7",
+      });
+      interstitialAd.onLoad(() => {
+        console.log("ad load");
+      });
+      interstitialAd.onError((err) => {
+        console.error(err);
+      });
+      interstitialAd.onClose(() => {});
+    }
+    // 在适合的场景显示插屏广告
+    if (interstitialAd) {
+      interstitialAd.show().catch((err) => {
+        console.log(err);
+      });
+    }
+  },
+  computed: {
+    ...mapGetters(["nbjk_sph"]),
+  },
+  onShareAppMessage(res) {
+    if (res.from === "button") {
+      // 来自页面内分享按钮
+      console.log(res.target);
+    }
+    return {
+      title: "科目一四宝典",
+      imageUrl: "https://ndata.zzxcx.net/ctjk/mp-wx/textCheatsList/share_cover@2x.jpg",
+      path: `/otherPages/textCheatsList/index`,
+    };
+  },
+  methods: {
+    goGoodsVideo(feedId) {
+      wx.openChannelsActivity({
+        finderUserName: this.nbjk_sph.video_accout_id,
+        feedId: feedId || this.nbjk_sph.tip_book_feedId,
+      });
+    },
+    goVideoAccount() {
+      wx.openChannelsUserProfile({
+        finderUserName: "sphQVbhe9O04tqB",
+        success(result) {
+          console.log(result);
+          uni.setStorageSync("wx_video_account", "1");
+        },
+      });
+    },
+  },
+};
+</script>
+
+<style lang="scss" scoped>
+.bg {
+  width: 100vw;
+  min-height: 100vh;
+
+  .buy {
+    width: 100%;
+    background-color: #fff;
+    padding-top: 50rpx;
+    display: none;
+    .buy-button {
+      width: 532rpx;
+      height: 90rpx;
+      line-height: 90rpx;
+      text-align: center;
+      color: #fff;
+      background: linear-gradient(270deg, #fe8f23 0%, #f84031 100%);
+      border-radius: 50rpx 50rpx 50rpx 50rpx;
+      margin: 0 auto;
+      font-size: 34rpx;
+      font-weight: bold;
+    }
+  }
+  .share1::after {
+    border: none;
+  }
+  .share1 {
+    display: flex;
+    flex-wrap: wrap;
+    width: 100%;
+    height: 108rpx;
+    padding-left: 30rpx;
+    padding-right: 30rpx;
+    padding-top: 20rpx;
+    padding-bottom: 20rpx;
+    border: 2rpx solid #e8e8e8;
+    background-color: #fff;
+    position: sticky;
+    font-size: 30rpx;
+    .headImg {
+      width: 68rpx;
+      height: 68rpx;
+      position: absolute;
+      left: 0;
+    }
+  }
+  .list {
+    padding: 0;
+  }
+
+  .share2 {
+    width: 100%;
+    padding: 0 30rpx;
+    background-color: #fff;
+    height: 302rpx;
+
+    .title {
+      padding-top: 40rpx;
+      padding-bottom: 10rpx;
+      text-align: center;
+      width: 100%;
+      font-size: 30rpx;
+    }
+    .icon {
+      display: flex;
+      flex-wrap: wrap;
+      justify-content: space-between;
+      .left {
+        width: 50%;
+        display: flex;
+        flex-wrap: wrap;
+        justify-content: center;
+        padding-top: 20rpx;
+        background-color: #fff;
+        border: none;
+        font-size: 30rpx;
+      }
+      .left::after {
+        border: none;
+      }
+      .right {
+        width: 50%;
+        display: flex;
+        flex-wrap: wrap;
+        justify-content: center;
+        padding-top: 20rpx;
+        background-color: #fff;
+        border: none;
+        font-size: 30rpx;
+      }
+      .right::after {
+        border: none;
+      }
+    }
+  }
+}
+</style>