mirror of
https://github.com/zhenxun-org/zhenxun_bot.git
synced 2025-12-15 14:22:55 +08:00
🐛 签到文本适应 (#1622)
This commit is contained in:
parent
a8355fbab9
commit
94ef33264b
@ -122,6 +122,7 @@ body {
|
|||||||
position: absolute;
|
position: absolute;
|
||||||
top: 72px;
|
top: 72px;
|
||||||
left: 130px;
|
left: 130px;
|
||||||
|
width: 200px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.sign-content{
|
.sign-content{
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
|
|
||||||
</html>
|
</html>
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="zh-cn">
|
<html lang="zh-cn">
|
||||||
|
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||||
@ -10,6 +10,7 @@
|
|||||||
<!-- <link rel="stylesheet" href="./res/font-awesome/css/font-awesome.min.css"> -->
|
<!-- <link rel="stylesheet" href="./res/font-awesome/css/font-awesome.min.css"> -->
|
||||||
<link rel="stylesheet" href="main.css">
|
<link rel="stylesheet" href="main.css">
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
<div class="wrapper">
|
<div class="wrapper">
|
||||||
<div class="top-head">
|
<div class="top-head">
|
||||||
@ -40,20 +41,21 @@
|
|||||||
<p class="gift">{{data.impression}}</p>
|
<p class="gift">{{data.impression}}</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="abs-text" style="top: 83px;">
|
<div class="abs-text" style="top: 83px;">
|
||||||
<p class="gift">{{data.gold}}</p></div>
|
<p class="gift">{{data.gold}}</p>
|
||||||
<div class="abs-text" style="top: 123px;">
|
</div>
|
||||||
|
<div class="abs-text" style="top: 123px;">
|
||||||
<p class="gift">{{data.gift}}</p>
|
<p class="gift">{{data.gift}}</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="line"></div>
|
<div class="line"></div>
|
||||||
<div class="bottom-foot">
|
<div class="bottom-foot">
|
||||||
<p class="cur-text">当前好感度: {{data.cur_impression}}</p>
|
<p class="cur-text">当前好感度: {{data.cur_impression}}</p>
|
||||||
<div class="heart-list">
|
<div class="heart-list">
|
||||||
{% for i in data.heart2 %}
|
{% for i in data.heart2 %}
|
||||||
<img class="heart-img" src="res/img/h2.png" alt=""/>
|
<img class="heart-img" src="res/img/h2.png" alt="" />
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% for i in data.heart1 %}
|
{% for i in data.heart1 %}
|
||||||
<img class="heart-img" src="res/img/h1.png" alt=""/>
|
<img class="heart-img" src="res/img/h1.png" alt="" />
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</div>
|
</div>
|
||||||
<div class="bot-text">
|
<div class="bot-text">
|
||||||
@ -61,11 +63,11 @@
|
|||||||
<p style="position: absolute; top: 58px">{{data.attitude}}</p>
|
<p style="position: absolute; top: 58px">{{data.attitude}}</p>
|
||||||
<p style="position: absolute; top: 111px"">距离升级还差{{data.interpolation}}好感度</p>
|
<p style="position: absolute; top: 111px"">距离升级还差{{data.interpolation}}好感度</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="progress-border">
|
<div class=" progress-border">
|
||||||
<div class="progress-bar" style="width: {{ data.process }}%;"></div>
|
<div class="progress-bar" style="width: {{ data.process }}%;"></div>
|
||||||
</div>
|
</div>
|
||||||
<img class="weather-img" src="res/img/weather/0.png" alt="">
|
<img class="weather-img" src="res/img/weather/0.png" alt="">
|
||||||
<p class="wd" >28℃</p>
|
<p class="wd">28℃</p>
|
||||||
<img class="mbl-img" src="res/img/2.png" alt="">
|
<img class="mbl-img" src="res/img/2.png" alt="">
|
||||||
<div class="date">
|
<div class="date">
|
||||||
{{data.date}}
|
{{data.date}}
|
||||||
@ -75,4 +77,5 @@
|
|||||||
</body>
|
</body>
|
||||||
<script type="text/javascript" src="main.js">
|
<script type="text/javascript" src="main.js">
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
</html>
|
</html>
|
||||||
@ -164,7 +164,7 @@ class HelpImageBuild:
|
|||||||
template_name="main.html",
|
template_name="main.html",
|
||||||
templates={"data": {"plugin_list": _data, "ava": AVA_URL.format(bot_id)}},
|
templates={"data": {"plugin_list": _data, "ava": AVA_URL.format(bot_id)}},
|
||||||
pages={
|
pages={
|
||||||
"viewport": {"width": 637, "height": 975},
|
"viewport": {"width": 637, "height": 453},
|
||||||
"base_url": f"file://{TEMPLATE_PATH}",
|
"base_url": f"file://{TEMPLATE_PATH}",
|
||||||
},
|
},
|
||||||
wait=2,
|
wait=2,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user