This commit is contained in:
2025-11-07 16:10:38 +08:00
16 changed files with 1272 additions and 710 deletions

View File

@@ -4,6 +4,8 @@ const api = {}
//根据openId,获取token,并判断用户是否已绑定账号 //根据openId,获取token,并判断用户是否已绑定账号
api.queryKaShiToken = (userId,name) => request.globalRequest(`/KaShi/QueryKaShiToken?userId=${userId}&name=${name}&schoolId=2268`,'GET', {}) api.queryKaShiToken = (userId,name) => request.globalRequest(`/KaShi/QueryKaShiToken?userId=${userId}&name=${name}&schoolId=2268`,'GET', {})
// 获取ai面试路径
api.queryAIUrl = (userId,name) => request.globalRequest(`/KaShi/QueryAIUrl?userId=${userId}&name=${name}&schoolId=2268`,'GET', {})
//根据openId,获取token,并判断用户是否已绑定账号 //根据openId,获取token,并判断用户是否已绑定账号
api.getAccessTokenAndUser = (params) => request.globalRequest(`/WeChartToken/GetAccessTokenAndUser?openId=${params}`,'GET', {}) api.getAccessTokenAndUser = (params) => request.globalRequest(`/WeChartToken/GetAccessTokenAndUser?openId=${params}`,'GET', {})

View File

@@ -50,7 +50,7 @@
"quickapp" : {}, "quickapp" : {},
/* */ /* */
"mp-weixin" : { "mp-weixin" : {
"appid" : "wx9d1cbc11c8c40ba7", "appid" : "wx4aa34488b965a331",
"setting" : { "setting" : {
"urlCheck" : false, "urlCheck" : false,
"es6" : true, "es6" : true,
@@ -63,7 +63,11 @@
"desc" : "用于用户选择地图查看位置" "desc" : "用于用户选择地图查看位置"
} }
}, },
"libVersion" : "3.5.7" "lazyCodeLoading" : "requiredComponents",
"libVersion" : "3.5.7",
"optimization" : {
"subPackages" : true
}
}, },
"mp-alipay" : { "mp-alipay" : {
"usingComponents" : true "usingComponents" : true

View File

@@ -51,8 +51,9 @@
}) })
onLoad((option) => { onLoad((option) => {
console.log("option",option) if(option.flag){
flag.value=option.flag flag.value=option.flag
}
}) })
onMounted(() => { onMounted(() => {

View File

@@ -37,8 +37,8 @@
</div> </div>
<div class="titleType info" v-else-if="dates>item.dueDate">已过期</div> <div class="titleType info" v-else-if="dates>item.dueDate">已过期</div>
</div> </div>
<div class="rightBtn" v-if="(dates>item.startDate||dates==item.startDate)&&dates<item.dueDate&&item.isContinue!=1">开始考试</div> <div class="rightBtn" v-if="(dates>item.startDate||dates==item.startDate)&&dates<item.dueDate&&item.isContinue!=1" @click="handleOperation(item,1)">开始考试</div>
<div class="rightBtn" v-if="(dates>item.startDate||dates==item.startDate)&&dates<item.dueDate&&item.isContinue==1">继续考试</div> <div class="rightBtn" v-if="(dates>item.startDate||dates==item.startDate)&&dates<item.dueDate&&item.isContinue==1" @click="handleOperation(item,2)">继续考试</div>
</div> </div>
<div class="heng"></div> <div class="heng"></div>
<div class="cardCon"> <div class="cardCon">
@@ -120,8 +120,8 @@
<div class="detailCon">考试结束后可查看成绩和答案解析</div> <div class="detailCon">考试结束后可查看成绩和答案解析</div>
<div style="display: flex;justify-content: center;margin-top: 30rpx;"> <div style="display: flex;justify-content: center;margin-top: 30rpx;">
<div class="rightBtn" v-if="(dates>examInfo.startDate||dates==examInfo.startDate)&&dates<examInfo.dueDate&&examInfo.isContinue!=1">开始考试</div> <div class="rightBtn" v-if="(dates>examInfo.startDate||dates==examInfo.startDate)&&dates<examInfo.dueDate&&examInfo.isContinue!=1" @click="handleOperation(examInfo,1)">开始考试</div>
<div class="rightBtn" v-if="(dates>examInfo.startDate||dates==examInfo.startDate)&&dates<examInfo.dueDate&&examInfo.isContinue==1">继续考试</div> <div class="rightBtn" v-if="(dates>examInfo.startDate||dates==examInfo.startDate)&&dates<examInfo.dueDate&&examInfo.isContinue==1" @click="handleOperation(examInfo,2)">继续考试</div>
</div> </div>
</div> </div>
</div> </div>
@@ -269,6 +269,9 @@ function jumps(url){
function clones(){ function clones(){
dialogVisible.value=false dialogVisible.value=false
} }
function handleOperation(row,i) {
navTo(`/packageB/train/video/videoDetail?id=${video.videoId}`);
}
</script> </script>
<style lang="stylus" scoped> <style lang="stylus" scoped>

View File

@@ -204,12 +204,15 @@ function queryData(){
$api.myRequest('/train/public/trainPractice/getQuestions', { $api.myRequest('/train/public/trainPractice/getQuestions', {
userId: userInfo.value.userId userId: userInfo.value.userId
},'post',9100,header).then((resData) => { },'post',9100,header).then((resData) => {
resData.forEach((item,i)=>{ if(resData&&resData.code==200){
resData.data.forEach((item,i)=>{
problemData.value.push(item) problemData.value.push(item)
problemList.value.push({index:i+1,whether:""}) problemList.value.push({index:i+1,whether:""})
}) })
start() start()
accuracyRates() accuracyRates()
}
}); });
} }
function collect(is){ function collect(is){
@@ -222,7 +225,9 @@ function collect(is){
questionId:problemData.value[questionIndex.value-1].questionId, questionId:problemData.value[questionIndex.value-1].questionId,
collect:is collect:is
},'post',9100,header).then((resData) => { },'post',9100,header).then((resData) => {
if(resData&&resData.code==200){
problemData.value[questionIndex.value-1].isCollect=is problemData.value[questionIndex.value-1].isCollect=is
}
}); });
}; };
//正确率 //正确率
@@ -234,7 +239,9 @@ function accuracyRates(){
$api.myRequest('/train/public/trainPractice/getCount', { $api.myRequest('/train/public/trainPractice/getCount', {
userId: userInfo.value.userId, userId: userInfo.value.userId,
},'post',9100,header).then((resData) => { },'post',9100,header).then((resData) => {
accuracyRate.value=resData.truePresent if(resData&&resData.code==200){
accuracyRate.value=resData.data.truePresent
}
}); });
}; };
//提交答案 //提交答案

