You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
<!-- pages/changeAvatar/index.wxml -->
|
|
|
|
|
<view class="container" hover-class="none" hover-stop-propagation="false">
|
|
|
|
|
<!-- <image class="" src="{{temporaryImg || userInfo.imgSrc}}" mode="" lazy-load="false" binderror="" bindload=""></image> -->
|
|
|
|
|
<block wx:if="{{temporaryImg || (userInfo.imgSrc != '' && userInfo.imgSrc != null && userInfo.imgSrc != 'null')}}">
|
|
|
|
|
<image src="{{temporaryImg || userInfo.imgSrc}}" style='' class='show-image' mode="aspectFill"></image>
|
|
|
|
|
</block>
|
|
|
|
|
<block wx:else>
|
|
|
|
|
<image style='' src="https://matripe-cms.oss-cn-beijing.aliyuncs.com/1shoudan/defaultAva.svg" class='show-image' mode="aspectFill"></image>
|
|
|
|
|
</block>
|
|
|
|
|
<view wx:if="{{isSure}}" class="display-flex btnBox" hover-class="none" hover-stop-propagation="false">
|
|
|
|
|
<view class="weui-btn_primary fw500 mr16" bindtap='cancelChoice' aria-role="button">取消</view>
|
|
|
|
|
<view class="weui-btn_primary fw500 ysd-basebg-color" hover-class="thover" bindtap='changeUserImgsrc' style='border:1px solid var(--color-ysd)' aria-role="button">确定</view>
|
|
|
|
|
</view>
|
|
|
|
|
<!-- bindtap='chooseImage' -->
|
|
|
|
|
<button wx:else open-type="chooseAvatar" style='' bindchooseavatar='choiceAvatar' class="change weui-btn_primary fw500 mt32" aria-role="button">更换头像</button>
|
|
|
|
|
</view>
|