浏览代码

[成长值样式的修改]

tags/广东版3.2.2
meo 6 年前
父节点
当前提交
ed3e96e8f0
共有 2 个文件被更改,包括 6 次插入3 次删除
  1. +2
    -1
      pages/czdetail/czdetail.wxml
  2. +4
    -2
      pages/czdetail/czdetail.wxss

+ 2
- 1
pages/czdetail/czdetail.wxml 查看文件

@@ -20,7 +20,8 @@
<text>{{item.createDate}}</text> <text>{{item.createDate}}</text>
</view> </view>
<view class='fr'> <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> <text wx:if="{{0>=item.scoreAmount}}">{{item.scoreAmount}}分</text>
</view> </view>
</view> </view>


+ 4
- 2
pages/czdetail/czdetail.wxss 查看文件

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


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


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


正在加载...
取消
保存