From 38d547d91d7eee81ed56ca6ceba7fd393952a082 Mon Sep 17 00:00:00 2001 From: Administrator <15274802129@163.com> Date: Mon, 12 May 2025 16:12:15 +0800 Subject: [PATCH] feat(sign): 增加签到获得会员经验或积分的功能 - 在 ApiSignVo 中添加 mostSignIn 字段,用于区分签到获得的类型 - 在 ScoreFlowTypeEnum 中新增 SIGN_EXPERIENCE 和 SIGN_SCORE 类型 - 修改 ScoreServiceImpl 中的签到逻辑,支持获得会员经验和积分 - 更新 ScoreSettingDto,添加 mostSignIn 字段用于配置签到获得类型 - 在前端设置页面添加签到获得类型的选项 --- src/main/resources/templates/febs/views/modules/leader/leaderMapSetting.html | 12 +++++++----- 1 files changed, 7 insertions(+), 5 deletions(-) diff --git a/src/main/resources/templates/febs/views/modules/leader/leaderMapSetting.html b/src/main/resources/templates/febs/views/modules/leader/leaderMapSetting.html index 52543aa..b87ebca 100644 --- a/src/main/resources/templates/febs/views/modules/leader/leaderMapSetting.html +++ b/src/main/resources/templates/febs/views/modules/leader/leaderMapSetting.html @@ -35,11 +35,12 @@ $view.find('#container').css({"height": document.documentElement.clientHeight - 97 + 'px'}); var map = new AMap.Map("container", { - center: [116.368904,39.913423], - zoom: 16.8 + // center: [116.368904,39.913423], + + resizeEnable: true, + zoom: 14 }); var polyEditor = new AMap.PolyEditor(map); - //为地图注册click事件获取鼠标点击出的经纬度坐标 var path = []; @@ -68,6 +69,7 @@ }); // 将折线添加至地图实例 map.add(polyline); + console.log(path.toString()); }); @@ -87,8 +89,6 @@ $createPolygon.on('click', function () { febs.alert.success('点击新建'); - polyEditor.close(); - polyEditor.open(); }); $open.on('click', function () { @@ -105,6 +105,8 @@ lineJoin: 'round' // 折线拐点连接处样式 }); // 将折线添加至地图实例 + // map.cleanData(polyline); + map.add(polyline); }); -- Gitblit v1.9.1