素质测评 删除多余代码,运行web
This commit is contained in:
@@ -14,7 +14,6 @@
|
|||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<!-- :style="{height: winHeight - barHeight - loginHeight + 'px'}" -->
|
|
||||||
<view class="u-menu-wrap" >
|
<view class="u-menu-wrap" >
|
||||||
<scroll-view scroll-y scroll-with-animation class="u-tab-view menu-scroll-view" :scroll-top="scrollTop" :scroll-into-view="itemId">
|
<scroll-view scroll-y scroll-with-animation class="u-tab-view menu-scroll-view" :scroll-top="scrollTop" :scroll-into-view="itemId">
|
||||||
<view v-for="(item,index) in jobList" :key="index" class="u-tab-item"
|
<view v-for="(item,index) in jobList" :key="index" class="u-tab-item"
|
||||||
@@ -48,7 +47,6 @@
|
|||||||
return {
|
return {
|
||||||
kw: "", //搜索关键
|
kw: "", //搜索关键
|
||||||
user: uni.getStorageSync("CAuserInfo").user,
|
user: uni.getStorageSync("CAuserInfo").user,
|
||||||
barHeight: wx.getWindowInfo().statusBarHeight,
|
|
||||||
winHeight: wx.getWindowInfo().windowHeight,
|
winHeight: wx.getWindowInfo().windowHeight,
|
||||||
jobDataList: [],
|
jobDataList: [],
|
||||||
jobList,
|
jobList,
|
||||||
|
|||||||
@@ -56,7 +56,6 @@
|
|||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
barHeight: wx.getWindowInfo().statusBarHeight,
|
|
||||||
list: [],
|
list: [],
|
||||||
allNum: 0, //总题目数
|
allNum: 0, //总题目数
|
||||||
pageIndex: 0, //显示页
|
pageIndex: 0, //显示页
|
||||||
|
|||||||
@@ -64,7 +64,6 @@
|
|||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
barHeight: wx.getWindowInfo().statusBarHeight,
|
|
||||||
list: [],
|
list: [],
|
||||||
allNum: 0,//总题目数
|
allNum: 0,//总题目数
|
||||||
pageIndex: 0, //显示页
|
pageIndex: 0, //显示页
|
||||||
|
|||||||
@@ -48,7 +48,6 @@
|
|||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
barHeight: wx.getWindowInfo().statusBarHeight,
|
|
||||||
list: [],
|
list: [],
|
||||||
allNum: 0,//总题目数
|
allNum: 0,//总题目数
|
||||||
pageIndex: 0, //显示页
|
pageIndex: 0, //显示页
|
||||||
|
|||||||
@@ -29,7 +29,6 @@
|
|||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
barHeight: wx.getWindowInfo().statusBarHeight,
|
|
||||||
refreshIfNeeded: false, //是否返回刷新
|
refreshIfNeeded: false, //是否返回刷新
|
||||||
dataList: [],
|
dataList: [],
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -47,7 +47,6 @@
|
|||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
barHeight: wx.getWindowInfo().statusBarHeight,
|
|
||||||
list: [],
|
list: [],
|
||||||
allNum: 0,//总题目数
|
allNum: 0,//总题目数
|
||||||
pageIndex: 0, //显示页
|
pageIndex: 0, //显示页
|
||||||
|
|||||||
@@ -9,7 +9,6 @@
|
|||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
barHeight: wx.getWindowInfo().statusBarHeight,
|
|
||||||
user: null,//用户信息
|
user: null,//用户信息
|
||||||
userId: 0,
|
userId: 0,
|
||||||
name: "",
|
name: "",
|
||||||
|
|||||||
@@ -49,15 +49,19 @@
|
|||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
barHeight: wx.getWindowInfo().statusBarHeight,
|
|
||||||
user: null,//用户信息
|
user: null,//用户信息
|
||||||
name: "",
|
name: "",
|
||||||
idCard: ""
|
idCard: ""
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
onLoad(e) {
|
onLoad(e) {
|
||||||
this.idCard = e.idCard;
|
if(e.idCard){
|
||||||
|
this.idCard = e.idCard;
|
||||||
|
}else {
|
||||||
|
this.idCard = e.userId;
|
||||||
|
}
|
||||||
this.name = e.name;
|
this.name = e.name;
|
||||||
|
console.log(e);
|
||||||
this.queryKaShiToken();
|
this.queryKaShiToken();
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
|||||||
@@ -82,7 +82,6 @@
|
|||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
barHeight: wx.getWindowInfo().statusBarHeight,
|
|
||||||
videoUrl: "",
|
videoUrl: "",
|
||||||
introduceUrl: "",
|
introduceUrl: "",
|
||||||
id: "",
|
id: "",
|
||||||
|
|||||||
@@ -254,7 +254,6 @@
|
|||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
platform: uni.getDeviceInfo().platform,
|
platform: uni.getDeviceInfo().platform,
|
||||||
barHeight: wx.getWindowInfo().statusBarHeight,
|
|
||||||
showTip: false,
|
showTip: false,
|
||||||
layerTitile: "",
|
layerTitile: "",
|
||||||
layerDesc: "",
|
layerDesc: "",
|
||||||
|
|||||||
@@ -123,7 +123,6 @@
|
|||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
platform: uni.getDeviceInfo().platform,
|
platform: uni.getDeviceInfo().platform,
|
||||||
barHeight: wx.getWindowInfo().statusBarHeight,
|
|
||||||
introduceUrl: "https://51xuanxiao.oss-cn-hangzhou.aliyuncs.com/Resource/xcx_sygh/report/multipleAbilityTestReport-1.png",
|
introduceUrl: "https://51xuanxiao.oss-cn-hangzhou.aliyuncs.com/Resource/xcx_sygh/report/multipleAbilityTestReport-1.png",
|
||||||
introduceUrl2: "https://51xuanxiao.oss-cn-hangzhou.aliyuncs.com/Resource/xcx_sygh/report/multipleAbilityTestReport-2.png",
|
introduceUrl2: "https://51xuanxiao.oss-cn-hangzhou.aliyuncs.com/Resource/xcx_sygh/report/multipleAbilityTestReport-2.png",
|
||||||
videoUrl: "http://2-video.oss-cn-shenzhen.aliyuncs.com/2023%E5%B9%B4%E8%A7%86%E9%A2%91/%E5%88%9D%E4%B8%AD%E8%AF%BE%E7%A8%8B%E8%B5%84%E6%BA%90/%E5%A4%9A%E5%85%83%E6%99%BA%E8%83%BD%E6%B5%8B%E8%AF%84%E8%A7%A3%E8%AF%BB1.16%E4%BF%AE%E6%94%B92.mp4",
|
videoUrl: "http://2-video.oss-cn-shenzhen.aliyuncs.com/2023%E5%B9%B4%E8%A7%86%E9%A2%91/%E5%88%9D%E4%B8%AD%E8%AF%BE%E7%A8%8B%E8%B5%84%E6%BA%90/%E5%A4%9A%E5%85%83%E6%99%BA%E8%83%BD%E6%B5%8B%E8%AF%84%E8%A7%A3%E8%AF%BB1.16%E4%BF%AE%E6%94%B92.mp4",
|
||||||
|
|||||||
@@ -410,7 +410,6 @@
|
|||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
platform: uni.getDeviceInfo().platform,
|
platform: uni.getDeviceInfo().platform,
|
||||||
barHeight: wx.getWindowInfo().statusBarHeight,
|
|
||||||
showTip: false,
|
showTip: false,
|
||||||
videoUrl: "http://2-video.oss-cn-shenzhen.aliyuncs.com/2023%E5%B9%B4%E8%A7%86%E9%A2%91/%E5%88%9D%E4%B8%AD%E8%AF%BE%E7%A8%8B%E8%B5%84%E6%BA%90/%E4%BA%BA%E6%A0%BC%E6%B5%8B%E8%AF%84%E8%A7%A3%E8%AF%BB1.16%E4%BF%AE%E6%94%B92.mp4",
|
videoUrl: "http://2-video.oss-cn-shenzhen.aliyuncs.com/2023%E5%B9%B4%E8%A7%86%E9%A2%91/%E5%88%9D%E4%B8%AD%E8%AF%BE%E7%A8%8B%E8%B5%84%E6%BA%90/%E4%BA%BA%E6%A0%BC%E6%B5%8B%E8%AF%84%E8%A7%A3%E8%AF%BB1.16%E4%BF%AE%E6%94%B92.mp4",
|
||||||
introduceUrl: "https://51xuanxiao.oss-cn-hangzhou.aliyuncs.com/Resource/xcx_sygh/report/personalTestReport.png",
|
introduceUrl: "https://51xuanxiao.oss-cn-hangzhou.aliyuncs.com/Resource/xcx_sygh/report/personalTestReport.png",
|
||||||
|
|||||||
@@ -49,7 +49,6 @@
|
|||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
barHeight: wx.getWindowInfo().statusBarHeight,
|
|
||||||
showVideo: false,
|
showVideo: false,
|
||||||
showIntroduce: false, // 测评介绍
|
showIntroduce: false, // 测评介绍
|
||||||
videoUrl: "http://2-video.oss-cn-shenzhen.aliyuncs.com/2023%E5%B9%B4%E8%A7%86%E9%A2%91/%E5%88%9D%E4%B8%AD%E8%AF%BE%E7%A8%8B%E8%B5%84%E6%BA%90/%E5%B7%A5%E4%BD%9C%E4%BB%B7%E5%80%BC%E8%A7%82%E8%A7%A3%E8%AF%BB1.16%E4%BF%AE%E6%94%B92.mp4",
|
videoUrl: "http://2-video.oss-cn-shenzhen.aliyuncs.com/2023%E5%B9%B4%E8%A7%86%E9%A2%91/%E5%88%9D%E4%B8%AD%E8%AF%BE%E7%A8%8B%E8%B5%84%E6%BA%90/%E5%B7%A5%E4%BD%9C%E4%BB%B7%E5%80%BC%E8%A7%82%E8%A7%A3%E8%AF%BB1.16%E4%BF%AE%E6%94%B92.mp4",
|
||||||
|
|||||||
@@ -108,7 +108,6 @@
|
|||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
barHeight: wx.getWindowInfo().statusBarHeight,
|
|
||||||
compassList: [],//罗盘列表
|
compassList: [],//罗盘列表
|
||||||
checkedIndex: null,
|
checkedIndex: null,
|
||||||
jobList: [],//我的职业
|
jobList: [],//我的职业
|
||||||
|
|||||||
@@ -124,7 +124,6 @@
|
|||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
barHeight: wx.getWindowInfo().statusBarHeight,
|
|
||||||
tabs:['目标一 ', '目标二 ', '目标三 ', '目标四 ', '目标五 '],
|
tabs:['目标一 ', '目标二 ', '目标三 ', '目标四 ', '目标五 '],
|
||||||
targetForm: {}, //当前选中的目标
|
targetForm: {}, //当前选中的目标
|
||||||
targetList: [],//目标列表
|
targetList: [],//目标列表
|
||||||
|
|||||||
@@ -252,7 +252,6 @@ import api1 from "@/packageCa/apiCa/studentProfile.js"
|
|||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
refreshIfNeeded: false, //是否返回刷新
|
refreshIfNeeded: false, //是否返回刷新
|
||||||
barHeight: wx.getWindowInfo().statusBarHeight,
|
|
||||||
user: uni.getStorageSync("CAuserInfo").user,
|
user: uni.getStorageSync("CAuserInfo").user,
|
||||||
customInfo: uni.getStorageSync("customInfo"),
|
customInfo: uni.getStorageSync("customInfo"),
|
||||||
intentionJobList: [],//意向职业
|
intentionJobList: [],//意向职业
|
||||||
|
|||||||
@@ -130,7 +130,6 @@
|
|||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
barHeight: wx.getWindowInfo().statusBarHeight,
|
|
||||||
jobList: [],//
|
jobList: [],//
|
||||||
checkedCode: null,
|
checkedCode: null,
|
||||||
jobIntroduce: "",
|
jobIntroduce: "",
|
||||||
|
|||||||
@@ -178,7 +178,6 @@
|
|||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
barHeight: wx.getWindowInfo().statusBarHeight,
|
|
||||||
tabs:['目标一 ', '目标二 ', '目标三 ', '目标四 ', '目标五 '],
|
tabs:['目标一 ', '目标二 ', '目标三 ', '目标四 ', '目标五 '],
|
||||||
targetList: [],////目标列表
|
targetList: [],////目标列表
|
||||||
checkedTargetCode: "",//// 目标码
|
checkedTargetCode: "",//// 目标码
|
||||||
|
|||||||
@@ -1,11 +1,8 @@
|
|||||||
let baseUrl = ""
|
let baseUrl = ""
|
||||||
// #ifdef MP-WEIXIN
|
// #ifdef MP-WEIXIN
|
||||||
// 编译项目,因为使用插件lime-echart,echart文件过大,需要非压缩代码方式编译,不然会很慢,发布的时候才压缩代码方式编译
|
// 编译项目,因为使用插件lime-echart,echart文件过大,需要非压缩代码方式编译,不然会很慢,发布的时候才压缩代码方式编译
|
||||||
if (wx.getAccountInfoSync().miniProgram.envVersion === 'develop') {
|
|
||||||
baseUrl = 'https://www.xjksly.cn/career' // 开发环境
|
baseUrl = 'https://www.xjksly.cn/career' // 生产环境
|
||||||
} else {
|
|
||||||
baseUrl = 'https://www.xjksly.cn/career' // 生产环境
|
|
||||||
}
|
|
||||||
// #endif
|
// #endif
|
||||||
|
|
||||||
export {
|
export {
|
||||||
|
|||||||
Reference in New Issue
Block a user