<button bindtap="getUserProfile" type="primary" open-type="getUserInfo"> 授权登录 </button> <block wx:for="{{tes}}" wx:key="tes"> <view>{{item.id}}</view> <view>{{item.goods_name}} <image bindtap="clickHeart" class="{{class}}" src="{{class== 'heart'?'/pages/img/xiaoaix.png' : '/pages/img/xiaoaix2.png'}}"> </image></view> <view>+++++++++++++++++++++++++++</view> </block>
cover-image在ios上不显示图片https://developers.weixin.qq.com/miniprogram/dev/component/cover-image.html
2023-04-09