Commit 3ef67305 by 李伟康

修改打标签样式

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