pad端六熟悉
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

42 lines
947 B

/*
* @Descripttion:
* @version:
* @Author: sueRimn
* @Date: 2020-11-05 15:27:58
* @LastEditors: sueRimn
* @LastEditTime: 2020-11-06 10:30:10
*/
import { Component, OnInit } from '@angular/core';
@Component({
selector: 'app-know-route',
templateUrl: './know-route.component.html',
styleUrls: ['./know-route.component.scss']
})
export class KnowRouteComponent implements OnInit {
constructor() { }
ngOnInit(): void {
}
//判断选中路线的值
chooseid=-1
knowRoute=[
{name:``,idnum:""}
/* {name:`柳州支队`,idnum:"🠖"} */
]
//熟悉部位点击事件
addRoute(event){
//console.log(event.target.innerHTML)
//this.knowRoute+=event.target.innerHTML+"🠖"
this.knowRoute.push({name:event.target.innerHTML,idnum:"🠖"})
}
//熟悉路线点击事件
knowroutwClick(event,key){
console.log(event)
this.chooseid=key
//event.target.style.border="1px solid #000000"
}
}