2025-05-07 14:05:17 +08:00

1 line
3.7 KiB
Plaintext

<view class="message tn-safe-area-inset-bottom"><tn-nav-bar vue-id="0b23241a-1" isBack="{{false}}" backTitle bottomShadow="{{true}}" backgroundColor="#FFFFFF" bind:__l="__l" vue-slots="{{['default']}}"><view class="custom-nav tn-flex tn-flex-col-center tn-flex-row-left"><view data-event-opts="{{[['tap',[['goBack']]]]}}" style="padding-left:15rpx;" bindtap="__e"><text class="tn-icon-left" style="font-size:40rpx;"></text></view><view class="tn-margin-top" style="text-shadow:1rpx 0 0 #FFF, 0 1rpx 0 #FFF, -1rpx 0 0 #FFF , 0 -1rpx 0 #FFF;"><tn-tabs vue-id="{{('0b23241a-2')+','+('0b23241a-1')}}" list="{{[{name:'会员卡'}]}}" activeColor="#000" bold="{{false}}" fontSize="{{36}}" bind:__l="__l"></tn-tabs></view></view></tn-nav-bar><view style="{{'padding-top:'+(vuex_custom_bar_height+'px')+';'}}"><view style="text-align:center;padding:30rpx;"><tn-button vue-id="0b23241a-3" backgroundColor="#01BEFF" fontColor="#ffffff" data-event-opts="{{[['^click',[['openQrcode']]]]}}" bind:click="__e" bind:__l="__l" vue-slots="{{['default']}}">出示二维码</tn-button><view style="margin-top:20rpx;">{{"会员卡号:"+code}}</view></view></view><tn-tabs vue-id="0b23241a-4" list="{{list}}" isScroll="{{true}}" activeItemStyle="{{({fontSize:'30rpx',fontWeight:'600'})}}" activeColor="#3377FF" current="{{current}}" name="type_name" fontSize="{{28}}" data-event-opts="{{[['^change',[['change']]]]}}" bind:change="__e" bind:__l="__l"></tn-tabs><view style="padding:30rpx;"><block wx:for="{{sp_list}}" wx:for-item="item" wx:for-index="index"><view data-event-opts="{{[['tap',[['tn',['/pages/packageA/user/my_vip_info?id='+item.id]]]]]}}" style="position:relative;" bindtap="__e"><view class="tn-flex tn-flex-col-center tn-flex-row-between" style="background-color:#ffffff;padding:50rpx 30rpx;border-radius:15rpx;margin-bottom:20rpx;"><view class="tn-flex tn-flex-col-center"><view><image style="width:100rpx;height:100rpx;border-radius:50%;" src="{{item.business_image==''?'/static/def.png':apiImgUrl+item.business_image}}"></image></view><view style="margin-left:20rpx;"><view style="font-size:31rpx;font-weight:600;letter-spacing:5rpx;">{{''+item.business_name+''}}</view><view style="font-size:24rpx;color:#808080;margin-top:15rpx;">{{"地址:"+item.address+''}}</view><view style="font-size:24rpx;color:#808080;margin-top:15rpx;">{{"电话:"+item.telephone+''}}</view></view></view><view style="width:200rpx;text-align:right;"><tn-button vue-id="{{'0b23241a-5-'+index}}" backgroundColor="#3377FF" size="sm" shape="round" fontColor="#ffffff" bind:__l="__l" vue-slots="{{['default']}}">查看</tn-button></view></view></view></block></view><block wx:if="{{show}}"><tn-popup bind:input="__e" vue-id="0b23241a-6" closeBtn="{{true}}" mode="center" width="500rpx" height="600rpx" value="{{show}}" data-event-opts="{{[['^input',[['__set_model',['','show','$event',[]]]]]]}}" bind:__l="__l" vue-slots="{{['default']}}"><view style="text-align:center;padding:30rpx 0rpx;font-size:32rpx;font-weight:600;">核销二维码</view><view style="text-align:center;width:300rpx;margin:0rpx auto;"><l-painter class="vue-ref" vue-id="{{('0b23241a-7')+','+('0b23241a-6')}}" css="background: #fff;width: 300rpx;text-align: center;" data-ref="painter" bind:__l="__l" vue-slots="{{['default']}}"><l-painter-qrcode vue-id="{{('0b23241a-8')+','+('0b23241a-7')}}" text="{{qrcode_url}}" css="width: 300rpx; height: 300rpx" bind:__l="__l"></l-painter-qrcode></l-painter></view><view style="text-align:center;margin-top:50rpx;"><tn-button vue-id="{{('0b23241a-9')+','+('0b23241a-6')}}" shape="round" width="80%" backgroundColor="#3F8BF2" fontColor="#ffffff" data-event-opts="{{[['^click',[['e0']]]]}}" bind:click="__e" bind:__l="__l" vue-slots="{{['default']}}">关闭</tn-button></view></tn-popup></block></view>