06 2020 档案
摘要:异步组件 异步组件:只在组件需要渲染(组件第一次显示)的时候进行加载渲染并缓存,缓存是以备下次访问。 Vue实现按需加载 在打包的时候,会打包成单独的js文件存储在static/js文件夹里面** 在调用时使用ajax请求回来插入到html中。 调用异步组件的方法 异步组件中,如果父组件调用子组件,
阅读全文
摘要:1==>tooltip 类似饰hover效果提示框组件。光标放上去会触发 2==>formatter // 饼图 {a}(系列名称),{b}(数据项名称),{c}(数值), {d}(百分比) 3==>itemStyle 饼图各个部分之间的间隔 4==>legend通常是是解释说明每一个部分的 如果将
阅读全文
摘要:<div class="right-tabbox-newnotice"> <el-tabs v-model="activeName" @tab-click="handleClick"> <el-tab-pane label="通知" name="first"> </el-tab-pane> </el
阅读全文
摘要:日历通讯录 日历备忘录 组件 参考地址:https://www.cnblogs.com/520BigBear/p/11781495.html <template> <div class="calender"> <div class="top"> <div class="btn_wrap"> <ul>
阅读全文
摘要:组件 <template> <div class="hide-page-com"> <ul class="tab-tilte"> <li v-for="(title,index) in tabTitle" :key="index" @click="getclcik(index)" class="me
阅读全文
摘要:let arr = [{ name: "站请", id: 01 }, { name: "站请1", id: 01 }, { name: "张三", id: 01 }, { name: "李三", id: 01 } ]; //模糊查询 var indexArr = []; for (let i = 0
阅读全文