sinzmise-cetastories 2.0.0-1731114112124 → 2.0.0-1731116663626
Sign up to get free protection for your applications and to get access to all the features.
- package/404/index.html +1 -4033
- package/about/index.html +1 -4041
- package/album/index.html +1 -4050
- package/archives/2021/12/index.html +1 -3917
- package/archives/2021/index.html +1 -3917
- package/archives/2022/12/index.html +1 -3917
- package/archives/2022/index.html +1 -3917
- package/archives/2023/01/index.html +1 -4072
- package/archives/2023/02/index.html +1 -3917
- package/archives/2023/03/index.html +1 -4063
- package/archives/2023/04/index.html +1 -3992
- package/archives/2023/07/index.html +1 -4217
- package/archives/2023/08/index.html +1 -4067
- package/archives/2023/09/index.html +1 -3917
- package/archives/2023/10/index.html +1 -3917
- package/archives/2023/11/index.html +1 -3917
- package/archives/2023/12/index.html +1 -3918
- package/archives/2023/index.html +1 -4591
- package/archives/2023/page/2/index.html +1 -4572
- package/archives/2023/page/3/index.html +1 -3930
- package/archives/2024/01/index.html +1 -4142
- package/archives/2024/02/index.html +1 -3922
- package/archives/2024/03/index.html +1 -3916
- package/archives/2024/04/index.html +1 -3997
- package/archives/2024/05/index.html +1 -4065
- package/archives/2024/06/index.html +1 -3917
- package/archives/2024/07/index.html +1 -3917
- package/archives/2024/08/index.html +1 -3992
- package/archives/2024/09/index.html +1 -3917
- package/archives/2024/10/index.html +1 -3984
- package/archives/2024/index.html +1 -4576
- package/archives/2024/page/2/index.html +1 -4433
- package/archives/index.html +1 -4560
- package/archives/page/2/index.html +1 -4560
- package/archives/page/3/index.html +1 -4560
- package/archives/page/4/index.html +1 -4560
- package/archives/page/5/index.html +1 -4560
- package/assets/algolia/algoliasearch.js +3 -7182
- package/assets/algolia/algoliasearchLite.js +3 -4445
- package/atom.xml +31 -31
- package/bbs/bbs.html +1 -4012
- package/bbs/bbs.js +2 -12
- package/bbs/index.html +1 -4031
- package/categories/index.html +1 -4050
- package/categories//344/270/252/344/272/272/345/260/217/350/256/260/index.html +1 -4570
- package/categories//344/270/252/344/272/272/345/260/217/350/256/260/page/2/index.html +1 -4485
- package/categories//346/255/214/346/233/262/346/224/266/351/233/206/index.html +1 -3920
- package/categories//346/270/270/346/210/217/347/233/270/345/205/263/index.html +1 -4148
- package/categories//347/253/231/347/202/271/346/212/230/350/205/276/index.html +1 -4610
- package/categories//347/253/231/347/202/271/346/212/230/350/205/276/page/2/index.html +1 -4148
- package/categories//351/241/271/347/233/256/346/212/230/350/205/276/index.html +1 -4072
- package/charts/index.html +1 -4039
- package/comments/index.html +1 -4052
- package/css/custom2.css +2 -3
- package/css/first.css +2 -1868
- package/css/pace/big-counter.css +2 -39
- package/css/pace/corner-indicator.css +2 -72
- package/css/pace/flash.css +2 -76
- package/css/pace/mac-osx.css +2 -86
- package/css/pace/pace.css +2 -50
- package/css/plane.css +2 -59
- package/css/style.css +2 -8585
- package/css/tags.css +2 -3516
- package/essay/index.html +1 -4050
- package/fcircle/index.html +1 -4075
- package/games +2 -2
- package/index.html +1 -4717
- package/js/app.js +2 -1341
- package/js/autoload.js +2 -62
- package/js/ceta/fancybox.css +2 -2
- package/js/ceta/fancybox.umd.js +2 -2
- package/js/ceta/iconfontInkss.js +2 -1
- package/js/ceta/message.css +2 -6
- package/js/ceta/message.js +2 -6
- package/js/clock.js +2 -1
- package/js/kslink.js +2 -38
- package/js/newyear.js +2 -76
- package/js/plane.js +2 -2200
- package/js/plugins/aplayer.js +2 -186
- package/js/plugins/parallax.js +2 -191
- package/js/plugins/rightMenus.js +2 -623
- package/js/plugins/tags/contributors.js +2 -92
- package/js/plugins/tags/friends.js +2 -93
- package/js/plugins/tags/sites.js +2 -96
- package/js/search/algolia.js +2 -239
- package/js/search/hexo.js +2 -195
- package/js/search/meilisearch.js +2 -220
- package/js/txmap.js +2 -248
- package/link/index.html +1 -6180
- package/load.html +1 -294
- package/maps/assets/algolia/algoliasearch.js.map +1 -0
- package/maps/assets/algolia/algoliasearchLite.js.map +1 -0
- package/maps/bbs/bbs.js.map +1 -0
- package/maps/css/custom2.css.map +1 -0
- package/maps/css/first.css.map +1 -0
- package/maps/css/pace/big-counter.css.map +1 -0
- package/maps/css/pace/corner-indicator.css.map +1 -0
- package/maps/css/pace/flash.css.map +1 -0
- package/maps/css/pace/mac-osx.css.map +1 -0
- package/maps/css/pace/pace.css.map +1 -0
- package/maps/css/plane.css.map +1 -0
- package/maps/css/style.css.map +1 -0
- package/maps/css/tags.css.map +1 -0
- package/maps/js/app.js.map +1 -0
- package/maps/js/autoload.js.map +1 -0
- package/maps/js/ceta/fancybox.css.map +1 -0
- package/maps/js/ceta/fancybox.umd.js.map +1 -0
- package/maps/js/ceta/iconfontInkss.js.map +1 -0
- package/maps/js/ceta/message.css.map +1 -0
- package/maps/js/ceta/message.js.map +1 -0
- package/maps/js/clock.js.map +1 -0
- package/maps/js/kslink.js.map +1 -0
- package/maps/js/newyear.js.map +1 -0
- package/maps/js/plane.js.map +1 -0
- package/maps/js/plugins/aplayer.js.map +1 -0
- package/maps/js/plugins/parallax.js.map +1 -0
- package/maps/js/plugins/rightMenus.js.map +1 -0
- package/maps/js/plugins/tags/contributors.js.map +1 -0
- package/maps/js/plugins/tags/friends.js.map +1 -0
- package/maps/js/plugins/tags/sites.js.map +1 -0
- package/maps/js/search/algolia.js.map +1 -0
- package/maps/js/search/hexo.js.map +1 -0
- package/maps/js/search/meilisearch.js.map +1 -0
- package/maps/js/txmap.js.map +1 -0
- package/maps/sw.js.map +1 -0
- package/maps/weichuncai/css/style.css.map +1 -0
- package/maps/weichuncai/js/common.js.map +1 -0
- package/maps/weichuncai/js/jquery.js.map +1 -0
- package/maps/weichuncai/wcc-config.js.map +1 -0
- package/music/index.html +1 -4033
- package/package.json +1 -1
- package/page/2/index.html +1 -4578
- package/page/3/index.html +1 -4575
- package/page/4/index.html +1 -4572
- package/page/5/index.html +1 -3924
- package/posts/10021/index.html +5 -4130
- package/posts/10045/index.html +1 -4224
- package/posts/10733/index.html +1 -4125
- package/posts/10996/index.html +5 -4127
- package/posts/12779/index.html +1 -4134
- package/posts/13624/index.html +1 -4179
- package/posts/15688/index.html +1 -4133
- package/posts/15748/index.html +5 -4121
- package/posts/15799/index.html +1 -4130
- package/posts/15842/index.html +5 -4121
- package/posts/16107/index.html +1 -4111
- package/posts/18063/index.html +1 -4124
- package/posts/20412/index.html +1 -4134
- package/posts/21375/index.html +1 -4124
- package/posts/22945/index.html +4 -4169
- package/posts/23021/index.html +1 -4104
- package/posts/27531/index.html +5 -4121
- package/posts/28536/index.html +1 -4116
- package/posts/28733/index.html +1 -4168
- package/posts/29196/index.html +1 -4106
- package/posts/38917/index.html +1 -4144
- package/posts/38964/index.html +1 -4208
- package/posts/42487/index.html +1 -4135
- package/posts/42580/index.html +1 -4128
- package/posts/45875/index.html +1 -4118
- package/posts/46640/index.html +1 -4147
- package/posts/48762/index.html +1 -4109
- package/posts/50710/index.html +1 -4114
- package/posts/52677/index.html +1 -4125
- package/posts/53662/index.html +1 -4123
- package/posts/54386/index.html +1 -4116
- package/posts/54481/index.html +1 -4133
- package/posts/54787/index.html +5 -4124
- package/posts/56467/index.html +1 -4121
- package/posts/57692/index.html +1 -4143
- package/posts/58203/index.html +1 -4116
- package/posts/61417/index.html +1 -4117
- package/posts/61712/index.html +1 -4113
- package/posts/646/index.html +1 -4106
- package/posts/64856/index.html +1 -4120
- package/posts/64935/index.html +1 -4120
- package/search.xml +70 -70
- package/seas/index.html +1 -4050
- package/sw.js +2 -798
- package/tags/Flash/347/233/270/345/205/263/index.html +1 -3924
- package/tags/Steam/346/270/270/346/210/217/index.html +1 -3924
- package/tags/Windows/350/275/257/344/273/266/index.html +1 -3997
- package/tags/index.html +1 -4033
- package/tags//344/270/252/344/272/272/345/260/217/350/256/260/index.html +1 -4570
- package/tags//344/270/252/344/272/272/345/260/217/350/256/260/page/2/index.html +1 -4485
- package/tags//345/205/266/345/256/203/346/270/270/346/210/217/index.html +1 -4073
- package/tags//345/212/240/350/275/275/345/212/250/347/224/273/index.html +1 -3924
- package/tags//346/202/254/346/265/256/345/256/240/347/211/251-/347/234/213/346/235/277/345/250/230/index.html +1 -3925
- package/tags//346/255/214/346/233/262/346/224/266/351/233/206/index.html +1 -3920
- package/tags//346/270/270/346/210/217/347/233/270/345/205/263/index.html +1 -4148
- package/tags//347/253/231/347/202/271/345/272/225/351/203/250/351/255/224/346/224/271/index.html +1 -3924
- package/tags//347/253/231/347/202/271/346/212/230/350/205/276/index.html +1 -4610
- package/tags//347/253/231/347/202/271/346/212/230/350/205/276/page/2/index.html +1 -4148
- package/tags//350/207/252/345/273/272/351/203/250/347/275/262/index.html +1 -4224
- package/tags//351/241/265/351/235/242/351/255/224/346/224/271/index.html +1 -4075
- package/tags//351/241/271/347/233/256/346/212/230/350/205/276/index.html +1 -4072
- package/update/index.html +1 -4112
- package/weichuncai/css/style.css +2 -25
- package/weichuncai/js/common.js +2 -449
- package/weichuncai/js/jquery.js +2 -139
- package/weichuncai/wcc-config.js +2 -17
package/js/txmap.js
CHANGED
@@ -1,248 +1,2 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
type: 'get',
|
4
|
-
url: 'https://apis.map.qq.com/ws/location/v1/ip',
|
5
|
-
data: {
|
6
|
-
key: 'RIPBZ-MLQ64-A6WUR-KL2YV-O4KY5-DZFTC',
|
7
|
-
output: 'jsonp',
|
8
|
-
},
|
9
|
-
dataType: 'jsonp',
|
10
|
-
success: function (res) {
|
11
|
-
ipLocation = res;
|
12
|
-
}
|
13
|
-
})
|
14
|
-
function getDistance(e1, n1, e2, n2) {
|
15
|
-
const R = 6371
|
16
|
-
const { sin, cos, asin, PI, hypot } = Math
|
17
|
-
let getPoint = (e, n) => {
|
18
|
-
e *= PI / 180
|
19
|
-
n *= PI / 180
|
20
|
-
return { x: cos(n) * cos(e), y: cos(n) * sin(e), z: sin(n) }
|
21
|
-
}
|
22
|
-
|
23
|
-
let a = getPoint(e1, n1)
|
24
|
-
let b = getPoint(e2, n2)
|
25
|
-
let c = hypot(a.x - b.x, a.y - b.y, a.z - b.z)
|
26
|
-
let r = asin(c / 2) * 2 * R
|
27
|
-
return Math.round(r);
|
28
|
-
}
|
29
|
-
|
30
|
-
function showWelcome() {
|
31
|
-
|
32
|
-
let dist = getDistance(114.21416, 22.576264, ipLocation.result.location.lng, ipLocation.result.location.lat); //这里记得换成自己的经纬度
|
33
|
-
let pos = ipLocation.result.ad_info.nation;
|
34
|
-
let ip;
|
35
|
-
let posdesc;
|
36
|
-
//根据国家、省份、城市信息自定义欢迎语
|
37
|
-
switch (ipLocation.result.ad_info.nation) {
|
38
|
-
case "日本":
|
39
|
-
posdesc = "よろしく,一起去看樱花吗";
|
40
|
-
break;
|
41
|
-
case "美国":
|
42
|
-
posdesc = "Let us live in peace!";
|
43
|
-
break;
|
44
|
-
case "英国":
|
45
|
-
posdesc = "想同你一起夜乘伦敦眼";
|
46
|
-
break;
|
47
|
-
case "俄罗斯":
|
48
|
-
posdesc = "干了这瓶伏特加!";
|
49
|
-
break;
|
50
|
-
case "法国":
|
51
|
-
posdesc = "C'est La Vie";
|
52
|
-
break;
|
53
|
-
case "德国":
|
54
|
-
posdesc = "Die Zeit verging im Fluge.";
|
55
|
-
break;
|
56
|
-
case "澳大利亚":
|
57
|
-
posdesc = "一起去大堡礁吧!";
|
58
|
-
break;
|
59
|
-
case "加拿大":
|
60
|
-
posdesc = "拾起一片枫叶赠予你";
|
61
|
-
break;
|
62
|
-
case "中国":
|
63
|
-
pos = ipLocation.result.ad_info.province + " " + ipLocation.result.ad_info.city + " " + ipLocation.result.ad_info.district;
|
64
|
-
ip = ipLocation.result.ip;
|
65
|
-
switch (ipLocation.result.ad_info.province) {
|
66
|
-
case "北京市":
|
67
|
-
posdesc = "北——京——欢迎你~~~";
|
68
|
-
break;
|
69
|
-
case "天津市":
|
70
|
-
posdesc = "讲段相声吧";
|
71
|
-
break;
|
72
|
-
case "河北省":
|
73
|
-
posdesc = "山势巍巍成壁垒,天下雄关铁马金戈由此向,无限江山";
|
74
|
-
break;
|
75
|
-
case "山西省":
|
76
|
-
posdesc = "展开坐具长三尺,已占山河五百余";
|
77
|
-
break;
|
78
|
-
case "内蒙古自治区":
|
79
|
-
posdesc = "天苍苍,野茫茫,风吹草低见牛羊";
|
80
|
-
break;
|
81
|
-
case "辽宁省":
|
82
|
-
posdesc = "我想吃烤鸡架!";
|
83
|
-
break;
|
84
|
-
case "吉林省":
|
85
|
-
posdesc = "状元阁就是东北烧烤之王";
|
86
|
-
break;
|
87
|
-
case "黑龙江省":
|
88
|
-
posdesc = "很喜欢哈尔滨大剧院";
|
89
|
-
break;
|
90
|
-
case "上海市":
|
91
|
-
posdesc = "众所周知,中国只有两个城市";
|
92
|
-
break;
|
93
|
-
case "江苏省":
|
94
|
-
switch (ipLocation.result.ad_info.city) {
|
95
|
-
case "南京市":
|
96
|
-
posdesc = "这是我挺想去的城市啦";
|
97
|
-
break;
|
98
|
-
case "苏州市":
|
99
|
-
posdesc = "上有天堂,下有苏杭";
|
100
|
-
break;
|
101
|
-
default:
|
102
|
-
posdesc = "散装是必须要散装的";
|
103
|
-
break;
|
104
|
-
}
|
105
|
-
break;
|
106
|
-
case "浙江省":
|
107
|
-
posdesc = "东风渐绿西湖柳,雁已还人未南归";
|
108
|
-
break;
|
109
|
-
case "河南省":
|
110
|
-
switch (ipLocation.result.ad_info.city) {
|
111
|
-
case "郑州市":
|
112
|
-
posdesc = "豫州之域,天地之中";
|
113
|
-
break;
|
114
|
-
case "南阳市":
|
115
|
-
posdesc = "臣本布衣,躬耕于南阳此南阳非彼南阳!";
|
116
|
-
break;
|
117
|
-
case "驻马店市":
|
118
|
-
posdesc = "峰峰有奇石,石石挟仙气嵖岈山的花很美哦!";
|
119
|
-
break;
|
120
|
-
case "开封市":
|
121
|
-
posdesc = "刚正不阿包青天";
|
122
|
-
break;
|
123
|
-
case "洛阳市":
|
124
|
-
posdesc = "洛阳牡丹甲天下";
|
125
|
-
break;
|
126
|
-
default:
|
127
|
-
posdesc = "可否带我品尝河南烩面啦?";
|
128
|
-
break;
|
129
|
-
}
|
130
|
-
break;
|
131
|
-
case "安徽省":
|
132
|
-
posdesc = "蚌埠住了,芜湖起飞";
|
133
|
-
break;
|
134
|
-
case "福建省":
|
135
|
-
posdesc = "井邑白云间,岩城远带山";
|
136
|
-
break;
|
137
|
-
case "江西省":
|
138
|
-
posdesc = "落霞与孤鹜齐飞,秋水共长天一色";
|
139
|
-
break;
|
140
|
-
case "山东省":
|
141
|
-
posdesc = "遥望齐州九点烟,一泓海水杯中泻";
|
142
|
-
break;
|
143
|
-
case "湖北省":
|
144
|
-
switch (ipLocation.result.ad_info.city) {
|
145
|
-
case "黄冈市":
|
146
|
-
posdesc = "红安将军县!辈出将才!";
|
147
|
-
break;
|
148
|
-
default:
|
149
|
-
posdesc = "来碗热干面~";
|
150
|
-
break;
|
151
|
-
}
|
152
|
-
break;
|
153
|
-
case "湖南省":
|
154
|
-
posdesc = "74751,长沙斯塔克";
|
155
|
-
break;
|
156
|
-
case "广东省":
|
157
|
-
switch (ipLocation.result.ad_info.city) {
|
158
|
-
case "广州市":
|
159
|
-
posdesc = "看小蛮腰,喝早茶了嘛~";
|
160
|
-
break;
|
161
|
-
case "深圳市":
|
162
|
-
posdesc = "今天你逛商场了嘛~";
|
163
|
-
break;
|
164
|
-
case "阳江市":
|
165
|
-
posdesc = "阳春合水!博主家乡~ 欢迎来玩~";
|
166
|
-
break;
|
167
|
-
default:
|
168
|
-
posdesc = "来两斤福建人~";
|
169
|
-
break;
|
170
|
-
}
|
171
|
-
break;
|
172
|
-
case "广西壮族自治区":
|
173
|
-
posdesc = "桂林山水甲天下";
|
174
|
-
break;
|
175
|
-
case "海南省":
|
176
|
-
posdesc = "朝观日出逐白浪,夕看云起收霞光";
|
177
|
-
break;
|
178
|
-
case "四川省":
|
179
|
-
posdesc = "康康川妹子";
|
180
|
-
break;
|
181
|
-
case "贵州省":
|
182
|
-
posdesc = "茅台,学生,再塞200";
|
183
|
-
break;
|
184
|
-
case "云南省":
|
185
|
-
posdesc = "玉龙飞舞云缠绕,万仞冰川直耸天";
|
186
|
-
break;
|
187
|
-
case "西藏自治区":
|
188
|
-
posdesc = "躺在茫茫草原上,仰望蓝天";
|
189
|
-
break;
|
190
|
-
case "陕西省":
|
191
|
-
posdesc = "来份臊子面加馍";
|
192
|
-
break;
|
193
|
-
case "甘肃省":
|
194
|
-
posdesc = "羌笛何须怨杨柳,春风不度玉门关";
|
195
|
-
break;
|
196
|
-
case "青海省":
|
197
|
-
posdesc = "牛肉干和老酸奶都好好吃";
|
198
|
-
break;
|
199
|
-
case "宁夏回族自治区":
|
200
|
-
posdesc = "大漠孤烟直,长河落日圆";
|
201
|
-
break;
|
202
|
-
case "新疆维吾尔自治区":
|
203
|
-
posdesc = "驼铃古道丝绸路,胡马犹闻唐汉风";
|
204
|
-
break;
|
205
|
-
case "台湾省":
|
206
|
-
posdesc = "我在这头,大陆在那头";
|
207
|
-
break;
|
208
|
-
case "香港特别行政区":
|
209
|
-
posdesc = "永定贼有残留地鬼嚎,迎击光非岁玉";
|
210
|
-
break;
|
211
|
-
case "澳门特别行政区":
|
212
|
-
posdesc = "性感荷官,在线发牌";
|
213
|
-
break;
|
214
|
-
default:
|
215
|
-
posdesc = "带我去你的城市逛逛吧!";
|
216
|
-
break;
|
217
|
-
}
|
218
|
-
break;
|
219
|
-
default:
|
220
|
-
posdesc = "带我去你的国家逛逛吧";
|
221
|
-
break;
|
222
|
-
}
|
223
|
-
|
224
|
-
//根据本地时间切换欢迎语
|
225
|
-
let timeChange;
|
226
|
-
let date = new Date();
|
227
|
-
if (date.getHours() >= 5 && date.getHours() < 11) timeChange = "<span>🌤️ 早上好,一日之计在于晨</span>";
|
228
|
-
else if (date.getHours() >= 11 && date.getHours() < 13) timeChange = "<span>☀️ 中午好,记得午休喔~</span>";
|
229
|
-
else if (date.getHours() >= 13 && date.getHours() < 17) timeChange = "<span>🕞 下午好,饮茶先啦!</span>";
|
230
|
-
else if (date.getHours() >= 17 && date.getHours() < 19) timeChange = "<span>🚶♂️ 即将下班,记得按时吃饭~</span>";
|
231
|
-
else if (date.getHours() >= 19 && date.getHours() < 24) timeChange = "<span>🌙 晚上好,夜生活嗨起来!</span>";
|
232
|
-
else timeChange = "夜深了,早点休息,少熬夜";
|
233
|
-
|
234
|
-
// 新增ipv6显示为指定内容
|
235
|
-
if (ip.includes(":")) {
|
236
|
-
ip = "<br>好复杂,咱看不懂~(ipv6)";
|
237
|
-
}
|
238
|
-
try {
|
239
|
-
//自定义文本和需要放的位置
|
240
|
-
document.getElementById("welcome-info").innerHTML =
|
241
|
-
`欢迎来自 <b><span style="color: var(--kouseki-ip-color);font-size: var(--kouseki-gl-size)">${pos}</span></b> 的小友💖<br>${posdesc}🍂<br>当前位置距博主约 <b><span style="color: var(--kouseki-ip-color)">${dist}</span></b> 公里!<br>您的IP地址为:<b><span>${ip}</span></b><br>${timeChange} <br>`;
|
242
|
-
} catch (err) {
|
243
|
-
console.log("Pjax无法获取元素")
|
244
|
-
}
|
245
|
-
}
|
246
|
-
window.onload = showWelcome;
|
247
|
-
// 如果使用了pjax在加上下面这行代码
|
248
|
-
document.addEventListener('pjax:complete', showWelcome);
|
1
|
+
function getDistance(e,a,s,c){const{sin:r,cos:t,asin:o,PI:i,hypot:n}=Math;let b=(e,a)=>(e*=i/180,{x:t(a*=i/180)*t(e),y:t(a)*r(e),z:r(a)}),k=b(e,a),p=b(s,c),l=2*o(n(k.x-p.x,k.y-p.y,k.z-p.z)/2)*6371;return Math.round(l)}function showWelcome(){let e,a,s,c=getDistance(114.21416,22.576264,ipLocation.result.location.lng,ipLocation.result.location.lat),r=ipLocation.result.ad_info.nation;switch(ipLocation.result.ad_info.nation){case"日本":a="よろしく,一起去看樱花吗";break;case"美国":a="Let us live in peace!";break;case"英国":a="想同你一起夜乘伦敦眼";break;case"俄罗斯":a="干了这瓶伏特加!";break;case"法国":a="C'est La Vie";break;case"德国":a="Die Zeit verging im Fluge.";break;case"澳大利亚":a="一起去大堡礁吧!";break;case"加拿大":a="拾起一片枫叶赠予你";break;case"中国":switch(r=ipLocation.result.ad_info.province+" "+ipLocation.result.ad_info.city+" "+ipLocation.result.ad_info.district,e=ipLocation.result.ip,ipLocation.result.ad_info.province){case"北京市":a="北——京——欢迎你~~~";break;case"天津市":a="讲段相声吧";break;case"河北省":a="山势巍巍成壁垒,天下雄关铁马金戈由此向,无限江山";break;case"山西省":a="展开坐具长三尺,已占山河五百余";break;case"内蒙古自治区":a="天苍苍,野茫茫,风吹草低见牛羊";break;case"辽宁省":a="我想吃烤鸡架!";break;case"吉林省":a="状元阁就是东北烧烤之王";break;case"黑龙江省":a="很喜欢哈尔滨大剧院";break;case"上海市":a="众所周知,中国只有两个城市";break;case"江苏省":switch(ipLocation.result.ad_info.city){case"南京市":a="这是我挺想去的城市啦";break;case"苏州市":a="上有天堂,下有苏杭";break;default:a="散装是必须要散装的"}break;case"浙江省":a="东风渐绿西湖柳,雁已还人未南归";break;case"河南省":switch(ipLocation.result.ad_info.city){case"郑州市":a="豫州之域,天地之中";break;case"南阳市":a="臣本布衣,躬耕于南阳此南阳非彼南阳!";break;case"驻马店市":a="峰峰有奇石,石石挟仙气嵖岈山的花很美哦!";break;case"开封市":a="刚正不阿包青天";break;case"洛阳市":a="洛阳牡丹甲天下";break;default:a="可否带我品尝河南烩面啦?"}break;case"安徽省":a="蚌埠住了,芜湖起飞";break;case"福建省":a="井邑白云间,岩城远带山";break;case"江西省":a="落霞与孤鹜齐飞,秋水共长天一色";break;case"山东省":a="遥望齐州九点烟,一泓海水杯中泻";break;case"湖北省":if("黄冈市"===ipLocation.result.ad_info.city)a="红安将军县!辈出将才!";else a="来碗热干面~";break;case"湖南省":a="74751,长沙斯塔克";break;case"广东省":switch(ipLocation.result.ad_info.city){case"广州市":a="看小蛮腰,喝早茶了嘛~";break;case"深圳市":a="今天你逛商场了嘛~";break;case"阳江市":a="阳春合水!博主家乡~ 欢迎来玩~";break;default:a="来两斤福建人~"}break;case"广西壮族自治区":a="桂林山水甲天下";break;case"海南省":a="朝观日出逐白浪,夕看云起收霞光";break;case"四川省":a="康康川妹子";break;case"贵州省":a="茅台,学生,再塞200";break;case"云南省":a="玉龙飞舞云缠绕,万仞冰川直耸天";break;case"西藏自治区":a="躺在茫茫草原上,仰望蓝天";break;case"陕西省":a="来份臊子面加馍";break;case"甘肃省":a="羌笛何须怨杨柳,春风不度玉门关";break;case"青海省":a="牛肉干和老酸奶都好好吃";break;case"宁夏回族自治区":a="大漠孤烟直,长河落日圆";break;case"新疆维吾尔自治区":a="驼铃古道丝绸路,胡马犹闻唐汉风";break;case"台湾省":a="我在这头,大陆在那头";break;case"香港特别行政区":a="永定贼有残留地鬼嚎,迎击光非岁玉";break;case"澳门特别行政区":a="性感荷官,在线发牌";break;default:a="带我去你的城市逛逛吧!"}break;default:a="带我去你的国家逛逛吧"}let t=new Date;s=t.getHours()>=5&&t.getHours()<11?"<span>🌤️ 早上好,一日之计在于晨</span>":t.getHours()>=11&&t.getHours()<13?"<span>☀️ 中午好,记得午休喔~</span>":t.getHours()>=13&&t.getHours()<17?"<span>🕞 下午好,饮茶先啦!</span>":t.getHours()>=17&&t.getHours()<19?"<span>🚶♂️ 即将下班,记得按时吃饭~</span>":t.getHours()>=19&&t.getHours()<24?"<span>🌙 晚上好,夜生活嗨起来!</span>":"夜深了,早点休息,少熬夜",e.includes(":")&&(e="<br>好复杂,咱看不懂~(ipv6)");try{document.getElementById("welcome-info").innerHTML=`欢迎来自 <b><span style="color: var(--kouseki-ip-color);font-size: var(--kouseki-gl-size)">${r}</span></b> 的小友💖<br>${a}🍂<br>当前位置距博主约 <b><span style="color: var(--kouseki-ip-color)">${c}</span></b> 公里!<br>您的IP地址为:<b><span>${e}</span></b><br>${s} <br>`}catch(e){console.log("Pjax无法获取元素")}}$.ajax({type:"get",url:"https://apis.map.qq.com/ws/location/v1/ip",data:{key:"RIPBZ-MLQ64-A6WUR-KL2YV-O4KY5-DZFTC",output:"jsonp"},dataType:"jsonp",success:function(e){ipLocation=e}}),window.onload=showWelcome,document.addEventListener("pjax:complete",showWelcome);
|
2
|
+
//# sourceMappingURL=../maps/js/txmap.js.map
|