修改样式等相关文件

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

@ -49,11 +49,11 @@
} }
.title{ .title{
margin:0 auto; margin:0 auto;
margin-top: 20rpx; margin-top: 4rpx;
font-size: 28rpx; font-size: 28rpx;
color: #333; color: #333;
font-weight: 500; font-weight: 500;
line-height: 48rpx; line-height: 40rpx;
width: 300rpx; width: 300rpx;
overflow:hidden; overflow:hidden;
text-overflow:ellipsis; text-overflow:ellipsis;
@ -63,7 +63,7 @@
} }
.jianjie{ .jianjie{
margin:0 auto; margin:0 auto;
margin-top: 20rpx; margin-top: 10rpx;
font-size: 22rpx; font-size: 22rpx;
color: #666; color: #666;
line-height: 30rpx; line-height: 30rpx;

View File

@ -5,9 +5,9 @@
<text @click="viewMore">查看更多></text> <text @click="viewMore">查看更多></text>
</view> </view>
<view class="label"> <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> </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"> <swiper-item class="swiper-item list" v-for="(_, i) in classifyList" :key="i">
<!-- 最多显示3个 --> <!-- 最多显示3个 -->
<sitem :info="info" v-for="(info, index) in groupList.slice(0, 3)" :key="index"></sitem> <sitem :info="info" v-for="(info, index) in groupList.slice(0, 3)" :key="index"></sitem>
@ -79,7 +79,7 @@ export default {
background-color: #ffffff; background-color: #ffffff;
.top { .top {
padding: 0 30rpx; padding: 0 30rpx;
height: 90rpx; height:80rpx;
width: 100%; width: 100%;
display: flex; display: flex;
align-items: center; align-items: center;

View File

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

View File

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

View File

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

View File

@ -4,7 +4,7 @@
<view class="title">全部优惠券</view> <view class="title">全部优惠券</view>
<view class="view-more" @click="toCouponPage">查看更多></view> <view class="view-more" @click="toCouponPage">查看更多></view>
</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 }" --> <!-- :style="{ height: swiperHeight }" -->
<swiper :current="swiperCouponCurrent" @animationfinish="couponAnimationFinish" :style="{height: swiperHeight}"> <swiper :current="swiperCouponCurrent" @animationfinish="couponAnimationFinish" :style="{height: swiperHeight}">
<swiper-item class="swiper-coupon-item" v-for="(_, i) in couponGroupList" :key="i"> <swiper-item class="swiper-coupon-item" v-for="(_, i) in couponGroupList" :key="i">
@ -97,7 +97,7 @@ export default {
margin-bottom: 40rpx; margin-bottom: 40rpx;
.top { .top {
padding: 0 30rpx; padding: 0 30rpx;
height: 90rpx; height: 80rpx;
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: space-between; justify-content: space-between;

View File

@ -20,7 +20,7 @@
<!-- 服务协议 --> <!-- 服务协议 -->
<view class="pact"> <view class="pact">
<view> <view>
<view></view> <view style="padding-bottom: 10px;"></view>
<text>我已详细阅读并同意</text> <text>我已详细阅读并同意</text>
<text class="pact_text" v-for="(item,index) in pact_text" :key="index" @click="pact_click(index)"> {{item.text}} <text class="pact_text" v-for="(item,index) in pact_text" :key="index" @click="pact_click(index)"> {{item.text}}
</text> </text>
@ -432,6 +432,7 @@
position: relative; position: relative;
padding-left: 40rpx; padding-left: 40rpx;
overflow: hidden; overflow: hidden;
padding-bottom:10px
// overflow: hidden; // // overflow: hidden; //
// text-overflow: ellipsis; // // text-overflow: ellipsis; //
// white-space: nowrap; // // white-space: nowrap; //

View File

@ -1014,7 +1014,7 @@
], ],
"tabBar": { "tabBar": {
"color": "#999999", "color": "#999999",
"selectedColor": "#FFC023", "selectedColor": "#FF780F",
"borderStyle": "white", "borderStyle": "white",
"backgroundColor": "#ffffff", "backgroundColor": "#ffffff",
"list": [{ "list": [{

View File

@ -276,7 +276,7 @@
} }
.chengnuo { .chengnuo {
padding: 30rpx; padding:20rpx 30rpx;
background-color: #ffffff; background-color: #ffffff;
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
@ -302,7 +302,7 @@
.fenlei { .fenlei {
display: flex; display: flex;
flex-wrap: wrap; flex-wrap: wrap;
padding: 30rpx; padding: 10rpx 30rpx;
margin-bottom: 20rpx; margin-bottom: 20rpx;
background-color: #ffffff; background-color: #ffffff;
} }