|
|
let tip = require('plugin/tip'),
|
|
|
moment = require('moment'),
|
|
|
Swiper = require('yoho-swiper');
|
|
|
|
|
|
// IScroll = require('yoho-iscroll');
|
...
|
...
|
@@ -225,8 +224,13 @@ function removeByValue(arr, val) { |
|
|
}
|
|
|
}
|
|
|
|
|
|
function _formatDay(day) {
|
|
|
return moment(day).format('MM月DD日 HH:mm');
|
|
|
function _formatDay(date) {
|
|
|
let M = (date.getMonth() + 1 < 10 ? '0' + (date.getMonth() + 1) : date.getMonth() + 1);
|
|
|
let D = date.getDate() < 10 ? '0' + date.getDate() : date.getDate();
|
|
|
let h = date.getHours() < 10 ? '0' + date.getHours() : date.getHours();
|
|
|
let m = date.getMinutes() < 10 ? '0' + date.getMinutes() : date.getMinutes();
|
|
|
|
|
|
return `${M}月${D}日 ${h}:${m}`;
|
|
|
}
|
|
|
|
|
|
function pullPicBig(cIndex) {
|
...
|
...
|
|