View File

@@ -0,0 +1,512 @@
<template>
<view class="index-wrap">
<web-view :src="src" style="width: 100%;height: 100vh;"></web-view>
</view>
</template>
<script>
import api from "@/apiCa/user.js"
export default {
data() {
return {
barHeight: wx.getWindowInfo().statusBarHeight,
user: null,//用户信息
userId: 0,
name: "",
src: "",
}
},
onLoad(e) {
this.userId = e.userId;
this.name = e.name;
this.queryAIUrl();
},
methods: {
// 登录获取用户信息
async queryAIUrl() {
uni.showLoading({
title: "加载中"
})
const res = await api.queryAIUrl(this.userId,this.name)
uni.hideLoading();
if(res.Result == 1){
this.src = res.Data;
}else {
uni.showToast({
title: res.Message,
icon: "none"
})
}
},
}
}
</script>
<style lang="scss">
$image-oss-url: "https://51xuanxiao.oss-cn-hangzhou.aliyuncs.com/Resource/xcx_sygh";
page {
background: #EEF1F8 url("#{$image-oss-url}/17.png") no-repeat;
background-size: contain;
}
</style>
<style lang="scss" scoped>
$image-oss-url: "https://51xuanxiao.oss-cn-hangzhou.aliyuncs.com/Resource/xcx_sygh";
$image-oss-url2: "https://51xuanxiao.oss-cn-hangzhou.aliyuncs.com/Resource/xcx_sygh";
.head-bar {
position: relative;
text-align: center;
font-size: 36rpx;
font-weight: 600;
height: 60rpx;
line-height: 60rpx;
margin-bottom: 30rpx;
.go-back {
position: absolute;
left: 10rpx;
top: 0;
width: 60rpx;
height: 60rpx;
background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAABUklEQVRoQ+3ZOwrCQBCA4UlyCVsrQauQdPYewcNYWXoHK1s9gYeYdIKlracYWYggkgiTnccuaB3D/+1sYEMKyPxXZN4Pf0DMBOu6XpZluQOANRGduq7bc+/nNoE+/gwAq3c0IrJ72H/grtDQ9UPxAPBAxDn3/uaAkfjQvUXES9IA6fiANZuARrwZQCveBKAZrw7QjlcFWMSrAaziVQCW8eIA63hRgEe8GMArXgTgGR8N8I6PAqQQPxmQSvxkQNM0VwDYfJ3dJ53nuef/7+vZx+l+9W8pxE+aQNu2CyK6ZwsI4VlvoQDI/iFOCcF+iD/3fgqTiAKkMIlogDdCBOCJEAN4IUQBHghxgDVCBWCJUANYIVQBFgh1gDbCBKCJMANoIUwBGghzwA/EExFn3HdkF8AYIpvPrO9VDu8TVVUdiKghomNWH7q5W2Xserct9Af0K/AChQ/cMY9OGScAAAAASUVORK5CYII=") center no-repeat;
background-size: 38rpx 38rpx;
}
}
.index-wrap {
padding-bottom: 122rpx;
.izd-link {
position: fixed;
right: 23rpx;
bottom: 280rpx;
width: 80rpx;
height: 80rpx;
line-height: 80rpx;
border: none;
background: #1677ff;
color: #fff;
font-size: 24rpx;
text-align: center;
border-radius: 50%;
}
.person-info {
position: relative;
display: flex;
align-items: center;
width: 664rpx;
height: 174rpx;
padding: 0 20rpx;
margin: 65rpx auto 20rpx;
border: 3px solid #FFFFFF;
background: #EDF5FE;
border-radius: 12px;
.img-wrap {
overflow: hidden;
width: 112rpx;
height: 112rpx;
border-radius: 50%;
margin-right: 20rpx;
image {
width: 100%;
height: 100%;
}
}
.txt-wrap {
.top {
display: flex;
align-items: flex-end;
margin-bottom: 10rpx;
color: #000000;
margin-right: 20rpx;
font-size: 36rpx;
}
.bottom {
color: #666;
font-size: 26rpx;
}
}
.person-btn {
position: absolute;
display: flex;
align-items: center;
justify-content: center;
right: 20rpx;
top: 50%;
transform: translateY(-50%);
font-size: 24rpx;
color: #fff;
width: 100rpx;
height: 48rpx;
background: #1677ff;
border-radius: 40rpx 40rpx 40rpx 40rpx;
// .icon {
// width: 72rpx;
// height: 72rpx;
// margin-bottom: 10rpx;
// background: url("#{$image-oss-url}/index/change_user.png") no-repeat;
// background-size: 100%;
// }
}
}
.notice-wrap {
width: 710rpx;
height: 60rpx;
background-color: #ffffff;
border-radius: 10rpx;
display: flex;
align-items: center;
// padding: 0 20rpx;
margin-top: 20rpx;
.icon {
display: block;
width: 40rpx;
height: 40rpx;
margin-right: 10rpx;
background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACsAAAArCAMAAADWg4HyAAAA5FBMVEUAAAD/lin/lin/lin/lij/lij/lin/lin/lin/lin/lyn/lyn/lyn/lSf/lCr/ji7/lin/lin/lir/lij/lij/lSj/mCn/lCj/lSr/nin/lin/lin/lij/lyn/lSj/lyn/lif/lir/lyj/lSj/nSv/lSj/lin/lin/lij/lyn/lyn/lyn/lyn/lCj/lin/////4rL/rUr/8tb/x3b/1pP/vWT/uF3/+/P/7Mj/wWn/slH/7c7/2pz/slP/qET/oDr/nDL/893/6MP/6L7/79H/5rf/4Kv/36f/zYH/xHH/tVj/pDwNjetyAAAALnRSTlMAzWH065z68Ne3s0QkEw4H2q+slWdHMjApFuPRoHp1b1xMPjghx8W6qJaPf1FK94unHgAAAbJJREFUOMudlelWwjAQRqcUlX3fBBUF92USWjbZBXff/30cEiA0tHG5P8icw+1p0syXgMZhKGdlwvt2NXKRj4OJUBS3CR8Vg8wimTp7FT8ztYd+HNztqpVLDOAqran3GIxd9qgnaOQcFCE0Yyc3anwfdcbuDLeIbeZs6WZnzpgzRqLb7spvB5K6Zj722ZIR4mREIwoaQk1mvOaQSTi6PRocFFwL99jzdoet4S1GDAcoeQCiJusW0X1iCj7jrOeiRM44ISp6nQ6n5ye4IUPuqaj6zMf1kgCQLSP+nbfaBjcEYCl3iugEu7cAB8qlkQe7WUihwXU5MVot0IKyyZWfsL3qerMrlzpYu0mDKzdoipIagP3btcUAIsod4Fcv2L0ByCqXuX3DXtQBCqJ4+3mPSwAlUQw+OOF43W67o9QwEFVv+yp3Sj+LT1yRAyLvjdqz6l+1E6J1iEQYfUPEcfzKNnmLggrRbjjflzFerJdYlG7aQp3Oi+OuoqUSpM4SI7H0H86of519IqEGmuClETjnSAJ0Spa/mk2BDwUfO3YGART0O0s39bswYgvPUneh8YFmxW+S3+b9+8sbaXzQAAAAAElFTkSuQmCC") no-repeat;
background-size: 100%;
}
.info-wrap {
font-size: 30rpx;
color: #ff8a00;
}
}
.section-content {
padding: 0 20rpx 60rpx;
background: #EEF1F8;
min-height: calc(100vh - 350rpx);
}
.section{
background-color: #ffffff;
border-radius: 10rpx;
padding: 25rpx 20rpx 10rpx;
margin-top: 20rpx;
.head-title {
font-size: 34rpx;
color: #000000;
font-weight: 600;
margin-bottom: 10rpx;
}
.nav-block {
display: flex;
flex-wrap: wrap;
.item {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
margin-right: 85rpx;
margin-bottom:0rpx;
&:nth-child(4){
margin-right: 0;
}
.icon {
width: 104rpx;
height: 104rpx;
background: #f2f2f2;
&.icon-1 {
background: url("#{$image-oss-url}/search/item_1.png") no-repeat;
background-size: 100%;
}
&.icon-2 {
background: url("#{$image-oss-url}/search/item_2.png") no-repeat;
background-size: 100%;
}
&.icon-4 {
background: url("#{$image-oss-url}/career/icon_4.png") no-repeat;
background-size: 100%;
}
&.icon-5 {
background: url("#{$image-oss-url}/career/icon_5.png") no-repeat;
background-size: 100%;
}
&.icon-6 {
background: url("#{$image-oss-url}/career/icon_6.png") no-repeat;
background-size: 100%;
}
&.icon-7 {
background: url("#{$image-oss-url}/career/icon_7.png") no-repeat;
background-size: 100%;
}
&.icon-8 {
background: url("#{$image-oss-url}/career/icon_8.png") no-repeat;
background-size: 100%;
}
&.icon-9 {
background: url("#{$image-oss-url}/career/icon_9.png") no-repeat;
background-size: 100%;
}
&.icon-10 {
background: url("#{$image-oss-url}/career/icon_10.png") no-repeat;
background-size: 100%;
}
&.icon-11 {
background: url("#{$image-oss-url}/career/icon_11.png") no-repeat;
background-size: 100%;
}
&.icon-12 {
background: url("#{$image-oss-url}/career/icon_12.png") no-repeat;
background-size: 100%;
}
&.icon-13 {
background: url("#{$image-oss-url}/career/icon_13.png") no-repeat;
background-size: 100%;
}
&.icon-14 {
background: url("#{$image-oss-url}/career/icon_14.png") no-repeat;
background-size: 100%;
}
&.icon-15 {
background: url("#{$image-oss-url}/career/icon_15.png") no-repeat;
background-size: 100%;
}
&.icon-16 {
background: url("#{$image-oss-url}/career/icon_16.png") no-repeat;
background-size: 100%;
}
&.icon-17 {
background: url("#{$image-oss-url}/career/icon_17.png") no-repeat;
background-size: 100%;
}
&.icon-18 {
background: url("#{$image-oss-url}/career/icon_18.png") no-repeat;
background-size: 100%;
}
&.icon-19 {
background: url("#{$image-oss-url}/career/icon_19.png") no-repeat;
background-size: 100%;
}
&.icon-20 {
background: url("#{$image-oss-url}/career/icon_20.png") no-repeat;
background-size: 100%;
}
&.icon-22 {
background: url("#{$image-oss-url}/career/icon_22.png") no-repeat;
background-size: 100%;
}
}
.title {
margin-top: 0rpx;
font-size: 24rpx;
color: #333333;
}
}
}
}
.layer-inner {
.head {
position: relative;
display: flex;
align-items: center;
justify-content: center;
height: 170rpx;
width: 100%;
font-size: 34rpx;
color: #000000;
.close-btn {
position: absolute;
top: 19rpx;
right: 27rpx;
width: 52rpx;
height: 52rpx;
background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAQAAAADQ4RFAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAAmJLR0QAAKqNIzIAAAAHdElNRQfmChMLCDGRh9c8AAAAmklEQVQ4y7WUMQ7DMAhFnzpmRO3979ABqVN8m/YWdLGcqEkM+lI92Qb+R3wAPgRPjMoxnOANQRCsLGnIwtq98X5pCZvRuucLHuMxY9tYGvffD0tYdsA2ZbsEvWabAp4b09SPDlYp0t4JSAt0YPOhYEH4ja0m+jg+QvzMfKuh/CE9oRBCyQVxhTYSGlYYDWEIpXGXFou0woRl+QUj09L9Yg66GgAAAABJRU5ErkJggg==") center no-repeat;
background-size: 50%;
}
}
.content {
max-height: 600rpx;
overflow: auto;
padding: 0 40rpx;
.li {
position: relative;
height: 114rpx;
line-height: 114rpx;
border-bottom: 2rpx solid #f5f5f5;
text {
font-size: 30rpx;
color: #000000;
margin-right: 20rpx;
}
&.on {
text {
color: #1b88ff;
}
&::after {
position: absolute;
right: 10rpx;
top: 50%;
transform: translateY(-50%);
content: "";
background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACMAAAAZCAMAAACM5megAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAATlBMVEUbiP8biP8biP8biP8biP8biP8biP8biP8biP8biP8biP8biP8biP8biP8biP8biP8biP8biP8biP8biP8biP8biP8biP8biP8biP8AAAAx8hE2AAAAGHRSTlMAH0f2c0SVAfc7bv6JI/hS+UhR+1D0jxRK42VSAAAAAWJLR0QZ7G61iAAAAAd0SU1FB+YKFBEcF+FCm4sAAABsSURBVCjPzdHHDoAwDANQs1cLlJn//1KGEIKqrY+QY/QOiQ2QiRgA4iTlRCTjJC9+QsqPSMVJ3ShGdCuiwgToegu5zrWQ+6MX8j39QMaby41MILoLmWC6JzKkgGFHI+voQKxGTLMshACrdu83CdwKBKKZxqUAAAAASUVORK5CYII=") no-repeat;
background-size: 100%;
display: block;
width: 35rpx;
height: 25rpx;
}
}
}
}
.op-block {
display: flex;
align-items: center;
justify-content: center;
padding: 30rpx 40rpx 0;
width: 670rpx;
height: 115rpx;
.commit-btn {
width: 361rpx;
height: 77rpx;
line-height: 77rpx;
text-align: center;
background-color: #1b88ff;
border-radius: 38rpx;
font-size: 30rpx;
color: #ffffff;
}
}
}
.title-layer {
position: fixed;
z-index: 99;
padding: 30rpx 20rpx;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgba(0, 0, 0, 0.8);
.inner {
width: 710rpx;
background: #fff;
}
}
}
.yanshi-wrap {
padding: 0 20rpx 10rpx;
.section{
background: rgba(255,255,255,0.5);
border-radius: 12rpx 12rpx 12rpx 12rpx;
border: 4rpx solid #FFFFFF;
padding-top: 40rpx;
.head-title {
font-size: 32rpx;
color: #000000;
font-weight: 600;
margin-bottom: 20rpx;
}
.nav-block {
display: flex;
flex-wrap: wrap;
margin-bottom: 40rpx;
.item {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
margin-right: 55rpx;
&:nth-child(4){
margin-right: 0;
}
.icon {
width: 112rpx;
height: 112rpx;
background: #f2f2f2;
&.icon-1 {
background: url("#{$image-oss-url}/search/item_1.png") no-repeat;
background-size: 100%;
}
&.icon-2 {
background: url("#{$image-oss-url}/search/item_2.png") no-repeat;
background-size: 100%;
}
&.icon-3 {
background: url("#{$image-oss-url}/search/item_3.png") no-repeat;
background-size: 100%;
}
&.icon-4 {
background: url("#{$image-oss-url}/search/item_4.png") no-repeat;
background-size: 100%;
}
&.icon-5 {
background: url("#{$image-oss-url}/search/item_5.png") no-repeat;
background-size: 100%;
}
&.icon-6 {
background: url("#{$image-oss-url}/search/item_6.png") no-repeat;
background-size: 100%;
}
&.icon-7 {
background: url("#{$image-oss-url}/search/item_7.png") no-repeat;
background-size: 100%;
}
&.icon-8 {
background: url("#{$image-oss-url}/search/item_8.png") no-repeat;
background-size: 100%;
}
&.icon-9 {
background: url("#{$image-oss-url}/search/item_9.png") no-repeat;
background-size: 100%;
}
&.icon-10 {
background: url("#{$image-oss-url}/search/item_10.png") no-repeat;
background-size: 100%;
}
&.icon-11 {
background: url("#{$image-oss-url}/search/item_11.png") no-repeat;
background-size: 100%;
}
&.icon-12 {
background: url("#{$image-oss-url}/search/item_12.png") no-repeat;
background-size: 100%;
}
&.icon-13 {
background: url("#{$image-oss-url}/search/item_13.png") no-repeat;
background-size: 100%;
}
&.icon-14 {
background: url("#{$image-oss-url}/search/item_14.png") no-repeat;
background-size: 100%;
}
&.icon-15 {
background: url("#{$image-oss-url}/search/item_20.png") no-repeat;
background-size: 100%;
}
&.icon-101 {
background: url("#{$image-oss-url2}/kashi/index_icon_1.png") no-repeat;
background-size: 100%;
}
&.icon-102 {
background: url("#{$image-oss-url2}/kashi/index_icon_2.png") no-repeat;
background-size: 100%;
}
&.icon-103 {
background: url("#{$image-oss-url2}/kashi/index_icon_3.png") no-repeat;
background-size: 100%;
}
&.icon-104 {
background: url("#{$image-oss-url2}/kashi/index_icon_4.png") no-repeat;
background-size: 100%;
}
&.icon-105 {
background: url("#{$image-oss-url2}/kashi/index_icon_5.png") no-repeat;
background-size: 100%;
}
&.icon-106 {
background: url("#{$image-oss-url2}/kashi/index_icon_6.png") no-repeat;
background-size: 100%;
}
&.icon-107 {
background: url("#{$image-oss-url2}/kashi/index_icon_7.png") no-repeat;
background-size: 100%;
}
&.icon-108 {
background: url("#{$image-oss-url2}/kashi/index_icon_8.png") no-repeat;
background-size: 100%;
}
}
.title {
font-size: 24rpx;
color: #333;
}
}
}
}
}
</style>

