From 82d61d9af44627491ac013f4dd510b0121615946 Mon Sep 17 00:00:00 2001 From: yuzongping <835949940@qq.com> Date: Tue, 17 Jun 2025 13:26:26 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=B8=E7=BC=A9=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/pannel/close.png | Bin 0 -> 745 bytes src/components/pannel/index.html | 1 + src/components/pannel/index.js | 14 +++++++++++++- src/components/pannel/index.scss | 16 ++++++++++++++++ src/components/pannel/open.png | Bin 0 -> 736 bytes src/style/_base.scss | 3 +++ .../property/comps/left/bottom/1/index.html | 2 +- .../property/comps/left/bottom/3/index.html | 2 +- .../property/comps/left/bottom/4/index.html | 2 +- .../property/comps/left/middle/3/index.html | 2 +- src/views/property/comps/left/top/3/index.html | 2 +- .../property/comps/right/bottom/3/index.html | 2 +- .../property/comps/right/bottom/4/index.html | 2 +- .../property/comps/right/middle/3/index.html | 2 +- src/views/property/comps/right/top/3/index.html | 2 +- src/views/property/main-gis/index.scss | 1 - .../resources/comps/left/bottom/1/index.html | 2 +- .../resources/comps/left/bottom/2/index.html | 2 +- .../resources/comps/left/middle/2/index.html | 2 +- src/views/resources/comps/left/top/2/index.html | 2 +- .../resources/comps/right/bottom/2/index.html | 2 +- .../resources/comps/right/middle/2/index.html | 2 +- .../resources/comps/right/top/2/index.html | 2 +- 23 files changed, 49 insertions(+), 18 deletions(-) create mode 100644 src/components/pannel/close.png create mode 100644 src/components/pannel/open.png diff --git a/src/components/pannel/close.png b/src/components/pannel/close.png new file mode 100644 index 0000000000000000000000000000000000000000..371277f544bf20cab5d25bd4a35ed91a12512c8d GIT binary patch literal 745 zcmVrczfDapqunfg{Y8X2`lmWlLRb4Iz*gpbn=;)?cJ+=@Y7e{=9*s|#*qno1TQ#6U- zXmsKY`zi+25P1ZF;$KRYEW+;i$;EAK+xkbP@_?$FgbxSe2RIqkR0x#ExUu z77&{UjXN2Zl*55do;Rk9Vxv+1rYz5uZS?(Oo z?VWV9^=sva=Z^YQKu>zRdB5N=UiAHM)QTR{rJ%R(2EO{LsLDYGnE7zK`n=?OvFwfd zr{r~QDS8E9MZ!=pY9R^F8i2o66@?*{w(`{8j2DGX1{kckC?k+`7KYmZYN>zn7 z=Ziw7F~3(mzR7>Q)sBV0CJTg0f?)3Ozsg bnF90==))GN4%m!800000NkvXXu0mjf#spQg literal 0 HcmV?d00001 diff --git a/src/components/pannel/index.html b/src/components/pannel/index.html index a9ee2d9..3702176 100644 --- a/src/components/pannel/index.html +++ b/src/components/pannel/index.html @@ -11,6 +11,7 @@
+
diff --git a/src/components/pannel/index.js b/src/components/pannel/index.js index 274effa..450729e 100644 --- a/src/components/pannel/index.js +++ b/src/components/pannel/index.js @@ -9,6 +9,13 @@ export default { type: String, default: 'bk_normal' }, + /** + * 是否可以伸缩 + */ + flexIble: { + type: Boolean, + default: false + }, // 定义跳转页面url uri: { type: String, @@ -29,14 +36,19 @@ export default { style: function () { return { height: this.height + 'px', - width: this.width + 'px' + width: this.isOpen ? 1000 + 'px' : this.width + 'px' }; } }, data () { return { + // 是否展开 + isOpen: false }; }, methods: { + open () { + this.isOpen = !this.isOpen + } } }; diff --git a/src/components/pannel/index.scss b/src/components/pannel/index.scss index 6e81dc6..ee83976 100644 --- a/src/components/pannel/index.scss +++ b/src/components/pannel/index.scss @@ -33,6 +33,7 @@ margin-top: 2px; height: 32px; background: rgba(8, 33, 71, 1); + justify-content: space-between; .title_bk { // font-style: italic; @@ -113,6 +114,21 @@ } } +.flexIble { + z-index: 4; + width: 16px; + height: 16px; + background: url('./close.png'); + background-size: 100% 100%; +} + +.flexIble_open { + width: 16px; + height: 16px; + background: url('./open.png') !important; + background-size: 100% 100%; +} + @keyframes lightmove { /* 动画关键帧 */ diff --git a/src/components/pannel/open.png b/src/components/pannel/open.png new file mode 100644 index 0000000000000000000000000000000000000000..6e257810be4cf79fd931b301687723738d749cf4 GIT binary patch literal 736 zcmV<60w4W}P)Mwy{+ zsc=Kj#us4rxd0#__cI4%&4MHVVgP;em^@)%O`s(J6>+djDK-tv;>})4EBz(T+WwfjO7aiM8%oDv~nYBq8GLSOid8K2K!Rq$%5c=OmH?__3=qN*)$GuyAhjB;%CoL=|a<17oD2gnVl zxAZc6{@{J|a3^%dz?M>eBiS|~Tj$5yr6++_)2T6oLp`O^uRoJ#w_f)@0cgGX7H@3) zNPa!K5L|86z1cv!G_(b{kvVq4u9eksPuY^*+a?+ls!ohsJ%@i90000 +
diff --git a/src/views/property/comps/left/bottom/3/index.html b/src/views/property/comps/left/bottom/3/index.html index baca20f..877cec9 100644 --- a/src/views/property/comps/left/bottom/3/index.html +++ b/src/views/property/comps/left/bottom/3/index.html @@ -1,4 +1,4 @@ - + \ No newline at end of file diff --git a/src/views/property/comps/left/bottom/4/index.html b/src/views/property/comps/left/bottom/4/index.html index 35cc40d..d2380db 100644 --- a/src/views/property/comps/left/bottom/4/index.html +++ b/src/views/property/comps/left/bottom/4/index.html @@ -1,4 +1,4 @@ - + \ No newline at end of file diff --git a/src/views/property/comps/left/middle/3/index.html b/src/views/property/comps/left/middle/3/index.html index 59e3098..eca4902 100644 --- a/src/views/property/comps/left/middle/3/index.html +++ b/src/views/property/comps/left/middle/3/index.html @@ -1,4 +1,4 @@ - + \ No newline at end of file diff --git a/src/views/property/comps/left/top/3/index.html b/src/views/property/comps/left/top/3/index.html index 8df72b1..a8f8a68 100644 --- a/src/views/property/comps/left/top/3/index.html +++ b/src/views/property/comps/left/top/3/index.html @@ -1,4 +1,4 @@ - + \ No newline at end of file diff --git a/src/views/property/comps/right/bottom/3/index.html b/src/views/property/comps/right/bottom/3/index.html index 5c56209..e5cd091 100644 --- a/src/views/property/comps/right/bottom/3/index.html +++ b/src/views/property/comps/right/bottom/3/index.html @@ -1,4 +1,4 @@ - + \ No newline at end of file diff --git a/src/views/property/comps/right/bottom/4/index.html b/src/views/property/comps/right/bottom/4/index.html index b68998c..77c80f7 100644 --- a/src/views/property/comps/right/bottom/4/index.html +++ b/src/views/property/comps/right/bottom/4/index.html @@ -1,4 +1,4 @@ - + \ No newline at end of file diff --git a/src/views/property/comps/right/middle/3/index.html b/src/views/property/comps/right/middle/3/index.html index f1d0bae..826480e 100644 --- a/src/views/property/comps/right/middle/3/index.html +++ b/src/views/property/comps/right/middle/3/index.html @@ -1,4 +1,4 @@ - + \ No newline at end of file diff --git a/src/views/property/comps/right/top/3/index.html b/src/views/property/comps/right/top/3/index.html index d47cd90..7046df9 100644 --- a/src/views/property/comps/right/top/3/index.html +++ b/src/views/property/comps/right/top/3/index.html @@ -1,4 +1,4 @@ - + \ No newline at end of file diff --git a/src/views/property/main-gis/index.scss b/src/views/property/main-gis/index.scss index 4a58c43..d8e9c7d 100644 --- a/src/views/property/main-gis/index.scss +++ b/src/views/property/main-gis/index.scss @@ -21,7 +21,6 @@ .legend_item { display: flex; justify-content: center; - // border: 1px solid red; align-items: center; .icon { diff --git a/src/views/resources/comps/left/bottom/1/index.html b/src/views/resources/comps/left/bottom/1/index.html index 8b6800b..8b38f3e 100644 --- a/src/views/resources/comps/left/bottom/1/index.html +++ b/src/views/resources/comps/left/bottom/1/index.html @@ -1,4 +1,4 @@ - +
diff --git a/src/views/resources/comps/left/bottom/2/index.html b/src/views/resources/comps/left/bottom/2/index.html index a8cb0e7..1c15822 100644 --- a/src/views/resources/comps/left/bottom/2/index.html +++ b/src/views/resources/comps/left/bottom/2/index.html @@ -1,4 +1,4 @@ - + \ No newline at end of file diff --git a/src/views/resources/comps/left/middle/2/index.html b/src/views/resources/comps/left/middle/2/index.html index 59e3098..eca4902 100644 --- a/src/views/resources/comps/left/middle/2/index.html +++ b/src/views/resources/comps/left/middle/2/index.html @@ -1,4 +1,4 @@ - + \ No newline at end of file diff --git a/src/views/resources/comps/left/top/2/index.html b/src/views/resources/comps/left/top/2/index.html index 8df72b1..a8f8a68 100644 --- a/src/views/resources/comps/left/top/2/index.html +++ b/src/views/resources/comps/left/top/2/index.html @@ -1,4 +1,4 @@ - + \ No newline at end of file diff --git a/src/views/resources/comps/right/bottom/2/index.html b/src/views/resources/comps/right/bottom/2/index.html index 5c56209..e5cd091 100644 --- a/src/views/resources/comps/right/bottom/2/index.html +++ b/src/views/resources/comps/right/bottom/2/index.html @@ -1,4 +1,4 @@ - + \ No newline at end of file diff --git a/src/views/resources/comps/right/middle/2/index.html b/src/views/resources/comps/right/middle/2/index.html index f1d0bae..826480e 100644 --- a/src/views/resources/comps/right/middle/2/index.html +++ b/src/views/resources/comps/right/middle/2/index.html @@ -1,4 +1,4 @@ - + \ No newline at end of file diff --git a/src/views/resources/comps/right/top/2/index.html b/src/views/resources/comps/right/top/2/index.html index d47cd90..7046df9 100644 --- a/src/views/resources/comps/right/top/2/index.html +++ b/src/views/resources/comps/right/top/2/index.html @@ -1,4 +1,4 @@ - + \ No newline at end of file