会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
▍凉城空巷°
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
···
12
下一页
2021年4月19日
关于dedecms
摘要: //随机调用某10篇文章 {dede:arclist pagesize='10' titlelen='35' orderby='rand'} [field:title/](注释:这里是调用文章的标题调用代码) {/dede:arclist} //首页循环文章标题和文章缩略图 {dede:arclis
阅读全文
posted @ 2021-04-19 17:03 ▍凉城空巷°
阅读(47)
评论(0)
推荐(0)
2021年3月12日
小程序
摘要: 存储数据 wx.setStorageSync("number_phonenum", res.data.data.phoneNumber) 获取存储的数据 wx.getStorageSync("number_phonenum"), <open-data type="userAvatarUrl"></o
阅读全文
posted @ 2021-03-12 17:40 ▍凉城空巷°
阅读(113)
评论(0)
推荐(0)
2020年11月18日
vue单页面
摘要: <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title></title> </head> <body> <div id="app"> <component :is="currentPage"></component> </div> </
阅读全文
posted @ 2020-11-18 16:11 ▍凉城空巷°
阅读(93)
评论(0)
推荐(0)
2020年11月9日
禁止系统默认右键并执行自己的程序
摘要: $(document).contextmenu(function(e){ return false; }); $(document).contextmenu(function(e){ if(e.button==0||2){ alert("右键点击成功!"); } }); 转自:https://www
阅读全文
posted @ 2020-11-09 14:56 ▍凉城空巷°
阅读(79)
评论(0)
推荐(0)
2020年9月17日
jquery-ui拖动
摘要: <link rel="stylesheet" href="css/jquery-ui.min.css"> <div id="containment-wrapper"></div> $(function() { $("#containment-wrapper").resizable({ handles
阅读全文
posted @ 2020-09-17 14:13 ▍凉城空巷°
阅读(73)
评论(0)
推荐(0)
2020年8月28日
jquery鼠标右键功能 备忘
摘要: <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title></title> <style type="text/css"> .DreamMenu { position: absolute; visibility: hidden; z-in
阅读全文
posted @ 2020-08-28 11:19 ▍凉城空巷°
阅读(169)
评论(0)
推荐(0)
日历插件 备忘
摘要: <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>纯JS日历插件(注释全)</title> </head> <body> <input type="text" style="border:1px solid #999;" oncl
阅读全文
posted @ 2020-08-28 11:16 ▍凉城空巷°
阅读(110)
评论(0)
推荐(0)
2020年5月26日
兼容于苹果手机的点击方法
摘要: $(document).on('click touchstart', '#btn', function(){ alert(); });
阅读全文
posted @ 2020-05-26 09:38 ▍凉城空巷°
阅读(131)
评论(0)
推荐(0)
2020年5月22日
js判断设备访问入口
摘要: var ua = navigator.userAgent.toLowerCase(); var isWeixin = ua.indexOf('micromessenger') != -1; var isAndroid = ua.indexOf('android') != -1; var isIos
阅读全文
posted @ 2020-05-22 11:22 ▍凉城空巷°
阅读(156)
评论(0)
推荐(0)
2020年1月20日
微信小程序点击显示某个view
摘要: <view bindtap='showButton'>点击</view> <view class="Mask {{MaskView?'hide':'show'}}">受控制的view</view> data: { MaskView: true, }, showButton: function ()
阅读全文
posted @ 2020-01-20 15:15 ▍凉城空巷°
阅读(1335)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
···
12
下一页
公告