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 line
4.4 KiB
1 line
4.4 KiB
1 year ago
|
<view style="width:100%;"><block wx:if="{{needAuth}}"><block><view data-event-opts="{{[['tap',[['toShowAuth',['$event']]]]]}}" bindtap="__e"><slot></slot></view></block></block><block wx:else><block><view data-event-opts="{{[['tap',[['go',[1]]]]]}}" bindtap="__e"><slot></slot></view></block></block><uni-popup class="vue-ref" vue-id="3b7d33fa-1" data-ref="show_auth_item" bind:__l="__l" vue-slots="{{['default']}}"><view class="auth-box fill-base flex-column flex-center text-center radius-26"><view class="space-md"></view><block wx:if="{{pType==='userInfo'}}"><block><view class="flex-center pd-lg"><view class="auth-info" style="overflow:hidden;"><open-data class="auth-info" type="userAvatarUrl"></open-data></view><veiw class="auth-info flex-center" style="background:white;padding:0rpx 40rpx;" vue-id="{{('3b7d33fa-2')+','+('3b7d33fa-1')}}" bind:__l="__l" vue-slots="{{['default']}}"><view class="iconfont icon-zhuanhuan _i" style="font-size:40rpx;color:#999;"></view></veiw><view class="auth-info flex-center" style="{{'background-color:'+(primaryColor)+';'}}"><view class="iconfont icon-xiaochengxu c-base _i" style="font-size:40rpx;"></view></view></view></block></block><block wx:if="{{pType=='phone'}}"><block><image class="auth-img" 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==='userInfo'}}"><block><button class="clear-btn flex-center auth-btn" style="{{'background-color:'+(primaryColor)+';'+('color:'+('white')+';')}}" hover-class="btn-hover" data-event-opts="{{[['tap',[['authUserProfile',['$event']]]]]}}" catchtap="__e">{{btn_text||contentList[pType][1]}}</button></block></block><block wx:if="{{pType==='phone'}}"><block><button class="clear-btn flex-center auth-btn" style="{{'background-color:'+(primaryColor)+';'+('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-color:'+(primaryColor)+';'+('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="{{!must}}"><view data-event-opts="{{[['tap',[['go',[pType=='phone'&&!userInfo.phone?2:1]]]]]}}" class="f-caption c-caption mt-md" bindtap="__e">{{pType=='userInfo'?'暂不授权':'暂不登录'}}</view></block><view class="space-md"></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 class="common-popup-content popup-phone pd-lg flex-center flex-column fill-base"><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="{{rule[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="{{rule[1].errorMsg}}" data-event-opts="{{[['input',[['__set_model',['$0','short_code','$ev
|