<view class="{{ismy == 'ismy' ?'servertext2':'servertext'}}">
</view>
<view class="{{ptype=='好评'?'assess':ptype=='中评'?'commMiddle':'commBad'}}" >
<text class="inner">{{assess}}</text>
</view>
<view class="{{ismy == 'ismy' ?'servertext2':'servertext'}}">
</view>
<view class="{{ptype=='好评'?'assess':ptype=='中评'?'commMiddle':'commBad'}}" >
<text class="inner">{{assess}}</text>
</view>
本文标题:小程序三元表达式,四元表达式
本文链接:https://www.haomeiwen.com/subject/sxacphtx.html
网友评论