05 2021 档案
摘要:命令安装:npm install echarts --save 在index.html的<head></head>标签中引入echarts <script src="https://cdn.staticfile.org/echarts/4.3.0/echarts.min.js"></script>
阅读全文
摘要:HTML: <div class="dialog-wrap"> <ul v-for="item in dataList" :key="item.id"> <li class="dialog-left" v-if="item.sign 'left'"> {{ item.text }} </li> <l
阅读全文
摘要:代码: <div className="bigPic"> <img src={require('../../images/bg.png')} alt="" /> </div> 此时的图片显示不出来 解决方法一、 再导入的图片后加.default即可 <img src={require('../../
阅读全文
摘要:正三角: .upTriangle{ width: 0; height: 0; border-top: 4px solid #FFFFFF; border-left: 4px solid #FFFFFF; border-right: 4px solid #FFFFFF; border-bottom:
阅读全文
摘要:方法一:ES6 模板字符串 `` className={`title ${index this.state.active ? 'active' : ''}`} 方法二:join("") className={["title", index this.state.active?"active":nul
阅读全文
摘要:render () { return ( <label>验 证 码:</label> <div className="flexBetween"> <Input type="text" className="code-input" value={code} onChange={this.onChang
阅读全文