作者 wumengyu

修改时间截止年份

@@ -48,7 +48,7 @@ @@ -48,7 +48,7 @@
48 <view class="time-box"> 48 <view class="time-box">
49 <text class="time-title">时间</text> 49 <text class="time-title">时间</text>
50 <picker mode='date' bindchange="bindDateChange" value='{{date}}' start="{{start_date}}" 50 <picker mode='date' bindchange="bindDateChange" value='{{date}}' start="{{start_date}}"
51 - end='2060-01-01'> 51 + end='2021-12-31'>
52 <view class='select'> 52 <view class='select'>
53 <view class="picker">{{month}} 53 <view class="picker">{{month}}
54 <text class="iconfont icon-xiangxia min-icon"></text> 54 <text class="iconfont icon-xiangxia min-icon"></text>
@@ -264,6 +264,7 @@ Page({ @@ -264,6 +264,7 @@ Page({
264 is_showRelease: false, 264 is_showRelease: false,
265 }); 265 });
266 } else if (+self.data.is_write === 1 && wx.getStorageSync('is_canSend') === 1 && wx.getStorageSync('is_answer') === 1) { //已填写且可以发布 =>去发布 266 } else if (+self.data.is_write === 1 && wx.getStorageSync('is_canSend') === 1 && wx.getStorageSync('is_answer') === 1) { //已填写且可以发布 =>去发布
  267 + console.log('可以发布');
267 self.setData({ 268 self.setData({
268 is_showRelease: true //弹出 发布弹框 269 is_showRelease: true //弹出 发布弹框
269 }); 270 });
@@ -304,7 +304,6 @@ Page({ @@ -304,7 +304,6 @@ Page({
304 * 生命周期函数--监听页面加载 304 * 生命周期函数--监听页面加载
305 */ 305 */
306 onLoad: function (options) { 306 onLoad: function (options) {
307 -  
308 }, 307 },
309 308
310 /** 309 /**
@@ -57,7 +57,7 @@ @@ -57,7 +57,7 @@
57 </view> 57 </view>
58 <view class="time-box"> 58 <view class="time-box">
59 <text class="time-title">时间</text> 59 <text class="time-title">时间</text>
60 - <picker mode='date' bindchange="bindDateChange" value='{{date}}' end='{{today}}' start="{{start_date}}"> 60 + <picker mode='date' bindchange="bindDateChange" value='{{date}}' end='2021-12-31' start="{{start_date}}">
61 <view class='select'> 61 <view class='select'>
62 <view class="picker">{{month}} 62 <view class="picker">{{month}}
63 <text class="iconfont icon-xiangxia min-icon"></text> 63 <text class="iconfont icon-xiangxia min-icon"></text>