View File

@@ -1,7 +1,7 @@
<!-- <!--
* @Date: 2025-10-16 15:15:47 * @Date: 2025-10-16 15:15:47
* @LastEditors: shirlwang * @LastEditors: lip
* @LastEditTime: 2025-11-06 14:30:22 * @LastEditTime: 2025-11-07 12:08:01
--> -->
<template> <template>
<!-- @scroll="handleScroll" @scrolltolower="scrollBottom" --> <!-- @scroll="handleScroll" @scrolltolower="scrollBottom" -->
@@ -21,7 +21,7 @@
<view>需求上报</view> <view>需求上报</view>
</view> </view>
<view> <view>
<image src="../../../packageRc/static/kinggang3.png"/> <image @click="goAiAu" src="../../../packageRc/static/kinggang3.png"/>
<view>虚拟面试</view> <view>虚拟面试</view>
</view> </view>
<view @click="goCa"> <view @click="goCa">
@@ -120,6 +120,14 @@ function goCa(){
navTo(`/packageCa/search/search?userId=${userInfo.userId}&name=${userInfo.name}`); navTo(`/packageCa/search/search?userId=${userInfo.userId}&name=${userInfo.name}`);
} }
} }
// 跳转AI智能面试
function goAiAu(){
if (checkLogin()) {
const userInfo = uni.getStorageSync('userInfo')
navTo(`/packageCa/search/AIAudition?userId=${userInfo.userId}&name=${userInfo.name}`);
}
}
function viewMore() { function viewMore() {
navTo(`/packageRc/pages/jobList/jobList`); navTo(`/packageRc/pages/jobList/jobList`);
} }

View File

@@ -144,7 +144,6 @@
"navigationBarTitleTextSize": "30rpx" "navigationBarTitleTextSize": "30rpx"
} }
} }
], ],
"subpackages": [ "subpackages": [
{ {
@@ -440,47 +439,56 @@
"style": { "style": {
"navigationBarTitleText": "新增需求" "navigationBarTitleText": "新增需求"
} }
} , { },
{
"path": "pages/daiban/addbangfu", "path": "pages/daiban/addbangfu",
"style": { "style": {
"navigationBarTitleText": "添加帮扶" "navigationBarTitleText": "添加帮扶"
} }
} , { },
{
"path": "pages/service/serviceDetail", "path": "pages/service/serviceDetail",
"style": { "style": {
"navigationBarTitleText": "服务" "navigationBarTitleText": "服务"
} }
} , { },
{
"path": "pages/service/serviceTraceability", "path": "pages/service/serviceTraceability",
"style": { "style": {
"navigationBarTitleText": "服务追溯" "navigationBarTitleText": "服务追溯"
} }
} , { },
{
"path": "pages/needs/needDetail", "path": "pages/needs/needDetail",
"style": { "style": {
"navigationBarTitleText": "需求信息" "navigationBarTitleText": "需求信息"
} }
} , { },
{
"path": "pages/daiban/bangfuList", "path": "pages/daiban/bangfuList",
"style": { "style": {
"navigationBarTitleText": "服务记录" "navigationBarTitleText": "服务记录"
} }
} , { },
{
"path": "pages/needs/personNeeds", "path": "pages/needs/personNeeds",
"style": { "style": {
"navigationBarTitleText": "需求上报" "navigationBarTitleText": "需求上报"
} }
} , { },
{
"path": "pages/needs/needsList", "path": "pages/needs/needsList",
"style": { "style": {
"navigationBarTitleText": "需求" "navigationBarTitleText": "需求"
} }
} , { },
{
"path": "pages/policy/policyList", "path": "pages/policy/policyList",
"style": { "style": {
"navigationBarTitleText": "政策专区" "navigationBarTitleText": "政策专区"
} }
} , { },
{
"path": "pages/policy/policyDetail", "path": "pages/policy/policyDetail",
"style": { "style": {
"navigationBarTitleText": "政策详解" "navigationBarTitleText": "政策详解"
@@ -498,6 +506,12 @@
"navigationStyle": "custom" "navigationStyle": "custom"
} }
}, },
{
"path": "search/AIAudition",
"style": {
"navigationBarTitleText": "AI智能面试"
}
},
{ {
"path": "job/index", "path": "job/index",
"style": { "style": {
@@ -634,45 +648,8 @@
} }
} }
] ]
}], }
// "tabBar": { ],
// "custom": true,
// "color": "#5E5F60",
// "selectedColor": "#256BFA",
// "borderStyle": "black",
// "backgroundColor": "#ffffff",
// "list": [{
// "pagePath": "pages/index/index",
// "iconPath": "static/tabbar/calendar.png",
// "selectedIconPath": "static/tabbar/calendared.png",
// "text": "职1"
// },
// {
// "pagePath": "pages/careerfair/careerfair",
// "iconPath": "static/tabbar/post.png",
// "selectedIconPath": "static/tabbar/posted.png",
// "text": "招聘会"
// },
// {
// "pagePath": "pages/chat/chat",
// "iconPath": "static/tabbar/logo3.png",
// "selectedIconPath": "static/tabbar/logo3.png",
// "text": "AI+"
// },
// {
// "pagePath": "pages/msglog/msglog",
// "iconPath": "static/tabbar/chat4.png",
// "selectedIconPath": "static/tabbar/chat4ed.png",
// "text": "消息"
// },
// {
// "pagePath": "pages/mine/mine",
// "iconPath": "static/tabbar/mine.png",
// "selectedIconPath": "static/tabbar/mined.png",
// "text": "我的"
// }
// ]
// },
"globalStyle": { "globalStyle": {
"navigationBarTextStyle": "black", "navigationBarTextStyle": "black",
"navigationBarTitleText": "uni-app", "navigationBarTitleText": "uni-app",
@@ -684,11 +661,55 @@
"autoscan": true, "autoscan": true,
"custom": { "custom": {
"^uni-(.*)": "@dcloudio/uni-ui/lib/uni-$1/uni-$1.vue", "^uni-(.*)": "@dcloudio/uni-ui/lib/uni-$1/uni-$1.vue",
"^time-picker$": "@dcloudio/uni-ui/lib/uni-datetime-picker/time-picker.vue",
"^TimePicker$": "@dcloudio/uni-ui/lib/uni-datetime-picker/time-picker.vue",
"^Calendar$": "@dcloudio/uni-ui/lib/uni-datetime-picker/calendar.vue",
"^calendar-item$": "@dcloudio/uni-ui/lib/uni-datetime-picker/calendar-item.vue",
"^CalendarItem$": "@dcloudio/uni-ui/lib/uni-datetime-picker/calendar-item.vue",
"^table-checkbox$": "@dcloudio/uni-ui/lib/uni-tr/table-checkbox.vue",
"^TableCheckbox$": "@dcloudio/uni-ui/lib/uni-tr/table-checkbox.vue",
"^filter-dropdown$": "@dcloudio/uni-ui/lib/uni-th/filter-dropdown.vue",
"^FilterDropdown$": "@dcloudio/uni-ui/lib/uni-th/filter-dropdown.vue",
"^uni-status-bar$": "@dcloudio/uni-ui/lib/uni-nav-bar/uni-status-bar.vue",
"^upload-image$": "@dcloudio/uni-ui/lib/uni-file-picker/upload-image.vue",
"^UploadImage$": "@dcloudio/uni-ui/lib/uni-file-picker/upload-image.vue",
"^upload-file$": "@dcloudio/uni-ui/lib/uni-file-picker/upload-file.vue",
"^UploadFile$": "@dcloudio/uni-ui/lib/uni-file-picker/upload-file.vue",
"^IconfontIcon$": "@/components/IconfontIcon/IconfontIcon.vue", "^IconfontIcon$": "@/components/IconfontIcon/IconfontIcon.vue",
"^WxAuthLogin$": "@/components/WxAuthLogin/WxAuthLogin.vue", "^WxAuthLogin$": "@/components/wxAuthLogin/WxAuthLogin.vue",
"^AppLayout$": "@/components/AppLayout/AppLayout.vue", "^AppLayout$": "@/components/AppLayout/AppLayout.vue",
"^CustomTabBar$": "@/components/CustomTabBar/CustomTabBar.vue" "^CustomTabBar$": "@/components/CustomTabBar/CustomTabBar.vue",
"^UserTypeSwitcher$": "@/components/UserTypeSwitcher/UserTypeSwitcher.vue",
"^CollapseTransition$": "@/components/CollapseTransition/CollapseTransition.vue",
"^NoBouncePage$": "@/components/NoBouncePage/NoBouncePage.vue",
"^TikTok$": "@/components/TikTok/TikTok.vue",
"^MsgTips$": "@/components/MsgTips/MsgTips.vue",
"^exitPopup$": "@/packageRc/components/exitPopup.vue",
"^ImageUpload$": "@/packageRc/components/ImageUpload.vue",
"^placePicker$": "@/packageRc/components/placePicker.vue",
"^PlacePicker$": "@/packageRc/components/placePicker.vue",
"^PopupLists$": "@/packageRc/components/PopupLists.vue",
"^PopupList$": "@/packageRc/components/PopupLists.vue",
"^popupList$": "@/packageRc/components/PopupLists.vue",
"^DealDone$": "@/packageRc/pages/needs/dealDone.vue",
"^ChoosePerson$": "@/packageRc/pages/needs/components/choosePerson.vue",
"^choosePerson$": "@/packageRc/pages/needs/components/choosePerson.vue",
"^choose-person$": "@/packageRc/pages/needs/components/choosePerson.vue",
"^contrastBox$": "@/packageCa/testReport/components/contrastBox.vue",
"^testHead$": "@/packageCa/testReport/components/testHead.vue",
"^jobService$": "@/packageRc/pages/needs/components/jobService.vue",
"^entrepreneurshipService$": "@/packageRc/pages/needs/components/entrepreneurshipService.vue",
"^trainService$": "@/packageRc/pages/needs/components/trainService.vue",
"^otherService$": "@/packageRc/pages/needs/components/otherService.vue",
"^investigate$": "@/packageRc/pages/service/components/investigate.vue",
"^policyConsultation$": "@/packageRc/pages/service/components/policyConsultation.vue",
"^jobRecommend$": "@/packageRc/pages/service/components/jobRecommend.vue",
"^skillTrain$": "@/packageRc/pages/service/components/skillTrain.vue",
"^jobTrack$": "@/packageRc/pages/service/components/jobTrack.vue",
"^positionChooser$": "@/packageRc/pages/service/components/positionChooser.vue",
"^(?!u-|uni-|el-|req-comp|template|transition|enterprise-list-pop|handler-data|time-picker|TimePicker|Calendar|calendar-item|CalendarItem|table-checkbox|TableCheckbox|filter-dropdown|FilterDropdown|uni-status-bar|upload-image|UploadImage|upload-file|UploadFile|view|text|image|button|input|textarea|picker|scroll-view|swiper|map|canvas|video|audio|cover-view|cover-image|navigator|rich-text|progress|checkbox|radio|switch|slider|form|label|picker-view|movable-view|movable-area|web-view|ad|official-account|open-data|editor|live-player|live-pusher|functional-page-navigator|match-media|page-meta|navigation-bar|keyboard-accessory|page-container|uni-app|block|component|slot|keep-alive|router-view|router-link)([a-zA-Z][a-zA-Z0-9-]*)$": "@/components/$1/$1.vue"
} }
}, },
"uniIdRouter": {} "uniIdRouter": {}
} }

