my.wxml 6.8 KB

1
  1. <ax-body vue-id="704e9d00-1" class="data-v-71796948" bind:__l="__l" vue-slots="{{['default','title']}}"><view slot="title"></view><view class="page-background data-v-71796948"><image src="/static/img/my-bg.svg" mode="widthFix" class="data-v-71796948"></image></view><view class="main data-v-71796948"><view class="app-flex c-between user-card data-v-71796948"><view class="app-flex middle data-v-71796948"><image class="user-avatar data-v-71796948" src="/static/img/user-avatar.svg"></image><view class="data-v-71796948"><view class="user-name data-v-71796948"><view class="user-name-text data-v-71796948">{{userinfo.nickName?userinfo.nickName:'匿名'}}</view><block wx:if="{{userinfo.firmName}}"><view class="enterprise-name-card data-v-71796948">{{userinfo.firmName+''}}</view></block></view><block wx:if="{{userinfo.appletUserId}}"><view class="user-phone data-v-71796948">{{(userinfo.phone?userinfo.phone:'未获取手机号')+''}}</view></block><block wx:if="{{!userinfo.appletUserId}}"><button class="get-phone-number data-v-71796948" open-type="getPhoneNumber" data-event-opts="{{[['getphonenumber',[['onGetPhoneNumber',['$event']]]]]}}" bindgetphonenumber="__e">授权并登录</button></block></view></view><view data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" class="seting-icon-box data-v-71796948" bindtap="__e"><image class="img-icon data-v-71796948" src="https://national-motion.oss-cn-beijing.aliyuncs.com/20251230/d76e9bad8597403c9816d481aafd88d3.png"></image><view class="tips-text data-v-71796948">优惠券</view></view></view><view class="statistics-card data-v-71796948"><view class="statistics-title data-v-71796948">我的钱包</view><view class="statistics-dataInfo data-v-71796948"><view class="dataInfo-left data-v-71796948"><view class="left-text data-v-71796948">我的积分</view><view class="left-number data-v-71796948">{{userinfo.integral}}</view></view><view class="dataInfo-line data-v-71796948"></view><view class="dataInfo-left data-v-71796948"><view class="left-text data-v-71796948">可抵扣余量</view><view class="left-number data-v-71796948">{{userinfo.accountBalance}}</view><view data-event-opts="{{[['tap',[['refund',['$event']]]]]}}" class="left-refund-btn data-v-71796948" bindtap="__e"> 退还 </view></view></view><view data-event-opts="{{[['tap',[['e1',['$event']]]]]}}" class="buy data-v-71796948" bindtap="__e">购买充电券</view></view><block wx:if="{{$root.g0>0}}"><swiper class="banner data-v-71796948" autoplay="true" circular="{{true}}"><block wx:for="{{banners}}" wx:for-item="item" wx:for-index="index" wx:key="index"><swiper-item data-event-opts="{{[['tap',[['e2',['$event']]]]]}}" data-event-params="{{({item})}}" bindtap="__e" class="data-v-71796948"><view class="swiper-item data-v-71796948"><image class="swiper-item-image data-v-71796948" src="{{item.picture}}" mode="widthFix" data-event-opts="{{[['load',[['bannerLoadCompleted']]]]}}" bindload="__e"></image></view></swiper-item></block></swiper></block><view class="card data-v-71796948"><view class="card-title data-v-71796948">常用工具</view><view class="act-wrap data-v-71796948"><view data-event-opts="{{[['tap',[['e3',['$event']]]]]}}" class="act-item data-v-71796948" bindtap="__e"><image class="icon data-v-71796948" src="/static/img/my-icon01.svg"></image><view class="name data-v-71796948">购券记录</view></view><view data-event-opts="{{[['tap',[['e4',['$event']]]]]}}" class="act-item data-v-71796948" bindtap="__e"><image class="icon data-v-71796948" src="/static/img/my-icon02.svg"></image><view class="name data-v-71796948">我的订单</view></view><view data-event-opts="{{[['tap',[['e5',['$event']]]]]}}" class="act-item data-v-71796948" bindtap="__e"><image class="icon data-v-71796948" src="/static/img/my-icon03.svg"></image><view class="name data-v-71796948">意见反馈</view></view><view data-event-opts="{{[['tap',[['customerService']]]]}}" class="act-item data-v-71796948" bindtap="__e"><image class="icon data-v-71796948" src="/static/img/my-icon04.svg"></image><view class="name data-v-71796948">在线客服</view></view></view></view><view class="card data-v-71796948"><view class="card-title data-v-71796948">更多功能</view><view class="act-wrap data-v-71796948"><view data-event-opts="{{[['tap',[['openPrivacyContract',['$event']]]]]}}" class="act-item data-v-71796948" bindtap="__e"><image class="icon data-v-71796948" src="/static/img/my-icon05.svg"></image><view class="name data-v-71796948">隐私条例</view></view><block wx:if="{{userinfo.firmId&&userinfo.firmUserType===1}}"><view data-event-opts="{{[['tap',[['openFilter']]]]}}" class="act-item data-v-71796948" bindtap="__e"><image class="icon data-v-71796948" src="/static/img/my-icon06.svg"></image><view class="name data-v-71796948">邀请员工</view></view></block></view></view></view><ax-popup vue-id="{{('704e9d00-2')+','+('704e9d00-1')}}" position maskType="black" maskEnable="{{true}}" maskClose="{{true}}" data-ref="filter" class="data-v-71796948 vue-ref" bind:__l="__l" vue-slots="{{['default']}}"><l-painter vue-id="{{('704e9d00-3')+','+('704e9d00-2')}}" isCanvasToTempFilePath="{{true}}" data-ref="painter" data-event-opts="{{[['^success',[['e6']]]]}}" bind:success="__e" class="data-v-71796948 vue-ref" bind:__l="__l" vue-slots="{{['default']}}"><l-painter-view vue-id="{{('704e9d00-4')+','+('704e9d00-3')}}" css="position:relative;" class="data-v-71796948" bind:__l="__l" vue-slots="{{['default']}}"><l-painter-image vue-id="{{('704e9d00-5')+','+('704e9d00-4')}}" src="https://hyxhsh.oss-cn-chengdu.aliyuncs.com/63b7c68b71a69169d1b33f92/store/bdb/user/avatar/XVsEVGuCCbNv4aee36cc2f76e7050f62ebad3080ad88.jpg/1.jpg" css="width:600rpx; height: 1000rpx" class="data-v-71796948" bind:__l="__l"></l-painter-image><l-painter-qrcode vue-id="{{('704e9d00-6')+','+('704e9d00-4')}}" text="{{'https://cd.admin.zswlgz.com/v2/?frimId='+userinfo.firmId}}" css="width:260rpx; height: 260rpx;position: absolute;top:27%;left:29%" class="data-v-71796948" bind:__l="__l"></l-painter-qrcode><l-painter-text vue-id="{{('704e9d00-7')+','+('704e9d00-4')}}" css="position: absolute;top:594rpx;left:50%;transform:translateX(-50%);color:#216ff7;font-size:22rpx;width:60%;text-align:center;" align="center" text="{{userinfo.firmName?userinfo.firmName:'默认企业'}}" class="data-v-71796948" bind:__l="__l"></l-painter-text><l-painter-text vue-id="{{('704e9d00-8')+','+('704e9d00-4')}}" css="position: absolute;top:86%;left:37%;color:#ffffff;font-size:24rpx" text="{{userinfo.nickName?userinfo.nickName:'匿名用户'}}" class="data-v-71796948" bind:__l="__l"></l-painter-text></l-painter-view></l-painter><view data-event-opts="{{[['tap',[['savePainter',['$event']]]]]}}" class="enterprise-tips data-v-71796948" bindtap="__e">保存海报</view></ax-popup><app-navigation vue-id="{{('704e9d00-9')+','+('704e9d00-1')}}" active="my" class="data-v-71796948" bind:__l="__l"></app-navigation></ax-body>