![](https://img-blog.csdnimg.cn/20201014180756919.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
前端
一笑而过吧!
这个作者很懒,什么都没留下…
展开
-
微信小程序:自定义弹框(转载)
实现思路模态对话框之所以被叫做“模态”,就是因为在它弹出的时候,用户如果不关闭这个对话框,是无法对其他窗口进行操作的。那么这样一来,我们的思路就很明确了:构建一个蒙层(mask),使得背景变暗,并且阻止用户对对话框外界面的这里写代码片点击事件;构建一个对话框,在需要时弹出即可(弹出同时触发蒙层)。示例代码wxml:<view class="mask" catchtouchmove="preventTouchMove" wx:if="{{showModal}}"></vie转载 2021-04-28 10:32:32 · 719 阅读 · 0 评论 -
html5 手机端 手机邮箱唤醒
HTML5<a href="tel:150***16891">手机号码</a><a href="mailto:xxx@qq.com">邮箱</a>点击唤醒拨打界面把a超链接初始化style=“text-decoration:none;color: black”效果图如下原创 2021-04-15 19:20:51 · 2409 阅读 · 0 评论 -
css各种鼠标样式
代码:cursor:default实例如下代码:cursor:help实例如下代码:cursor:wait实例如下代码:cursor:crosshair实例如下代码:cursor:text实例如下代码:cursor:s-resize实例如下代码:cursor:w-resize实例如下代码:cursor:se-resize实例如下代码:cursor:ne-resize实例如下代码:cursor:move实例如下代码:cursor:pointer实例原创 2020-10-03 17:34:10 · 333 阅读 · 0 评论 -
前端的滑动导航栏
本人不太会描述 直接上前端代码<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <title>Document</title> <style> body{ margin...转载 2019-07-23 20:37:37 · 714 阅读 · 0 评论 -
上传之前显示图片
这是今天想给自己加一个添加意外中想起来的,说实在也就是想起自己以前做 ~ 哈哈 让代码招呼你们吧 。。。<div class="upload_box"><b>上传图片</b><input type="file" name="file" id="file" accept="image/*" onchange="img();"/> <...转载 2019-07-24 21:17:45 · 135 阅读 · 0 评论