浏览代码

[专题][修改]:[修改专题的样式]

tags/C.7.1.0
meo 6 年前
父节点
当前提交
74fc7dcdef
共有 2 个文件被更改,包括 7 次插入5 次删除
  1. +2
    -2
      pages/topicDetail/index.wxml
  2. +5
    -3
      pages/topicDetail/index.wxss

+ 2
- 2
pages/topicDetail/index.wxml 查看文件

@@ -16,7 +16,7 @@

<view class='contain clearfix'>
<!-- 优惠券 -->
<navigator wx:for="{{data.couponList}}" wx:key="{{index}}" data-couponId='{{item.couponId}}' data-type='{{item.type}}' data-couponChannelId='{{item.id}}' bindtap='gotoDetail'>
<view class='navigator' wx:for="{{data.couponList}}" wx:key="{{index}}" data-couponId='{{item.couponId}}' data-type='{{item.type}}' data-couponChannelId='{{item.id}}' bindtap='gotoDetail'>
<!-- 首页优惠券列表页面 -->
<view class="coupons1">
<view class="coupons1-img">
@@ -44,6 +44,6 @@
</view>
<!-- <view class="coupons1-border"></view> -->
</view>
</navigator>
</view>
</view>
</view>

+ 5
- 3
pages/topicDetail/index.wxss 查看文件

@@ -167,7 +167,7 @@
padding-top: 4rpx;
}

navigator {
.navigator {
display: block;
margin-bottom: 24rpx;
width: 344rpx;
@@ -181,11 +181,11 @@ navigator {
.active{
opacity: .6;
}
navigator:nth-of-type(2n) {
.navigator:nth-of-type(2n) {
float: right;
}

navigator:nth-of-type(2n+1) {
.navigator:nth-of-type(2n+1) {
float: left;
}

@@ -343,6 +343,7 @@ navigator:nth-of-type(2n+1) {
border-radius: 16rpx;
padding-bottom: 21rpx;
overflow: hidden;
height: 491rpx;
}

/* .coupons1-border {
@@ -457,6 +458,7 @@ navigator:nth-of-type(2n+1) {
text-overflow: ellipsis;
width: 300rpx;
color: #999;
height: 38rpx;
letter-spacing: 0;
}



正在加载...
取消
保存