浏览代码

Merge branch '金隅分支' of 123.57.209.16:bjquanjiang/DigitalScholl into 金隅分支

金隅分支
liangkun 3 年前
父节点
当前提交
6577b1c3dc
共有 3 个文件被更改,包括 5 次插入9 次删除
  1. +0
    -5
      Learun.Framework.Ultimate V7/Learun.Application.Web/Content/phone/js/calendar.js
  2. +2
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Web/PhonePage/survey.html
  3. +3
    -3
      Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/Arrangelesson.cs

+ 0
- 5
Learun.Framework.Ultimate V7/Learun.Application.Web/Content/phone/js/calendar.js 查看文件

@@ -222,13 +222,11 @@ function get_first(a, b, c, d, e) {
var num = 1; var num = 1;


for (var i = a; i > 0; i--) { for (var i = a; i > 0; i--) {
console.log("123333")
var bday = ldays - i + 1; var bday = ldays - i + 1;
var ly = LunarDate.GetLunarDayDetail(lb, lm, bday); var ly = LunarDate.GetLunarDayDetail(lb, lm, bday);


//修改 //修改
var jqs = getjqs(lb, lm, bday); var jqs = getjqs(lb, lm, bday);
console.log(jqs)
var ss = ''; var ss = '';
if (jqs) { if (jqs) {
//ly加状态 //ly加状态
@@ -254,7 +252,6 @@ function get_first(a, b, c, d, e) {
} }
// 动态写入日期 // 动态写入日期
for (var i = 1; i <= dd; i++) { for (var i = 1; i <= dd; i++) {
console.log("123333")
var bday = ldays - i + 1; var bday = ldays - i + 1;
var ly = LunarDate.GetLunarDayDetail(b, c, i); var ly = LunarDate.GetLunarDayDetail(b, c, i);
var numI = i var numI = i
@@ -490,7 +487,6 @@ $(".tc").on("click", function () {
//判断时间 //判断时间
function getjqs(yyyy, mm, dd) { function getjqs(yyyy, mm, dd) {
var solarTerms = ""; var solarTerms = "";
console.log("111222");
$.each(dataK, function (i, n) { $.each(dataK, function (i, n) {
if (yyyy == n.y && mm == n.m && dd == n.d) { if (yyyy == n.y && mm == n.m && dd == n.d) {
solarTerms = n; solarTerms = n;
@@ -672,7 +668,6 @@ function calenderInit(LunarDate) {
var nowweak = new Date(ny, nm - 1, 1).getDay(); var nowweak = new Date(ny, nm - 1, 1).getDay();
var lastweak = new Date(lasty, sev_m - 1, 1).getDay(); var lastweak = new Date(lasty, sev_m - 1, 1).getDay();
get_first(nowweak, ny, nm, 0, "d" + fors); get_first(nowweak, ny, nm, 0, "d" + fors);
console.log(lasty, lastm)
get_first(lastweak, lasty, sev_m, 0, "d4"); get_first(lastweak, lasty, sev_m, 0, "d4");
$("#ymym").html(sev_y + "年" + sev_m + "月"); $("#ymym").html(sev_y + "年" + sev_m + "月");
active = 1; active = 1;


+ 2
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/PhonePage/survey.html 查看文件

@@ -529,7 +529,8 @@
async: true, async: true,
cache: false, cache: false,
success: function (data) { success: function (data) {
$('#BriefIntroduction').html(data);
$('#BriefIntroduction').html(data.info);
}, },
error: function (XMLHttpRequest, textStatus, errorThrown) { error: function (XMLHttpRequest, textStatus, errorThrown) {




+ 3
- 3
Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/Arrangelesson.cs 查看文件

@@ -367,7 +367,7 @@ namespace Learun.Application.WebApi.Modules
return Success("");//Fail("找不到数据!"); return Success("");//Fail("找不到数据!");
else else
{ {
return Success(result.F_BriefIntroduction);
return Success(WebHelper.HtmlDecode(result.F_BriefIntroduction));
} }
} }


@@ -416,7 +416,7 @@ namespace Learun.Application.WebApi.Modules
if (result != null) if (result != null)
{ {
title = result.F_FullHead; title = result.F_FullHead;
time = result.F_ReleaseTime.HasValue? result.F_ReleaseTime.Value.ToString("yyyy-MM-dd"):"";
time = result.F_ReleaseTime.HasValue ? result.F_ReleaseTime.Value.ToString("yyyy-MM-dd") : "";
desc = result.F_NewsContent; desc = result.F_NewsContent;
} }
break; break;
@@ -473,6 +473,6 @@ namespace Learun.Application.WebApi.Modules
var result = schoolCalendarIBLL.GetSchoolCalendarEntity(keyValue); var result = schoolCalendarIBLL.GetSchoolCalendarEntity(keyValue);
return Success(result); return Success(result);
} }
} }
} }

正在加载...
取消
保存