Quellcode durchsuchen

[成长值样式的修改]

tags/广东版3.2.2
meo vor 6 Jahren
Ursprung
Commit
ed3e96e8f0
2 geänderte Dateien mit 6 neuen und 3 gelöschten Zeilen
  1. +2
    -1
      pages/czdetail/czdetail.wxml
  2. +4
    -2
      pages/czdetail/czdetail.wxss

+ 2
- 1
pages/czdetail/czdetail.wxml Datei anzeigen

@@ -20,7 +20,8 @@
<text>{{item.createDate}}</text>
</view>
<view class='fr'>
<text wx:if="{{item.scoreAmount>0}}">+{{item.scoreAmount}}分</text>
<text wx:if="{{item.scoreAmount>0&&item.scoreType==8}}">重置为{{item.scoreAmount}}分</text>
<text wx:if="{{item.scoreAmount>0&&item.scoreType!=8}}">+{{item.scoreAmount}}分</text>
<text wx:if="{{0>=item.scoreAmount}}">{{item.scoreAmount}}分</text>
</view>
</view>


+ 4
- 2
pages/czdetail/czdetail.wxss Datei anzeigen

@@ -78,14 +78,16 @@

.content>view:nth-of-type(2n+1) {
float: left;
width: 68%;
width: 60%;
height: 145rpx;
overflow: hidden;
}

.content>view:nth-of-type(2n) {
width: 30%;
width: 38%;
float: right;
text-align: right;
height: 145rpx;
line-height: 145rpx;
overflow: hidden;
}


Laden…
Abbrechen
Speichern