This commit is contained in:
Pengxiansen
2025-02-26 21:06:29 +08:00
parent 53ef2858e7
commit d5eeb828cc
5 changed files with 11 additions and 16 deletions

View File

@@ -2,11 +2,11 @@
<view class="growth">
<u-navbar
title="专业力必修"
bgColor="rgba(0,0,0,0)"
bgColor="#3e7eff"
:safeAreaInsetTop="true"
placeholder
leftIconColor="#fff"
autoBack
@leftClick="leftClick"
fixed
titleStyle="color:#fff"
>
@@ -218,6 +218,9 @@ export default {
});
},
methods: {
leftClick() {
this.$router.push({ path: "/pages/my/index" });
},
toBack() {
uni.navigateBack();
},
@@ -229,17 +232,8 @@ export default {
// 学习任务跳转详情
loaddetail(task) {
let taskUrl = "";
if (this.selectData.template == 1) {
//路径图
let params = encodeURIComponent("routerId=" + this.selectData.id);
// "/pages/forward?to=/fe-student-h5-release/growthPath&params=" + params;
taskUrl = "/pages/forward?to=/student-h5/growthPath&params=" + params;
} else {
//任务列表
let params = encodeURIComponent("routerId=" + this.selectData.id);
taskUrl =
"/pages/forward?to=/student-h5/growthDetails&params=" + params;
}
let params = encodeURIComponent("routerId=" + this.selectData.id);
taskUrl = "/pages/forward?to=/student-h5/growthDetails&params=" + params;
uni.navigateTo({
url: taskUrl,
});
@@ -270,6 +264,7 @@ export default {
display: flex;
justify-content: center;
margin-top: 114rpx;
margin-bottom: 50px;
view {
width: 560rpx;
height: 88rpx;

View File

@@ -19,4 +19,4 @@
hm.src = "https://hm.baidu.com/hm.js?ea89f02dca369037a73c5e3907e2c14a";
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(hm, s);
})();</script></head><body><div id=app></div><script src=/mobile/static/js/chunk-vendors.bb72ee6e.js></script><script src=/mobile/static/js/index.4a17d1a1.js></script></body></html>
})();</script></head><body><div id=app></div><script src=/mobile/static/js/chunk-vendors.bb72ee6e.js></script><script src=/mobile/static/js/index.03967f6e.js></script></body></html>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long