摘要: 学习中 阅读全文
posted @ 2017-11-22 11:01 MiniDuck 阅读(148) 评论(0) 推荐(0) 编辑
摘要: 以成都华誉口腔3个门诊部为例,锦江区-青羊区-高新区 html: <div class = "demo_main"> <fieldset class = "demo_content"> <div class = "min-height:400px; width:100%;" id = "map">< 阅读全文
posted @ 2017-11-21 12:05 MiniDuck 阅读(7580) 评论(0) 推荐(0) 编辑
摘要: 比如从index.wxml跳转到aaa.wxml index.wml页面 <navigator url = "../aaa/aaa?id=1" ></navidator> //传到aaa.wxml的时候传过去的值为id=1,则需要在aaa.wxml 的js获取到id=1 aaa.js页面 Page( 阅读全文
posted @ 2017-11-16 16:25 MiniDuck 阅读(11956) 评论(0) 推荐(1) 编辑
摘要: 刚开始编写小程序时,页面跳转一直采用wx.navigateTo, 但是当我一直来回跳转后,页面就没反应了。今天师傅提示我还可以用其他的方法跳转,现在记录下来,怕时间一久我就给忘了 需求:从 index.wxml 页面,跳转到 aaa.wxml 页面 方法一:WXML页面实现 1.<navigator 阅读全文
posted @ 2017-11-16 16:19 MiniDuck 阅读(61457) 评论(0) 推荐(4) 编辑
摘要: css滤镜属性,可以在元素呈现之前,为元素的渲染提供一些效果,如模糊、颜色转移之类的。滤镜常用于调整图像、背景、边框的渲染。 语法: webkit-filter: none | blur(px) | brightness() | contrast() | grayscale() | hue-rota 阅读全文
posted @ 2017-11-08 14:02 MiniDuck 阅读(304) 评论(0) 推荐(0) 编辑
摘要: 这个问题再面试中经常被问到,说实话我都是懵的,一个“=”和两个“==”等的区别我还是知道的,就是三个“ ”我完全是不知道的,因为我基本上都没有遇到过且用到过,所以再这个问题上我是没分的,人家考官就是主要考的是三个“ ”呀~ “=”: 赋值操作; var x; x = 1; 即将1赋值给a. “==” 阅读全文
posted @ 2017-11-06 14:10 MiniDuck 阅读(247) 评论(0) 推荐(0) 编辑
摘要: 1.1背景 1.1.1 ECMAScript与javascript ECMAScript是javascript的官方命名。因为java已经是一个商标。如今,一些早前收到过授权的公司,如Moailla,是允许是有javascript这个名字的。使用javascript这个名字通常需要遵守一下规则: ~ 阅读全文
posted @ 2017-11-06 11:27 MiniDuck 阅读(648) 评论(0) 推荐(0) 编辑
摘要: <body onload="color()"></body> <script> function color(){ 方法一: document.getElementByTagName("body").style.background = '#'+Math.floor(Math.random()*25 阅读全文
posted @ 2017-11-02 17:12 MiniDuck 阅读(2211) 评论(1) 推荐(0) 编辑
摘要: <img src="images/music.png" id="music" class="rotate"> <audio src="images/music.mp3?v=982" autoplay="autoplay" loop id="muc"></audio> css /*音乐*/#music 阅读全文
posted @ 2017-11-02 15:59 MiniDuck 阅读(372) 评论(0) 推荐(0) 编辑
摘要: 我需要的效果: html: <img src="images/my1.jpg" width="20%"/> css: img{-webkit-box-reflect: below 0px -webkit-gradient(linear, left top, left bottom, from(tra 阅读全文
posted @ 2017-11-02 15:39 MiniDuck 阅读(1314) 评论(0) 推荐(0) 编辑