Browse Source

[券列表][修改][劵没有显示原价的金额 ]

tags/福建版C.9.1.01
hurui 5 years ago
parent
commit
4dd6b25455
8 changed files with 26 additions and 15 deletions
  1. +3
    -3
      components/coupons/index.wxml
  2. +9
    -0
      components/coupons/index.wxss
  3. +1
    -1
      components/store/index.wxss
  4. +2
    -0
      pages/coupon/detail/index.wxss
  5. +2
    -3
      pages/couponorder/index/index.wxml
  6. +5
    -7
      pages/couponorder/index/index.wxss
  7. +1
    -1
      pages/index/searchbar/detail/index.wxml
  8. +3
    -0
      pages/index/searchbar/detail/index.wxss

+ 3
- 3
components/coupons/index.wxml View File

@@ -21,17 +21,17 @@
<view class="coupons-info-name subtitle">{{data.subTitle}}</view>
<view class="coupons-info-price-p">
<view class='price'>
<text wx:if="{{data.targetAd == 1||data.targetAd == 5}}"><text class='rmb'>¥</text><text class='num'>{{data.salePriceStr}}</text><text class='saleprice'></text></text>
<text wx:if="{{data.targetAd == 1||data.targetAd == 5}}"><text class='rmb'>¥</text><text class='num'>{{data.salePriceStr}}</text><text class='view02'>¥{{data.priceStr}}</text></text>
<text wx:if="{{data.targetAd == 2}}"><text class='saleprice'>抢购价</text><text class='rmb'>¥</text>{{data.salePriceStr}}</text>
<text wx:if="{{data.targetAd == 6}}"><text class='saleprice'>可砍至</text><text class='rmb'>¥</text>{{data.salePriceStr}}</text>
<text wx:if="{{data.targetAd == 7}}"><text class='saleprice'>拼团价</text><text class='rmb'>¥</text>{{data.salePriceStr}}</text>

<view class="coupons-info-manjian" style="margin-top:10rpx;" wx:if="{{data.type == 1}}">
<view class='view01' wx:if="{{data.unit==0}}">¥{{data.priceStr}}</view>
<!-- <view class='view01' wx:if="{{data.unit==0}}">¥{{data.priceStr}}</view> -->
<view wx:if="{{data.unit==1}}">{{data.priceStr}}小时</view>
</view>
<view class="coupons-info-manjian" wx:elif="{{data.type == 3||data.type==4||data.type==5}}">
<text class='view01' wx:if="{{data.unit==0}}">¥{{data.priceStr}}</text>
<!-- <text class='view01' wx:if="{{data.unit==0}}">¥{{data.priceStr}}</text> -->
<text wx:if="{{data.unit==1}}">{{data.priceStr}}小时</text>
</view>
</view>


+ 9
- 0
components/coupons/index.wxss View File

@@ -198,6 +198,15 @@
opacity: 0.6;
}

.view02{
font-size:20rpx;
line-height:34rpx;
text-decoration: line-through;
color: #999 !important;
font-weight:normal;
letter-spacing:0;
margin-left: 10rpx;
}
.view01 {
text-decoration: line-through;
color: #999 !important;


+ 1
- 1
components/store/index.wxss View File

@@ -42,7 +42,7 @@
text-overflow: ellipsis;
overflow: hidden;
}
.posi_logo view:nth-child(2) view:nth-child(1) {
.posi_logo view:nth-child(2) view {
font-size: 32rpx;
color: #333;
letter-spacing: 0;


+ 2
- 0
pages/coupon/detail/index.wxss View File

@@ -211,6 +211,8 @@ button::after {
margin-left: 10rpx;
color: #999 !important;
margin-top:8rpx;
height: 32rpx;
line-height: 45rpx;
}
.fl {
float: left;


+ 2
- 3
pages/couponorder/index/index.wxml View File

@@ -24,14 +24,13 @@
<view class='info'>
<view class='title'>
<text>{{item.title}}</text>
<text class='found' wx:if="{{item.autoRefund == 1}}">过期不退款</text>
</view>
<view class='expiretime fl'>
<text class="txt1">有效期至:</text>
<text class="txt2">{{item.expiredTime}}</text>
</view>
<view class='fr found'>
<text class="txt2" wx:if="{{item.autoRefund == 1}}">过期不退款</text>
</view>
<!-- <view class='subtitle'>
<text>{{item.subTitle}}</text>
</view> -->


+ 5
- 7
pages/couponorder/index/index.wxss View File

@@ -84,12 +84,10 @@ button::after{ border: none; }
margin-top: 10rpx;
}
.found{
color: red;
font-size: 26rpx;
margin-right: 20rpx;
height:60rpx;
line-height:60rpx;
margin-top: 10rpx;
color: red!important;
font-size: 26rpx!important;
line-height: 26rpx!important;
width: 200rpx!important;
}
.liness {
display: block;
@@ -127,7 +125,7 @@ button::after{ border: none; }
height: 32rpx;
color: #333;
letter-spacing: 0;
width: 400rpx;
width: 270rpx;
display: inline-block;
white-space: nowrap;
text-overflow: ellipsis;


+ 1
- 1
pages/index/searchbar/detail/index.wxml View File

@@ -98,7 +98,7 @@
<!-- 商户简介 -->
<view wx:elif="{{currentTab==1}}" class='dingdan' >
<image src="{{noMerchant}}" wx:if="{{!data.introduction}}" mode="widthFix"></image>
<text wx:if="{{data.introduction}}">{{data.introduction}}</text>
<text class='have' wx:if="{{data.introduction}}">{{data.introduction}}</text>
<text wx:if="{{!data.introduction}}">信息完善中,敬请期待~</text>
</view>
</view>


+ 3
- 0
pages/index/searchbar/detail/index.wxss View File

@@ -259,6 +259,9 @@ page{
text-align: center;
color: #999;
}
.have{
text-align: left!important;
}

.swiperactive {
min-height: 400rpx;


Loading…
Cancel
Save