作者 wumengyu

修改时间截止年份

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