no message

This commit is contained in:
A1300399510 2024-11-11 18:22:24 +08:00
parent 0f332fd82e
commit 37c6d21f45
3 changed files with 56 additions and 5 deletions

View File

@ -273,3 +273,25 @@
margin-bottom: 10px;
cursor: pointer;
}
.base {
width: 360px;
border-radius: 153px;
border: 1px solid #dbe0f2;
background: linear-gradient(to right, #eef7f5, #dbe3fd);
font-size: 15px;
color: #000000;
}
.base .btn {
line-height: 50px;
margin: 0 24px;
cursor: pointer;
}
.base .btn .img {
height: 20px;
margin-right: 6px;
}
.base .line {
width: 1px;
height: 20px;
background-color: #d7d7d7;
}

View File

@ -298,3 +298,29 @@
}
}
}
.base {
width: 360px;
border-radius: 153px;
border: 1px solid rgb(219, 224, 242);
background: linear-gradient(to right, rgb(238, 247, 245), rgb(219, 227, 253));
font-size: 15px;
color: #000000;
.btn {
line-height: 50px;
margin: 0 24px;
cursor: pointer;
.img {
height: 20px;
margin-right: 6px;
}
}
.line {
width: 1px;
height: 20px;
background-color: rgb(215, 215, 215);
}
}

View File

@ -53,7 +53,7 @@
<div v-else-if="item.contraststatus?.status === 0 || item.contraststatus?.ismanage === 0" @click="openMoreSelect(index)" class="circle flexcenter">
<img class="img-dot" src="/img/dot-dot-dot.png" />
</div>
<div v-else class="circle flexcenter" :class="'add' + item.random" @click="handleClick('list',item,index)">
<div v-else class="circle flexcenter" :class="'add' + item.random" @click="handleClick(item,index)">
<img class="img-add" src="/img/add-thick.svg" />
</div>
<div v-if="item.moreState" class="select-mask" @click="closeMoreSelectAll()"></div>
@ -62,7 +62,7 @@
<div class="dot"></div>
{{ item.contraststatus?.status == 1 ? '该项目已加入对比单,未加入项目管理' : '该项目已加入项目管理,未加入对比单' }}
</div>
<div class="btn flexcenter" @click="handleClick('list',item,index)"><img class="img" src="/img/add-circle.svg" />加入{{ item.contraststatus?.status == 1 ? '项目管理' : '对比单' }}</div>
<div class="btn flexcenter" @click="handleClick(item,index)"><img class="img" src="/img/add-circle.svg" />加入{{ item.contraststatus?.status == 1 ? '项目管理' : '对比单' }}</div>
</div>
</div>
<div class="name flexflex">{{ item.name_zh }}</div>
@ -111,7 +111,11 @@
</div>
</div>
<!-- 底部 -->
<base-bottom ref="baseRef"></base-bottom>
<div class="base flexcenter">
<div class="btn flexacenter"><img class="img" src="/img/contrast-icon.png" />项目对比</div>
<div class="line"></div>
<div class="btn flexacenter"><img class="img" src="/img/manage-icon.png" />项目管理</div>
</div>
</div>
<script>
const { createApp, ref, onMounted, nextTick, onUnmounted, computed } = Vue
@ -209,9 +213,8 @@
}
// 点击事件
const handleClick = (item, index, i) => {
const handleClick = (item, index) => {
const random = item.random
if (item.status == 1) return
$ajax("/api/project.contrast/add", {
projectid: item.id,