canyin-project/yb_wm/unpackage/dist/dev/mp-weixin/components/common/sq-btn.wxml
2024-11-01 16:07:54 +08:00

1 line
1.8 KiB
Plaintext

<block class="data-v-21327966"><block wx:if="{{type==1}}"><button class="{{['data-v-21327966','sqbtn',cname]}}" style="{{$root.s0}}" open-type="{{api.platform=='ali'?'getAuthorize':'getUserInfo'}}" scope="userInfo" data-event-opts="{{[['getuserinfo',[['mpGetUserInfo',['$event']]]],['getAuthorize',[['onGetAuthorize',['$event']]]]]}}" bindgetuserinfo="__e" bindgetAuthorize="__e">{{t}}</button></block><block wx:if="{{type==2}}"><button class="{{['data-v-21327966','sqbtn',cname]}}" style="{{$root.s1}}" open-type="getPhoneNumber" data-event-opts="{{[['getphonenumber',[['mpGetphonenumber',['$event']]]]]}}" bindgetphonenumber="__e">{{t}}</button></block><block wx:if="{{type==3}}"><button class="{{['data-v-21327966','sqbtn',cname]}}" style="{{$root.s2}}" hover-class="be" open-type="share" data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" bindtap="__e">{{t}}</button></block><block wx:if="{{type==4}}"><view class="data-v-21327966"><mg-modal bind:input="__e" vue-id="051d3460-1" ismr="{{true}}" width="600rpx" z-index="{{3000}}" value="{{show}}" data-event-opts="{{[['^input',[['__set_model',['','show','$event',[]]]]]]}}" class="data-v-21327966" bind:__l="__l" vue-slots="{{['default']}}"><view class="bf bs30 sqtel t-c data-v-21327966"><view class="ptimg bsf ma data-v-21327966"><mg-img vue-id="{{('051d3460-2')+','+('051d3460-1')}}" src="{{system.icon}}" class="data-v-21327966" bind:__l="__l"></mg-img></view><view class="f36 mt30 mb20 l-h1 data-v-21327966">{{system.name}}</view><view class="data-v-21327966">绑定手机号后,将会获得更多权益哦!</view><button class="f30 telbtn cf data-v-21327966" style="{{'background:'+(tColor)+';'}}" disabled="{{loading}}" open-type="getPhoneNumber" data-event-opts="{{[['getphonenumber',[['mpGetphonenumber',['$event']]]]]}}" bindgetphonenumber="__e">立即绑定1</button></view></mg-modal></view></block></block>