//导入jquery
import $ from 'jquery'
//导入图片文件
import logo from "./logo.jpg"
//给img标签的src动态赋值
$('.box').attr('src',logo)
//定义jquery的入口
import './index.css'
import './index.less'
//
$(function(){
$('li:odd').css('background-color','red')
$('li:even').css('background-color','pink')
})
@info
class Person{
}
function info(target){
="Person info"
}
console.log()
运行结果