mirror of https://github.com/mashirozx/sakura.git
217 lines
7.1 KiB
Plaintext
217 lines
7.1 KiB
Plaintext
<!DOCTYPE html>
|
||
<html>
|
||
|
||
<head>
|
||
<meta charset="utf-8">
|
||
<title>I'm Mashiro!</title>
|
||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
|
||
<meta name="theme-color" content="#222022">
|
||
<link rel="shortcut icon" href="./favicon.ico">
|
||
<link rel="stylesheet" href="./botui/build/botui.min.css" />
|
||
<link rel="stylesheet" href="./botui/build/botui-theme.css" />
|
||
</head>
|
||
|
||
<body>
|
||
|
||
<div class="poptitle">
|
||
<div class="mylogo">
|
||
<!-- <a href="//2heng.xin"><div class="logolink"><span class="brand-logo"> さくら荘の</span>白猫 /Home/主页/メインページ</div></a>-->
|
||
<a href="//2heng.xin"><div class="logolink"><span class="brand-logo"> さくら荘の</span>白猫<p style="text-align:right;">/Home/主页/メインページ</p></div></a>
|
||
</div><br>
|
||
|
||
<div class="poptitle" style="text-align:right;">
|
||
<div class="mylogo">
|
||
<a href="//2heng.xin"><div class="logolink"><span class="brand-logo"> さくら荘の</span>白猫</div></a> <div class="popcontainer" id="hello-mashiro">
|
||
</div> <bot-ui></bot-ui>
|
||
</div>
|
||
<div class="poptitle">
|
||
<div class="mylogo"> <div class="popooter">
|
||
<a href="//2heng.xin"><div class="logolink">/Home/主页/メインページ/</div></a> </div>
|
||
</div>
|
||
</div>
|
||
|
||
<div class="popcontainer" id="hello-mashiro">
|
||
<bot-ui></bot-ui>
|
||
</div>
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<script src="https://cdn.jsdelivr.net/vue/latest/vue.min.js"></script>
|
||
<div class="popooter"> <script src="./botui/build/botui.min.js"></script>
|
||
</div> <script>
|
||
var botui = new BotUI('hello-mashiro');
|
||
</div>
|
||
|
||
botui.message.add({
|
||
delay: 800,
|
||
content: 'Hello! 👋'
|
||
}).then(function() {
|
||
botui.message.add({
|
||
delay: 1100,
|
||
content: '我是 Mashiro'
|
||
}).then(function() {
|
||
botui.message.add({
|
||
delay: 1100,
|
||
content: '一个可爱的蓝孩子~'
|
||
}).then(function() {
|
||
botui.action.button({
|
||
delay: 1600,
|
||
action: [
|
||
{
|
||
text: '然后呢? 😕',
|
||
value: 'sure'
|
||
},{
|
||
text: '少废话! 🙄',
|
||
value: 'skip'
|
||
}
|
||
]
|
||
}).then(function (res) {
|
||
if(res.value == 'sure') {
|
||
//console.log('然后呢? 😕');
|
||
sure();
|
||
};
|
||
if(res.value == 'skip') {
|
||
//console.log('闭嘴! 🙄' );
|
||
end();
|
||
};
|
||
});
|
||
});
|
||
});
|
||
});
|
||
|
||
var sure = function () {
|
||
botui.message.add({
|
||
delay: 1000,
|
||
content: "谢谢😘"
|
||
}).then(function() {
|
||
//console.log('进入第二段' );
|
||
secondpart();
|
||
});
|
||
};
|
||
|
||
var end = function () {
|
||
botui.message.add({
|
||
delay: 1000,
|
||
content: "😒我猜你大概很着急"
|
||
}).then(function() {
|
||
//console.log('进入第二段' );
|
||
secondpart();
|
||
});
|
||
};
|
||
|
||
var secondpart = function() {
|
||
botui.message.add({
|
||
delay: 1500,
|
||
content: '目前就读于上海财经大学'
|
||
}).then(function() {
|
||
botui.message.add({
|
||
delay: 1500,
|
||
content: '向往技术却误入商科,但后来喜欢上了经济学…'
|
||
}).then(function() {
|
||
botui.message.add({
|
||
delay: 1800,
|
||
content: '因为数据分析也需要Coder嘛'
|
||
}).then(function() {
|
||
botui.message.add({
|
||
delay: 1000,
|
||
content: '平时主攻R和Python,偶尔也折腾HTML/CSS/JS/PHP'
|
||
}).then(function() {
|
||
|
||
botui.message.add({
|
||
delay: 1800,
|
||
content: '喜欢画画,希望有一天能够被称为画师'
|
||
}).then(function() {
|
||
botui.action.button({
|
||
delay: 1100,
|
||
action: [
|
||
{
|
||
text: '为什么叫Mashiro呢? 🤔',
|
||
value: 'why-mashiro'
|
||
}
|
||
]
|
||
}).then(function (res) {
|
||
//console.log('第三段');
|
||
thirdpart();
|
||
});
|
||
});
|
||
});
|
||
|
||
});
|
||
});
|
||
});
|
||
};
|
||
|
||
var thirdpart = function() {
|
||
botui.message.add({
|
||
delay: 1000,
|
||
content: 'Mashiro以及站名都来自一部动画,因为和主角有一样的爱好呀'
|
||
}).then(function() {
|
||
botui.action.button({
|
||
delay: 1500,
|
||
action: [
|
||
{ // show only one button
|
||
text: '为什么是白猫呢? 🤔',
|
||
value: 'why-cat'
|
||
}
|
||
]
|
||
}).then(function (res) {
|
||
//console.log('第四段');
|
||
fourthpart();
|
||
});
|
||
});
|
||
};
|
||
|
||
var fourthpart = function() {
|
||
botui.message.add({
|
||
delay: 1000,
|
||
content: '因为对GitHub有种执念…'
|
||
}).then(function() {
|
||
botui.message.add({
|
||
delay: 1100,
|
||
content: '而且我真的是猫控!'
|
||
}).then(function() {
|
||
botui.message.add({
|
||
delay: 1600,
|
||
content: '那么,进入我的博客吧?'
|
||
}).then(function() {
|
||
botui.action.button({
|
||
delay: 1500,
|
||
action: [
|
||
{ // show only one button
|
||
text: '进入博客',
|
||
value: 'to blog'
|
||
}
|
||
]
|
||
}).then(function (res) {
|
||
//console.log('to blog');
|
||
window.open("https://2heng.xin");
|
||
});
|
||
});
|
||
});
|
||
});
|
||
};
|
||
|
||
</script>
|
||
|
||
<script>
|
||
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
|
||
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
|
||
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
|
||
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
|
||
|
||
ga('create', 'UA-100439904-2', 'auto');
|
||
ga('send', 'pageview');
|
||
|
||
</script>
|
||
<div style="display:none">
|
||
<script src="https://s19.cnzz.com/z_stat.php?id=1263936154&web_id=1263936154" language="JavaScript"></script><script src="https://c.cnzz.com/core.php?web_id=1263936154&t=z" charset="utf-8" type="text/javascript"></script><a href="http://www.cnzz.com/stat/website.php?web_id=1263936154" target="_blank" title="站长统计">站长统计</a>
|
||
</div>
|
||
|
||
</body>
|
||
|
||
</html>
|