Browse Source

【修改】网上办事大厅拖拽版:皮肤切换;不同登录页脚本完善;

master
dyy 3 years ago
parent
commit
3c002571d6
7 changed files with 16 additions and 4 deletions
  1. +3
    -3
      Learun.Framework.Ultimate V7/Learun.Application.Web/Content/js/DragSSO/main.js
  2. +2
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Web/Views/Login/PageFive/Index.js
  3. +2
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Web/Views/Login/PageFour/Index.js
  4. +3
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Web/Views/Login/PageOne/Index.js
  5. +2
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Web/Views/Login/PageSix/Index.js
  6. +2
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Web/Views/Login/PageThree/Index.js
  7. +2
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Web/Views/Login/PageTwo/Index.js

+ 3
- 3
Learun.Framework.Ultimate V7/Learun.Application.Web/Content/js/DragSSO/main.js View File

@@ -1,10 +1,10 @@
// JavaScript Document localStorage
var skinLink = $('#skinLink');
var skins = localStorage.getItem('skinLink');
skins ? skinLink.attr('href', 'css/' + skins + '.css') : '';
skins ? skinLink.attr('href', '/Content/css/DragSSO/' + skins + '.css') : '';
$(document).ready(function() {
if(skins){
skinLink.attr('href', 'css/' + skins + '.css');
skinLink.attr('href', '/Content/css/DragSSO/' + skins + '.css');
$('.skins[skin="'+ skins +'"]').addClass('active').siblings().removeClass('active');
}
var qrCodeBox = $('.qrCodeBox');
@@ -79,7 +79,7 @@ $(document).ready(function() {
$(this).addClass('active').siblings().removeClass('active');
var skin = $(this).attr('skin');
localStorage.setItem('skinLink', skin);
skinLink.attr('href', 'css/' + skin + '.css');
skinLink.attr('href', '/Content/css/DragSSO/' + skin + '.css');
}).on('click', '.skinT img', function() {
$('.skinBox').removeClass('active');
})


+ 2
- 0
Learun.Framework.Ultimate V7/Learun.Application.Web/Views/Login/PageFive/Index.js View File

@@ -163,6 +163,8 @@
if (res.code == 200) {
if (source == "noLogin") {
window.location.href = DigitalschoolMisLoginurl + "?F_Account=" + username + "&returnurl=" + Returnurl + "/SSOSystem/Index";
} else if (source == "DragNoLogin") {
window.location.href = DigitalschoolMisLoginurl + "?F_Account=" + username + "&returnurl=" + Returnurl + "/SSOSystem/DragModelOne";
} else {

window.location.href = DigitalschoolMisLoginurl + "?F_Account=" + username + "&returnurl=" + Returnurl + "/Home/Index";


+ 2
- 0
Learun.Framework.Ultimate V7/Learun.Application.Web/Views/Login/PageFour/Index.js View File

@@ -164,6 +164,8 @@
if (res.code == 200) {
if (source == "noLogin") {
window.location.href = DigitalschoolMisLoginurl + "?F_Account=" + username + "&returnurl=" + Returnurl + "/SSOSystem/Index";
} else if (source == "DragNoLogin") {
window.location.href = DigitalschoolMisLoginurl + "?F_Account=" + username + "&returnurl=" + Returnurl + "/SSOSystem/DragModelOne";
} else {

window.location.href = DigitalschoolMisLoginurl + "?F_Account=" + username + "&returnurl=" + Returnurl + "/Home/Index";


+ 3
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/Views/Login/PageOne/Index.js View File

@@ -164,7 +164,9 @@
if (res.code == 200) {
if (source == "noLogin") {
window.location.href = DigitalschoolMisLoginurl + "?F_Account=" + username + "&returnurl=" + Returnurl + "/SSOSystem/Index";
} else {
} else if (source == "DragNoLogin") {
window.location.href = DigitalschoolMisLoginurl + "?F_Account=" + username + "&returnurl=" + Returnurl + "/SSOSystem/DragModelOne";
} else {

window.location.href = DigitalschoolMisLoginurl + "?F_Account=" + username + "&returnurl=" + Returnurl + "/Home/Index";
}


+ 2
- 0
Learun.Framework.Ultimate V7/Learun.Application.Web/Views/Login/PageSix/Index.js View File

@@ -163,6 +163,8 @@
if (res.code == 200) {
if (source == "noLogin") {
window.location.href = DigitalschoolMisLoginurl + "?F_Account=" + username + "&returnurl=" + Returnurl + "/SSOSystem/Index";
} else if (source == "DragNoLogin") {
window.location.href = DigitalschoolMisLoginurl + "?F_Account=" + username + "&returnurl=" + Returnurl + "/SSOSystem/DragModelOne";
} else {

window.location.href = DigitalschoolMisLoginurl + "?F_Account=" + username + "&returnurl=" + Returnurl + "/Home/Index";


+ 2
- 0
Learun.Framework.Ultimate V7/Learun.Application.Web/Views/Login/PageThree/Index.js View File

@@ -164,6 +164,8 @@
if (res.code == 200) {
if (source == "noLogin") {
window.location.href = DigitalschoolMisLoginurl + "?F_Account=" + username + "&returnurl=" + Returnurl + "/SSOSystem/Index";
} else if (source == "DragNoLogin") {
window.location.href = DigitalschoolMisLoginurl + "?F_Account=" + username + "&returnurl=" + Returnurl + "/SSOSystem/DragModelOne";
} else {

window.location.href = DigitalschoolMisLoginurl + "?F_Account=" + username + "&returnurl=" + Returnurl + "/Home/Index";


+ 2
- 0
Learun.Framework.Ultimate V7/Learun.Application.Web/Views/Login/PageTwo/Index.js View File

@@ -164,6 +164,8 @@
lrPage.logining(false);
if (source == "noLogin") {
window.location.href = DigitalschoolMisLoginurl + "?F_Account=" + username + "&returnurl=" + Returnurl + "/SSOSystem/Index";
} else if (source == "DragNoLogin") {
window.location.href = DigitalschoolMisLoginurl + "?F_Account=" + username + "&returnurl=" + Returnurl + "/SSOSystem/DragModelOne";
} else {

window.location.href = DigitalschoolMisLoginurl + "?F_Account=" + username + "&returnurl=" + Returnurl + "/Home/Index";


Loading…
Cancel
Save