Files
huangjingfen/pro_v3.5.1/public/statics/mp_view/components/eidtUserModal/index.wxml
panchengyong 7acbf45ff7 new files
2026-03-07 22:29:07 +08:00

1 line
2.5 KiB
Plaintext

<view style="{{(colorStyle)}}" class="data-v-3c531f68"><view class="{{['product-window','data-v-3c531f68',(isShow)?'on':'']}}"><view data-event-opts="{{[['tap',[['closeAttr',['$event']]]]]}}" class="iconfont icon-guanbi data-v-3c531f68" bindtap="__e"></view><view class="mp-data data-v-3c531f68"><image src="{{mpData.site_logo}}" mode class="data-v-3c531f68"></image><text class="mp-name data-v-3c531f68">{{(mpData.site_name||'')+" 申请"}}</text></view><view class="trip-msg data-v-3c531f68"><view class="title data-v-3c531f68"> 获取您的昵称、头像 </view><view class="trip data-v-3c531f68"> 提供具有辨识度的用户中心界面 </view></view><form data-event-opts="{{[['submit',[['formSubmit',['$event']]]]]}}" bindsubmit="__e" class="data-v-3c531f68"><view class="edit data-v-3c531f68"><view class="avatar edit-box data-v-3c531f68"><view class="left data-v-3c531f68"><view class="head data-v-3c531f68">头像</view><block wx:if="{{!mp_is_new}}"><view data-event-opts="{{[['tap',[['uploadpic',['$event']]]]]}}" class="avatar-box data-v-3c531f68" catchtap="__e"><image src="{{userInfo.avatar||defHead}}" class="data-v-3c531f68"></image></view></block><block wx:else><button class="avatar-box data-v-3c531f68" open-type="chooseAvatar" data-event-opts="{{[['chooseavatar',[['onChooseAvatar',['$event']]]]]}}" bindchooseavatar="__e"><image src="{{userInfo.avatar||defHead}}" class="data-v-3c531f68"></image></button></block></view></view><view class="nickname edit-box data-v-3c531f68"><view class="left data-v-3c531f68"><view class="head data-v-3c531f68">昵称</view><view class="input data-v-3c531f68"><input type="nickname" always-embed="{{true}}" adjust-position="{{true}}" cursor-spacing="30" placeholder-class="pl-sty" placeholder="请输入昵称" name="nickname" maxlength="{{16}}" value="{{userInfo.nickname}}" class="data-v-3c531f68"/></view></view></view></view><view class="bottom data-v-3c531f68"><button class="{{['save','data-v-3c531f68',(userInfo.avatar)?'open':'']}}" formType="submit"> 保存 </button></view></form></view><block wx:if="{{canvasStatus}}"><canvas style="{{'width:'+(canvasWidth+'px')+';'+('height:'+(canvasHeight+'px')+';')+('position:'+('absolute')+';')+('left:'+('-100000px')+';')+('top:'+('-100000px')+';')}}" canvas-id="canvas" class="data-v-3c531f68"></canvas></block><block wx:if="{{isShow}}"><view data-event-opts="{{[['touchmove',[['',['$event']]]],['tap',[['closeAttr',['$event']]]]]}}" class="mask data-v-3c531f68" bindtouchmove="__e" bindtap="__e"></view></block></view>