Commit 72e2bf55 by 杨明

fixed

1 parent 00ce1349
......@@ -2,7 +2,7 @@
* @Author: 前端 qianduan01@didihu.com.cn
* @Date: 2023-05-15 15:08:01
* @LastEditors: yangming yangming@didihu.com.cn
* @LastEditTime: 2023-05-20 17:20:56
* @LastEditTime: 2023-05-20 17:50:00
* @FilePath: \scrm-micro-home\src\views\home\components\marketing\MarketingLeft.vue
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
......@@ -63,6 +63,7 @@ export default {
},
data() {
return {
activityInfo:{},
schemeListData: [],
dialogVisible: false,
themeList: [
......@@ -104,12 +105,13 @@ export default {
...mapActions('marketing', ['setActivityInfo', 'setSchemeListData']),
getView(val) {
this.$apis.activity.findActivityInfo({ activityId: val.id }).then(res => {
console.log(res)
if (res) {
this.dialogVisible = true
const activityCoupon = res.activityCouponBaseInfoDTOS || [],
selectedGoodsList = activityCoupon.filter(i => i.discountType == 8),
couponList = activityCoupon.filter(i => i.discountType != 8)
this.activityInfo = { ...res, selectedEquityList: res.serviceMerchantPackageConfigDTOList, couponList, selectedGoodsList }
this.dialogVisible = true
}
})
},
......
......@@ -2,7 +2,7 @@
* @Author: 前端 qianduan01@didihu.com.cn
* @Date: 2023-05-15 15:08:32
* @LastEditors: yangming yangming@didihu.com.cn
* @LastEditTime: 2023-05-20 16:31:54
* @LastEditTime: 2023-05-20 17:52:02
* @FilePath: \scrm-micro-home\src\views\home\components\Marketing\MarketingRight.vue
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
......@@ -13,13 +13,13 @@
<div class="review-content">
<div class="review-main">
<div class="review-bg-img">
<img :src="detail.backgroundImage" v-if="detail.backgroundImage"/>
<img :src="detail.backgroundImage" v-if="detail.backgroundImage" />
</div>
<div class="review-main-img">
<img :src="detail.detailImage" v-if="detail.detailImage" />
<img :src="detail.detailImage" v-if="detail.detailImage" />
</div>
<div class="review-logo-img">
<img :src="detail.merchantLog" v-if="detail.merchantLog"/>
<img :src="detail.merchantLog" v-if="detail.merchantLog" />
</div>
</div>
<div class="review-package">
......@@ -103,9 +103,11 @@ export default {
watch: {
activityInfo: {
handler(val) {
console.log(val)
this.detail = val
},
deep: true
deep: true,
immediate: true
}
}
}
......@@ -121,7 +123,7 @@ export default {
}
.review-title_top {
position: absolute;
top: 32px;
top: 38px;
left: 0px;
width: 100%;
text-align: center;
......@@ -132,8 +134,8 @@ export default {
width: calc(100% - 20px);
height: 535px;
overflow-y: auto;
top: 75px;
left: 12px;
top: 77px;
left: 13px;
.review-main {
position: relative;
.review-logo-img {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!