This commit is contained in:
cun-nan 2024-01-12 15:41:37 +08:00
parent 288de2b8ba
commit 66585d6d2c
2 changed files with 19 additions and 2 deletions

View File

@ -1150,7 +1150,7 @@ import {getUserInfoMobile, getUserVoMobile, getUserVoName} from "@/api/cashier/u
}
.wrap-box2{
background: #36b713 !important;
background: #30a1ff !important;
color: white;
//width: 100%;
//height: 100%;

View File

@ -196,10 +196,12 @@
<div class="wrap-box" v-for="item in payList"
:key="item.dictValue"
:value="item.dictValue"
:class="{ 'wrap-box2': item.dictValue === map.payType }"
@click="payMethod(item.dictValue)">
<span>{{ item.dictLabel }}</span>
</div>
<div class="wrap-box" >
<div class="wrap-box" value="credit"
:class="{ 'wrap-box2': 'credit' === map.payType }" >
<span @click="addCredits">挂账</span>
</div>
</div>
@ -1114,6 +1116,7 @@
},
//
addCredits(){
this.map.payType = "credit"
this.dialogVisibleCredit = true
this.form1.amount = this.oilAmount + this.goodsAmount
},
@ -3084,6 +3087,20 @@
margin-bottom: 10px;
}
.wrap-box2{
background: #30a1ff !important;
color: white;
//width: 100%;
//height: 100%;
//border-radius: 8px;
//height: 80px;
//display: flex;
//align-items: center;
//justify-content: center;
//border: 1px solid #20b400;
//cursor: pointer;
//color: #20b400;
}
.wrap-box :hover{
/*background: #00afff !important;*/
width: 100%;