Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
P
pica.cloud.web-education-admin
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
成员
成员
收起侧边栏
Close sidebar
动态
分支图
统计图
提交
打开侧边栏
com.pica.cloud.education.frontend
pica.cloud.web-education-admin
提交
2fc78447
提交
2fc78447
编写于
12月 23, 2018
作者:
杨广俊
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
history
上级
e6b1ae14
变更
3
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
30 行增加
和
1 行删除
+30
-1
history-labels.vue
src/components/business/history-labels.vue
+1
-0
result.vue
src/views/result.vue
+15
-1
search-index.vue
src/views/search-index.vue
+14
-0
未找到文件。
src/components/business/history-labels.vue
浏览文件 @
2fc78447
...
@@ -48,6 +48,7 @@ export default {
...
@@ -48,6 +48,7 @@ export default {
},
},
data
()
{
data
()
{
return
{
return
{
token
:
''
,
allLabels
:
[],
allLabels
:
[],
showDelete
:
false
,
showDelete
:
false
,
showConfirm
:
false
showConfirm
:
false
...
...
src/views/result.vue
浏览文件 @
2fc78447
...
@@ -13,6 +13,7 @@
...
@@ -13,6 +13,7 @@
<div
>
<div
>
<span
class=
"search-container-img2"
><img
class=
"search-container-img"
src=
"../images/sousuo/search-black.png"
/></span>
<span
class=
"search-container-img2"
><img
class=
"search-container-img"
src=
"../images/sousuo/search-black.png"
/></span>
<input
class=
"search-container-input"
type=
"search"
v-model=
"searchText"
>
<input
class=
"search-container-input"
type=
"search"
v-model=
"searchText"
>
<span
class=
"search-container-img3"
@
click=
"clearText"
><img
class=
"search-container-img"
src=
"../images/sousuo/delete.png"
/></span>
<span
class=
"search-container-cancle"
@
click
.
prevent=
"search"
>
搜索
</span>
<span
class=
"search-container-cancle"
@
click
.
prevent=
"search"
>
搜索
</span>
</div>
</div>
</div>
</div>
...
@@ -222,7 +223,7 @@ export default {
...
@@ -222,7 +223,7 @@ export default {
this
.
showTab4
=
true
this
.
showTab4
=
true
this
.
GET
(
url
,
para
).
then
(
res
=>
{
this
.
GET
(
url
,
para
).
then
(
res
=>
{
this
.
showLoading
=
false
this
.
showLoading
=
false
_this
.
searchText
=
''
//
_this.searchText = ''
_this
.
navIndex
=
'0'
_this
.
navIndex
=
'0'
if
(
res
.
code
==
'000000'
)
{
if
(
res
.
code
==
'000000'
)
{
console
.
log
(
res
)
console
.
log
(
res
)
...
@@ -344,6 +345,9 @@ export default {
...
@@ -344,6 +345,9 @@ export default {
},
},
back
()
{
back
()
{
this
.
$router
.
push
(
'/search'
)
this
.
$router
.
push
(
'/search'
)
},
clearText
()
{
this
.
searchText
=
''
}
}
},
},
}
}
...
@@ -477,6 +481,16 @@ export default {
...
@@ -477,6 +481,16 @@ export default {
height
:
px2rem
(
22px
);
height
:
px2rem
(
22px
);
}
}
}
}
&
-img3
{
position
:
absolute
;
top
:
px2rem
(
10px
);
left
:
px2rem
(
280px
);
z-index
:
2
;
img
{
width
:
px2rem
(
22px
);
height
:
px2rem
(
22px
);
}
}
&
-input
{
&
-input
{
flex
:
1
;
flex
:
1
;
position
:
relative
;
position
:
relative
;
...
...
src/views/search-index.vue
浏览文件 @
2fc78447
...
@@ -9,6 +9,7 @@
...
@@ -9,6 +9,7 @@
<div
>
<div
>
<span
class=
"search-container-img2"
><img
class=
"search-container-img"
src=
"../images/sousuo/search-black.png"
/></span>
<span
class=
"search-container-img2"
><img
class=
"search-container-img"
src=
"../images/sousuo/search-black.png"
/></span>
<input
class=
"search-container-input"
type=
"search"
v-model=
"searchText"
>
<input
class=
"search-container-input"
type=
"search"
v-model=
"searchText"
>
<span
class=
"search-container-img3"
@
click=
"clearText"
><img
class=
"search-container-img"
src=
"../images/sousuo/delete.png"
/></span>
<span
class=
"search-container-cancle"
@
click
.
prevent=
"search"
>
搜索
</span>
<span
class=
"search-container-cancle"
@
click
.
prevent=
"search"
>
搜索
</span>
</div>
</div>
</div>
</div>
...
@@ -172,6 +173,9 @@ export default {
...
@@ -172,6 +173,9 @@ export default {
},
},
back
()
{
back
()
{
rocNative
.
goBack
()
rocNative
.
goBack
()
},
clearText
()
{
this
.
searchText
=
''
}
}
},
},
...
@@ -256,6 +260,16 @@ export default {
...
@@ -256,6 +260,16 @@ export default {
height
:
px2rem
(
22px
);
height
:
px2rem
(
22px
);
}
}
}
}
&
-img3
{
position
:
absolute
;
top
:
px2rem
(
10px
);
left
:
px2rem
(
280px
);
z-index
:
2
;
img
{
width
:
px2rem
(
22px
);
height
:
px2rem
(
22px
);
}
}
&
-input
{
&
-input
{
flex
:
1
;
flex
:
1
;
position
:
relative
;
position
:
relative
;
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录