代码语言:javascript复制
<div class="fc">
<div class="fc_box">
<div class="fc_c">
<p class="fc_t ovf"><span>预约挂号</span><span>只显示可预约</span></p>
<div class="fc_b">
<div><span >解放军总医院</span><span>皮肤科</span><img src="images/shou.png" alt=""></div>
<ul class="fc_b1">
<li>
<p>4月24号(周三)上午</p>
<p class="kyy">可预约</p>
</li>
<li>
<p>4月24号(周三)下午</p>
<p class="ym">约满</p>
</li>
<li>
<p>4月25号(周四)上午</p>
<p class="kyy">可预约</p>
</li>
</ul>
<div><span>泰安市中医医院 </span><span>皮肤科</span><img src="images/shou.png" alt=""></div>
<ul class="fc_b2">
<li>
<p>4月27号(周六)上午</p>
<p class="ym">约满</p>
</li>
<li>
<p>4月27号(周六)下午</p>
<p class="ym">约满</p>
</li>
</ul>
</div>
</div>
</div>
</div>
<div class="foot">
<div class="foot_b main ovf">
<div><img src="images/gz.png" alt=""><p>关注</p></div>
<div>
<p class="yy">预约</p>
<p class="zx"><a href="chat.html">咨询</a></p>
</div>
</div>
</div>
代码语言:javascript复制.fc{ position: fixed; width: 100%; height: 100%; top: 0; bottom:0; left: 0; right:0; background: rgba(17, 17, 17, 0.35); z-index: 1000; display: none; max-width: 640px; }
.fc_box { width: 100%; height: 62%; z-index: 100; max-width: 640px; position: fixed; padding: 0.6rem 0.5rem 0 0.6rem; bottom: 0; animation: myfirst 0.5s; background: #ffffff; -webkit-animation: myfirst 0.5s; }
@keyframes myfirst { from { height: 0; } to { height: 62%; } }
.h { transition: height 1s linear; animation: mytwo 1s !important; -webkit-animation: mytwo 1s !important; -webkit-transition: height 1s linear; -moz-transition: height 1s linear; -ms-transition: height 1s linear; -o-transition: height 1s linear; }
@keyframes mytwo { from { height: 62%; } to { height: 0; } }
.fc_t span:nth-child(1){ color: #101010; font-size: 0.7rem; }
更多内容请见原文,原文转载自:https://blog.csdn.net/weixin_44519496/article/details/120074305