摘要: 备份留着万一用到,转自:https://cloud.tencent.com/developer/article/1357730?from=15425 <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-e 阅读全文
posted @ 2023-11-26 14:07 ▍凉城空巷° 阅读(83) 评论(0) 推荐(0) 编辑
摘要: 文件目录搜索“RedirectResponse.php”,找到“<body>”标签,设置“display:none;” 阅读全文
posted @ 2022-08-30 15:00 ▍凉城空巷° 阅读(22) 评论(0) 推荐(0) 编辑
摘要: var phoneWidth = parseInt(window.screen.width); var phoneScale = phoneWidth/640; var ua = navigator.userAgent; if (/Android (\d+\.\d+)/.test(ua) || /i 阅读全文
posted @ 2022-08-19 15:06 ▍凉城空巷° 阅读(154) 评论(0) 推荐(0) 编辑
摘要: function onBridgeReady(){ WeixinJSBridge.call("hideOptionMenu"); } if (typeof WeixinJSBridge == "undefined"){ if( document.addEventListener ){ documen 阅读全文
posted @ 2022-05-30 16:55 ▍凉城空巷° 阅读(155) 评论(0) 推荐(0) 编辑
摘要: //app.js内 globalData: { PageActive: true }, preventActive (fn) { const self = this if (this.globalData.PageActive) { this.globalData.PageActive = fals 阅读全文
posted @ 2021-11-05 15:30 ▍凉城空巷° 阅读(182) 评论(0) 推荐(0) 编辑
摘要: //筛选框 <input type="text" placeholder="输入手机号查询" bindinput="search"></input> //循环数组 <view wx:for="{{emp_list}}"> <text>{{item.mobile}}</text> </view> da 阅读全文
posted @ 2021-11-05 08:48 ▍凉城空巷° 阅读(543) 评论(0) 推荐(0) 编辑
摘要: 有时我们会遇到禁止用户复制网站的文字内容,例如小说网站,我们可以通过下列方法提高复制内容的门槛,来实现我们的目标。 1.禁用选中和右键: 在<body>标签中添加以下代码: oncontextmenu='return false' 禁止右键ondragstart='return false' 禁止拖 阅读全文
posted @ 2021-05-20 09:03 ▍凉城空巷° 阅读(256) 评论(0) 推荐(0) 编辑
摘要: //随机调用某10篇文章 {dede:arclist pagesize='10' titlelen='35' orderby='rand'} [field:title/](注释:这里是调用文章的标题调用代码) {/dede:arclist} //首页循环文章标题和文章缩略图 {dede:arclis 阅读全文
posted @ 2021-04-19 17:03 ▍凉城空巷° 阅读(41) 评论(0) 推荐(0) 编辑
摘要: 存储数据 wx.setStorageSync("number_phonenum", res.data.data.phoneNumber) 获取存储的数据 wx.getStorageSync("number_phonenum"), <open-data type="userAvatarUrl"></o 阅读全文
posted @ 2021-03-12 17:40 ▍凉城空巷° 阅读(84) 评论(0) 推荐(0) 编辑
摘要: <!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 ▍凉城空巷° 阅读(87) 评论(0) 推荐(0) 编辑