提交 218d0d22 authored 作者: 王鹏飞's avatar 王鹏飞

style:优化知识点详情页样式

上级 b1a9a46a
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
<div class="tools"> <div class="tools">
<div class="inner"> <div class="inner">
<ul> <ul>
<li @click="toExamPage">知识点考</li> <li @click="toExamPage">去测</li>
</ul> </ul>
<ul> <ul>
<li @click="getCourseTag(detail.last)" v-if="detail.last">上一点</li> <li @click="getCourseTag(detail.last)" v-if="detail.last">上一点</li>
...@@ -123,16 +123,16 @@ export default { ...@@ -123,16 +123,16 @@ export default {
padding: 10px 0; padding: 10px 0;
font-size: 13px; font-size: 13px;
line-height: 22px; line-height: 22px;
img { ::v-deep img {
max-width: 100%; max-width: 100%;
} }
b { ::v-deep b {
font-weight: bold; font-weight: bold;
} }
} }
.tools { .tools {
margin-top: 5px; margin-top: 5px;
height: 34px; height: 50px;
padding-bottom: env(safe-area-inset-bottom); padding-bottom: env(safe-area-inset-bottom);
.inner { .inner {
position: fixed; position: fixed;
...@@ -141,20 +141,26 @@ export default { ...@@ -141,20 +141,26 @@ export default {
bottom: 0; bottom: 0;
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
height: 34px; align-items: center;
padding: 20px 20px 0; height: 50px;
padding: 0 20px;
padding-bottom: env(safe-area-inset-bottom); padding-bottom: env(safe-area-inset-bottom);
background-color: #fff;
box-shadow: 0px 0px 6px 0px rgba(0, 0, 0, 0.05);
}
ul {
font-size: 0;
} }
li { li {
display: inline-block; display: inline-block;
height: 24px; height: 35px;
margin-left: 10px; margin-left: 10px;
padding: 0 15px; padding: 0 30px;
font-size: 13px; font-size: 13px;
color: #fff; color: #fff;
line-height: 24px; line-height: 35px;
background: #67a8ff; background: #2b7ce9;
border-radius: 12px; border-radius: 6px;
white-space: nowrap; white-space: nowrap;
text-overflow: ellipsis; text-overflow: ellipsis;
overflow: hidden; overflow: hidden;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论