| @@ -11,12 +11,14 @@ | |||||
| <view class='price'> | <view class='price'> | ||||
| <text>{{data.salePriceStr}}<text style="font-size:24rpx;display:inline-block;margin-right:10rpx;">元</text></text> | <text>{{data.salePriceStr}}<text style="font-size:24rpx;display:inline-block;margin-right:10rpx;">元</text></text> | ||||
| <view class="coupons-info-manjian" style="margin-top:10rpx;" wx:if="{{data.type == 1}}"> | <view class="coupons-info-manjian" style="margin-top:10rpx;" wx:if="{{data.type == 1}}"> | ||||
| <text>{{data.priceStr}}元</text> | |||||
| <text>满{{data.usePriceStr}}元可用</text> | |||||
| <view class='view01' wx:if="{{data.unit==0}}">{{data.priceStr}}元</view> | |||||
| <view wx:if="{{data.unit==1}}">{{data.priceStr}}小时</view> | |||||
| <text class='txt2'>满{{data.usePriceStr}}元可用</text> | |||||
| </view> | </view> | ||||
| <view class="coupons-info-manjian" wx:elif="{{data.type == 2||data.type == 3||data.type==4||data.type==5}}"> | <view class="coupons-info-manjian" wx:elif="{{data.type == 2||data.type == 3||data.type==4||data.type==5}}"> | ||||
| <text>{{data.priceStr}}元</text> | |||||
| <text>仅限本店使用</text> | |||||
| <text class='view01' wx:if="{{data.unit==0}}">{{data.priceStr}}元</text> | |||||
| <text wx:if="{{data.unit==1}}">{{data.priceStr}}小时</text> | |||||
| <text class='txt2'>仅限本店使用</text> | |||||
| </view> | </view> | ||||
| </view> | </view> | ||||
| <view class="coupons-info-manjian1">{{data.merchantName}}</view> | <view class="coupons-info-manjian1">{{data.merchantName}}</view> | ||||
| @@ -170,13 +170,15 @@ | |||||
| display: block; | display: block; | ||||
| line-height: 20rpx; | line-height: 20rpx; | ||||
| } | } | ||||
| .coupons-info-manjian text:nth-of-type(1){ | |||||
| .coupons-info-manjian > text:nth-of-type(1){ | |||||
| display: block; | display: block; | ||||
| text-decoration:line-through; | |||||
| color: #FF4949; | |||||
| /* color: #FF4949; */ | |||||
| opacity: .6; | opacity: .6; | ||||
| } | } | ||||
| .coupons-info-manjian text:nth-of-type(2){ | |||||
| .view01{ | |||||
| text-decoration:line-through; | |||||
| } | |||||
| .txt2{ | |||||
| display: block; | display: block; | ||||
| color: #ccc; | color: #ccc; | ||||
| } | } | ||||
| @@ -34,7 +34,8 @@ | |||||
| <view class="fl">售价: | <view class="fl">售价: | ||||
| <text class="pri01">{{data.salePriceStr}}</text> | <text class="pri01">{{data.salePriceStr}}</text> | ||||
| <text class="yuan">元</text> | <text class="yuan">元</text> | ||||
| <text class='throgh'>{{data.priceStr}}元</text> | |||||
| <text class='throgh' wx:if="{{data.unit==0}}">{{data.priceStr}}元</text> | |||||
| <text wx:if="{{data.unit==1}}">{{data.priceStr}}小时</text> | |||||
| </view> | </view> | ||||
| <text class="restNum fr">剩余<text>{{data.remainInventory}}件</text></text> | <text class="restNum fr">剩余<text>{{data.remainInventory}}件</text></text> | ||||
| </view> | </view> | ||||
| @@ -8,8 +8,8 @@ | |||||
| <view class="time">{{data.subTitle}}</view> | <view class="time">{{data.subTitle}}</view> | ||||
| <view class="money"> | <view class="money"> | ||||
| <text>¥{{data.salePrice/100}}</text> | <text>¥{{data.salePrice/100}}</text> | ||||
| <!-- <del>{{data.price/100}}小时</del> --> | |||||
| <del>{{data.price/100}}小时</del> | |||||
| <del wx:if="{{data.unit==0}}">{{data.price/100}}元</del> | |||||
| <text class='txt02' wx:if="{{data.unit==1}}">{{data.price/100}}小时</text> | |||||
| <text wx:if="{{data.usePrice!=undefined}}" class="manjian">满{{data.usePrice/100}}元可用</text> | <text wx:if="{{data.usePrice!=undefined}}" class="manjian">满{{data.usePrice/100}}元可用</text> | ||||
| <text wx:if="{{data.usePrice==undefined}}" class="manjian">仅限本店使用</text> | <text wx:if="{{data.usePrice==undefined}}" class="manjian">仅限本店使用</text> | ||||
| </view> | </view> | ||||
| @@ -153,6 +153,11 @@ | |||||
| text-decoration: line-through; | text-decoration: line-through; | ||||
| margin-left: 20rpx; | margin-left: 20rpx; | ||||
| } | } | ||||
| .money .txt02 { | |||||
| color: #999; | |||||
| font-size: 26rpx; | |||||
| margin-left: 20rpx; | |||||
| } | |||||
| .clearfix:after { | .clearfix:after { | ||||
| content: "."; | content: "."; | ||||