vue菜单添加选择删除效果代码

代码语言:html

所属分类:其他

代码描述:vue菜单添加选择删除效果代码

代码标签: vue 菜单 添加 选择 删除

下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开

<!DOCTYPE html>
<html lang="en" >

<head>

  <meta charset="UTF-8">
  

  
  
  
<style>
@import url("https://fonts.googleapis.com/css?family=Open+Sans:300,400,700,800");
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

body {
  background-color: #2ACA71;
  font-family: "Open Sans", sans-serif;
  padding-top: 10px;
}

.container {
  background-color: #D9D9D9;
  margin: 0 auto;
  width: 340px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
}

header {
  background-color: #2ACA71;
  color: #fff;
  display: flex;
  justify-content: center;
  padding: 25px 15px;
  border-bottom: 1px solid #ceb7c4;
}
header h1 {
  font-weight: 300;
}

.settings {
  display: flex;
  width: 100%;
  padding: 15px 15px;
  background-color: #fafafa;
  color: #6B6B6B;
  justify-content: space-between;
  align-items: center;
  border-bottom: 5px solid #BDBDBD;
  position: relative;
}
.settings .full-cart {
  bottom: -5px;
  left: 0;
  position: absolute;
  content: "";
  height: 5px;
  background-color: #3D6464;
  transition: all 0.5s;
}
.settings .full-cart.fulled {
  background-color: #1d8b4e;
  height: 6px;
}
.settings .count-list {
  display: flex;
  align-items: center;
  border-right: 3px solid #6B6B6B;
  padding-right: 10px;
}
.settings .count-list svg {
  height: 20px;
  width: 20px;
  margin-right: 5px;
}
.settings .count-list span {
  font-size: 1em;
}
.settings .form-new-item {
  width: 60%;
}
.settings .form-new-item input {
  outline: none;
  border: none;
  width: 60%;
  font-size: 1em;
  color: #6B6B6B;
  background-color: #fafafa;
}
.settings .form-new-item button {
  background: none;
  border: none;
  outline: none;
  font-size: 1em;
  font-weight: 700;
  color: #1BC768;
  cursor: pointer;
  border-bottom: 2px solid #BDBDBD;
}

.content-list {
  padding: 20px 15px;
}
.content-list .item {
  background-color: #fafafa;
  border: 1px solid #BDBDBD;
  padding: 20px 15px;
  display: flex;
  justify-content: space-between;
.........完整代码请登录后点击上方下载按钮下载查看

网友评论0