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.
23 lines
556 B
23 lines
556 B
function tabImage(tabIndex, index) {
|
|
if (index == 0) {
|
|
if(tabIndex == index){
|
|
return '/assets/image/icon_post_blue.png'
|
|
}
|
|
return '/assets/image/icon_post_gray.png'
|
|
} else if (index == 1) {
|
|
if(tabIndex == index){
|
|
return '/assets/image/icon_trans_blue.png'
|
|
}
|
|
return '/assets/image/icon_trans_gray.png'
|
|
} else if (index == 2) {
|
|
if(tabIndex == index){
|
|
return '/assets/image/icon_self_blue.png'
|
|
}
|
|
return '/assets/image/icon_self_gray.png'
|
|
}
|
|
return ''
|
|
}
|
|
|
|
module.exports = {
|
|
tabImage: tabImage
|
|
}
|