浏览代码

[浮层广告][修改][样式]

tags/C.10.02
hurui 5 年前
父节点
当前提交
96ac767d2f
共有 2 个文件被更改,包括 7 次插入8 次删除
  1. +2
    -2
      components/advertisement/advertisement.wxml
  2. +5
    -6
      components/advertisement/advertisement.wxss

+ 2
- 2
components/advertisement/advertisement.wxml 查看文件

@@ -2,8 +2,8 @@
<view class="b1" hidden="{{flag}}">
<view class="t_w">
<view class="b2" animation="{{alphaData}}">
<icon type="cancel" size="40" color="#fff" class='cancel_icon' bindtap="closeGg"/>
<view class='line'></view>
<icon type="cancel" size="30" color="#fff" class='cancel_icon' bindtap="closeGg"/>
<!-- <view class='line'></view> -->
<image class="t_image" data-data="{{ggdata}}" mode='widthFix' src="{{ggdata.coverImg}}" bindtap="gotoGg" data-couponChannelId="{{ggdata.produceId}}" />
</view>
</view>


+ 5
- 6
components/advertisement/advertisement.wxss 查看文件

@@ -12,27 +12,26 @@
position:relative;
}
.b2{
/* width: 90%; */
margin:45% auto;
margin:40% auto;
overflow: hidden;
border-radius: 10rpx;
}
.t_image{
width: 80%;
width: 70%;
border-radius: 16rpx;
display: block;
margin: 0 auto;
}
.cancel_icon{
position: absolute;
right: 300rpx;
bottom: -200rpx;
right: 60rpx;
top: -40rpx;
}
.line{
width:2rpx;
height: 75rpx;
background: #fff;
position: absolute;
right: 340rpx;
right: 370rpx;
bottom: -125rpx;
}

正在加载...
取消
保存