摘要: $("body").on('click',".delic",function(){ $(this).parent().remove(); }) 阅读全文
posted @ 2019-02-14 16:30 惑心 阅读(493) 评论(0) 推荐(0) 编辑
摘要: wxml代码: <view class='contents' style='width:84%;padding:2% 3%;margin-left:5%;border:1px solid red;font-size:28rpx;color:#999;'> <text>{{contents}}</te 阅读全文
posted @ 2019-01-25 11:20 惑心 阅读(1089) 评论(0) 推荐(0) 编辑
摘要: //common.js var studentList = [ { name: "xiaoming", age: "22", hobby: "sleep" }, { name: "xiaohong", age: "22", hobby: { one: "eat", two: "eatfood" } 阅读全文
posted @ 2019-01-24 17:13 惑心 阅读(1872) 评论(0) 推荐(0) 编辑
摘要: wxml............................................ <view class='rotateCtn'> wxml............................................ <view class='rotateCtn'> <! 阅读全文
posted @ 2019-01-22 15:19 惑心 阅读(270) 评论(0) 推荐(0) 编辑
摘要: //导航条颜色更改 wx.setNavigationBarColor({ frontColor: '#ffffff', // 必写项 backgroundColor: '#008de6', // 必写项 //animation: { // 可选项 // duration: 0, // timingF 阅读全文
posted @ 2019-01-18 11:32 惑心 阅读(1959) 评论(0) 推荐(0) 编辑
摘要: js:获取系统信息 var that = this; wx.getSystemInfo({ success: function (res) { that.setData({ winWidth: res.windowWidth, winheight: res.windowHeight }); } }) 阅读全文
posted @ 2018-12-23 17:25 惑心 阅读(496) 评论(0) 推荐(0) 编辑
摘要: html部分: <form action='' method='post' name='myform'> <input type='file' id='iptfileupload' onchange='show()' value='' /> <img src='1.jpg' alt='' id='i 阅读全文
posted @ 2018-12-22 12:19 惑心 阅读(485) 评论(0) 推荐(0) 编辑
摘要: 实现代码如下: wxml页面 <scroll-view scroll-x="true" class="weui-navbar"> <block wx:for-items="{{tabs}}"> <view id="{{index}}" class="{{activeIndex == index ?' 阅读全文
posted @ 2018-12-15 11:37 惑心 阅读(3346) 评论(0) 推荐(0) 编辑
摘要: 前几天接到一个任务,用bootstrap框架写几个静态页面,由于长时间专注于后台开发,所以,花费了3天时间,才终于写完了页面,其中,来回的修改,把遇到的问题说一下。 用bootstarp做完页面后,组长当时又改变主意了,说不用bootstrap,或者禁用bootstrap响应式,没办法,只有禁用响应 阅读全文
posted @ 2018-11-27 16:13 惑心 阅读(2730) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html><html><head> <meta charset="UTF-8"> <script src="../js/jquery-3.2.1.min.js"></script> <link rel="stylesheet" href="../css/JQ08_24_04.cs 阅读全文
posted @ 2018-10-29 16:27 惑心 阅读(4892) 评论(1) 推荐(0) 编辑