Browse Source

[修改]熟悉路线问题修改

master
陈敬瑜 4 years ago
parent
commit
33bcb6aa63
  1. 37
      src/app/ui/find-problem/find-problem.component.scss
  2. 5
      src/app/ui/know-route/know-route.component.ts

37
src/app/ui/find-problem/find-problem.component.scss

@ -72,42 +72,5 @@
cursor: pointer;
}
}
.upload{
width: 20%;
height: 20%;
.uploadingimg{
width: 20%;
height: 10%;
// background: url('../../../assets/images/upload2.png') no-repeat center center;
position: absolute;
left: 0.976563rem;
top: 1.171875rem;
//border: 1px dashed gray;
border-radius:3px;
img{
margin-left: 0.195313rem;
margin-top: 0.048828rem;
}
}
}
.image{
// position: absolute;
// top: 199px;
// left: 160px;
// width: 299px;
// height: 170px;
input{
width: 1.953125rem;
height: 0.976563rem;
position: absolute;
left: 1.171875rem;
top: 1.171875rem;
opacity: 0;
margin-top: 0.048828rem;
cursor: pointer;
}
// opacity:0;
}
}

5
src/app/ui/know-route/know-route.component.ts

@ -174,7 +174,10 @@ export class KnowRouteComponent implements OnInit {
this.chooseid=key
this.clickName=item.name+key+sessionStorage.getItem("companyId")
//console.log("sss"+JSON.parse(localStorage.getItem(sessionStorage.getItem("companyId")+"xxx"))[key].src)
if( JSON.parse(localStorage.getItem(sessionStorage.getItem("companyId")+"xxx")) && JSON.parse(localStorage.getItem(sessionStorage.getItem("companyId")+"xxx"))[key].src!=""&&JSON.parse(localStorage.getItem(sessionStorage.getItem("companyId")+"xxx"))[key].src!=undefined){
/* if(JSON.parse(localStorage.getItem(sessionStorage.getItem("companyId")+"xxx"))[key]){
} */
if( JSON.parse(localStorage.getItem(sessionStorage.getItem("companyId")+"xxx"))&& JSON.parse(localStorage.getItem(sessionStorage.getItem("companyId")+"xxx"))[key] && JSON.parse(localStorage.getItem(sessionStorage.getItem("companyId")+"xxx"))[key].src!=""){
this.imgsrc=JSON.parse(localStorage.getItem(sessionStorage.getItem("companyId")+"xxx"))[key].src
this.textareazhi=JSON.parse(localStorage.getItem(sessionStorage.getItem("companyId")+"xxx"))[key].smark
this.inputShow=false

Loading…
Cancel
Save