View File

@@ -112,11 +112,11 @@
</view> </view>
<view class="service-title">素质测评</view> <view class="service-title">素质测评</view>
</view> </view>
<view class="service-item press-button" @click="handleServiceClick('ai-interview')"> <view class="service-item press-button" @click="goAiAu()">
<view class="service-icon service-icon-9"> <view class="service-icon service-icon-9">
<IconfontIcon name="ai" :size="68" color="#FFFFFF" /> <IconfontIcon name="ai" :size="68" color="#FFFFFF" />
</view> </view>
<view class="service-title">AI智能面试</view> <view class="service-title">虚拟面试</view>
</view> </view>
<view class="service-item press-button" style="justify-content:normal" @click="goRc()"> <view class="service-item press-button" style="justify-content:normal" @click="goRc()">
<view class="service-icon service-icon-9"> <view class="service-icon service-icon-9">
@@ -1078,6 +1078,14 @@ function goCa(){
navTo(`/packageCa/search/search?userId=${userInfo.userId}&name=${userInfo.name}`); navTo(`/packageCa/search/search?userId=${userInfo.userId}&name=${userInfo.name}`);
} }
} }
// 跳转AI智能面试
function goAiAu(){
if (checkLogin()) {
const userInfo = uni.getStorageSync('userInfo')
navTo(`/packageCa/search/AIAudition?userId=${userInfo.userId}&name=${userInfo.name}`);
}
}
defineExpose({ loadData }); defineExpose({ loadData });

