增加条件编译
This commit is contained in:
@@ -10,12 +10,18 @@
|
||||
<view class="myContent">
|
||||
<view class="my_info flex-between">
|
||||
<view class="my_info_left">
|
||||
<!-- #ifdef MP-WEIXIN -->
|
||||
<button class="atatar-btn" open-type="chooseAvatar" @chooseavatar="onChooseAvatar">
|
||||
<image class="my_info_left_head" :src="userInfo.headImg" mode="aspectFill"></image>
|
||||
</button>
|
||||
<!-- <view class="name">{{ userInfo.nickName }}</view> -->
|
||||
<input type="nickname" class="name" v-model="userInfo.nickName" placeholder="输入昵称"
|
||||
@blur="onNicknameInput" />
|
||||
<!-- #endif -->
|
||||
<!-- #ifndef MP-WEIXIN -->
|
||||
<image class="my_info_left_head" :src="userInfo.headImg" mode="aspectFill"></image>
|
||||
<view class="name">{{ userInfo.nickName }}</view>
|
||||
<!-- #endif -->
|
||||
</view>
|
||||
<view class="right-icons">
|
||||
<image class="my_info_right_qr" src="/static/icon/code.png" mode="aspectFill"></image>
|
||||
|
||||
Reference in New Issue
Block a user