docs: update

This commit is contained in:
就眠儀式 2022-03-18 17:23:18 +08:00
parent cc88c3a60c
commit d0f3b9dd70
2 changed files with 25 additions and 3 deletions

View File

@ -71,9 +71,31 @@
</div>
</a>
</div>
<div class="layui-col layui-col-md6">
<a href="https://github.com/buuing/lucky-canvas">
<div class="project-list-item">
<img
class="project-list-item-cover"
src="https://gw.alipayobjects.com/zos/rmsportal/iZBVOIhGJiAnhplqjvZW.png"
/>
<div class="project-list-item-body">
<h2>Lucky-Canvas</h2>
<div class="project-list-item-text layui-text">
转盘 / 九宫格 / 老虎机 / 抽奖插件
</div>
<div class="project-list-item-desc">
<span class="time">几秒前</span>
<div class="ew-head-list"></div>
</div>
</div>
</div>
</a>
</div>
</div>
</div>
</template>
lucky-canvas
<style>
.alone-banner {

View File

@ -17,7 +17,7 @@ slotsChange.value = !slotsChange.value;
</script>
<template>
<li :class="[active === id ? 'layui-this' : '']">
<slot></slot>
</li>
<li :class="[active === id ? 'layui-this' : '']">
<slot></slot>
</li>
</template>