From 8e61edad4ff3ea7c15c93633ea91e011090a1195 Mon Sep 17 00:00:00 2001 From: huliyong <2783385703@qq.com> Date: Tue, 27 May 2025 23:38:09 +0800 Subject: [PATCH] =?UTF-8?q?feat(workbench):=20=E6=B7=BB=E5=8A=A0=E5=9F=B9?= =?UTF-8?q?=E8=AE=AD=E8=80=83=E6=A0=B8=E5=85=A5=E5=8F=A3=E5=B9=B6=E4=BC=98?= =?UTF-8?q?=E5=8C=96=E7=AD=94=E9=A2=98=E8=BF=9B=E5=BA=A6=E8=AE=A1=E7=AE=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 在工作台管理页面添加培训考核的跳转入口 - 修改环境变量从develop改为release - 优化答题进度计算逻辑,增加字数限制判断 --- otherPages/authentication/examination/train.vue | 125 +++++++++++++----------- pages/workbenchManage/index.vue | 11 +++ utils/getUrl.js | 2 +- 3 files changed, 79 insertions(+), 59 deletions(-) diff --git a/otherPages/authentication/examination/train.vue b/otherPages/authentication/examination/train.vue index 3b4da83..d3b447a 100644 --- a/otherPages/authentication/examination/train.vue +++ b/otherPages/authentication/examination/train.vue @@ -1,12 +1,13 @@ @@ -107,6 +115,7 @@ onShow(() => { top: 0; background-image: linear-gradient(180deg, #FFBF60 0, #ffbf60 2%, #ffbf60 8%, #f2f2f2 90%); z-index: 99; + .progress { margin-top: 19rpx; } diff --git a/pages/workbenchManage/index.vue b/pages/workbenchManage/index.vue index f60e25c..bfc45c0 100644 --- a/pages/workbenchManage/index.vue +++ b/pages/workbenchManage/index.vue @@ -63,6 +63,12 @@ height="68rpx"> {{ item.name }} + + + + 123 + @@ -203,6 +209,11 @@ import { code } from "../../uni_modules/uview-plus/libs/function/test"; }) } } + const handleGoto1 = () => { + uni.navigateTo({ + url: '/otherPages/authentication/examination/train' + }) + } // 加入合伙人 const handleAdd = (type) => { if (!getLoginStatus()) return diff --git a/utils/getUrl.js b/utils/getUrl.js index 9f11a4f..9156153 100644 --- a/utils/getUrl.js +++ b/utils/getUrl.js @@ -1,4 +1,4 @@ -let current = "develop"; +let current = "release"; const accountInfo = wx.getAccountInfoSync(); // current = accountInfo.miniProgram.envVersion;