标签:rail dmp bee aaa tin nat star show udf
最近项目开发在做微信小程序项目,记录一下开发过程中用到的一些小东西,实现的是一个点击增加减小日期的小东西,
贴一下效果图
大概就是这个效果,可以点击减小日期,点击增大日期,也可以直接选择日期,相应的判断日期大小给出相应的提示。
贴一下代码
<!-- wxml --> <view class=‘order_process‘> <view class=‘dateBox‘> <view class=‘prev {{filterState1?"filter":""}}‘ data-type=‘prev‘ bindtap=‘dateChange‘></view> <picker class=‘date weui-btn‘ mode="date" fields=‘year‘ value="{{date}}" start="{{minYear}}" end="{{currentyear}}" bindchange="bindDateChange"> <view class="picker"> {{date}} </view> </picker> <view class=‘next {{filterState2?"filter":""}}‘ data-type=‘next‘ bindtap=‘dateChange‘></view> </view> <view class="dateText">{{reportedTime}}</view> </view>
/* wxss */ /*因为小程序无法获取本地图片,这里我转成了Base64 */ .order_process { padding: 30rpx 10rpx; background-color: #fff; } .dateBox{ width: 100%; display: flex; justify-content: center; align-items: center; } .dateText{ font-size: 28rpx; text-align: center; margin-top: 30rpx; color: #00a8ff; } .next{ width: 80rpx; height: 80rpx; background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEwAAABMCAYAAAGwkGG9AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyFpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNS1jMDE0IDc5LjE1MTQ4MSwgMjAxMy8wMy8xMy0xMjowOToxNSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJ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EtZ77nIopNeYEmZut9mdkgqfEszzOBlwiH6l4Vw/9c4vBrp3xwClqASV6DXizhdNn2wvByac4ACfUXIGNknwHptqiGRCf8qzpFnSYaWGKgZk5NkyAkfUKoxP4TBZHKNitP9DsE7U8ByYdKspNFrrOQUS9G/9BopxrdGxDKU3C4KsB9YzxvzBKhReJ00q3MUrX6gtPTUUN8UMbfs8gDTcNELluyuVMcYKO/dJc0EfWfT5WQvRrUSo6KmeL+R3G46SCYisO24cE1MAdOS6+ABD5HdK+CWHyEcZENC16tUX1MUj/r31tHWBprd1QxcXJscjyDZV8nUDZQ22crM4qmaANHo8O+pmr7kkYNclNJvaQwBK8WjtizSw2njmLl3nYueZJIu19PacfedFv2WEfliUnWPw2Rup8oW08wFToFV76Zrn57uZQjWLWjTZ+nuPy0tckH7G67YCtIjywCoP/EoTcZ9afPZaSyd0fXexg+9bfFWZcOYgFHz9jA16V9BX5yz850CXCXA7eMz37vgIuZSZo/y+WCuP1gQYIDmKRVK5++TrZ61/OlfSuLR3pCaozhG/flwvn8cdqBO/+B7jjrIrfja+hhn1X44s6jUWQSHUJbpsurlEF3RfjZSMdVm14TPqyFllChsxMcKvHnWHlv4K7CRA+bXin7h0MD2SvhdHbKKiL26Umtsak+ywgwq9AmWlz5VP6rRcQ2ZRyD1kfUeWcS75zhZihPe5ql6I/E8OlQRqoiGgmv5XAfhr4IXlqWJh+OEgWE45K8Aourb0+5HIOdjluU3R/4HRcVAm57MO9IAAAAASUVORK5CYII=") 0 0 no-repeat; background-size: 100%; } .prev{ width: 80rpx; height: 80rpx; background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEwAAABMCAYAAAGwkGG9AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyFpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4Onhtc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We+k1fr2UZpjP8kOWe2LfE4vd7tC/z4jpowNgZAZ0iCZPp/8fYvk29dG50Q3s9L9uoQ2/Kebd+hL6VDPMAVysKOam8q3R9CdE6il6M9jkcz9RFBUvs9zKfNhp2e/xDIwvVLJJUwp7TENdYX6fSYv4dSP5IWfJabVOkQDw9SP27qTMBNW+EG4UE69VzJT08T+W5dx3T1b6hFbZ8BuwW8h/Pb/+nGyqh0dFngY3vIaiXwZBIJWQKrxBTLfgrEFTWUxShOl+nV+3V5MFV14b3q550bB+DP4ss8hdy7IoE20JGW1jxRNz6ZyYShdCPy+E3uOFBlnQ7nkhcYP8Pkak8jxPUEAreeX1r1RMrkxt+M1VO4GDFotZfmAWwIokAWJ/n/yYlooO8vCWRCNKLQAdgSX3ZSF9eRNZnHVUDKBX2i4obnSZtG1NRDTV6lYNpi0cSllIg8Gj2JqCy3OXcnoAcA7cTYXnjxZK29Xk/nWhSbOl7jocFjPSsn2e5TOUpCeosgAPyu/FLPkr1agz1lushI8D+Gs+wvIx8sNV59PIPpxKAHYU/k5+OPZTLM9QHR6Vj0J4PUpdmkTbRUoBDkFEmkwXQeQJQlyDo8oQbNRfTIPFgoJs5/D8vyPmA/aCT5N/yheCkwBvEAKtsR/tC8LztPxEDPwf0SudUPjzXL0AAAAASUVORK5CYII=") 0 0 no-repeat; background-size: 100%; text-align: center; line-height: 160rpx; color: #fff; margin: 0px 100rpx; font-family: ‘微软雅黑‘; font-size:38rpx; letter-spacing: 1px; } .filter{ opacity: .35; -webkit-filter: grayscale(100%); /* Chrome, Safari, Opera */ filter: grayscale(100%); }
/* js */ Page({ /* 页面的初始数据 */ data: { currentyear:2018,//当前年份为最大选择日期 minYear: 2000,//当设置最小可选择日期 date: 2018, filterState1:false, filterState2: true, }, //页面加载 onLoad: function (options) { var that = this; var date = new Date; var year = date.getFullYear(); that.setData({ currentyear: year, date: year }); }, //年份下拉选择 bindDateChange: function (e) { var that = this; console.log(‘picker发送选择改变,携带值为‘, e.detail.value); var date = that.data.date; var selectedDate = e.detail.value; var currentyear = that.data.currentyear; var minYear = that.data.minYear; var filterState1 = that.data.filterState1; var filterState2 = that.data.filterState2; if (selectedDate < currentyear && selectedDate > minYear){ filterState1 = false; filterState2 = false; } else if (selectedDate == currentyear) { filterState1 = false; filterState2 = true; } else if (selectedDate == minYear) { filterState1 = true; filterState2 = false; }else{ wx.showToast({ title: ‘年份只能在‘ + minYear + ‘和‘ + currentyear + ‘之间哦‘, duration: 1000 }); } this.setData({ date: e.detail.value, filterState1: filterState1, filterState2: filterState2, }) }, // 年份增减 dateChange:function(e){ var that = this; var date = that.data.date; var currentyear = that.data.currentyear; var minYear = that.data.minYear; var filterState1 = that.data.filterState1; var filterState2 = that.data.filterState2; var type = e.target.dataset.type; if (type == ‘next‘) { filterState1 = false; if (date < currentyear){ filterState2 = false, date++; } else { filterState2 = true, wx.showToast({ title: ‘年份不能再大啦!‘, duration: 1000 }); } } else if (type == ‘prev‘) { filterState2 = false; if (date > minYear) { filterState1 = false, date--; } else { filterState1 = true, wx.showToast({ title: ‘年份不能再小啦!‘, duration: 1000 }); } } else { console.log(‘error‘); } that.setData({ date: date, filterState1: filterState1, filterState2: filterState2, }); } })
感觉js写的好繁琐啊,不知道怎么优化更简单,要是有大哥愿意给出建议,不吝赐教,三克哦~~
标签:rail dmp bee aaa tin nat star show udf
原文地址:https://www.cnblogs.com/fanmiaolan/p/9964296.html