上一页 1 ··· 105 106 107 108 109 110 111 112 113 ··· 124 下一页
摘要: let season =‘1,2,3’; // console.log(season.length) if (season){ if (season.length==1){ seasonChe1=season.substr(0); seasonChe1 = parseInt(seasonChe1) 阅读全文
posted @ 2017-12-07 09:45 ThisCall 阅读(442) 评论(0) 推荐(0) 编辑
摘要: JS data: { // 初始化滑动条数据 menuIndex:0, // 每个菜单的宽度 onlyWidth: 70, // 右侧的margin marginWidth:10, // 菜单总长 menuWidth:0, lists:[ { list: 'a1' }, { list: 'a2' } 阅读全文
posted @ 2017-12-05 09:11 ThisCall 阅读(1155) 评论(0) 推荐(0) 编辑
摘要: 本地 // wx.login({ // success: res => { // var code = res.code; //返回code // // console.log(code) // // 小程序appid // // wxd751fc845c90fbd8 // // 3df95e167 阅读全文
posted @ 2017-11-30 08:45 ThisCall 阅读(433) 评论(0) 推荐(0) 编辑
摘要: <!-- 点击立即抢拼弹出框 --> <view class='add-rob' bindtap="setModalStatus" data-status="0" wx:if="{{showModalStatus}}"></view> <view class='rob-box' wx:if="{{s 阅读全文
posted @ 2017-11-29 16:05 ThisCall 阅读(1180) 评论(0) 推荐(0) 编辑
摘要: JS // pages/classify/swiper.js Page({ /** * 页面的初始数据 */ data: { current:0 }, titleBtn:function(e){ var acIndex = e.currentTarget.dataset.current; this. 阅读全文
posted @ 2017-11-29 10:36 ThisCall 阅读(1260) 评论(0) 推荐(0) 编辑
摘要: //滚动触底事件 <scroll-view scroll-y lower-threshold="0" bindscrolltolower="scrollBottom" style="height: 200rpx;"> </scroll-view> 阅读全文
posted @ 2017-11-29 09:59 ThisCall 阅读(614) 评论(0) 推荐(0) 编辑
摘要: JS // pages/search/search.js var app = getApp(); Page({ /** * 页面的初始数据 */ data: { inputValue:'', // 焦点默认数据 keyListId: 1, keyselecte: true, // keylist:{ 阅读全文
posted @ 2017-11-28 11:44 ThisCall 阅读(892) 评论(0) 推荐(0) 编辑
摘要: JS // pages/shop/shop.js Page({ /** * 页面的初始数据 */ data: { //判断购物车是否为空时的页面 hasList: false, carts:[], }, // 实现bindSelectAll事件,改变全选状态 selectedAllStatus: t 阅读全文
posted @ 2017-11-28 11:40 ThisCall 阅读(573) 评论(0) 推荐(0) 编辑
摘要: js文件 'use strict'; let choose_year = null, choose_month = null; const conf = { data: { hasEmptyGrid: false, showPicker: false }, onLoad() { const date 阅读全文
posted @ 2017-11-28 11:20 ThisCall 阅读(6512) 评论(0) 推荐(0) 编辑
摘要: position: absolute; display:flex; justify-content:center;align-items:center; justify-content:center;align-items:center; 阅读全文
posted @ 2017-11-24 15:50 ThisCall 阅读(585) 评论(0) 推荐(0) 编辑
上一页 1 ··· 105 106 107 108 109 110 111 112 113 ··· 124 下一页