Commit 3ef67305 by 李伟康

修改打标签样式

1 parent ffe3e168
......@@ -49,7 +49,7 @@
<template v-for="(tag, ids) in item.taggingList">
<div
:key="ids"
:class="{ tag: true, active: tag.isChecked || tag.disabled }"
:class="[ 'text-center', 'tag',{ active: tag.isChecked || tag.disabled }]"
@click="chooseTag(index, ids)"
>{{ tag.taggingName }}</div>
</template>
......@@ -68,12 +68,19 @@
class="reset"
@click="reset"
>重置</div>
<van-button
class="my-pop-button"
round
color="#3975C6"
@click="handleTag"
>打标签</van-button>
<div class="flex">
<van-button
class="my-pop-cancel-button"
@click="toggle"
round
>取消</van-button>
<van-button
class="my-pop-button"
round
color="#3975C6"
@click="handleTag"
>打标签({{checkAll.length}})</van-button>
</div>
</div>
</div>
</template>
......@@ -303,16 +310,14 @@ export default {
display: flex;
align-items: center;
flex-wrap: wrap;
gap: 10px 12px;
.tag {
padding: 4px 12px;
font-size: 14px;
font-weight: 400;
color: #666666;
line-height: 20px;
background: #eeeeee;
border-radius: 14px;
margin-left: 12px;
margin-bottom: 10px;
}
.active {
color: #3975c6;
......@@ -326,10 +331,14 @@ export default {
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 16px;
position: absolute;
bottom: 20px;
position: sticky;
box-sizing: border-box;
height: 56px;
bottom: 0;
padding: 0 16px;
z-index: 2;
background-color: #fff;
box-shadow: 0px 0px 0px 0px #e9e9e9;
.reset {
font-size: 16px;
font-weight: 600;
......@@ -340,26 +349,38 @@ export default {
font-size: 14px;
font-weight: 400;
color: #ffffff;
line-height: 20px;
width: 148px;
height: 36px;
box-shadow: 0px 2px 4px 0px rgba(88, 80, 255, 0.3);
}
.my-pop-cancel-button {
font-size: 14px;
font-weight: 400;
width: 140px;
height: 36px;
background: #ffffff;
border-radius: 100px;
border: 1px solid #dcdee0;
margin-right: 8px;
}
}
.close-container {
display: flex;
position: relative;
padding: 12px 16px 12px 41px;
padding: 12px 9px;
// padding: 12px 9px 12px 41px;
flex-wrap: wrap;
background-color: #f7f7f7;
position: sticky;
top: 0;
z-index: 2;
.nav-icon {
width: 19px;
height: 17px;
position: absolute;
left: 16px;
top: 16px;
img {
width: 100%;
}
position: relative;
left: 7px;
top: 4px;
margin-right: 15px;
}
.close-tag {
padding: 4px 25px 4px 12px;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!