Переглянути джерело

[c端][修改][积分商城筛选按钮样式]

tags/C.10.02
hurui 5 роки тому
джерело
коміт
b2827565f8
4 змінених файлів з 19 додано та 7 видалено
  1. +2
    -1
      components/advertisement/advertisement.wxss
  2. +7
    -6
      pages/integralmall/index.wxml
  3. +9
    -0
      pages/integralmall/index.wxss
  4. +1
    -0
      pages/integralmall/payIntegcoupondetail/index.wxss

+ 2
- 1
components/advertisement/advertisement.wxss Переглянути файл

@@ -12,12 +12,13 @@
position:relative;
}
.b2{
width: 90%;
/* width: 90%; */
margin:45% auto;
overflow: hidden;
border-radius: 10rpx;
}
.t_image{
width: 80%;
border-radius: 16rpx;
display: block;
margin: 0 auto;


+ 7
- 6
pages/integralmall/index.wxml Переглянути файл

@@ -34,13 +34,10 @@
<image src="{{erweima}}" class='qrcodeimg' mode='widthFix' bindtap='qrcodeH'></image>
</view>
</view>
</view>
<view class='sort'>
<view bindtap='canSort'>我可换购</view>
<view class='need' bindtap='need'>
<view bindtap='canSort' hover-class="btn-hover">我可换购</view>
<view class='need' bindtap='need' hover-class="btn-hover">
<text>所需积分</text>
<image wx:if="{{sort }}" src='{{sort}}' moda="aspectFill" ></image>
</view>
@@ -61,12 +58,16 @@
<view class='price01'>
<view class='price-num'>{{item.creditPrice}}</view>
<view class='price-unit'>积分</view>
<!-- <view class='more' wx:if="{{item.salePrice!=0}}">+</view>
<view class='price-num' wx:if="{{item.salePrice!=0}}">{{item.salePrice}}</view>
<view class='price-unit' wx:if="{{item.salePrice!=0}}">元</view> -->
<view class='price02'>{{'原价 '+item.priceStr+'元'}}</view>
</view>
</view>
</view>
<view class='spell-right'>
<view class='right-button' wx:if="{{item.remainInventory!=0}}">立即换购</view>
<view class='right-button' wx:if="{{item.salePrice!=0}}">立即购买</view>
<view class='right-button' wx:if="{{item.salePrice==0&&item.remainInventory!=0}}">立即换购</view>
<view class='right-button remainInventory' wx:if="{{item.remainInventory==0}}">立即换购</view>
<!-- <view class='right-text'>剩余{{item.remainInventory}}</view> -->
</view>


+ 9
- 0
pages/integralmall/index.wxss Переглянути файл

@@ -291,6 +291,10 @@ image{
.content .price-num{
display: inline;
}
.more{
display: inline;
margin-left: -10rpx;
}
.content .price-unit{
display: inline;
font-size:24rpx;
@@ -494,4 +498,9 @@ button::after{ border: none; }
margin-left:5rpx;
width: 40rpx;
height: 40rpx;
}
.btn-hover{
position: relative;
top: 3rpx;
box-shadow:0px 0px 8px #999 inset;
}

+ 1
- 0
pages/integralmall/payIntegcoupondetail/index.wxss Переглянути файл

@@ -253,6 +253,7 @@ page {
font-family:PingFang-SC-Medium;
font-weight:500;
color:#FD782D;
line-height:44rpx;
}
.detail-bottom{
border-top: 1rpx solid #F9F9F9;


Завантаження…
Відмінити
Зберегти