09 2018 档案

摘要:wxml <view class='bg' style='background-size: 100% {{winHeight}}px;'> <!-- 背景 --> <scroll-view class='scroll' style='height:{{winHeight}}px' scroll-y 阅读全文
posted @ 2018-09-27 09:56 heart中的烦恼哟 阅读(1105) 评论(0) 推荐(0) 编辑
摘要:我是封装在uilts文件夹下,尽量减少文件数量; /** * 自定义post函数,返回Promise * + * author: 李先生<17638198892@163.com> * + * @param {String} url 接口网址 * @param {arrayObject} data 要 阅读全文
posted @ 2018-09-27 09:45 heart中的烦恼哟 阅读(1061) 评论(0) 推荐(0) 编辑
摘要:< 定义组建 > // components/component-tag-name.js Component({ options: { multipleSlots: true // 在组件定义时的选项中启用多slot支持 }, /** * 组件的属性列表 */ properties: { }, /* 阅读全文
posted @ 2018-09-07 14:38 heart中的烦恼哟 阅读(511) 评论(0) 推荐(0) 编辑
摘要:动态标题 wx.setNavigationBarTitle({ title: this.data.title//页面标题为路由参数 }) wx.setNavigationBarTitle({ title: this.data.title//页面标题为路由参数 }) 阅读全文
posted @ 2018-09-07 09:44 heart中的烦恼哟 阅读(116) 评论(1) 推荐(0) 编辑
摘要:<!--pages/homeMap/homeMap.wxml--> <view class='background' style='background-image: url("http://bmob-cdn-13048.b0.upaiyun.com/2018/09/05/9b5bbf2040294 阅读全文
posted @ 2018-09-07 09:42 heart中的烦恼哟 阅读(531) 评论(0) 推荐(0) 编辑
摘要:wxml <view class='page_bg' wx:if='{{block}}' bindtap='hide_bg' /> <view class='btn_bg' wx:if='{{block}}'> <view wx:for="{{link_list}}" wx:key='index'> 阅读全文
posted @ 2018-09-07 09:39 heart中的烦恼哟 阅读(389) 评论(0) 推荐(0) 编辑
摘要:wxml <view class='identifyingCode'> <input bindinput="bindInput" type="number" bindfocus='textAnimation'/> <button class='changeType' bindtap='getIden 阅读全文
posted @ 2018-09-07 09:26 heart中的烦恼哟 阅读(152) 评论(0) 推荐(0) 编辑
摘要:wxml <view class='taskAll_pic'> <view class='titleTxet'>图片</view> <view class='picBgInput'> <view wx:for='{{changeList}}' wx:for-item='item' class='im 阅读全文
posted @ 2018-09-07 09:23 heart中的烦恼哟 阅读(1431) 评论(0) 推荐(0) 编辑
摘要:<progress class='progressPercent' percent="{{showPercentProgress}}" stroke-width='2' /> js // pages/startPage/startPage.js const app =getApp(); let Bm 阅读全文
posted @ 2018-09-06 09:26 heart中的烦恼哟 阅读(363) 评论(0) 推荐(0) 编辑
摘要:<!--pages/newwxml/newwxml.wxml--> <view class='background' > <view class='center' animation="{{animationData}}"> <view class='line' wx:for='{{text.len 阅读全文
posted @ 2018-09-06 09:23 heart中的烦恼哟 阅读(153) 评论(0) 推荐(0) 编辑
摘要:wxml <view class="view"> <image class="cover-9" src="{{img}}" bindtap="img"></image> <view class="window-1"> <button type="default" id="open" bindtap= 阅读全文
posted @ 2018-09-06 09:21 heart中的烦恼哟 阅读(2137) 评论(0) 推荐(0) 编辑
摘要:wxml <view class='allFather'> <view class='box1' bindtap='showDialog'> 1</view> </view> <view class='{{show==true?"mengceng":""}}'> <view class='{{sho 阅读全文
posted @ 2018-09-06 09:18 heart中的烦恼哟 阅读(384) 评论(0) 推荐(0) 编辑
摘要:wxml <view class='class'> <view class='all' wx:for='{{steps}}' data-index='{{index}}' style='bottom:{{index*150}}rpx;'> <!-- <view class='topText'>{{i 阅读全文
posted @ 2018-09-06 09:15 heart中的烦恼哟 阅读(3393) 评论(0) 推荐(0) 编辑
摘要:wxml <view > <image wx:for="{{img}}" wx:key='item' src='{{item}}' catchtap='changes' data-index='{{index}}'></image> </view> <view > <image wx:for="{{ 阅读全文
posted @ 2018-09-06 09:11 heart中的烦恼哟 阅读(736) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示