上一页 1 ··· 113 114 115 116 117 118 119 120 121 ··· 129 下一页
摘要: flex-align:默认是设置垂直方向的对齐方式,值: start、end、center、stretch、baseline。flex-pack:设置子元素之间如何分配多余空间,值:start、end、center、justify。flex-direction:设置子元素的排列方式, row、row 阅读全文
posted @ 2017-11-04 10:22 ThisCall 阅读(561) 评论(0) 推荐(0)
摘要: 传数据 wx.navigateTo({ url: '/pages/newsdetail/newsdetail?tea=' + JSON.stringify(this.data.newlist[id-1]) }) 接数据 onLoad: function (options) { // 传过来的数据在此 阅读全文
posted @ 2017-11-03 11:25 ThisCall 阅读(388) 评论(0) 推荐(0)
摘要: // // 表单手机号 blurPhone: function (e) { var phone = e.detail.value; if (!(/^1[34578]\d{9}$/.test(phone))) { this.setData({ ajxtrue: false }) if (phone.l 阅读全文
posted @ 2017-10-27 16:41 ThisCall 阅读(9541) 评论(1) 推荐(0)
摘要: /* .banner-box .wx-swiper-dot{ width: 50rpx; border-radius: 0; } */ /* .banner-box .wx-swiper-dot{ width: 50rpx; border-radius: 0; } */ 阅读全文
posted @ 2017-10-27 11:51 ThisCall 阅读(991) 评论(0) 推荐(0)
摘要: <!-- 1分类菜单--> <view class='edition-menu flex'> <block wx:key="edmenu" wx:for="{{edmenu}}" wx:for-index="index"> <view class='flexcca' data-index='{{in 阅读全文
posted @ 2017-10-23 11:45 ThisCall 阅读(316) 评论(0) 推荐(0)
摘要: wxml bindtap='preview' js preview:function(){ wx.previewImage({ // current: '', // 当前显示图片的http链接 urls: ["https://timgsa.baidu.com/timg?image&quality=8 阅读全文
posted @ 2017-10-10 15:50 ThisCall 阅读(190) 评论(0) 推荐(0)
摘要: JS // 左侧菜单栏焦点控制函数 keyMenu: function (e) { var mlindex = e.currentTarget.dataset.mlindex; this.setData({ curNav: mlindex, }) }, //数据 curNav: 0, mrlist: 阅读全文
posted @ 2017-10-10 14:06 ThisCall 阅读(1018) 评论(0) 推荐(0)
摘要: //注意:加给他爹的overflow: hidden; text-overflow:ellipsis; white-space: nowrap; 阅读全文
posted @ 2017-10-09 15:20 ThisCall 阅读(295) 评论(0) 推荐(0)
摘要: //循环 <block wx:key="style" wx:for="{{item.style}}" wx:for-item="its" wx:for-index="itx"> <!-- <view > --> <view class='rob-merch-list flexba'> <view c 阅读全文
posted @ 2017-10-09 11:07 ThisCall 阅读(997) 评论(0) 推荐(0)
摘要: // 模态框控制弹出按钮 <view class='btn-right-btn flexca' bindtap="setModalStatus" data-status="1">立即抢拼</view> //模态弹出框外包裹 <view class='add-rob' bindtap="setModa 阅读全文
posted @ 2017-10-08 09:56 ThisCall 阅读(321) 评论(0) 推荐(0)
上一页 1 ··· 113 114 115 116 117 118 119 120 121 ··· 129 下一页