修改样式等相关文件

This commit is contained in:
Niujiawei
2020-08-05 21:39:02 +08:00
parent ef4a4010ff
commit 361e9a76fd
9 changed files with 18 additions and 17 deletions

View File

@@ -5,9 +5,9 @@
<text @click="viewMore">查看更多></text>
</view>
<view class="label">
<u-tabs-swiper ref="group" :list="classifyList" name="gc_name" :is-scroll="true" active-color="#FF780F" :current="current" font-size="24" :show-bar="false" @change="tabsChange" height="88"></u-tabs-swiper>
<u-tabs-swiper ref="group" :list="classifyList" name="gc_name" :is-scroll="true" active-color="#FF780F" :current="current" font-size="24" :show-bar="false" @change="tabsChange" height="60"></u-tabs-swiper>
</view>
<swiper :current="swiperCurrent" @animationfinish="animationfinish" style="height: 130px">
<swiper :current="swiperCurrent" @animationfinish="animationfinish" style="height: 168px">
<swiper-item class="swiper-item list" v-for="(_, i) in classifyList" :key="i">
<!-- 最多显示3个 -->
<sitem :info="info" v-for="(info, index) in groupList.slice(0, 3)" :key="index"></sitem>
@@ -79,7 +79,7 @@ export default {
background-color: #ffffff;
.top {
padding: 0 30rpx;
height: 90rpx;
height:80rpx;
width: 100%;
display: flex;
align-items: center;

View File

@@ -47,8 +47,8 @@ export default {
width: 210rpx;
overflow: hidden;
.head{
width: 210rpx;
height: 131rpx;
width: 100%;
height: 180rpx;
border-radius: 6rpx;
}
.title{
@@ -66,7 +66,7 @@ export default {
> view:first-child{
font-size: 26rpx;
color: #FF3131;
margin-bottom: 4rpx;
margin-bottom: 12rpx;
}
> view:last-child{
font-size: 22rpx;

View File

@@ -85,7 +85,7 @@ export default {
}
}
.connect{
padding: 30rpx;
padding:10rpx 30rpx 30rpx;
display: flex;
align-items: center;
.user {

View File

@@ -26,7 +26,7 @@ export default {
align-items: center;
flex-direction: column;
width: 20%;
margin-bottom: 20rpx;
margin-bottom:34rpx;
>image{
width: 80rpx;
height: 80rpx;

View File

@@ -4,7 +4,7 @@
<view class="title">全部优惠券</view>
<view class="view-more" @click="toCouponPage">查看更多></view>
</view>
<u-tabs-swiper ref="coupon" :list="couponGroupList" name="gc_name" :is-scroll="true" active-color="#FF780F" :current="couponCurrent" font-size="24" :show-bar="false" @change="couponTabsChange" height="88" ></u-tabs-swiper>
<u-tabs-swiper ref="coupon" :list="couponGroupList" name="gc_name" :is-scroll="true" active-color="#FF780F" :current="couponCurrent" font-size="24" :show-bar="false" @change="couponTabsChange" height="60" ></u-tabs-swiper>
<!-- :style="{ height: swiperHeight }" -->
<swiper :current="swiperCouponCurrent" @animationfinish="couponAnimationFinish" :style="{height: swiperHeight}">
<swiper-item class="swiper-coupon-item" v-for="(_, i) in couponGroupList" :key="i">
@@ -97,7 +97,7 @@ export default {
margin-bottom: 40rpx;
.top {
padding: 0 30rpx;
height: 90rpx;
height: 80rpx;
display: flex;
align-items: center;
justify-content: space-between;