...
|
...
|
@@ -51,7 +51,7 @@ function formatDate(time) { |
|
|
if (minutes < 10) {
|
|
|
minutes = '0' + minutes;
|
|
|
}
|
|
|
return year + '年' + month + '月' + date + '日' + ' ' + week[day-1] + ' ' + hour + ':' + minutes;
|
|
|
return year + '年' + month + '月' + date + '日' + ' ' + week[day - 1] + ' ' + hour + ':' + minutes;
|
|
|
}
|
|
|
|
|
|
function autoScroll(thisPo) {
|
...
|
...
|
@@ -196,7 +196,7 @@ function diaHide() { |
|
|
|
|
|
|
|
|
function removeByValue(arr, val) {
|
|
|
for (var i=0; i<arr.length; i++) {
|
|
|
for (var i = 0; i < arr.length; i++) {
|
|
|
if (arr[i] == val) {
|
|
|
arr.splice(i, 1);
|
|
|
break;
|
...
|
...
|
@@ -276,7 +276,7 @@ function submitDia() { |
|
|
|
|
|
// 修改弹框样式
|
|
|
$('.tap-hightlight').css('color', '#007aff');
|
|
|
$('.dialog-content').css({'text-align': 'left', 'padding': '0 0.75rem 0.5rem'});
|
|
|
$('.dialog-content').css({'text-align': 'left', padding: '0 0.75rem 0.5rem'});
|
|
|
}
|
|
|
|
|
|
function setCookieArr() {
|
...
|
...
|
@@ -452,7 +452,7 @@ $( |
|
|
$(this).css('margin-top', newTop + 'px');
|
|
|
} else {
|
|
|
var newTop = (w_height - $(this).height()) / 2;
|
|
|
|
|
|
|
|
|
$(this).css('margin-top', newTop + 'px');
|
|
|
}
|
|
|
}
|
...
|
...
|
@@ -481,9 +481,9 @@ $( |
|
|
var minBoxIndex = $.inArray(minBoxHeight, boxArr);
|
|
|
|
|
|
$(value).css({
|
|
|
'position': 'absolute',
|
|
|
'top': minBoxHeight,
|
|
|
'left': box.eq(minBoxIndex).position().left
|
|
|
position: 'absolute',
|
|
|
top: minBoxHeight,
|
|
|
left: box.eq(minBoxIndex).position().left
|
|
|
});
|
|
|
boxArr[minBoxIndex] += box.eq(index).height();
|
|
|
var newHeight = $(this).position().top + box.eq(index).height();
|
...
|
...
|
@@ -588,7 +588,7 @@ $( |
|
|
function() {
|
|
|
if (window.cookie('chosenStyle').indexOf($(this).text()) > -1) {
|
|
|
$(this).addClass('chosen');
|
|
|
styleNow ++;
|
|
|
styleNow++;
|
|
|
}
|
|
|
}
|
|
|
);
|
...
|
...
|
@@ -971,6 +971,7 @@ $( |
|
|
}
|
|
|
|
|
|
var styleStr = new Array();
|
|
|
|
|
|
$('.style-ul li').on('click', function() {
|
|
|
$(this).parents('.style-ul').siblings('.style-ul').find('li').removeClass('chosen');
|
|
|
var $this = $(this);
|
...
|
...
|
@@ -1035,4 +1036,4 @@ $( |
|
|
}
|
|
|
}
|
|
|
}
|
|
|
); |
|
|
\ No newline at end of file |
|
|
); |
...
|
...
|
|