<cover-view class="myModal" catchtouchmove="touchMove"> <cover-view class="box havePadding" wx:if="{{type === 'text'}}"> <cover-view class="text" wx:for="{{text}}" wx:key="{{index}}"> <cover-view class="{{item.type === 'bigOrange' ? 'orange' : 'normal'}}"> {{item.text}} </cover-view> </cover-view> <cover-view class="btn" bindtap="confirm">{{btnText}}</cover-view> </cover-view> <cover-view class="box" wx:if="{{type === 'image'}}"> <!-- <cover-view class="text" wx:for="{{text}}"></cover-view> --> <cover-image class="paySuccessImg" src="../../static/image/pay_success.png"></cover-image> <cover-view class="paySuccess">恭喜您支付成功</cover-view> <cover-view class="btn" bindtap="confirm">确定</cover-view> </cover-view> <cover-image class="close" src="../../static/groupImg/cha.png" bindtap="close" wx:if="{{isCloseShow}}"> <!-- <cover-image src="" /> --> </cover-image> </cover-view>