- 博客(13)
- 收藏
- 关注
转载 微信小程序onReachBottom第二次失效
当整个页面就是一个view包着一个轮播、一个横向scroll-view和一个纵向scroll-viewonReachBottom方法只执行一次解决方法:转载于:https://www.cnblogs.com/caoyuna/p/11556696.html...
2019-09-20 13:47:00
734
转载 DatePicker 多时间粒度选择器组件
使用方法: 在.vue文件引入import ruiDatePicker from '@/components/rattenking-dtpicker/rattenking-dtpicker.vue';export default { components: {ruiDatePicker}}在template中使用组件<ruiDatePicker...
2019-09-17 17:47:00
376
转载 css标题文字和下划线重叠
<view class="text"> <text class="textCon">标题</text> <text class="borderText"></text> </view>.text { font-size: 36rpx; color...
2019-09-16 18:19:00
565
转载 uni-app创建项目
下载 HBuilderX 下载地址(https://www.dcloud.io/hbuilderx.html)HBuilderX是通用的前端开发工具,但为uni-app做了特别强化。创建uni-app 3.运行项目 两个...
2019-09-12 13:47:00
293
转载 微信小程序左右滚动公告栏效果
<view class='notice-wrap' hidden='{{hideNotice}}'> <view class='tongzhitext'> <text class="tongzhi-text">{{notice}}</text> </view> <view bindtap...
2019-09-12 11:48:00
1853
转载 微信小程序和H5之间相互跳转
1.微信小程序跳转小程序 wx.navigateToMiniProgram// 小程序跳转 /* * appId string 是 要打开的小程序 appId * path string 否 打开的页面路径,如果为空则打开首页 * extraData object 否 需要传递给目标小程序的数据,目标小程序可在 App.onLaunch,App...
2019-09-11 17:57:00
194
转载 微信小程序进入广告实现
<view class="container"> <image src="../../imgs/swiper1.jpg"></image> <text bindtap="cliadv">跳过广告 {{miao}}</text></view>.contai...
2019-09-11 17:48:00
739
转载 微信小程序自定义头部导航栏
<!--index.wxml--><view> <navbar id='index_header' background='{{background}}' pageName="{{pageName}}" showNav='false' showHome='false' flag='{{flag}}' userimg='{{userimg...
2019-09-09 10:38:00
225
转载 微信小程序弹出层
1.消息提示 wx.showToastwx.showToast({ title: '成功', icon: 'success', duration: 2000})2.模态弹窗 wx.showModalwx.showModal({ title: '提示', content: '这是一个模态弹窗', su...
2019-09-06 23:35:00
470
转载 微信小程序封装请求接口
var rootDocment = 'https://123.com';//你的域名function postData(url, data, cb) {wx.request({ url: rootDocment + url, data: data, method: 'post', success: funct...
2019-09-06 23:15:00
115
转载 微信小程序input框去除空格
//去除空格 <input type='text' data-name='account' value='{{account}}' name="account" bindinput='verification' bindblur='account'></input>verification: function (e) { var name = e...
2019-09-06 22:56:00
1152
转载 微信小程序3D轮播图
<!-- 轮播图 --><swiper previous-margin='50px' next-margin='50px' bindchange="swiperChange" style='height:{{swiperH}};'> <swiper-item wx:for='{{imgList}}' wx:key=''> &...
2019-09-06 14:18:00
245
转载 微信小程序左滑删除
<view class="touch-item {{item.isTouchMove ? 'touch-move-active' : ''}}" data-index="{{index}}" wx:for="{{list}}" wx:key> <view class="content"> <view style="{{item.t...
2019-09-06 13:43:00
128
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人