【功能修复】修复优惠券排版问题和页面交互问题
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
<!-- 装修营销组件:优惠券 -->
|
<!-- 装修营销组件:优惠券 -->
|
||||||
<template>
|
<template>
|
||||||
<scroll-view class="scroll-box" scroll-x scroll-anchoring :style="[bgStyle, { marginLeft: `${data.space}px` }]">
|
<scroll-view class="scroll-box" scroll-x scroll-anchoring :style="[bgStyle, { marginLeft: `${data.space}px` }]">
|
||||||
<view class="coupon-box ss-flex" :style="columns === 2 ? couponBoxStyleTwo : couponBoxStyleNormal">
|
<view class="coupon-box ss-flex" :style="couponList.length === 2 ? couponBoxStyleTwo : couponBoxStyleNormal">
|
||||||
<view class="coupon-item" :style="[couponBg, { marginLeft: `${data.space}px` }]"
|
<view class="coupon-item" :style="[couponBg, { marginLeft: `${data.space}px` }]"
|
||||||
v-for="(item, index) in couponList" :key="index">
|
v-for="(item, index) in couponList" :key="index">
|
||||||
<su-coupon :size="SIZE_LIST[columns - 1]" :textColor="data.textColor" background="" :couponId="item.id"
|
<su-coupon :size="SIZE_LIST[columns - 1]" :textColor="data.textColor" background="" :couponId="item.id"
|
||||||
|
|||||||
Reference in New Issue
Block a user