|
@@ -53,7 +53,7 @@
|
|
|
if (getUrlParam("f") == "push") {
|
|
|
removeSessionStorage();
|
|
|
if (history) {
|
|
|
- history.replaceState(null, null, "/jyapp/swordfish/historypush");
|
|
|
+ history.replaceState(null, null, "/jyapp/swordfish/historypush");
|
|
|
}
|
|
|
}
|
|
|
$(function () {
|
|
@@ -79,8 +79,6 @@
|
|
|
}
|
|
|
});
|
|
|
|
|
|
- var words = ""
|
|
|
- var isInTSguide = false;//订阅向导
|
|
|
var firstTime = {{.T.selectTime}};
|
|
|
var userId = "";
|
|
|
var selectCity = "";
|
|
@@ -102,6 +100,7 @@
|
|
|
}
|
|
|
|
|
|
function initpage() {
|
|
|
+ var thisClass=this;
|
|
|
FastClick.attach(document.body);
|
|
|
$("#openmailpush").click(function () {
|
|
|
setSessionStorage();
|
|
@@ -110,36 +109,20 @@
|
|
|
$(".listcontent").scroll(function () {
|
|
|
scrollTop = $(this).scrollTop();
|
|
|
});
|
|
|
+ this.isCanSwitch=true;
|
|
|
this.InitPersonal=function(r){
|
|
|
$("#sub_manager").click(tokeyset);
|
|
|
$(".tab_left .area").hide();
|
|
|
$(".vip_banner").show();
|
|
|
if (r.isPassCount) {
|
|
|
- $(".open_remind").show();
|
|
|
+ $(".open_remind").show();
|
|
|
}
|
|
|
- if (r.isExpire < 0 && r.isOnTail == -1) {
|
|
|
- if (localStorage.getItem("nv_vip_" + userId) == null) {
|
|
|
- $(".nv_renew_toast").show();
|
|
|
- }
|
|
|
- }
|
|
|
- if (!firstPage.length > 0 && !r.haskey) {
|
|
|
- if (sessionStorage && (sessionStorage.keysetindexToHistory == "1" || sessionStorage.keysetindexToHistory == "2" || sessionStorage.keysetindexToHistory == "3")) {
|
|
|
- sessionStorage.removeItem("keysetindexToHistory");
|
|
|
- return
|
|
|
- }
|
|
|
- if (firstTime != "") {
|
|
|
- return
|
|
|
- }
|
|
|
- history.pushState({}, "", "");
|
|
|
- if (isInTSguide) {
|
|
|
- if (localStorage) {
|
|
|
- localStorage.removeItem("tsGuide_status");
|
|
|
- }
|
|
|
- window.location.href = '/jyapp/tenderSubscribe/guide';
|
|
|
- } else {
|
|
|
- window.location.href = '/jyapp/wxkeyset/keyset/index';
|
|
|
- }
|
|
|
+ if (r.isExpire < 0 && r.vipStatus == -1) {
|
|
|
+ if (localStorage.getItem("nv_vip_" + userId) == null) {
|
|
|
+ $(".nv_renew_toast").show();
|
|
|
+ }
|
|
|
}
|
|
|
+ thisClass.LoadDatas(r);
|
|
|
}
|
|
|
this.InitVip=function(r){
|
|
|
$("#sub_manager").click(tosetpage);
|
|
@@ -152,7 +135,7 @@
|
|
|
weuiDialog();
|
|
|
}
|
|
|
}
|
|
|
- if (r.isOnTail != 1) {
|
|
|
+ if (r.vipStatus != 1) {
|
|
|
if (r.isExpire > 1) {
|
|
|
$(".renew_toast .isExpire").text(r.isExpire);
|
|
|
$(".renew_toast").show();
|
|
@@ -173,30 +156,212 @@
|
|
|
}
|
|
|
$.post("/subscribepay/report/tip?t=" + new Date().getTime(), null, function (r) {
|
|
|
if (r.unread > 0) {
|
|
|
- $(".vip_report>a").show();
|
|
|
+ $(".vip_report>a").show();
|
|
|
}
|
|
|
if (r.tip) {
|
|
|
- if (r.tip.type == 2) {
|
|
|
- $(".vip_report_tip .weekly>span").text("周");
|
|
|
- } else {
|
|
|
- $(".vip_report_tip .weekly>span").text("月");
|
|
|
- }
|
|
|
- $(".vip_report_tip .term").text(new Date(Number(r.tip.startdate + "000")).Format("yyyy年M月d日") + "-" + new Date(Number(r.tip.enddate + "000")).Format("yyyy年M月d日"));
|
|
|
- $('.vip_report_tip').fadeIn();
|
|
|
- $('.vip_report_todetail').on('click', function () {
|
|
|
- updateReportStatus(1, r.tip.startdate, r.tip.enddate, r.tip.pushcount);
|
|
|
- });
|
|
|
- $('.weui-dialog img.vip_report_tip_close').click(function () {
|
|
|
- $('.vip_report_tip').fadeOut();
|
|
|
- updateReportStatus(0);
|
|
|
- });
|
|
|
+ if (r.tip.type == 2) {
|
|
|
+ $(".vip_report_tip .weekly>span").text("周");
|
|
|
+ } else {
|
|
|
+ $(".vip_report_tip .weekly>span").text("月");
|
|
|
+ }
|
|
|
+ $(".vip_report_tip .term").text(new Date(Number(r.tip.startdate + "000")).Format("yyyy年M月d日") + "-" + new Date(Number(r.tip.enddate + "000")).Format("yyyy年M月d日"));
|
|
|
+ $('.vip_report_tip').fadeIn();
|
|
|
+ $('.vip_report_todetail').on('click', function () {
|
|
|
+ updateReportStatus(1, r.tip.startdate, r.tip.enddate, r.tip.pushcount);
|
|
|
+ });
|
|
|
+ $('.weui-dialog img.vip_report_tip_close').click(function () {
|
|
|
+ $('.vip_report_tip').fadeOut();
|
|
|
+ updateReportStatus(0);
|
|
|
+ });
|
|
|
}
|
|
|
});
|
|
|
$(".vip_report").click(function () {
|
|
|
- window.location.href = "/vipreport/page/subreport.html";
|
|
|
+ setSessionStorage();
|
|
|
+ window.location.href = "/vipreport/page/subreport.html";
|
|
|
});
|
|
|
+ thisClass.LoadDatas(r);
|
|
|
+ }
|
|
|
+ this.InitEnt=function(r){
|
|
|
+ if(r.reLoad){
|
|
|
+ removeSessionStorage();
|
|
|
+ }
|
|
|
+ $(".tab_left .area").show();
|
|
|
+ $.post("/entniche/ent/entinfo?t="+new Date().getTime(),null,function(rr){
|
|
|
+ $("#sub_manager").click(function(){
|
|
|
+ setSessionStorage();
|
|
|
+ if(rr.data.admin_system){
|
|
|
+ window.location.href='/page_entniche/page/sub_management/sub_management_system.html';
|
|
|
+ }else if(rr.data.admin_department){
|
|
|
+ window.location.href='/page_entniche/page/sub_management/sub_management_department.html';
|
|
|
+ }else{
|
|
|
+ window.location.href='/page_entniche/page/subsetting/sub_entrance.html';
|
|
|
+ }
|
|
|
+ });
|
|
|
+ if(rr.data.admin_system && rr.data.ent_model==0){
|
|
|
+ thisClass.EntSelectModel(r.entFirst);
|
|
|
+ $("#loading").hide();
|
|
|
+ return;
|
|
|
+ }else if(rr.data.admin_system && r.entFirst){
|
|
|
+ thisClass.EntAdminFirst(true);
|
|
|
+ $("#loading").hide();
|
|
|
+ return;
|
|
|
+ }else if(rr.data.admin_department && r.entFirst){
|
|
|
+ $(".ent-first,.ent-first-dept").show();
|
|
|
+ $("#loading").hide();
|
|
|
+ return;
|
|
|
+ }
|
|
|
+ thisClass.LoadDatas(r);
|
|
|
+ });
|
|
|
+ }
|
|
|
+ this.EntAdminFirst=function(entFirst){
|
|
|
+ $(".ent-first,.ent-first-admin").show();
|
|
|
+ if(!entFirst){
|
|
|
+ return;
|
|
|
+ }
|
|
|
+ $(".switch-mask").show();
|
|
|
+ $(".switch-mask .switch-mask-gotit").click(function(e){
|
|
|
+ $.post("/entniche/ent/gotit",null,function(r){
|
|
|
+ if (r.error_code == 0 && r.data.status == 1) {
|
|
|
+ $(".switch-mask").hide();
|
|
|
+ }
|
|
|
+ })
|
|
|
+ e.stopPropagation();
|
|
|
+ });
|
|
|
+ $(".switch-mask").click(function(e){
|
|
|
+ e.stopPropagation();
|
|
|
+ });
|
|
|
+ }
|
|
|
+ this.EntSelectModel=function(entFirst){
|
|
|
+ thisClass.isCanSwitch=false;
|
|
|
+ $("#sub_manager").hide();
|
|
|
+ $(".ent-model").show();
|
|
|
+ $(".ent-model-item").click(function(){
|
|
|
+ $(".ent-model-item").removeClass("ent-model-active");
|
|
|
+ $(this).addClass("ent-model-active");
|
|
|
+ $(this).find(".ent-model-checkbox").prop("checked",true);
|
|
|
+ });
|
|
|
+ $(".ent-model-button").click(function(){
|
|
|
+ $.post("/entniche/ent/setmodel",{model:$(".ent-model-active").index()+1},function(r){
|
|
|
+ if (r.error_code == 0 && r.data.status == 1) {
|
|
|
+ thisClass.isCanSwitch=true;
|
|
|
+ $("#sub_manager").show();
|
|
|
+ $(".ent-model").hide();
|
|
|
+ thisClass.EntAdminFirst(entFirst);
|
|
|
+ }
|
|
|
+ });
|
|
|
+ });
|
|
|
+ }
|
|
|
+ this.LoadDatas=function(r){
|
|
|
+ $(".app-content").css("display","flex");
|
|
|
+ if(r.reLoad){
|
|
|
+ removeSessionStorage();
|
|
|
+ }
|
|
|
+ if (sessionStorage && sessionStorage.historypushScrollTop && sessionStorage.historypushDataCache) {
|
|
|
+ if (sessionStorage.closeAdvert == "true") {
|
|
|
+ closeAdvert = true;
|
|
|
+ }
|
|
|
+ pageIndex = sessionStorage.historypushPageIndexCache;
|
|
|
+ hasNextPage = sessionStorage.historypushHasNextPage == "true" ? true : false;
|
|
|
+ scrollTop = sessionStorage.historypushScrollTop;
|
|
|
+ dataCache = JSON.parse(sessionStorage.historypushDataCache);
|
|
|
+ userId = sessionStorage.userId;
|
|
|
+ firstTime = sessionStorage.getItem(userId + "_searchTime");
|
|
|
+ selectCity = sessionStorage.getItem(userId + "_selectCity");
|
|
|
+ $("#list>*").remove();
|
|
|
+ firstPage = dataCache;
|
|
|
+ if (dataCache.length == 0) {
|
|
|
+ hasNoData();
|
|
|
+ } else {
|
|
|
+ structureHtml(dataCache, true);
|
|
|
+ }
|
|
|
+ //appendList($(listCache),$(tableCache));
|
|
|
+ $(".listcontent").scrollTop(scrollTop);
|
|
|
+ removeSessionStorage();
|
|
|
+ showPage();
|
|
|
+ } else {
|
|
|
+ userId = sessionStorage.userId;
|
|
|
+ if (window.location.href.indexOf("selectTime") < 0 && sessionStorage.getItem(userId + "_searchTime") != null && sessionStorage.getItem(userId + "_searchTime") != "") {
|
|
|
+ firstTime = sessionStorage.getItem(userId + "_searchTime");
|
|
|
+ }
|
|
|
+ if (sessionStorage.getItem(userId + "_selectCity") != null && sessionStorage.getItem(userId + "_selectCity") != "") {
|
|
|
+ selectCity = sessionStorage.getItem(userId + "_selectCity");
|
|
|
+ }
|
|
|
+ $.ajax({
|
|
|
+ type: 'post',
|
|
|
+ url: '/jyapp/front/hasPushHistory?t=' + new Date().getTime(),
|
|
|
+ data: {"selectTime": firstTime, "pageNum": 1, "area": selectCity},
|
|
|
+ async: false,
|
|
|
+ dataType: 'json',
|
|
|
+ success: function (data) {
|
|
|
+ firstPage = data.data;
|
|
|
+ if (r.userType=="" && !firstPage.length > 0 && !r.haskey) {
|
|
|
+ (function() {
|
|
|
+ if (sessionStorage && (sessionStorage.keysetindexToHistory == "1" || sessionStorage.keysetindexToHistory == "2" || sessionStorage.keysetindexToHistory == "3")) {
|
|
|
+ sessionStorage.removeItem("keysetindexToHistory");
|
|
|
+ return
|
|
|
+ }
|
|
|
+ if (firstTime != "") {
|
|
|
+ return
|
|
|
+ }
|
|
|
+ history.pushState({}, "", "");
|
|
|
+ window.location.href = '/jyapp/wxkeyset/keyset/index';
|
|
|
+ })();
|
|
|
+ }
|
|
|
+ pageIndex = 2;
|
|
|
+ lasttime = data.thistime;
|
|
|
+ hasNextPage = data.hasNextPage;
|
|
|
+ userId = data.userId;
|
|
|
+ sessionStorage.userId = userId;
|
|
|
+ sessionStorage.setItem(userId + "_searchTime", firstTime);
|
|
|
+ showPage();
|
|
|
+ },
|
|
|
+ error: function (xhr, type) {
|
|
|
+ hasNoData();
|
|
|
+ }
|
|
|
+ });
|
|
|
+ if (firstPage.length == 0) {
|
|
|
+ //sessionStorage.removeItem("search_starttime");
|
|
|
+ sessionStorage.removeItem(sessionStorage.userId + "_searchTime");
|
|
|
+ hasNoData();
|
|
|
+ return;
|
|
|
+ }
|
|
|
+ $(".findnull_").hide();
|
|
|
+ dataCache = dataCache.concat(firstPage);
|
|
|
+ structureHtml(firstPage, true);
|
|
|
+ setTimeout(function () {
|
|
|
+ $(".listcontent").scrollTop(0);
|
|
|
+ //$("#list").css("visibility","visible");
|
|
|
+ }, 300);
|
|
|
+ }
|
|
|
+ if (hasNextPage) {
|
|
|
+ setTimeout(function () {
|
|
|
+ wxflag = $('.listcontent').dropload({
|
|
|
+ scrollArea: $(".listcontent"),
|
|
|
+ loadUpFn: function (me) {
|
|
|
+ //loadDatas(me,-1);
|
|
|
+ reloadFirstPage(me);//下拉刷新更新订阅词
|
|
|
+ },
|
|
|
+ loadDownFn: function (me) {
|
|
|
+ loadDatas(me, lasttime);
|
|
|
+ }
|
|
|
+ });
|
|
|
+ }, 1000);
|
|
|
+ } else {
|
|
|
+ setTimeout(function () {
|
|
|
+ wxflag = $('.listcontent').dropload({
|
|
|
+ scrollArea: $(".listcontent"),
|
|
|
+ loadUpFn: function (me) {
|
|
|
+ loadDatas(me, -1);
|
|
|
+ },
|
|
|
+ loadDownFn: function (me) {
|
|
|
+ loadDatas(me, lasttime);
|
|
|
+ }
|
|
|
+ });
|
|
|
+ noMoreData(wxflag);
|
|
|
+ }, 1000);
|
|
|
+ }
|
|
|
}
|
|
|
- var thisClass = this;
|
|
|
+ //
|
|
|
$.post("/jyapp/myinfo?t="+new Date().getTime(),null,function(r){
|
|
|
if(r.hasEnt){
|
|
|
if(r.userType=="vip"){
|
|
@@ -206,24 +371,17 @@
|
|
|
}else if (r.userType=="ent"){
|
|
|
$(".switch").addClass("switch-ent");
|
|
|
$(".switch>span").text(r.entName);
|
|
|
- $(".switch").click(function(){
|
|
|
- window.location.href='/page_entniche/page/sub_mode/switch_mode.html';
|
|
|
- });
|
|
|
- $("#sub_manager").click(function(){
|
|
|
- $.post("/entniche/ent/entinfo",null,function(r){
|
|
|
- if(r.data.admin_system){
|
|
|
- window.location.href='/page/sub_management/sub_management_system.html';
|
|
|
- }else if(r.data.admin_department){
|
|
|
- window.location.href='/page/sub_management/sub_management_department.html';
|
|
|
- }
|
|
|
- });
|
|
|
- });
|
|
|
+ thisClass.InitEnt(r);
|
|
|
}else{
|
|
|
$(".switch").addClass("switch-personal");
|
|
|
$(".switch>span").text("标讯订阅(个人版)");
|
|
|
thisClass.InitPersonal(r);
|
|
|
}
|
|
|
$(".switch").click(function(){
|
|
|
+ if(!thisClass.isCanSwitch){
|
|
|
+ return;
|
|
|
+ }
|
|
|
+ setSessionStorage();
|
|
|
window.location.href='/page_entniche/page/sub_mode/switch_mode.html';
|
|
|
});
|
|
|
}else{
|
|
@@ -240,98 +398,6 @@
|
|
|
}
|
|
|
}
|
|
|
});
|
|
|
- //
|
|
|
- if (sessionStorage && sessionStorage.historypushScrollTop && sessionStorage.historypushDataCache) {
|
|
|
- if (sessionStorage.closeAdvert == "true") {
|
|
|
- closeAdvert = true;
|
|
|
- }
|
|
|
- pageIndex = sessionStorage.historypushPageIndexCache;
|
|
|
- hasNextPage = sessionStorage.historypushHasNextPage == "true" ? true : false;
|
|
|
- scrollTop = sessionStorage.historypushScrollTop;
|
|
|
- dataCache = JSON.parse(sessionStorage.historypushDataCache);
|
|
|
- userId = sessionStorage.userId;
|
|
|
- firstTime = sessionStorage.getItem(userId + "_searchTime");
|
|
|
- selectCity = sessionStorage.getItem(userId + "_selectCity");
|
|
|
- $("#list>*").remove();
|
|
|
- firstPage = dataCache;
|
|
|
- if (dataCache.length == 0) {
|
|
|
- hasNoData();
|
|
|
- } else {
|
|
|
- structureHtml(dataCache, true);
|
|
|
- }
|
|
|
- //appendList($(listCache),$(tableCache));
|
|
|
- $(".listcontent").scrollTop(scrollTop);
|
|
|
- removeSessionStorage();
|
|
|
- showPage();
|
|
|
- } else {
|
|
|
- userId = sessionStorage.userId;
|
|
|
- if (window.location.href.indexOf("selectTime") < 0 && sessionStorage.getItem(userId + "_searchTime") != null && sessionStorage.getItem(userId + "_searchTime") != "") {
|
|
|
- firstTime = sessionStorage.getItem(userId + "_searchTime");
|
|
|
- }
|
|
|
- if (sessionStorage.getItem(userId + "_selectCity") != null && sessionStorage.getItem(userId + "_selectCity") != "") {
|
|
|
- selectCity = sessionStorage.getItem(userId + "_selectCity");
|
|
|
- }
|
|
|
- $.ajax({
|
|
|
- type: 'post',
|
|
|
- url: '/jyapp/front/hasPushHistory?t=' + new Date().getTime(),
|
|
|
- data: {"selectTime": firstTime, "pageNum": 1, "area": selectCity},
|
|
|
- async: false,
|
|
|
- dataType: 'json',
|
|
|
- success: function (data) {
|
|
|
- pageIndex = 2;
|
|
|
- lasttime = data.thistime;
|
|
|
- firstPage = data.data;
|
|
|
- hasNextPage = data.hasNextPage;
|
|
|
- userId = data.userId;
|
|
|
- sessionStorage.userId = userId;
|
|
|
- sessionStorage.setItem(userId + "_searchTime", firstTime);
|
|
|
- showPage();
|
|
|
- },
|
|
|
- error: function (xhr, type) {
|
|
|
- hasNoData();
|
|
|
- }
|
|
|
- });
|
|
|
- if (firstPage.length == 0) {
|
|
|
- //sessionStorage.removeItem("search_starttime");
|
|
|
- sessionStorage.removeItem(sessionStorage.userId + "_searchTime");
|
|
|
- hasNoData();
|
|
|
- return;
|
|
|
- }
|
|
|
- $(".findnull_").hide();
|
|
|
- dataCache = dataCache.concat(firstPage);
|
|
|
- structureHtml(firstPage, true);
|
|
|
- setTimeout(function () {
|
|
|
- $(".listcontent").scrollTop(0);
|
|
|
- //$("#list").css("visibility","visible");
|
|
|
- }, 300);
|
|
|
- }
|
|
|
- if (hasNextPage) {
|
|
|
- setTimeout(function () {
|
|
|
- wxflag = $('.listcontent').dropload({
|
|
|
- scrollArea: $(".listcontent"),
|
|
|
- loadUpFn: function (me) {
|
|
|
- //loadDatas(me,-1);
|
|
|
- reloadFirstPage(me);//下拉刷新更新订阅词
|
|
|
- },
|
|
|
- loadDownFn: function (me) {
|
|
|
- loadDatas(me, lasttime);
|
|
|
- }
|
|
|
- });
|
|
|
- }, 1000);
|
|
|
- } else {
|
|
|
- setTimeout(function () {
|
|
|
- wxflag = $('.listcontent').dropload({
|
|
|
- scrollArea: $(".listcontent"),
|
|
|
- loadUpFn: function (me) {
|
|
|
- loadDatas(me, -1);
|
|
|
- },
|
|
|
- loadDownFn: function (me) {
|
|
|
- loadDatas(me, lasttime);
|
|
|
- }
|
|
|
- });
|
|
|
- noMoreData(wxflag);
|
|
|
- }, 1000);
|
|
|
- }
|
|
|
}
|
|
|
|
|
|
//页面渲染处理
|
|
@@ -342,7 +408,6 @@
|
|
|
date = formatDate(firstTime / 1000, "1");
|
|
|
$('#showDatePicker .time_result').html(_formatDate).addClass('current');
|
|
|
}
|
|
|
- $(".tab_left .time").show();
|
|
|
//地区渲染
|
|
|
mapData();
|
|
|
}
|
|
@@ -452,8 +517,8 @@
|
|
|
//标题(需要高亮)
|
|
|
var title = obj.title;
|
|
|
var mWords = "";
|
|
|
- var _words = words;
|
|
|
- if (obj.matchkeys != undefined && obj.matchkeys != null && obj.matchkeys != "") {
|
|
|
+ var _words = "";
|
|
|
+ if (obj.matchkeys != undefined && obj.matchkeys != null) {
|
|
|
_words = obj.matchkeys;
|
|
|
}
|
|
|
if (_words != null && _words.length > 0) {
|
|
@@ -646,7 +711,6 @@
|
|
|
sessionStorage.historypushDataCache = JSON.stringify(dataCache);
|
|
|
sessionStorage.historypushPageIndexCache = pageIndex;
|
|
|
sessionStorage.historypushHasNextPage = hasNextPage;
|
|
|
- sessionStorage.historypushCount = count;
|
|
|
}
|
|
|
}
|
|
|
|
|
@@ -655,7 +719,6 @@
|
|
|
sessionStorage.removeItem("historypushPageIndexCache");
|
|
|
sessionStorage.removeItem("historypushScrollTop");
|
|
|
sessionStorage.removeItem("historypushHasNextPage");
|
|
|
- sessionStorage.removeItem("historypushCount");
|
|
|
sessionStorage.removeItem("closeAdvert");
|
|
|
}
|
|
|
|
|
@@ -691,7 +754,6 @@
|
|
|
lasttime = data.thistime;
|
|
|
firstPage = data.data;
|
|
|
hasNextPage = data.hasNextPage;
|
|
|
- words = data.keys;
|
|
|
userId = data.userId;
|
|
|
ajaxFlag = true;
|
|
|
if (time == undefined || time == "") {
|
|
@@ -710,18 +772,17 @@
|
|
|
hasNoData();
|
|
|
}
|
|
|
});
|
|
|
+ dataCache = firstPage;
|
|
|
if (firstPage.length == 0) {
|
|
|
if ($(".findnull").css("display") == "block") {
|
|
|
$(".findnull").css("display", "none");
|
|
|
}
|
|
|
- dataCache = firstPage;
|
|
|
hasNoData();
|
|
|
return;
|
|
|
} else {
|
|
|
$(".findnull_").css("display", "none");
|
|
|
}
|
|
|
//$("#list").css("visibility","hidden");
|
|
|
- dataCache = firstPage;
|
|
|
$("#list").html("");
|
|
|
count = 0;
|
|
|
structureHtml(firstPage, true);
|
|
@@ -975,7 +1036,7 @@
|
|
|
}
|
|
|
|
|
|
.app-content {
|
|
|
- display: flex;
|
|
|
+ display: none;
|
|
|
justify-content: space-between;
|
|
|
flex-direction: column;
|
|
|
overflow: hidden;
|
|
@@ -1016,6 +1077,9 @@
|
|
|
display: flex;
|
|
|
padding: 0px 10px;
|
|
|
}
|
|
|
+ .app-layout-header>ul>li:nth-child(2)>img{
|
|
|
+ position: absolute;
|
|
|
+ }
|
|
|
.app-layout-header>ul>li:last-child{
|
|
|
font-size: 15px;
|
|
|
align-self: center;
|
|
@@ -1029,6 +1093,7 @@
|
|
|
padding: 0px 10px;
|
|
|
border-radius: 24px;
|
|
|
display: flex;
|
|
|
+ position: relative;
|
|
|
}
|
|
|
.app-layout-header .switch>span{
|
|
|
max-width: 2.5rem;
|
|
@@ -1093,7 +1158,194 @@
|
|
|
}
|
|
|
.tab_right{
|
|
|
position: relative;
|
|
|
-
|
|
|
+ }
|
|
|
+ .switch-mask{
|
|
|
+ display: none;
|
|
|
+ }
|
|
|
+ .switch-mask-main{
|
|
|
+ position: absolute;
|
|
|
+ top: -5px;
|
|
|
+ left: -5px;
|
|
|
+ right: -5px;
|
|
|
+ bottom: -5px;
|
|
|
+ border-radius: 100px;
|
|
|
+ box-shadow: 0 0 0 2000px rgba(0,0,0,.7);
|
|
|
+ }
|
|
|
+ .switch-mask-star-1{
|
|
|
+ position: absolute;
|
|
|
+ top: -16px;
|
|
|
+ left: -20px;
|
|
|
+ width: 10px;
|
|
|
+ z-index: 1;
|
|
|
+ }
|
|
|
+ .switch-mask-star-2{
|
|
|
+ position: absolute;
|
|
|
+ top: -7px;
|
|
|
+ left: -12px;
|
|
|
+ width: 5px;
|
|
|
+ z-index: 1;
|
|
|
+ }
|
|
|
+ .switch-mask-border{
|
|
|
+ position: absolute;
|
|
|
+ top: -9px;
|
|
|
+ left: -9px;
|
|
|
+ right: -9px;
|
|
|
+ bottom: -9px;
|
|
|
+ border-radius: 100px;
|
|
|
+ z-index: 1px;
|
|
|
+ border: 1px dashed rgba(255, 255, 255, 0.5);
|
|
|
+ z-index: 1;
|
|
|
+ }
|
|
|
+ .switch-mask .switch-mask-text{
|
|
|
+ position: absolute;
|
|
|
+ top: 70px;
|
|
|
+ left: 50%;
|
|
|
+ margin-left: 20px;
|
|
|
+ }
|
|
|
+ .switch-mask .switch-mask-line{
|
|
|
+ position: absolute;
|
|
|
+ left: 50%;
|
|
|
+ top: 35px;
|
|
|
+ margin-left: -9px;
|
|
|
+ }
|
|
|
+ .switch-mask .switch-mask-gotit{
|
|
|
+ position: absolute;
|
|
|
+ top: 130px;
|
|
|
+ left: 50%;
|
|
|
+ margin-left: 20px;
|
|
|
+ line-height: 32px;
|
|
|
+ width: 90px;
|
|
|
+ border-radius: 100px;
|
|
|
+ color: #fff;
|
|
|
+ font-size: 15px;
|
|
|
+ border: 1px solid #FFFFFF;
|
|
|
+ }
|
|
|
+ .switch-mask-prevent{
|
|
|
+ position: fixed;
|
|
|
+ top: 0px;
|
|
|
+ bottom:0px;
|
|
|
+ right: 0px;
|
|
|
+ left: 0px;
|
|
|
+ }
|
|
|
+ .ent-model{
|
|
|
+ color: #171826;
|
|
|
+ padding-left: 0.32rem;
|
|
|
+ padding-right: 0.32rem;
|
|
|
+ display: none;
|
|
|
+ }
|
|
|
+ .ent-model>div:first-child{
|
|
|
+ padding: .32rem 0;
|
|
|
+ }
|
|
|
+ .ent-model-item{
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ justify-content: space-between;
|
|
|
+ margin-bottom: .24rem;
|
|
|
+ padding: 0 .4rem;
|
|
|
+ height: 2.4rem;
|
|
|
+ background-color: #F5F6F7;
|
|
|
+ border-radius: .16rem;
|
|
|
+ }
|
|
|
+ .ent-model-active {
|
|
|
+ background-color: #2ABED1 !important;
|
|
|
+ }
|
|
|
+ .ent-model>div:nth-child(2){
|
|
|
+ color: #9B9CA3;
|
|
|
+ font-size: .24rem;
|
|
|
+ line-height: .36rem;
|
|
|
+ }
|
|
|
+ .ent-model>div:nth-child(2)>p{
|
|
|
+ margin-bottom: .16rem;
|
|
|
+ font-size: .26rem;
|
|
|
+ line-height: .4rem;
|
|
|
+ }
|
|
|
+ .ent-model>div:nth-child(2)>div>span{
|
|
|
+ margin-bottom: .16rem;
|
|
|
+ font-size: .26rem;
|
|
|
+ line-height: .4rem;
|
|
|
+ }
|
|
|
+ .ent-model>div:last-child{
|
|
|
+ display: flex;
|
|
|
+ flex-direction: column;
|
|
|
+ align-items: center;
|
|
|
+ justify-content: center;
|
|
|
+ background-color: #fff;
|
|
|
+ box-shadow: 0px -2px 8px rgba(54, 147, 179, 0.051);
|
|
|
+ margin-top: .5rem;
|
|
|
+ }
|
|
|
+ .ent-model>div:last-child>div:first-child{
|
|
|
+ margin: .24rem 0;
|
|
|
+ color: #2ABED1;
|
|
|
+ font-size: .28rem;
|
|
|
+ font-weight: 700;
|
|
|
+ }
|
|
|
+ .ent-model>div:last-child>div:last-child{
|
|
|
+ display: flex;
|
|
|
+ justify-content: space-between;
|
|
|
+ align-items: center;
|
|
|
+ width: 100%;
|
|
|
+ padding: 0.16rem 0.32rem 0.24rem;
|
|
|
+ background-color: #fff;
|
|
|
+ }
|
|
|
+ .ent-model-button{
|
|
|
+ flex: 1;
|
|
|
+ width: 100%;
|
|
|
+ height: 0.92rem;
|
|
|
+ font-size: 0.32rem;
|
|
|
+ border-radius: 0.16rem;
|
|
|
+ color: #fff;
|
|
|
+ background-color: #2cb7ca;
|
|
|
+ }
|
|
|
+ .ent-model-active{
|
|
|
+ color: #fff;
|
|
|
+ }
|
|
|
+ .ent-model-left{
|
|
|
+ margin-right: .1rem;
|
|
|
+ }
|
|
|
+ .ent-model-left>div:first-child{
|
|
|
+ margin-bottom: .1rem;
|
|
|
+ font-size: .4rem;
|
|
|
+ font-weight: 700;
|
|
|
+ }
|
|
|
+ .ent-model-left>div:last-child{
|
|
|
+ font-size: .28rem;
|
|
|
+ }
|
|
|
+ .ent-model-checkbox:checked {
|
|
|
+ border: 0;
|
|
|
+ background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAkCAYAAADhAJiYAAAACXBIWXMAABYlAAAWJQFJUiTwAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAHBSURBVHgBzZiPcYIwFIeDE7hB6QR1gzqCG2g3cAPtBLqBdoK6Ae0EXCd4bmA3+PW9JlxTJEJCgnx37xQSku9IyL9MeQIg558FxxPHnGNqQvjmOJv45DhlWXZWKWCRFUcBf0p5VsWCC5tzEPpDvcT44SnHDvGRMqe+Mjn0q04FQffFzjKE9FCrFHQzEYZDWuFf801qThuOXA3HzNR5DfRnfS/mlUdmCZEa9u3YnHkAfZQ/EyOzGkjmyPHWcD+HPUYh7SdesbXqOzakF1VijvRs7dfB1wdHvgdJXCMtdZnljbxryfCOccgIh1v9h6CbM3Qa8ZX5rVMyXtoKhB7Bfd5kiIxwUTcSCbW5hq/38JdZwAPVkk4NUlt0l5nB3QJOobYHqKNUbxmYJqMuGaWCWoX23HeMICOUrlHTxbKh4n0kGeEUMjA2LxdUlMXdOnTq2CSQEfKqsAL+7CLLlK4O6lUI9C4itM/YrMRlnAs0w4u6H6+Nd9FtaojN3qkJPYkOsXqsILTtYjGmjeKAUmVnmVrzpehTUqbfYUNNTMYoQn8I1oawN0YspMMX8DgXypQn+DvSe1Z6IJWwj/QkPji+VMCR3g//T7SIqLP6vQAAAABJRU5ErkJggg==) no-repeat center center;
|
|
|
+ background-size: 100% 100%;
|
|
|
+ }
|
|
|
+ .ent-model-checkbox {
|
|
|
+ width: 0.4rem;
|
|
|
+ height: 0.4rem;
|
|
|
+ border: 1px solid #ddd;
|
|
|
+ border-radius: 50%;
|
|
|
+ margin-right: 0.2rem;
|
|
|
+ -webkit-appearance: none;
|
|
|
+ background: #fff;
|
|
|
+ }
|
|
|
+ .ent-first{
|
|
|
+ padding: 30% .5rem 0px .5rem;
|
|
|
+ display: none;
|
|
|
+ }
|
|
|
+ .ent-first>div:first-child{
|
|
|
+ font-size: 18px;
|
|
|
+ text-align: center;
|
|
|
+ color: #171826;
|
|
|
+ margin-bottom: 20px;
|
|
|
+ }
|
|
|
+ .ent-first-admin{
|
|
|
+ display: none;
|
|
|
+ }
|
|
|
+ .ent-first-admin>span{
|
|
|
+ font-size: 13px;
|
|
|
+ color: #5F5E64;
|
|
|
+ display: block;
|
|
|
+ margin-bottom: 5px;
|
|
|
+ }
|
|
|
+ .ent-first-dept{
|
|
|
+ display: none;
|
|
|
+ text-align: center;
|
|
|
}
|
|
|
</style>
|
|
|
</head>
|
|
@@ -1108,7 +1360,22 @@
|
|
|
<div class="app-layout-header">
|
|
|
<ul>
|
|
|
<li>订阅</li>
|
|
|
- <li><div class="switch"><span></div></span></li>
|
|
|
+ <li>
|
|
|
+ <div class="switch">
|
|
|
+ <div class="switch-mask">
|
|
|
+ <a class="switch-mask-prevent"></a>
|
|
|
+ <img src="/jyapp/images/switch-star.png" class="switch-mask-star-1">
|
|
|
+ <img src="/jyapp/images/switch-star.png" class="switch-mask-star-2">
|
|
|
+ <a class="switch-mask-border"></a>
|
|
|
+ <div class="switch-mask-main">
|
|
|
+ <img src="/jyapp/images/switch-line.png" class="switch-mask-line">
|
|
|
+ <img src="/jyapp/images/switch-text.png" class="switch-mask-text">
|
|
|
+ <a class="switch-mask-gotit">知道了</a>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <span></span>
|
|
|
+ </div>
|
|
|
+ </li>
|
|
|
<li id="sub_manager">订阅管理</li>
|
|
|
</ul>
|
|
|
</div>
|
|
@@ -1128,7 +1395,7 @@
|
|
|
<!-- 筛选条件 -->
|
|
|
<div class="filter_tab">
|
|
|
<div class="tab_left">
|
|
|
- <div class="time" style="display: none;">
|
|
|
+ <div class="time">
|
|
|
<p class="time_box" id="showDatePicker">
|
|
|
<span class="time_result jymobile-tab-triangle">时间</span>
|
|
|
</p>
|
|
@@ -1224,6 +1491,48 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
+ <div class="ent-model">
|
|
|
+ <div>
|
|
|
+ <div class="ent-model-item ent-model-active">
|
|
|
+ <div class="ent-model-left">
|
|
|
+ <div>统一订阅模式</div>
|
|
|
+ <div>企业或部门统一订阅,统一分发给下属员工</div>
|
|
|
+ </div>
|
|
|
+ <input type="radio" class="ent-model-checkbox" checked=true>
|
|
|
+ </div>
|
|
|
+ <div class="ent-model-item">
|
|
|
+ <div class="ent-model-left">
|
|
|
+ <div>个人订阅模式</div>
|
|
|
+ <div>员工个人自行订阅</div>
|
|
|
+ </div>
|
|
|
+ <input type="radio" class="ent-model-checkbox">
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div>
|
|
|
+ <p>剑鱼标讯-企业商机管理欢迎您的使用,首次使用,请完成以下操作:</p>
|
|
|
+ <div>
|
|
|
+ <p>1.选择订阅模式;</p>
|
|
|
+ <p>2.进入企业框架,添加部门和员工;</p>
|
|
|
+ <p>3.进入订阅管理,设置标讯订阅条件和分发规则。</p>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div>
|
|
|
+ <!--<div>附加说明</div>-->
|
|
|
+ <div>
|
|
|
+ <button class="ent-model-button">确认</button>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="ent-first">
|
|
|
+ <div>剑鱼标讯-企业商机管理欢迎您的使用<br>请继续完成以下操作:</div>
|
|
|
+ <div class="ent-first-admin">
|
|
|
+ <span>1.进入企业框架,添加部门和员工;</span>
|
|
|
+ <span>2.进入订阅管理,设置标讯订阅条件和分发规则。</span>
|
|
|
+ </div>
|
|
|
+ <div class="ent-first-dept">
|
|
|
+ <span>进入订阅管理,设置标讯订阅条件和分发规则。</span>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
<div class="vip_report_tip">
|
|
|
<div class="weui-mask weui-animate-fade-in"></div>
|