Merge branch 'develop' of http://25.13.9.101:9000/K17_AITS/tra-app into develop
This commit is contained in:
+1
-1
@@ -13,7 +13,7 @@ ENV = 'development'
|
||||
# DEV
|
||||
VITE_APP_BASE_API_Url = 'https://aitstest.jlbank.com.cn:7001'
|
||||
|
||||
# http://25.18.122.65:7001/download/dev-jax.apk
|
||||
|
||||
# app入口
|
||||
#VITE_APP_BASE_API_Url = 'http://25.16.122.65:7001'
|
||||
#VITE_APP_BASE_API_Url = 'http://25.16.122.91:9786'
|
||||
|
||||
+4
-2
@@ -1,3 +1,5 @@
|
||||
npm i --registry=http://25.12.10.69:8081/repository/aliyun-npm/
|
||||
npm install --registry=http://25.12.10.69:8081/repository/aliyun-npm/
|
||||
|
||||
npm 淘宝源下载 :npm config set registry https://registry.npmmirror.com
|
||||
npm 淘宝源下载 :npm config set registry https://registry.npmmirror.com
|
||||
|
||||
npm config set registry http://25.12.10.69:8081/repository/aliyun-npm/
|
||||
@@ -115,7 +115,7 @@
|
||||
};
|
||||
const toStudyPrgh = (info) => {
|
||||
common.navigateTo('/pages/course/study?crsNum=' + crsNum.value + '&crsId=' + form.value.crsId + '&pgrphId=' +
|
||||
info.pgrphId)
|
||||
info.pgrphId+ '&imgId=' + form.imgId)
|
||||
}
|
||||
|
||||
const bgOpacity = computed(() => {
|
||||
@@ -128,17 +128,15 @@
|
||||
}
|
||||
onLoad((params) => {
|
||||
crsNum.value = params.crsNum;
|
||||
getData();
|
||||
uni.$on('refresh_comment_data', () => {
|
||||
commentRef.value.getData();
|
||||
})
|
||||
uni.$on('refresh_course_detail_data', () => {
|
||||
getData();
|
||||
})
|
||||
});
|
||||
onShow(()=>{
|
||||
getData();
|
||||
})
|
||||
onUnload(() => {
|
||||
uni.$off('refresh_comment_data')
|
||||
uni.$off('refresh_course_detail_data')
|
||||
});
|
||||
</script>
|
||||
|
||||
|
||||
@@ -70,6 +70,7 @@
|
||||
"bbsContent": '', // 评价内容
|
||||
})
|
||||
const imgId = ref('')
|
||||
const from = ref('')
|
||||
const sliderChange = (event) => {
|
||||
formData.bbsGrade = event.detail.value
|
||||
}
|
||||
@@ -86,12 +87,16 @@
|
||||
common.msg('发表成功')
|
||||
setTimeout(() => {
|
||||
uni.$emit('refresh_comment_data')
|
||||
if(from.value === 'study'){
|
||||
} else {
|
||||
}
|
||||
common.navigateBack()
|
||||
}, 500)
|
||||
})
|
||||
}
|
||||
onLoad((params) => {
|
||||
formData.crsNum = params.crsNum;
|
||||
from.value = params.from;
|
||||
imgId.value = params.imgId;
|
||||
});
|
||||
</script>
|
||||
|
||||
@@ -14,9 +14,7 @@
|
||||
<view class="message_div">
|
||||
<image src="@/static/images/index/message_b.png" class="message_img"></image>
|
||||
<view class="message_text">消息</view>
|
||||
<view class="message_num">
|
||||
30
|
||||
</view>
|
||||
<view class="message_num">30</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
@@ -495,7 +493,7 @@
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
width: calc(100% + 4rpx);
|
||||
height: 870rpx;
|
||||
z-index: -1;
|
||||
}
|
||||
|
||||
+14
-12
@@ -74,7 +74,7 @@
|
||||
<image class="icon" src="@/static/images/me/examination.png"></image>
|
||||
<view class="title">考试记录</view>
|
||||
</view>
|
||||
<view class="item">
|
||||
<view class="item" @click="goTest()">
|
||||
<image class="icon" src="@/static/images/me/report.png"></image>
|
||||
<view class="title">我的报告</view>
|
||||
</view>
|
||||
@@ -91,7 +91,7 @@
|
||||
<view class="cell_div">
|
||||
<uv-cell-group :border="false">
|
||||
<uv-cell title="设置" :isLink="true" @click="common.navigateTo('/pages/setting/index')"></uv-cell>
|
||||
<uv-cell title="客服" :isLink="true" @click="goTest"></uv-cell>
|
||||
<uv-cell title="客服" :isLink="true"></uv-cell>
|
||||
<uv-cell title="退出登录" :isLink="true" :clickable="false" :border="false"
|
||||
@click="click_loginout()"></uv-cell>
|
||||
</uv-cell-group>
|
||||
@@ -192,16 +192,18 @@
|
||||
imageAddr: '',
|
||||
});
|
||||
const goTest = () => {
|
||||
const now = Date.now();
|
||||
if (now - lastClickTime.value > 500) {
|
||||
clickCount.value = 0;
|
||||
}
|
||||
clickCount.value++;
|
||||
lastClickTime.value = now;
|
||||
if (clickCount.value == 6) {
|
||||
common.navigateTo('/pages/test/index');
|
||||
clickCount.value = 0;
|
||||
}
|
||||
console.log('goTest');
|
||||
common.navigateTo('/pages/test/index');
|
||||
// const now = Date.now();
|
||||
// if (now - lastClickTime.value > 500) {
|
||||
// clickCount.value = 0;
|
||||
// }
|
||||
// clickCount.value++;
|
||||
// lastClickTime.value = now;
|
||||
// if (clickCount.value == 6) {
|
||||
// common.navigateTo('/pages/test/index');
|
||||
// clickCount.value = 0;
|
||||
// }
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user