会员
周边
新闻
博问
AI培训
云市场
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
perfect*
博客园
首页
新随笔
联系
订阅
管理
2020年3月10日
Vue之图书管理案例
摘要: 1、图书列表 实现静态列表效果 基于数据实现模板效果 处理每行的操作按钮 静态列表的效果: html结构: 1 <div id="app"> 2 <div class="grid"> 3 <table> 4 <thead> 5 <tr> 6 <th> 编号</th> 7 <th>名称</th> 8
阅读全文
posted @ 2020-03-10 21:39 perfect*
阅读(1050)
评论(0)
推荐(0)
编辑
公告
$(function() { $('#cnblogs_post_body img').each(function() { let imgSrc = $(this).attr('src'); let year = parseInt(imgSrc.substr(imgSrc.indexOf('g')+1,4)); if(year >= 2022){ imgSrc += `?watermark/2/text/amlndWl5YW4=/font/5a6L5L2T/fontsize/15/fill/I0JBQkFCMA==/dissolve/70/gravity/SouthEast`; $(this).attr('src', imgSrc) } }) })