From 7991c4e3cba6dfe0fc9e269c72c006e9b049292f Mon Sep 17 00:00:00 2001 From: liudan <18634735655@163.com> Date: Wed, 8 Feb 2023 11:44:30 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/wyb-drop-down/wyb-drop-down.vue | 162 +++++++++++---------- manifest.json | 3 +- pages/index/searchPage.vue | 22 ++- static/nodata.png | Bin 0 -> 6500 bytes 4 files changed, 106 insertions(+), 81 deletions(-) create mode 100644 static/nodata.png diff --git a/components/wyb-drop-down/wyb-drop-down.vue b/components/wyb-drop-down/wyb-drop-down.vue index 86d8471..9ff3080 100644 --- a/components/wyb-drop-down/wyb-drop-down.vue +++ b/components/wyb-drop-down/wyb-drop-down.vue @@ -11,83 +11,84 @@ :style="{ zIndex: zIndex, backgroundColor: bgColor.header}"> - - + + {{item.header}} + + + + + + {{item.header}} - - - + zIndex: zIndex - 1, + fontSize: fontSize.content + 'rpx', + backgroundColor: bgColor.content, + borderBottomLeftRadius: radius + 'px', + borderBottomRightRadius: radius + 'px', + minHeight: minHeight + 'rpx', + height: autoHeight ? 'auto' : minHeight + 'rpx', + maxHeight: autoHeight && maxHeight ? maxHeight + 'rpx' : 'auto'}"> + + + + + + + {{content}} + + + + + + - - - - - - - - - {{content}} - - - - - - - - + {{item.name}} {{item.subName}} + + + + 暂无数据 + + @@ -94,6 +101,10 @@ export default{ this.getListData(option.id) }, methods:{ + getContent(val){ + this.catagoryName = val; + this.getListData(this.catagoryId) + }, searchHandle(){ this.getListData(this.catagoryId) }, @@ -160,7 +171,6 @@ export default{ } .searchBox{ position:relative; - border:1px solid red; } .withSearch{ position:absolute; @@ -223,4 +233,12 @@ export default{ color: #0076F6 !important; } } +.nodata{ + margin-top:200rpx; + text-align: center; + image{ + width:30%; + height:auto; + } +} \ No newline at end of file diff --git a/static/nodata.png b/static/nodata.png new file mode 100644 index 0000000000000000000000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