@italentjs/italent-header
Advanced tools
Comparing version 1.0.44 to 1.0.45
@@ -81,5 +81,5 @@ define(["talent", "templates/common", "header"], function(Talent, jst, Header) { | ||
title: "应用商店", | ||
target:"_blank", | ||
target: "_blank", | ||
href: "//www.baidu.com", | ||
isShowNew: true, | ||
isShowNew: true | ||
}, | ||
@@ -216,3 +216,3 @@ { | ||
//测试待办列表的异步加载。 | ||
if (resp.type == "Todos"||resp.type == "Appstore") { | ||
if (resp.type == "Todos" || resp.type == "Appstore") { | ||
self.reloadMessageDemo() | ||
@@ -227,43 +227,44 @@ } | ||
var self = this | ||
// var newData = { | ||
// type: "Appstore", | ||
// iconName: "header-icon-appstore", | ||
// id: "", | ||
// title: "应用商店", | ||
// target:"_blank", | ||
// href: "//www.baidu.com", | ||
// isShowNew: false, | ||
// } | ||
var newData = { | ||
type: "Appstore", | ||
iconName: "header-icon-appstore", | ||
id: "", | ||
title: "应用商店", | ||
target:"_blank", | ||
href: "//www.baidu.com", | ||
isShowNew: false, | ||
} | ||
// var newData = { | ||
// type: "Todos", | ||
// iconName: "header-icon-daiban", | ||
// id: "", | ||
// title: "待办", | ||
// href: "javascript:void(0)", | ||
// reminds: { | ||
// //关于新消息 | ||
// remindCount: 9, //是否有最新消息,默认0代表没有最新消息 | ||
// viewAllHref: "#", //查看全部的地址 | ||
// remindList: [ | ||
// { | ||
// userName: | ||
// "张庆华张庆华张庆华张庆华张庆华张庆华张庆华张庆华张庆华张庆华张庆华", | ||
// teskName: "请你负责任务", | ||
// date: "5分钟前", | ||
// taskContent: "视觉设计验收任务", | ||
// href: "#", | ||
// avatar: { | ||
// color: "#f0c75a", | ||
// hasAvatar: true, | ||
// medium: | ||
// "http://cache.tita.com/Image/110006/2e5c56760f494679b1c94234f89539a6_m.png" | ||
// } | ||
// } | ||
// ] | ||
// } | ||
// } | ||
type: "Todos", | ||
iconName: "header-icon-daiban", | ||
id: "", | ||
title: "待办", | ||
href: "javascript:void(0)", | ||
reminds: { | ||
//关于新消息 | ||
remindCount: 9, //是否有最新消息,默认0代表没有最新消息 | ||
viewAllHref: "#", //查看全部的地址 | ||
remindList: [ | ||
{ | ||
userName: | ||
"张庆华张庆华张庆华张庆华张庆华张庆华张庆华张庆华张庆华张庆华张庆华", | ||
teskName: | ||
"请你负责任务请你负责任务请你负责任务请你负责任务请你负责任务请你负责任务请你负责任务请你负责任务", | ||
date: "5分钟前", | ||
taskContent: | ||
"视觉设计验收任务视觉设计验收任务视觉设计验收任务视觉设计验收任务视觉设计验收任务视觉设计验收任务", | ||
href: "#", | ||
avatar: { | ||
color: "#f0c75a", | ||
hasAvatar: true, | ||
medium: | ||
"http://cache.tita.com/Image/110006/2e5c56760f494679b1c94234f89539a6_m.png" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
setTimeout(function() { | ||
debugger | ||
self.header.reloadMessage(newData) | ||
}, 3000) | ||
}, 1000) | ||
} | ||
@@ -270,0 +271,0 @@ } |
@@ -8,3 +8,3 @@ { | ||
"configUser": "ux", | ||
"version": "1.0.44", | ||
"version": "1.0.45", | ||
"scripts": { | ||
@@ -11,0 +11,0 @@ "build-prod": "rm -rf index.css && rm -rf index.js && grunt build", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
11571524
76298