From f02a55724b0bc75b2ce8586d078842e41f4d9015 Mon Sep 17 00:00:00 2001 From: joylink_cuiweidong <364937672@qq.com> Date: Wed, 14 Oct 2020 16:19:52 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=A3=E7=A0=81=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/assets/yuyin.png | Bin 0 -> 1323 bytes src/jmapNew/shape/Section/ELimitLines.js | 54 +++++++++++----------- src/views/newMap/chatView/chatContent.vue | 17 +++++-- 3 files changed, 39 insertions(+), 32 deletions(-) create mode 100644 src/assets/yuyin.png diff --git a/src/assets/yuyin.png b/src/assets/yuyin.png new file mode 100644 index 0000000000000000000000000000000000000000..32055af5e5face519b963d0dd76101aea17c52b2 GIT binary patch literal 1323 zcmV+`1=RY9P)pVr zh-}P1>4^QU?uBpjLd=#2IsjlYON7>XNJLgT{hns#+q1?_+1m~b zzHq{5k1^)*!U1}Fdynbr>e`2hXE}ndGsbL75=2Cw1Hh>f`$1-2S~!4RP$_i{BEIeb z3>jn2O9`XhhzrUwet9=asJ&u6Rq%cxSZAHXeqWwM3TQoX4dN>Ut z_aW9=zat_905wG1@B99Z88?e9*e;3oDV0hKtJUf+apQ<+697Ewc&*ysR??00QV8e7U zVn58xi?Y_v?SZU`rtDhlJ4M7T-2M#1@T9b_a71LElgCHaIl#>QS?jhHfQaml{S>q4 zbIiOUNlg8b-*8w(kyd_`o6xt<2pM#ZE4X^_va0twt8S{=ao`B5b>?7uMu^x{j1;ufW6GzP{kIW z2lB*jxm?zs=h@wl#y+GKe6xBBc znQcPL-3kXtx^fY5o$vdvtKuWUvv{Wh$CY9M)9x2oVG0E;w zM@Pq+k&%(_vV { - this.add(item); - }); - speedLimitRight.forEach(item => { - this.add(item); - }); - } + const speedLimitRight = this.createLimit({ + position: [-x, y], + switch: model.switch, + code: model.code, + isSwitchSection: model.switchSection, + relSwitchCode: model.relSwitchCode, + isCurve: model.curve, // 是否曲线 + points: model.points + }); + speedLimitLeft.forEach(item => { + this.add(item); + }); + speedLimitRight.forEach(item => { + this.add(item); + }); + // } } } diff --git a/src/views/newMap/chatView/chatContent.vue b/src/views/newMap/chatView/chatContent.vue index 4d3cf300f..7a904971d 100644 --- a/src/views/newMap/chatView/chatContent.vue +++ b/src/views/newMap/chatView/chatContent.vue @@ -9,8 +9,9 @@
- - {{ chatContent.content }} + + playicon1 +