天气

<div id="tp-weather-widget">
<div class="sc-csuQGl sw-container sc-bRBYWo iNJlNg" style=" 84px;">
<div class="sw-bar-bubble sc-hzDkRC eOZYiU"><img class="sw-bar-bubble-icon sc-Rmtcm PtENo sc-bdVaJa hlBhLX" src="//cdn.sencdn.com/widget2/assets/img/chameleon/weather/0.svg">
<div class="sw-bar-bubble-content">
<p class="sw-typography sw-bar-bubble-location sc-bwzfXH dsrBSL" color="inherit">郑州</p>
<p class="sw-typography sw-bar-bubble-temperature sc-bwzfXH dsrBSL" color="inherit">9°</p>
</div>
</div>
<div class="sw-card-bubble-background sc-fBuWsC hnnpuu" style="opacity: 0; height: 54px; 84px;" hidden="">
<div class="sw-card-bubble-container sc-jhAzac uJubN">
<div class="sw-ui-main-container sc-fjdhpX fAFgBy">
<div class="sc-htpNat sw-ui-main sc-gzVnrw blUPwB">
<div class="sw-ui-main-arcContainer sc-dnqmqq cHlxbs">
<div class="sw-ui-main-arc sc-iwsKbI bRmqwc"><img top="24.471097423848114" left="92.99157049070604" class="sw-ui-main-weatherIcon sc-gZMcBi kcSzOq sc-bdVaJa hlBhLX" src="//cdn.sencdn.com/widget2/assets/img/chameleon/weather/0.svg"></div>
</div>
<div class="sw-ui-main-title sc-cSHVUG iWEWlT">
<p class="sw-typography sc-bwzfXH jQHZYL" color="inherit">
<a target="_blank" color="textPrimary" href="//m.seniverse.com/weather/WW0V9QP93VS8?source=widget" class="sc-jzJRlG ggJaPA">郑州</a>
</p><span class="sw-typography sw-ui-main-time sc-bwzfXH eccBLL" color="textSecondary">15:20发布</span></div>
<div class="sw-ui-main-grow sc-htoDjs hzdUrF"></div>
<p class="sw-typography sw-ui-main-temperature sc-bwzfXH eofBUk" color="inherit">9°</p>
<div class="sw-ui-main-timeContainer sc-VigVT eMNzRy"><span class="sw-typography sw-ui-main-rise sc-bwzfXH bpTFnS" color="textSecondary">07:17</span><span class="sw-typography sw-ui-main-temperatureRange sc-jTzLTM bFsUuh sc-bwzfXH dBbtWF" color="inherit">晴 -3°C~10°C<img class="sc-gqjmRU fhCbRT sc-bdVaJa hlBhLX" src="//cdn.sencdn.com/widget2/assets/img/chameleon/arrow-down.svg"></span><span class="sw-typography sw-ui-main-set sc-bwzfXH fwGqcW" color="textSecondary">17:15</span> </div>
</div>
</div>
<div class="sc-htpNat sw-ui-tile sc-kAzzGY OeVeF">
<div class="sw-ui-tile-container sc-kgoBCf eBcdRn">
<p class="sw-typography sw-ui-tile-header sc-bwzfXH lgjLwG" color="inherit">温度</p>
<div class="sw-ui-tile-content sc-dxgOiQ jQorrF">
<p class="sw-typography sw-ui-tile-text sc-kGXeez BUFfT sc-bwzfXH bcxaVF" color="inherit">9<span class="sw-typography sw-ui-tile-text-suffix sc-bwzfXH jCzPjW" color="inherit">°C</span></p>
</div>
</div>
</div>
<div class="sc-htpNat sw-ui-tile sc-kAzzGY OeVeF">
<div class="sw-ui-tile-container sc-kgoBCf eBcdRn">
<p class="sw-typography sw-ui-tile-header sc-bwzfXH lgjLwG" color="inherit">今日天气</p>
<div class="sw-ui-tile-content sc-dxgOiQ jQorrF">
<p class="sw-typography sc-kGXeez sw-ui-tile-text sc-kpOJdX cPIXGr sc-bwzfXH bcxaVF" color="inherit"><img class="sw-ui-tile-text-icon sc-chPdSV kQwelo sc-bdVaJa hlBhLX" src="//cdn.sencdn.com/widget2/assets/img/chameleon/weather/0.svg"></p>
<p class="sw-typography sw-ui-tile-text sc-kGXeez BUFfT sc-bwzfXH bcxaVF" color="inherit"><span class="sw-typography sw-ui-tile-text-suffix sc-bwzfXH jCzPjW" color="inherit"> / </span></p>
<p class="sw-typography sc-kGXeez sw-ui-tile-text sc-kpOJdX cPIXGr sc-bwzfXH bcxaVF" color="inherit"><img class="sw-ui-tile-text-icon sc-chPdSV kQwelo sc-bdVaJa hlBhLX" src="//cdn.sencdn.com/widget2/assets/img/chameleon/weather/1.svg"></p>
</div>
</div>
</div>
<div class="sc-htpNat sw-ui-tile sc-kAzzGY OeVeF">
<div class="sw-ui-tile-container sc-kgoBCf eBcdRn">
<p class="sw-typography sw-ui-tile-header sc-bwzfXH lgjLwG" color="inherit">穿衣指數</p>
<div class="sw-ui-tile-content sc-dxgOiQ jQorrF">
<p class="sw-typography sw-ui-tile-text sc-kGXeez BUFfT sc-bwzfXH bcxaVF" color="inherit">较冷</p>
</div>
</div>
</div>
<div class="sw-ui-brand sc-hSdWYo emBiRU">
<a target="_blank" color="textPrimary" href="//seniverse.com?source=widget" class="sc-eHgmQL hQLwwD"><img class="sc-cvbbAY gYiOzp sc-bdVaJa hlBhLX" src="//cdn.sencdn.com/widget2/assets/img/chameleon/logo.svg">
<p class="sw-typography sc-bwzfXH jCzPjW" color="inherit">数据服务来自心知天气</p>
</a>
</div>
</div>
</div>
</div>
</div>
<script type="text/javascript">
(function(a, h, g, f, e, d, c, b) {
b = function() {
d = h.createElement(g);
c = h.getElementsByTagName(g)[0];
d.src = e;
d.charset = "utf-8";
d.async = 1;
c.parentNode.insertBefore(d, c)
};
a["SeniverseWeatherWidgetObject"] = f;
a[f] || (a[f] = function() {
(a[f].q = a[f].q || []).push(arguments)
});
a[f].l = +new Date();
if(a.attachEvent) {
a.attachEvent("onload", b)
} else {
a.addEventListener("load", b, false)
}
}(window, document, "script", "SeniverseWeatherWidget", "//cdn.sencdn.com/widget2/static/js/bundle.js?t=" + parseInt((new Date().getTime() / 100000000).toString(), 10)));
window.SeniverseWeatherWidget('show', {
flavor: "bubble",
location: "WW0V9QP93VS8",
geolocation: true,
language: "zh-Hans",
unit: "c",
theme: "auto",
token: "7c4a96eb-0da0-4b10-98e4-0772823d5bbe",
hover: "enabled",
container: "tp-weather-widget"
})
</script>

原文地址:https://www.cnblogs.com/wensx/p/11989740.html