index.wxml 2.5 KB

1
  1. <view style="{{(colorStyle)}}" class="data-v-265538c7"><view class="{{['product-window','data-v-265538c7',(isShow)?'on':'']}}"><view data-event-opts="{{[['tap',[['closeAttr',['$event']]]]]}}" class="iconfont icon-guanbi data-v-265538c7" bindtap="__e"></view><view class="mp-data data-v-265538c7"><image src="{{mpData.site_logo}}" mode class="data-v-265538c7"></image><text class="mp-name data-v-265538c7">{{(mpData.site_name||'')+" 申请"}}</text></view><view class="trip-msg data-v-265538c7"><view class="title data-v-265538c7">获取您的昵称、头像</view><view class="trip data-v-265538c7">提供具有辨识度的用户中心界面</view></view><form data-event-opts="{{[['submit',[['formSubmit',['$event']]]]]}}" bindsubmit="__e" class="data-v-265538c7"><view class="edit data-v-265538c7"><view class="avatar edit-box data-v-265538c7"><view class="left data-v-265538c7"><view class="head data-v-265538c7">头像</view><block wx:if="{{!mp_is_new}}"><view data-event-opts="{{[['tap',[['uploadpic',['$event']]]]]}}" class="avatar-box data-v-265538c7" catchtap="__e"><image src="{{userInfo.avatar||defHead}}" class="data-v-265538c7"></image></view></block><block wx:else><button class="avatar-box data-v-265538c7" open-type="chooseAvatar" data-event-opts="{{[['chooseavatar',[['onChooseAvatar',['$event']]]]]}}" bindchooseavatar="__e"><image src="{{userInfo.avatar||defHead}}" class="data-v-265538c7"></image></button></block></view></view><view class="nickname edit-box data-v-265538c7"><view class="left data-v-265538c7"><view class="head data-v-265538c7">昵称</view><view class="input data-v-265538c7"><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-265538c7"/></view></view></view></view><view class="bottom data-v-265538c7"><button class="{{['save','data-v-265538c7',(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-265538c7"></canvas></block><block wx:if="{{isShow}}"><view data-event-opts="{{[['touchmove',[['',['$event']]]],['tap',[['closeAttr',['$event']]]]]}}" class="mask data-v-265538c7" bindtouchmove="__e" bindtap="__e"></view></block></view>