Commit cb6fadb7 authored by van.chen's avatar van.chen

牛棚页面 + 首页少部分修改 + 一键控制 + 调试loading

parent 79251586
<div class="mainCon"> <div class="mainCon">
<div class="topSearch"> <div class="topSearch">
<SearchBar [placeholder]="'点击此处进行搜索'"></SearchBar> <SearchBar [placeholder]="'点击此处进行搜索'" [setFocus]="false"></SearchBar>
</div> </div>
<ion-slides style="width: 100%;height: 200px;" mode="ios" <ion-slides style="width: 100%;height: 200px;" mode="ios"
[options]="lunbo" #slide (ionSlideTouchEnd)="slideDidChange()"> [options]="lunbo" #slide (ionSlideTouchEnd)="slideDidChange()">
......
...@@ -77,17 +77,3 @@ ...@@ -77,17 +77,3 @@
.topSearch { .topSearch {
padding-right: 40px; padding-right: 40px;
} }
.topSearch::after {
content: '搜索';
position: absolute;
right: 0;
top: 0;
display: inline-block;
height: 44px;
line-height: 44px;
text-align: center;
width: 50px;
color: #1890ff;
background-color: #efeff4;
}
...@@ -68,7 +68,6 @@ export class Api { ...@@ -68,7 +68,6 @@ export class Api {
if (this.http.handleToken(data)) { if (this.http.handleToken(data)) {
next(data); next(data);
} else { } else {
this.load.offLoad();
if (!this.tokenLoseflag) { if (!this.tokenLoseflag) {
this.presentMsgToast('登录失效,请重新登陆'); this.presentMsgToast('登录失效,请重新登陆');
this.http.toLoginPage(2000); this.http.toLoginPage(2000);
......
...@@ -36,9 +36,11 @@ export class Load { ...@@ -36,9 +36,11 @@ export class Load {
} }
offLoad() { offLoad() {
this.isLoad = false; setTimeout(() => {
this.showNum = false; this.isLoad = false;
this.msg = ''; this.showNum = false;
this.time = 0; this.msg = '';
this.time = 0;
});
} }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment