【金掌桂2022年开门红需求】选择产品弹框-开门红版UI样式修改

This commit is contained in:
liyuetong
2021-11-16 15:07:55 +08:00
committed by bai.jinyan
parent 3020c7d6a6
commit 0342c2a770
8 changed files with 53 additions and 33 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.5 KiB

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 787 B

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 302 KiB

After

Width:  |  Height:  |  Size: 1.1 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 35 KiB

After

Width:  |  Height:  |  Size: 111 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 835 B

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 39 KiB

After

Width:  |  Height:  |  Size: 122 KiB

View File

@@ -33,14 +33,14 @@
</div> </div>
</div> </div>
<!-- <van-dialog v-model="active_show" :show-confirm-button="false" class="dialog_class" style="position: relative; overflow: visible;"> <van-dialog v-model="active_show" :show-confirm-button="false" class="dialog_class" style="position: relative; overflow: visible;">
<img class="icon_image" src="@/assets/images/kmh/close_bg.png" @click="active_show = false" /> <img class="icon_image" src="@/assets/images/kmh/close_bg.png" @click="active_show = false" />
<div class="pl20 pr20 mt30"> <div class="pl20 pr20 mt30">
<div class="flex justify-content-c align-items-c"> <!-- <div class="flex justify-content-c align-items-c">
<img class="icon_title_image" src="@/assets/images/kmh/title_bg.png" /> <img class="icon_title_image" src="@/assets/images/kmh/title_bg.png" />
</div> </div> -->
<van-radio-group v-model="active_radio" style="align-items: center;padding-top: 20px"> <van-radio-group v-model="active_radio" style="align-items: center;padding-top: 140px">
<van-radio name="1" class="radio_class ml60"> <van-radio name="1" class="radio_class ml50">
<template #icon="props"> <template #icon="props">
<img class="img-icon radio_icon_image" :src="props.checked ? checkedUrl : noCheckedUrl" /> <img class="img-icon radio_icon_image" :src="props.checked ? checkedUrl : noCheckedUrl" />
</template> </template>
@@ -48,7 +48,7 @@
<img class="icon_select_image" src="@/assets/images/kmh/kmh_pro.png" /> <img class="icon_select_image" src="@/assets/images/kmh/kmh_pro.png" />
</div> </div>
</van-radio> </van-radio>
<van-radio name="2" class="radio_class ml60"> <van-radio name="0" class="radio_class ml50">
<template #icon="props"> <template #icon="props">
<img class="img-icon radio_icon_image" :src="props.checked ? checkedUrl : noCheckedUrl" /> <img class="img-icon radio_icon_image" :src="props.checked ? checkedUrl : noCheckedUrl" />
</template> </template>
@@ -58,11 +58,12 @@
</van-radio> </van-radio>
</van-radio-group> </van-radio-group>
<div class="flex justify-content-c align-items-c click_buttons"> <div class="flex justify-content-c align-items-c click_buttons">
<img class="icon_click_image" src="@/assets/images/kmh/click_bg.png" @click="comfirmCheckActive('KMH')" /> --> <img class="icon_click_image" src="@/assets/images/kmh/click_bg.png" @click="comfirmCheckActive('KMH')" />
<!-- <img class="icon_click_image" src="@/assets/images/kmh/click_bg.png" @click="comfirmCheckActive('KMH')" /> -->
<!--<van-button type="danger" class="dialog-comfirm-button" @click="comfirmCheckActive" v-no-more-click="1000">确认</van-button>--> <!--<van-button type="danger" class="dialog-comfirm-button" @click="comfirmCheckActive" v-no-more-click="1000">确认</van-button>-->
<!-- </div>
</div> </div>
</van-dialog> --> </div>
</van-dialog>
<van-dialog v-model="active_sqy_show" :show-confirm-button="false" style="overflow: visible;"> <van-dialog v-model="active_sqy_show" :show-confirm-button="false" style="overflow: visible;">
<img class="icon_image_close" src="@/assets/images/kmh/close_bg.png" @click="active_sqy_show = false" /> <img class="icon_image_close" src="@/assets/images/kmh/close_bg.png" @click="active_sqy_show = false" />
<div class="pl20 pr20 mt30 mb10"> <div class="pl20 pr20 mt30 mb10">
@@ -100,7 +101,7 @@
<div class="flex justify-content-c align-items-c click_buttons"> <div class="flex justify-content-c align-items-c click_buttons">
<!--<img class="icon_click_image" src="@/assets/images/kmh/click_bg.png" @click="comfirmCheckActive" />--> <!--<img class="icon_click_image" src="@/assets/images/kmh/click_bg.png" @click="comfirmCheckActive" />-->
<!-- <van-button type="danger" class="dialog-comfirm-button" @click="comfirmCheckActive('SQY')" v-no-more-click="1000">确认</van-button> --> <!-- <van-button type="danger" class="dialog-comfirm-button" @click="comfirmCheckActive('SQY')" v-no-more-click="1000">确认</van-button> -->
<van-button type="danger" class="dialog-comfirm-button" @click="comfirmCheckActive()" v-no-more-click="1000">确认</van-button> <van-button type="danger" class="dialog-comfirm-button" @click="comfirmCheckActive('PRODUCT')" v-no-more-click="1000">确认</van-button>
</div> </div>
</div> </div>
</van-dialog> </van-dialog>
@@ -477,7 +478,11 @@ export default {
} }
] ]
this.activityList = this.activityList.concat(resultData.content) this.activityList = this.activityList.concat(resultData.content)
this.active_sqy_show = true if(resultData.content[0].isKmh == 'KMH'){
this.active_show = true
}else{
this.active_sqy_show = true //代表其他产品
}
return return
} }
//正常后续跳转流程 //正常后续跳转流程
@@ -497,9 +502,22 @@ export default {
}) })
}, },
//选择活动还是普通产品,弹框确认按钮 //选择活动还是普通产品,弹框确认按钮
// comfirmCheckActive(type) { comfirmCheckActive(type) {
comfirmCheckActive() { let param
let param = { if(type == 'KMH'){
param = {
orderDTO: {
orderInfoDTO: {
orderNo: this.$CacheUtils.getLocItem('orderNo'),
activeType: this.activityList[this.active_radio].isKmh,
activityCode: this.activityList[this.active_radio].activityCode,
cvaliDate : this.activityList[this.active_radio].cvaildateStr
// activeType: type=='KMH'?this.active_radio == '1'?'KMH':'':type=='SQY'?this.active_sqy_radio=='1'?'SQY':'':''
}
}
}
}else{
param = {
orderDTO: { orderDTO: {
orderInfoDTO: { orderInfoDTO: {
orderNo: this.$CacheUtils.getLocItem('orderNo'), orderNo: this.$CacheUtils.getLocItem('orderNo'),
@@ -510,6 +528,8 @@ export default {
} }
} }
} }
}
// 获取订单活动信息 // 获取订单活动信息
saveOrderActiveType(param).then(res => { saveOrderActiveType(param).then(res => {
@@ -587,7 +607,7 @@ export default {
} }
.radio_class { .radio_class {
height: 47px; height: 47px;
margin-bottom: 26px; margin-bottom: 10px;
} }
.dialog-comfirm-button { .dialog-comfirm-button {
width: 167px; width: 167px;
@@ -601,8 +621,8 @@ export default {
width: 19px; width: 19px;
height: 19px; height: 19px;
position: absolute; position: absolute;
right: 26px; right: 15px;
top: -22px; top: -30px;
} }
.icon_image_close { .icon_image_close {
width: 19px; width: 19px;
@@ -635,7 +655,7 @@ export default {
} }
.click_buttons { .click_buttons {
padding-top: 5px; padding-top: 5px;
padding-right: 10px; padding-right: 0px;
padding-bottom: 10px; padding-bottom: 10px;
} }
} }