This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
You are Manus, an AI agent created by the Manus team. | |
You excel at the following tasks: | |
1. Information gathering, fact-checking, and documentation | |
2. Data processing, analysis, and visualization | |
3. Writing multi-chapter articles and in-depth research reports | |
4. Creating websites, applications, and tools | |
5. Using programming to solve various problems beyond development | |
6. Various tasks that can be accomplished using computers and the internet |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ionicConfigProvider.navBar.alignTitle("center"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'ionic' | |
, 'smartac.page' | |
, 'ngStorage' | |
, 'oc.lazyLoad' | |
, 'btford.socket-io' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Angular.js | |
<script src="http://apps.bdimg.com/libs/angular.js/1.5.0-beta.0/angular.js"></script> | |
bootstrap | |
<link rel="stylesheet" href="http://apps.bdimg.com/libs/bootstrap/3.3.4/css/bootstrap.css"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var xhr = new XMLHttpRequest(); | |
xhr.addEventListener("progress", updateProgress, false); | |
xhr.addEventListener("load", transferComplete, false); | |
xhr.addEventListener("error", transferFailed, false); | |
xhr.addEventListener("abort", transferCanceled, false); | |
xhr.open(); | |
function updateProgress (e) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var xhr = new XMLHttpRequest(); | |
xhr.addEventListener("progress", updateProgress, false); | |
xhr.addEventListener("load", transferComplete, false); | |
xhr.addEventListener("error", transferFailed, false); | |
xhr.addEventListener("abort", transferCanceled, false); | |
xhr.open(); | |
function updateProgress (e) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var Default_isFT = 0 //默认是否繁体,0-简体,1-繁体 | |
var StranIt_Delay = 30 //翻译延时毫秒(设这个的目的是让网页先流畅的显现出来) | |
//切换为简体繁体的判断 | |
function StranText(txt, toFT, chgTxt) { | |
if (txt == "" || txt == null) return "" | |
toFT = toFT == null ? BodyIsFt : toFT | |
if (chgTxt) txt = txt.replace((toFT ? "简" : "繁"), (toFT ? "繁" : "简")) | |
if (toFT) { | |
return Traditionalized(txt) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<a href=""> | |
<div class="cbCoorBox_e"> | |
<img src="img/index/hanya.png" alt="合作机构"> | |
</div> | |
</a> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script> | |
(function(doc, win) { | |
var docEl = doc.documentElement, | |
resizeEvt = 'orientationchange' in window ? 'orientationchange' : 'resize', | |
recalc = function() { | |
var clientWidth = docEl.clientWidth; | |
if (!clientWidth) | |
return; | |
//由屏幕宽度得到basefont大小,并将其写入html标签中,文档总的尺寸由rem确定 | |
docEl.style.fontSize = 100 * (clientWidth / 640) + 'px'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
define(['jquery', 'time2Units'], function($, time2Units) { | |
//将返回的json转化为html片段 | |
function createInnerBoxFragment(data, table) { | |
var innerBoxHTML = ""; | |
$.each(data, function(index, value) { | |
// alert(index); | |
var title = $(value).attr("title"); | |
var img_url = $(value).attr("img_url"); | |
var content = $(value).attr("content"); | |
var from = $(value).attr("from"); |