View File

@@ -1 +0,0 @@

View File

@@ -1 +0,0 @@

View File

@@ -1 +0,0 @@

View File

@@ -1 +0,0 @@

View File

@@ -1 +0,0 @@

View File

@@ -13,7 +13,7 @@
}, },
"compileType": "miniprogram", "compileType": "miniprogram",
"libVersion": "3.5.7", "libVersion": "3.5.7",
"appid": "wx9d1cbc11c8c40ba7", "appid": "wx4aa34488b965a331",
"projectname": "qingdao-employment-service", "projectname": "qingdao-employment-service",
"condition": { "condition": {
"search": { "search": {

View File

@@ -9,6 +9,7 @@ let baseUrl7 = ""
let baseUrl8 = "" let baseUrl8 = ""
let filestore_site = ""; let filestore_site = "";
// #ifdef MP-WEIXIN // #ifdef MP-WEIXIN
// 编译项目因为使用插件lime-echartechart文件过大需要非压缩代码方式编译不然会很慢发布的时候才压缩代码方式编译
if (wx.getAccountInfoSync().miniProgram.envVersion === 'develop') { if (wx.getAccountInfoSync().miniProgram.envVersion === 'develop') {
baseUrl = 'http://dev.51xuanxiao.com:8005/api' // 开发环境 baseUrl = 'http://dev.51xuanxiao.com:8005/api' // 开发环境
baseUrl3 = 'http://dev.51xuanxiao.com:8007/api' // 职业环境 baseUrl3 = 'http://dev.51xuanxiao.com:8007/api' // 职业环境