|
@@ -14,9 +14,8 @@
|
|
|
<div v-else class="materialInfoBody">
|
|
|
<div
|
|
|
v-for="item in opCompentDataList"
|
|
|
- :class="
|
|
|
- item.needNum - item.realNum == 0 ? 'infoMsg infoMsgImg' : 'infoMsg'
|
|
|
- "
|
|
|
+ :class="[item.needNum - item.realNum === 0 ? 'infoMsg infoMsgImg blueBgClass' : 'infoMsg whiteBgClass']"
|
|
|
+
|
|
|
@click="toXQPop(item)"
|
|
|
>
|
|
|
<div class="leftMsg">
|
|
@@ -172,11 +171,21 @@ onMounted(() => {
|
|
|
background-image: url("@/assets/images/caijiwancheng.png");
|
|
|
background-position: right top;
|
|
|
background-repeat: no-repeat;
|
|
|
+ background-size: 100px 100px;
|
|
|
+
|
|
|
+ }
|
|
|
+
|
|
|
+ .blueBgClass {
|
|
|
+ background-color: #64bb5c;
|
|
|
+ }
|
|
|
+
|
|
|
+ .whiteBgClass {
|
|
|
+ background-color: #ffffff;
|
|
|
}
|
|
|
|
|
|
.infoMsg {
|
|
|
height: 190px;
|
|
|
- background-color: white;
|
|
|
+
|
|
|
border-radius: 16px;
|
|
|
display: flex;
|
|
|
padding: $p20;
|