1 Star 0 Fork 0

大步佬/img-link

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
index.less 1.57 KB
一键复制 编辑 原始数据 按行查看 历史
大步佬 提交于 2021-02-26 07:40 . 2021年2月26日07:40:17
#app {
// min-height: 100vh;
width: 100vw;
display: flex;
user-select: none;
}
* {
margin: 0;
right: 0;
box-sizing: border-box;
}
.tool-wrap {
width: 300px;
border-left: 1px solid #eee;
padding: 0 10px;
.showList-tool{
padding: 10px 0;
}
.rect-wrap{
max-height: 300px;
overflow-y: scroll;
.list-item{
border: 1px solid #000;
margin-bottom: 10px;
padding: 10px;
position: relative;
.delete{
position: absolute;
right: 5px;
top: 5px;
}
div{
padding-bottom: 5px;
}
}
}
}
.pic-wrap {
width: calc(100% - 300px);
min-width: 1000px;
// width;
height: 100vh;
background-color: #ccc;
overflow: scroll;
&::-webkit-scrollbar {
width: 10px;
}
/* 设置中间的小快 */
&::-webkit-scrollbar-thumb {
border-radius: 5px;
background-color: #333;
}
/* 设置滚动区背景 */
&::-webkit-scrollbar-track {
border-radius: 5px;
background-color: #fff;
}
.rect-item{
position: absolute;
font-size: 30px;
display:flex;
align-items: center;
justify-content:center;
}
.save-tool {
left: 0;
bottom: -40px;
position: absolute;
width: 100px;
}
.bg {
position: absolute;
left: 0;
right: 0;
bottom: 0;
top: 0;
background-color: rgba(0, 0, 0, .2);
}
.draw-wrap {
position: relative;
.draw-rect {
position: absolute;
border: 1px solid #f00;
}
img {
user-select: none;
pointer-events: none;
display: none;
}
}
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/k-wei/img-link.git
[email protected]:k-wei/img-link.git
k-wei
img-link
img-link
master

搜索帮助