摘要: < 定义组建 > // components/component-tag-name.js Component({ options: { multipleSlots: true // 在组件定义时的选项中启用多slot支持 }, /** * 组件的属性列表 */ properties: { }, /* 阅读全文
posted @ 2018-09-07 14:38 heart中的烦恼哟 阅读(517) 评论(0) 推荐(0)
摘要: 动态标题 wx.setNavigationBarTitle({ title: this.data.title//页面标题为路由参数 }) wx.setNavigationBarTitle({ title: this.data.title//页面标题为路由参数 }) 阅读全文
posted @ 2018-09-07 09:44 heart中的烦恼哟 阅读(123) 评论(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中的烦恼哟 阅读(551) 评论(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中的烦恼哟 阅读(412) 评论(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中的烦恼哟 阅读(160) 评论(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中的烦恼哟 阅读(1434) 评论(0) 推荐(0)