From 6461f5659505768e7a90594c3aab47f90d9ee213 Mon Sep 17 00:00:00 2001 From: inleft <inleft@qq.com> Date: Mon, 22 Aug 2022 00:37:40 +0800 Subject: [PATCH] 弹窗添加可移动 --- src/components/fixed/header.vue | 17 +++++++++-------- 1 files changed, 9 insertions(+), 8 deletions(-) diff --git a/src/components/fixed/header.vue b/src/components/fixed/header.vue index af0e1e9..a5b9549 100644 --- a/src/components/fixed/header.vue +++ b/src/components/fixed/header.vue @@ -3,9 +3,9 @@ <a-col v-bind="showSmall"> <div class="menu"> <router-link to="/">Home</router-link> - <router-link to="/main2">乐谱搜索</router-link> - <router-link to="/main3">我的网盘</router-link> - <router-link to="/main4">友人帐</router-link> + <router-link to="/comment">碎碎念</router-link> + <router-link to="/link">友人帐</router-link> + <router-link to="/platform">月台</router-link> <router-link to="/login">登录</router-link> <!-- <router-link to="/comment">测试页</router-link> --> </div> @@ -13,7 +13,7 @@ <a-col v-bind="showMain"> <a-auto-complete v-model="search.value" :data-source="search.dataSource" ref="mySearch" v-bind="search" @select="onSelect" @search="onSearch" @change="onChange"> - <a-input > + <a-input> <a-icon slot="suffix" type="search" class="certain-category-icon" /> </a-input> </a-auto-complete> @@ -66,7 +66,8 @@ data() { return { search: { - placeholder: "ctrl+shift+f/enter", + //placeholder: "ctrl+shift+f/enter", + placeholder: "搜索框未营业..", // allowClear: true, // autoFocus: true, backfill: true, @@ -116,9 +117,9 @@ console.log("补全.."); }, onSelect(value) { - console.log('回车', value); - this.$message.info("更多功能..敬请期待") - this.$message.info("回车,内容为" + value) + // console.log('回车', value); + this.$message.info("这个功能会等到内容足够多的时候再打开..") + // this.$message.info("回车,内容为" + value) }, onChange(value) { console.log('修改', value); -- Gitblit v1.9.1