feat: 添加BI组件并优化多个页面样式和功能
refactor: 重构slideshow-box组件,移除帖子标签 fix: 修复item-bottom组件中QR码加载状态显示问题 style: 调整多个页面的CSS样式,包括字体大小和间距 perf: 优化save.js文件同步逻辑,支持更多模板格式 docs: 更新组件文档和注释 chore: 添加bi组件相关文件并配置监听同步 test: 更新测试用例以适应组件变更
This commit is contained in:
207
component/bi/bi.js
Normal file
207
component/bi/bi.js
Normal file
File diff suppressed because one or more lines are too long
252
component/bi/bi.txt
Normal file
252
component/bi/bi.txt
Normal file
@@ -0,0 +1,252 @@
|
||||
<style>
|
||||
.flexflex {
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.flexcenter {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.flexjcenter {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.flexacenter {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.flex1 {
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.flexcolumn {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.one-line-display {
|
||||
word-break: keep-all;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
.two-line-display {
|
||||
display: -webkit-box;
|
||||
-webkit-box-orient: vertical;
|
||||
-webkit-line-clamp: 2;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
.coins-area {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background-color: rgba(0, 0, 0, 0.5);
|
||||
z-index: 2;
|
||||
display: none;
|
||||
}
|
||||
|
||||
.coins-area a {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.coins-area .coins-box {
|
||||
width: 624px;
|
||||
background-color: #ffffff;
|
||||
border: 1px solid #e9eef2;
|
||||
border-radius: 11px;
|
||||
flex-direction: column;
|
||||
padding: 40px 30px 35px;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.coins-area .coins-box .fork {
|
||||
width: 12px;
|
||||
height: 12px;
|
||||
position: absolute;
|
||||
top: 20px;
|
||||
right: 20px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.coins-area .coins-box .coins-head {
|
||||
margin-bottom: 32px;
|
||||
}
|
||||
|
||||
.coins-area .coins-box .coins-head .icon {
|
||||
width: 50px;
|
||||
height: 60px;
|
||||
margin-right: 16px;
|
||||
}
|
||||
|
||||
.coins-area .coins-box .coins-head .text {
|
||||
font-family: "PingFangSC-Regular", "PingFang SC", sans-serif;
|
||||
font-weight: 400;
|
||||
color: #7f7f7f;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.coins-area .coins-box .coins-head .text .sum {
|
||||
font-family: "PingFangSC-Semibold", "PingFang SC Semibold", "PingFang SC", sans-serif;
|
||||
font-weight: 650;
|
||||
font-size: 18px;
|
||||
color: #000000;
|
||||
margin: 0 5px;
|
||||
}
|
||||
|
||||
.coins-area .coins-box .coins-input {
|
||||
width: 333px;
|
||||
height: 36px;
|
||||
background-color: #ffffff;
|
||||
border: 1px solid #d7d7d7;
|
||||
border-radius: 8px;
|
||||
overflow: hidden;
|
||||
margin-bottom: 31px;
|
||||
}
|
||||
|
||||
.coins-area .coins-box .coins-input .input {
|
||||
height: 100%;
|
||||
border: none;
|
||||
outline: none;
|
||||
font-size: 14px;
|
||||
padding: 0 10px;
|
||||
}
|
||||
|
||||
.coins-area .coins-box .coins-input .btn {
|
||||
width: 84px;
|
||||
height: 100%;
|
||||
line-height: 36px;
|
||||
text-align: center;
|
||||
background-color: #50e3c2;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.coins-area .coins-box .coins-info {
|
||||
color: #555555;
|
||||
font-size: 14px;
|
||||
margin-bottom: 43px;
|
||||
}
|
||||
|
||||
.coins-area .coins-box .coins-info .icon {
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
margin-right: 6px;
|
||||
}
|
||||
|
||||
.coins-area .coins-box .coins-info .sum {
|
||||
font-family: "PingFangSC-Semibold", "PingFang SC Semibold", "PingFang SC", sans-serif;
|
||||
font-weight: 650;
|
||||
color: #000000;
|
||||
margin: 0 5px;
|
||||
}
|
||||
|
||||
.coins-area .coins-box .coins-info .strategy {
|
||||
margin-left: 5px;
|
||||
color: #026277;
|
||||
cursor: pointer;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.coins-area .coins-box .coins-list-area {
|
||||
max-height: 347px;
|
||||
background-color: #fbfbfb;
|
||||
border-radius: 16px;
|
||||
width: 100%;
|
||||
/* padding: 20px 20px 0; */
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.coins-area .coins-box .coins-list-area .coins-total {
|
||||
color: #7f7f7f;
|
||||
font-size: 14px;
|
||||
margin: 20px 20px 0;
|
||||
}
|
||||
|
||||
.coins-area .coins-box .coins-list-area .coins-total .sum {
|
||||
font-family: "PingFangSC-Semibold", "PingFang SC Semibold", "PingFang SC", sans-serif;
|
||||
font-weight: 650;
|
||||
color: #000000;
|
||||
margin: 0 5px;
|
||||
}
|
||||
|
||||
.coins-area .coins-box .coins-list-area .list {
|
||||
overflow: auto;
|
||||
margin: 0 20px;
|
||||
}
|
||||
|
||||
.coins-area .coins-box .coins-list-area .list .item {
|
||||
height: 65px;
|
||||
padding: 0 35px;
|
||||
}
|
||||
|
||||
.coins-area .coins-box .coins-list-area .list .item:not(:last-child) {
|
||||
border-bottom: 1px solid #f2f2f2;
|
||||
}
|
||||
|
||||
.coins-area .coins-box .coins-list-area .list .item .serial {
|
||||
font-family: "Arial-BoldMT", "Arial Bold", "Arial", sans-serif;
|
||||
font-weight: 700;
|
||||
font-style: normal;
|
||||
color: #ffb600;
|
||||
margin-right: 114px;
|
||||
}
|
||||
|
||||
.coins-area .coins-box .coins-list-area .list .item .user {
|
||||
color: #555555;
|
||||
font-size: 13px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.coins-area .coins-box .coins-list-area .list .item .user .avatar {
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
margin-right: 10px;
|
||||
border-radius: 50%;
|
||||
}
|
||||
|
||||
.coins-area .coins-box .coins-list-area .list .item .amount {
|
||||
color: #000000;
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
.coins-area .coins-box .coins-list-area .list .item .amount .text {
|
||||
font-size: 13px;
|
||||
margin-left: 2px;
|
||||
}
|
||||
</style>
|
||||
|
||||
<div class="coins-area flexcenter">
|
||||
<div class="coins-box flexcenter">
|
||||
<img class="fork closeCoinBox" src="https://app.gter.net/image/gter/commonCom/bi/img/fork-icon.png" />
|
||||
<div class="coins-head flexacenter">
|
||||
<img class="icon" src="https://app.gter.net/image/gter/commonCom/bi/img/bi.png" />
|
||||
<div class="text flexacenter">
|
||||
该帖子已获得
|
||||
<div class="sum"></div>
|
||||
个寄托币
|
||||
</div>
|
||||
</div>
|
||||
<div class="coins-input flexacenter">
|
||||
<input class="input flex1" type="number" placeholder="输入投币数" />
|
||||
<div class="btn coinSubmit">投币</div>
|
||||
</div>
|
||||
|
||||
<div class="coins-info flexacenter">
|
||||
<img class="icon" src="https://app.gter.net/image/gter/commonCom/bi/img/bi-black-icon.png" />
|
||||
你当前共有
|
||||
<div class="sum"></div>
|
||||
寄托币
|
||||
<a class="strategy" target="_blank" href="">[挣币攻略]</a>
|
||||
</div>
|
||||
|
||||
<div class="coins-list-area flexflex"></div>
|
||||
</div>
|
||||
</div>
|
||||
Reference in New Issue
Block a user