You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 lines
5.3 KiB
1 lines
5.3 KiB
<view style="width:100%;"><block wx:if="{{needAuth}}"><block><view data-event-opts="{{[['tap',[['toShowAuth',['$event']]]]]}}" catchtap="__e"><slot></slot></view></block></block><block wx:else><block><view data-event-opts="{{[['tap',[['go',[1]]]]]}}" catchtap="__e"><slot></slot></view></block></block><uni-popup class="vue-ref" vue-id="3b7d33fa-1" maskClick="{{false}}" data-ref="show_auth_item" bind:__l="__l" vue-slots="{{['default']}}"><view data-event-opts="{{[['tap',[['',['$event']]]]]}}" class="auth-box fill-base flex-column flex-center text-center radius-26" catchtap="__e"><view class="space-md"></view><block wx:if="{{pType=='phone'}}"><block><image class="auth-img" mode="aspectFill" src="https://lbqny.migugu.com/admin/public/auth.png"></image></block></block><view class="space-sm"></view><view class="f-caption" style="{{'color:'+(primaryColor)+';'}}">{{contentList[pType][0]}}</view><view class="space-lg"></view><view class="space-lg"></view><block wx:if="{{pType==='phone'}}"><block><button class="clear-btn flex-center auth-btn" style="{{'background:'+('linear-gradient(68deg, '+primaryColor+', '+subColor+')')+';'+('color:'+('white')+';')}}" open-type="getPhoneNumber" hover-class="btn-hover" data-event-opts="{{[['getphonenumber',[['authPhone',['$event']]]]]}}" bindgetphonenumber="__e">{{''+(btn_text||contentList[pType][1])+''}}</button></block></block><block wx:if="{{pType==='setting'}}"><block><button class="clear-btn flex-center auth-btn" style="{{'background:'+('linear-gradient(68deg, '+primaryColor+', '+subColor+')')+';'+('color:'+('white')+';')}}" open-type="openSetting" hover-class="btn-hover" data-event-opts="{{[['opensetting',[['openSetting',['$event']]]]]}}" bindopensetting="__e">{{''+(btn_text||contentList[pType][1])+''}}</button></block></block><block wx:if="{{!pMust}}"><view data-event-opts="{{[['tap',[['go',[pType=='phone'&&!userInfo.phone?2:1]]]]]}}" class="f-caption c-caption mt-md" catchtap="__e">{{pType=='userInfo'?'暂不授权':'暂不登录'}}</view></block><view class="space-md"></view></view></uni-popup><uni-popup class="vue-ref" vue-id="3b7d33fa-2" maskClick="{{false}}" data-ref="show_info_item" bind:__l="__l" vue-slots="{{['default']}}"><view data-event-opts="{{[['tap',[['',['$event']]]]]}}" class="common-popup-content popup-phone pd-lg flex-center flex-column fill-base" catchtap="__e"><view class="f-md-title c-black">请填写用户信息</view><view class="space-lg pb-lg"></view><view class="space-lg pb-lg"></view><view class="flex-between" style="width:100%;"><view class="flex-y-center c-title"><view class="c-warning">*</view>昵称</view><input class="f-mini-title c-title text-right" style="width:80%;" type="nickname" maxlength="15" placeholder-class="c-placeholder" placeholder="{{infoRule[0].errorMsg}}" data-event-opts="{{[['input',[['__set_model',['$0','nickName','$event',[]],['infoForm']]]]]}}" value="{{infoForm.nickName}}" bindinput="__e"/></view><view class="flex-between mt-md pt-md b-1px-t" style="width:100%;"><view class="flex-y-center c-title"><view class="c-warning">*</view>头像</view><button open-type="chooseAvatar" data-event-opts="{{[['chooseavatar',[['onChooseAvatar',['$event']]]]]}}" bindchooseavatar="__e"><image class="avatar radius" mode="aspectFill" src="{{infoForm.avatarUrl||'/static/mine/default_user.png'}}"></image></button></view><view class="button"><view data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" class="item-child" catchtap="__e">取消</view><view data-event-opts="{{[['tap',[['submit',['info']]]]]}}" class="item-child" style="{{'background:'+(primaryColor)+';'+('color:'+('#fff')+';')}}" catchtap="__e">确定</view></view></view></uni-popup><uni-popup class="vue-ref" vue-id="3b7d33fa-3" maskClick="{{false}}" data-ref="show_phone_item" bind:__l="__l" vue-slots="{{['default']}}"><view data-event-opts="{{[['tap',[['',['$event']]]]]}}" class="common-popup-content popup-phone pd-lg flex-center flex-column fill-base" catchtap="__e"><view class="f-md-title c-black">请输入手机号</view><view class="space-lg pb-lg"></view><view class="space-lg pb-lg"></view><view class="flex-center mb-lg"><view class="input-info sm mr-md radius-16"><input class="item-input flex-y-center pl-lg pr-lg f-sm-title c-title" type="number" placeholder-class="c-placeholder" placeholder="{{subRule[0].errorMsg}}" data-event-opts="{{[['input',[['__set_model',['$0','phone','$event',[]],['subForm']]]]]}}" value="{{subForm.phone}}" bindinput="__e"/></view><view data-event-opts="{{[['tap',[['toSend',['$event']]]]]}}" class="send-btn flex-center c-base radius-16" style="{{'background:'+(primaryColor)+';'}}" bindtap="__e">{{''+(authTime>0?'('+authTime+'s)':'发送')+''}}</view></view><view class="input-info radius-16"><input class="item-input flex-y-center pl-lg pr-lg f-sm-title c-title" type="number" maxlength="6" placeholder-class="c-placeholder" placeholder="{{subRule[1].errorMsg}}" data-event-opts="{{[['input',[['__set_model',['$0','short_code','$event',[]],['subForm']]]]]}}" value="{{subForm.short_code}}" bindinput="__e"/></view><view class="button"><view data-event-opts="{{[['tap',[['go',[3]]]]]}}" class="item-child" catchtap="__e">取消</view><view data-event-opts="{{[['tap',[['submit',['sub']]]]]}}" class="item-child" style="{{'background:'+(primaryColor)+';'+('color:'+('#fff')+';')}}" catchtap="__e">确定</view></view></view></uni-popup></view> |